WO2013149491A1 - 一种无线路由设备、移动终端、管理系统及方法 - Google Patents

一种无线路由设备、移动终端、管理系统及方法 Download PDF

Info

Publication number
WO2013149491A1
WO2013149491A1 PCT/CN2012/087858 CN2012087858W WO2013149491A1 WO 2013149491 A1 WO2013149491 A1 WO 2013149491A1 CN 2012087858 W CN2012087858 W CN 2012087858W WO 2013149491 A1 WO2013149491 A1 WO 2013149491A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing device
programming interface
application programming
wireless routing
unit
Prior art date
Application number
PCT/CN2012/087858
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 JP2015502063A priority Critical patent/JP2015514259A/ja
Priority to EP12873501.6A priority patent/EP2806613A4/en
Publication of WO2013149491A1 publication Critical patent/WO2013149491A1/zh
Priority to US14/466,268 priority patent/US9491682B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/566Routing instructions carried by the data packet, e.g. active networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/10Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface
    • 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
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • Wireless routing device mobile terminal, management system and method
  • the present invention relates to the field of communications, and in particular, to a wireless routing device, a mobile terminal, a management system, and a method. Background technique
  • wireless routing devices are also widely used.
  • current wireless routing devices mainly manage wireless routing devices through PCs, but due to poor PC mobility, current wireless routing devices are It is necessary to move frequently.
  • the outdoor wireless routing device can also be used by the mobile terminal. Therefore, the current wireless routing device managed by the PC cannot meet the user's needs, thereby developing a wireless route managed by the mobile terminal.
  • the equipment is extremely important. Summary of the invention
  • the embodiment of the invention provides a wireless routing device, a mobile terminal, a management system and a method, which can implement management of a wireless routing device through a mobile terminal, thereby improving the application value of the wireless routing device and making the mobile terminal more useful. widely.
  • a wireless routing device includes: a first wireless communication unit; an application programming interface unit, configured to set an application programming interface;
  • the first wireless communication unit is configured to receive a request message that is sent by the mobile terminal and that is related to the application programming interface, and includes a management command;
  • the application programming interface unit is further configured to decapsulate the request message received by the first wireless communication unit based on an application programming interface set by the application programming interface unit, and obtain the management command;
  • the executing unit is configured to perform a corresponding operation according to the management command acquired by the application programming interface unit.
  • an embodiment of the present invention further provides a mobile terminal, including: a management unit, an application programming interface calling unit, and a second wireless communication unit, where: The management unit is configured to generate information including a management command for a wireless routing device, where the wireless routing device includes a preset application programming interface;
  • the application programming interface calling unit is configured to encapsulate information generated by the management unit and include a management command for the wireless routing device according to the information of the application programming interface acquired in advance, and generate the information with the application Corresponding to the programming interface, including a request message for a management command of the wireless routing device;
  • the second wireless communication unit is configured to send, to the wireless routing device, a request message that is generated by the application programming interface calling unit and includes a management command for the wireless routing device.
  • an embodiment of the present invention further provides a management system, including: a wireless routing device and a mobile terminal;
  • the wireless routing device includes: a first wireless communication unit; an application programming interface unit, configured to set an application programming interface; an execution unit, where
  • the first wireless communication unit is configured to receive a request message that is sent by the mobile terminal and that is related to the application programming interface, and includes a management command;
  • the application programming interface unit is further configured to decapsulate the request message received by the first wireless communication unit based on an application programming interface set by the application programming interface unit, and obtain the management command;
  • the executing unit is configured to perform a corresponding operation according to the management command acquired by the application programming interface unit;
  • the mobile terminal includes: a management unit, an application programming interface calling unit, and a second wireless communication unit, where:
  • the management unit is configured to generate information including a management command for the wireless routing device, where the no-line device includes a preset application programming interface;
  • the application programming interface calling unit is configured to encapsulate information generated by the management unit and include a management command for the wireless routing device according to the information of the application programming interface acquired in advance, and generate the information with the application Corresponding to the programming interface, including a request message for a management command of the wireless routing device;
  • the second wireless communication unit is configured to send, to the wireless routing device, a request message that is generated by the application programming interface calling unit and includes a management command for the wireless routing device.
  • the implementation of the present invention further provides a configuration management method of a routing device, where the wireless routing device includes a preset application programming interface, and the method includes:
  • the wireless routing device decapsulates the request message based on the application programming interface, and obtains the management command
  • the wireless routing device performs a corresponding operation according to the management command.
  • the implementation of the present invention further provides a configuration management method for a routing device, including:
  • the mobile terminal generates information including a management command for the wireless routing device, the wireless routing device including a preset application programming interface;
  • the mobile terminal encapsulates the information including the management command of the wireless routing device according to the information of the application programming interface acquired in advance, and generates information corresponding to the application programming interface, including the wireless routing device. a request message for managing commands;
  • the mobile terminal sends the request message to the wireless routing device.
  • a wireless routing device, a mobile terminal, a management system and a method provided by the embodiments of the present invention have the following beneficial effects:
  • the wireless routing device Receiving, by the wireless routing device, a request message that is sent by the mobile terminal and corresponding to the application programming interface preset by the wireless routing device, and includes a management command, and the wireless routing device encapsulates the request message according to the application programming interface, and obtains The management command, the wireless routing device performs the corresponding operation according to the management command, and can implement the management of the wireless routing device through the mobile terminal. Therefore, the application value of the wireless routing device is improved, and the mobile terminal is more widely used.
  • 1 is a schematic structural diagram of a wireless routing device according to an embodiment of the present invention
  • 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of another embodiment of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a management system according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of a first embodiment of a method for managing a wireless routing device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart diagram of another embodiment of a method for managing a wireless routing device according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart diagram of a second embodiment of a method for managing a wireless routing device according to an embodiment of the present disclosure
  • FIG. 8 is a schematic flowchart diagram of another embodiment of a method for managing a wireless routing device according to an embodiment of the present invention. detailed description
  • the wireless routing device includes: a first wireless communication unit 11; an application programming interface unit 12, configured to set an application programming interface; and an execution unit 13 among them,
  • the first wireless communication unit 11 is configured to receive a request message that is sent by the mobile terminal and that is related to the application programming interface, and includes a management command;
  • the application programming interface unit 12 is further configured to decapsulate the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12, to obtain the management command;
  • the executing unit 13 is configured to perform a corresponding operation according to the management command acquired by the application programming interface unit 12.
  • the first wireless communication unit 11 receives the application code sent by the mobile terminal.
  • the receiving method of the request message containing the management command may be passed through
  • the WiFi, Bluetooth or infrared receiving mobile terminal sends a request message corresponding to the application programming interface, including the management command.
  • the present invention includes, but is not limited to, the receiving modes listed above.
  • the above application programming interface may be an Application Program Interface (API), which is specifically a function rule.
  • API Application Program Interface
  • the application programming interface unit 12 is further configured to set an application programming interface corresponding to the function according to the function of the wireless routing device.
  • the application programming interface set by the application programming interface unit 12 may be invoked during the management of the wireless routing device by the mobile terminal.
  • the specific calling process of the mobile terminal may be: according to the information obtained in advance by the application programming interface.
  • the generated information containing the management command is encapsulated, corresponding to the application programming interface set by the application programming interface unit 12, containing the request message for managing the command, and transmitting the request message to the wireless routing device.
  • the application programming interface unit 12 decapsulates the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12, which may be:
  • the application programming interface unit 12 performs a hypertext transport protocol (HTTP) decapsulation on the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12;
  • HTTP hypertext transport protocol
  • the application programming interface unit 12 performs a Transmission Control Protocol (TCP) decapsulation on the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12;
  • TCP Transmission Control Protocol
  • the application programming interface unit 12 performs Socket protocol decapsulation on the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12; or
  • the application programming interface unit 12 performs a User Datagram Protocol (LUDP) decapsulation on the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12; or,
  • LUDP User Datagram Protocol
  • the application programming interface unit 12 performs a Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) decapsulation on the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12. .
  • HTTPS Hypertext Transfer Protocol over Secure Socket Layer
  • the specific decapsulation of the protocol is based on the application programming interface described above, and decapsulation of different protocols.
  • the application programming interface unit 12 in the embodiment of the present invention encapsulates the request message received by the first wireless communication unit 11 including but not limited to the decapsulation forms listed above.
  • the first wireless communication unit 11 is further configured to receive a request message that is sent by the mobile terminal and that is related to the application programming interface, and includes a configuration management command;
  • the application programming interface unit 12 is further configured to decapsulate the request message received by the first wireless communication unit 11 based on the application programming interface set by the application programming interface unit 12, and obtain a configuration management command;
  • the execution unit 13 is specifically configured to perform a corresponding configuration operation according to the configuration management command acquired by the application programming interface unit 12.
  • the corresponding configuration operation can be performed according to the configuration management command sent by the mobile terminal.
  • the request message corresponds to an application programming interface corresponding to the Demilitarized Zone (DMZ) function set by the application programming interface unit 12, and the application programming interface unit 12 sets an application corresponding to the DMZ function based on the application programming interface unit 12.
  • the programming interface after decapsulating the above message, obtains the configuration of the DMZ function. Management, configuration management content is to enable the DMZ function, and set the configuration management command of the host IP address is 192.168.1.101. In this way, the execution unit 13 completes the execution of the DMZ function according to the above configuration management command, and sets the host IP address to the 192.168.1.101 configuration operation.
  • This example is only a specific implementation example provided by the embodiment of the present invention.
  • the present invention also includes, but is not limited to, functions that can be implemented by a wireless routing device such as a SIM card, a status monitoring, a board function, a login management, and an online upgrade of a wireless routing device. Configure the operation.
  • the application programming interface unit 12 is further configured to encapsulate the execution state information of the configuration operation performed by the execution unit 13 based on the application programming interface set by the application programming interface unit 12, and generate the execution state information including the execution state information.
  • the first wireless communication unit 11 is further specifically configured to send, to the mobile terminal, a return message including execution status information generated by the application programming interface unit 12.
  • the mobile terminal can display the execution status information through a preset management interface, such as whether the configuration operation performed by the device is not performed successfully, or the execution progress of the configuration operation performed by the wireless routing device.
  • the first wireless communication unit 11 is further configured to receive a request message that is sent by the mobile terminal and that is related to the application programming interface, and includes a command for requesting to return current state information. .
  • the application programming interface unit 12 is further specifically configured to decapsulate the request message received by the first wireless communication unit 11 based on the application programming interface of the application programming interface unit setting 12, and obtain a command requesting to return current status information;
  • the execution unit 13 is further configured to acquire current state information.
  • the application programming interface unit 12 is further configured to encapsulate the current state information acquired by the execution unit 13 based on the application programming interface set by the application programming interface unit 12, and generate a response message including the current state information.
  • the first wireless communication unit 11 is further specifically configured to send a response message generated by the application programming interface 12, including the current status information, to the mobile terminal.
  • the mobile terminal can implement monitoring of current state information of the wireless routing device, such as monitoring and displaying information such as the amount of battery of the wireless routing device, the signal strength, or the number of routing devices connected to the mobile terminal.
  • the mobile mobile in the present implementation includes, but is not limited to, a mobile terminal such as a mobile phone terminal or a tablet computer.
  • the first wireless communication unit receives, by the mobile terminal, a request message that includes a management command corresponding to the application programming interface preset by the wireless routing device, and the application programming interface unit is based on the application programming interface.
  • the request message is encapsulated to obtain a management command, and the execution unit performs a corresponding operation according to the management command, so that the mobile mobile terminal manages the wireless routing device.
  • the management of the wireless routing device can be completed by the mobile terminal, thereby improving the application value of the wireless routing device and making the mobile terminal more widely used.
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes: a management unit 21, an application programming interface calling unit 22, and a second wireless communication unit 23, wherein:
  • the management unit 21 is configured to generate information including a management command for the wireless routing device, where the wireless routing device includes a preset application programming interface;
  • the application programming interface calling unit 22 is configured to encapsulate information generated by the management unit 21 and include a management command for the wireless routing device according to the information of the application programming interface acquired in advance, to generate an interface with the application programming interface.
  • a request message containing a management command for the wireless routing device is generated by the management unit 21 and include a management command for the wireless routing device according to the information of the application programming interface acquired in advance, to generate an interface with the application programming interface.
  • a request message containing a management command for the wireless routing device
  • the information of the application programming interface is acquired, so that the application programming interface calling unit 22 can obtain the information of the application programming interface according to the pre-acquisition.
  • the information generated by the management unit 21 including the management command of the wireless routing device is encapsulated to generate a request message corresponding to the application programming interface, including a management command to the wireless routing device.
  • the above application programming interface can be an API, which is specifically a function rule.
  • the second wireless communication unit 23 is configured to send, to the wireless routing device, a request message that is generated by the application programming interface calling unit 22 and includes a management command for the wireless routing device.
  • the sending method that the second wireless communication unit 23 sends the request message generated by the application programming interface calling unit 22 and includes the management command to the wireless routing device to the wireless routing unit 23 may be through WiFi, Bluetooth, or The infrared ray sends to the wireless routing device a request generated by the application programming interface calling unit 22 to include a management command for the wireless routing device.
  • the message includes but is not limited to the transmission methods listed above.
  • the management unit 21 is further configured to generate information including a management command for the wireless routing device according to the operation of the user on the preset management interface.
  • different management commands may be generated according to different operations of the user on the preset management interface, so that the wireless routing device performs different operations.
  • the foregoing preset management interface may be configured according to an application programming interface in the information of the application programming interface in advance, or a management interface preset by a network protocol of the application programming interface, where different management interfaces may correspond to different Management function, if there is an interface corresponding to the DMZ function in the wireless routing device, there is an interface corresponding to the login management function of the wireless routing device, etc., here is not, for example, when the user needs to be different in the wireless routing device When the function is managed, the operation can be performed on different management interfaces, so that the mobile terminal provided by the embodiment of the present invention is more humanized.
  • the management unit 21 is also specifically configured to generate information including management commands for the wireless routing device according to operations of the user on a preset window interface or widget Widget.
  • the above window interface or widget Widget is the interface on the mobile phone desktop, so that the user can complete the management of the wireless routing device on the desktop of the mobile terminal.
  • the management unit 21 generates information including a management command for the wireless routing device, and the management command may also be a configuration management command;
  • the application programming interface invoking unit 22 is further configured to: encapsulate, according to the information of the application programming interface acquired in advance, the information that is generated by the management unit 21 and includes a configuration management command for the wireless routing device, and generate the information with the application.
  • the programming interface including the request for the configuration management command of the wireless routing device, packet, and.
  • the corresponding configuration management may be performed according to the configuration management command sent by the mobile terminal, so that the wireless routing device performs a corresponding configuration operation according to the configuration management command.
  • the request message corresponds to an application programming interface corresponding to the DMZ function set by the wireless routing device, and the configuration management command for the wireless routing device specifically configures and manages the DMZ function, and the configuration management content is to enable the DMZ function, and set the host IP.
  • the address is 192.168.1.101.
  • the wireless routing device obtains the configuration management command, the DMZ function is enabled according to the configuration management command, and the host IP address is set to 192.168.1.101.
  • This example is only a specific implementation example provided by the embodiment of the present invention.
  • the present invention also includes, but is not limited to, functions that can be implemented by a wireless routing device such as a SIM card, a status monitoring, a board function, a login management, and an online upgrade of a wireless routing device. Configuration management.
  • the management unit 21 is further configured to generate information including a configuration management command for the wireless routing device according to the operation of the user on the preset management interface. This allows you to generate different information containing configuration management commands based on the user's different actions on the pre-configured management interface.
  • the second communication unit 23 may be further configured to receive, by the wireless routing device, a return message that includes the execution state information of the no-line device that performs the corresponding configuration operation according to the configuration management command;
  • the application programming interface invoking unit 22 is further configured to decapsulate the return message received by the second communication unit 23 to obtain the execution status information.
  • the mobile terminal can display the execution status information through a preset management interface, such as whether the configuration operation performed by the wireless routing device is performed successfully, or the execution progress of the configuration operation performed by the wireless routing device.
  • the management unit 21 is specifically configured to periodically generate information about a management command of the wireless routing device, where the management command for the wireless routing device is a request to return to the wireless routing device. a command for current status information;
  • the second wireless communication unit 23 is further configured to receive a response message that is sent by the wireless routing device and includes a command of the current state information of the device without the line;
  • the application programming interface invoking unit 22 is further configured to decapsulate the response message received by the second wireless communication unit 23 and including the current state information of the wireless routing device, to obtain the The line is determined by the current status of the device. Monitoring management of wireless routing devices.
  • the mobile terminal may further include: a display unit 24, configured to display, in a preset management interface, the current state acquired by the application programming interface calling unit 22 information.
  • the mobile terminal can display the status information of the wireless routing device in real time, complete the monitoring and management of the wireless routing device, and also let the user know the current status information of the wireless routing device in time.
  • the display unit 24 is further configured to display, on a preset window interface or a widget widget, the current state information obtained by the application programming interface calling unit 22, and the window interface or the widget widget is an interface on the desktop of the mobile phone. In this way, the current state information of the wireless routing device can be displayed in real time on the desktop of the mobile terminal, such as displaying the battery capacity of the wireless routing device, the signal strength, or the number of routing devices connected to the mobile terminal.
  • the mobile mobile in the present embodiment includes, but is not limited to, a mobile terminal such as a mobile phone terminal or a tablet computer.
  • the management unit generates information including a management command for the wireless routing device, where the wireless routing device includes a preset application programming interface, and the application programming interface calling unit is configured according to the information of the application programming interface acquired in advance. Encapsulating information generated by the management unit and including a management command for the wireless routing device, generating a request message corresponding to the application programming interface, including a management command for the wireless routing device, the second wireless communication unit to the wireless.
  • the routing device sends a request message generated by the application programming interface calling unit and includes a management command for the wireless routing device, so that the mobile terminal can perform management on the wireless management device, thereby improving the application value of the wireless routing device, and making the mobile terminal More widely used.
  • FIG. 4 is a schematic structural diagram of a management system according to an embodiment of the present invention. As shown in FIG. 4, the method includes: a wireless routing device 41 and a mobile terminal 42, wherein:
  • the wireless routing device includes: a first wireless communication unit; an application programming interface unit, configured to set an application programming interface; an execution unit, where
  • the first wireless communication unit is configured to receive a request message that is sent by the mobile terminal and that is related to the application programming interface, and includes a management command;
  • the application programming interface unit is further configured to decapsulate the request message received by the first wireless communication unit based on an application programming interface set by the application programming interface unit, to obtain the management command;
  • the executing unit is configured to perform a corresponding operation according to the management command acquired by the application programming interface unit;
  • the mobile terminal includes: a management unit, an application programming interface calling unit, and a second wireless communication unit, where:
  • the management unit is configured to generate information including a management command for the wireless routing device, where the no-line device includes a preset application programming interface;
  • the application programming interface calling unit is configured to encapsulate information generated by the management unit and include a management command for the wireless routing device according to the information of the application programming interface acquired in advance, and generate the information with the application Corresponding to the programming interface, including a request message for a management command of the wireless routing device;
  • a second wireless communication unit configured to send, to the wireless routing device, a request message that is generated by the application programming interface calling unit and includes a management command for the wireless routing device.
  • the wireless routing device 41 and the mobile terminal 42 in this embodiment may use the wireless routing device and the mobile terminal in any of the foregoing embodiments provided by the foregoing two embodiments, and the wireless routing device 41 and the mobile terminal are not used. 42 repeat the description.
  • the wireless routing device receives a request message that is sent by the mobile terminal and corresponds to an application programming interface preset by the wireless routing device, and includes a management command, and the wireless routing device encapsulates the request message based on the application programming interface. After obtaining the management command, the wireless routing device performs the corresponding operation according to the management command, and can implement the management of the wireless routing device through the mobile terminal. Therefore, the application value of the wireless routing device is improved, and the mobile terminal is more widely used.
  • FIG. 5 is a schematic flowchart of a first embodiment of a method for managing a routing device according to an embodiment of the present invention.
  • a wireless routing device includes a preset application programming interface, as shown in FIG. 5, including:
  • the wireless routing device receives a request message that is sent by the mobile terminal and that is related to the application programming interface and includes a management command.
  • the receiving method of the request message including the management command corresponding to the application programming interface sent by the mobile terminal may be corresponding to the application programming interface that can be sent by the mobile terminal through WiFi, Bluetooth or infrared.
  • the request message containing the management command, the present invention includes but is not limited to the receiving modes listed above.
  • the above application programming interface may be an API, and the API is specifically a function rule.
  • the method further includes:
  • the wireless routing device sets an application programming interface corresponding to the function according to a function of the wireless routing device.
  • the mobile terminal can initiate the management process of the wireless routing device, and the application programming interface can be invoked.
  • the specific calling process of the mobile terminal can be: according to the information obtained in advance by the application programming interface, the generated management command is included.
  • the information is encapsulated, and a request message corresponding to the application programming interface is generated, and the request message is sent to the wireless routing device.
  • the wireless routing device decapsulates the request message according to the application programming interface, and obtains the management command.
  • the decapsulating the request message by the wireless routing device may be: the wireless routing device performs a hypertext transfer protocol HTTP decapsulation on the request message; or
  • the wireless routing device performs a transmission control protocol TCP decapsulation on the request message
  • the wireless routing device performs Socket protocol decapsulation on the request message
  • the wireless routing device performs a user data packet protocol LUDP decapsulation on the request message
  • the wireless routing device performs a hypertext transmission security protocol HTTPS decapsulation on the request message.
  • the specific decapsulation of the protocol is based on the application programming interface described above, and decapsulation of different protocols.
  • the encapsulation of the request message in the embodiment of the present invention includes, but is not limited to, the decapsulation form listed above. 5103.
  • the wireless routing device performs a corresponding operation according to the management command.
  • the management command generated in step S101 may be a configuration management command
  • Step S103 may specifically be that the wireless routing device performs a corresponding configuration operation according to the configuration management command.
  • the corresponding configuration operation can be performed according to the configuration management command sent by the mobile terminal.
  • the request message corresponds to an application programming interface corresponding to the DMZ function set by the wireless routing device.
  • Step S102 The wireless routing device decapsulates the request message based on the application programming interface, and obtains the configuration management command.
  • the configuration management command is to configure and manage the DMZ function, and the configuration management content is to enable the DMZ function, and set the configuration management command of the host IP address to 192.168.1.101.
  • the wireless routing device performs the corresponding configuration operation according to the configuration management command, and the configuration operation in the specific operation is to enable the DMZ function, and set the host IP address to be 192.168.1.101.
  • the present invention also includes, but is not limited to, configuration operations for functions that can be implemented by a wireless routing device such as a Sim card, status monitoring, board function, login management, online upgrade, etc. of the wireless routing device.
  • the method further includes:
  • the wireless routing setting encapsulates execution state information of the execution configuration operation based on a preset application programming interface, and generates a return message including execution status information.
  • the mobile terminal can display the execution status information through a preset management interface, such as Whether the configuration operation performed by the device is successful, or the execution progress of the configuration operation performed by the wireless routing device.
  • the management command generated in step S101 may specifically be a command requesting to return current state information
  • Step S103 may be specifically: the wireless routing device encapsulates the current state information based on the application programming interface, generates a response message including the current state information, and sends the response message to the mobile terminal.
  • the mobile terminal can implement monitoring of current state information of the wireless routing device, such as monitoring and displaying information such as the battery capacity of the wireless routing device, the signal strength, or the number of routing devices connected to the mobile terminal.
  • the mobile mobile in the present embodiment includes, but is not limited to, a mobile terminal such as a mobile phone terminal or a tablet computer.
  • the wireless routing device receives a request message that includes a management command, which is sent by the mobile terminal, corresponding to the application programming interface preset by the wireless routing device, and the application programming interface of the wireless routing device encapsulates the request message. After obtaining the management command, the wireless routing device performs corresponding operations according to the management command, and the management of the wireless routing device can be completed by the mobile terminal. Therefore, the application value of the wireless routing device is improved, and the mobile terminal is more widely used.
  • FIG. 7 is a schematic flowchart of a second embodiment of a configuration management method for a wireless routing device according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
  • the mobile terminal generates information that includes a management command for the wireless routing device, where the wireless routing device includes a preset application programming interface.
  • the mobile terminal encapsulates the information including the management command of the wireless routing device according to the information of the application programming interface that is acquired in advance, and generates information corresponding to the application programming interface, including the wireless routing device. a request message for managing commands;
  • the mobile terminal initiates the management request for the wireless routing device, the information of the application programming interface is acquired, so that the mobile terminal performs the information according to the information of the application programming interface acquired in advance. Encapsulating information including management commands of the wireless routing device, generating a management command corresponding to the application programming interface, including the wireless routing device Request message.
  • the mobile terminal sends the request message to the wireless routing device.
  • the sending method of sending the request message including the management command to the wireless routing device to the wireless routing device in step S203 may be performed by including the wireless routing device to the wireless routing device by using WiFi, Bluetooth or infrared.
  • Request Messages for Management Commands The present invention includes, but is not limited to, the transmission methods listed above.
  • step S201 may specifically generate information including a management command for the wireless routing device according to an operation of the user on a preset management interface.
  • the foregoing preset management interface may be a management interface preset according to information obtained in advance to acquire an application programming interface, an interface of a DMZ project in the routing device, an interface corresponding to a login management item of the wireless routing device, etc., where not For example, when the user needs to manage different items in the wireless routing device, the user can operate on different management interfaces, so that the mobile terminal provided by the embodiment of the present invention is more user-friendly.
  • the S201 may further generate information including a management command for the wireless routing device according to the operation of the user on the preset window interface or the widget Widget.
  • the above window interface or widget Widget is the interface on the mobile phone desktop, so that the user can complete the management of the wireless routing device on the desktop of the mobile terminal.
  • step S201 generates information including a management command for the wireless routing device, where the management command may also be a configuration management command for the wireless routing device;
  • the step 202 is specifically that the mobile terminal encapsulates, according to the information of the application programming interface that is acquired in advance, information that includes a configuration management command for the wireless routing device, and generates a corresponding to the application programming interface, including the wireless The request message of the configuration management command of the routing device.
  • the corresponding configuration management may be performed according to the configuration management command sent by the mobile terminal, so that the wireless routing device performs a corresponding configuration operation according to the configuration management command.
  • the following is an example of a specific configuration management:
  • the request message corresponds to an application programming interface corresponding to the DMZ function set by the wireless routing device, and the configuration management command for the wireless routing device specifically configures and manages the DMZ function, and the configuration management content is to enable the DMZ function, and set the host IP.
  • the address is 192.168.1.101.
  • the wireless routing device obtains the configuration management command, the DMZ function is enabled according to the configuration management command, and the host IP address is set to 192.168.1.101.
  • This example is only a specific implementation example provided by the embodiment of the present invention.
  • the present invention also includes, but is not limited to, functions that can be implemented by a wireless routing device such as a SIM card, a status monitoring, a board function, a login management, and an online upgrade of a wireless routing device. Configuration management.
  • step S201 may be specifically configured to generate information including a configuration management command for the wireless routing device according to an operation of the user on a preset management interface. This allows you to generate different information containing configuration management commands based on the user's different actions on the pre-configured management interface.
  • the method may further include:
  • the mobile terminal displays the execution status information on a preset management interface, a window interface, or a widget widget.
  • step S201 may specifically be: periodically generating information about a management command of the wireless routing device, where the management command for the wireless routing device is a request to return to the wireless routing device. Current status information.
  • the method may further include:
  • the mobile terminal receives a response message that is sent by the wireless routing device and includes current status information of the wireless routing device.
  • the message is decapsulated to obtain current state information of the wireless routing device. Monitoring management of wireless routing devices.
  • step S205 After the mobile terminal decapsulates the response message including the current state information of the wireless routing device, and obtains the current state information of the wireless routing device, the method is performed in step S205. Also includes:.
  • the mobile terminal displays the obtained current state information of the wireless routing device on a preset management interface, a window interface, or a widget widget.
  • the mobile terminal can display the status information of the wireless routing device in real time, complete the monitoring and management of the wireless routing device, and also let the user know the current status information of the wireless routing device in time.
  • the above window interface or widget Widget is the interface on the mobile phone desktop, so that the current state information of the wireless routing device can be displayed in real time on the desktop of the mobile terminal, such as displaying the battery capacity, signal strength or routing device connection of the wireless routing device. Information such as the number of mobile terminals.
  • the mobile mobile in the present implementation includes, but is not limited to, a mobile terminal such as a mobile phone terminal or a tablet computer.
  • the line device includes a preset application programming interface, and the mobile terminal encapsulates information generated by the management unit and includes a management command for the wireless routing device according to the information of the application programming interface acquired in advance, and generates the application with the application.
  • the mobile terminal transmitting, to the wireless routing device, a request message generated by the application programming interface calling unit and containing a management command for the wireless routing device, such that The mobile terminal can manage the wireless management device, thereby improving the application value of the wireless routing device and making the mobile terminal more widely used.
  • the number of connected mobile terminals such as the number of connected mobile terminals, such as the number of connected mobile terminals, etc., the number of connected mobile terminals, etc., etc., etc., which are connected to the number of mobile terminals, etc., are disclosed only as a preferred embodiment of the present invention, of course, The scope of the present invention is not limited by the scope of the invention, and the equivalents thereof are still within the scope of the invention.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in the various embodiments of the present invention such as an application programming interface unit and an execution unit of the wireless routing device, or a management unit of the mobile terminal, an application programming interface calling unit, and a display unit, may be integrated into one processing.
  • each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) Some of the steps of the method described in various embodiments of the present invention are performed.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种路由设备的配置管理方法,包括:第一无线通信单元用于接收移动终端发送的与所述应用程序编程接口对应的,包含管理命令的请求消息;应用程序编程接口单元用于设置应用程序编程接口,以及基于所述应用程序编程接口单元设置的应用程序编程接口,对所述第一无线通信单元接收的请求消息进行解封装,获取到所述管理命令;执行单元用于根据所述应用程序编程接口单元获取到的所述管理命令,执行相应的操作。相应地本发明实施例还公开了一种移动终端、管理系统及方法。本发明实施例可以实现通过移动终端进行无线路由设备的管理,因此,提高了无线路由设备应用价值,同时使得移动终端的用途更为广泛。

Description

一种无线路由设备、 移动终端、 管理系统及方法
技术领域
本发明涉及通信领域, 尤其涉及一种无线路由设备、 移动终端、 管理系 统及方法。 背景技术
目前, 随着移动终端的普及, 无线路由设备也应用越来越广泛, 但目前 的无线路由设备主要是通过 PC来完成无线路由设备的管理,但由于 PC移动 性差, 而目前的无线路由设备是需要经常移动的, 当时, 在户外无线路由设 备也可以供移动终端使用, 因此, 目前的通过 PC 来完成管理的无线路由设 备无法满足用户的需求, 从而开发一种通过移动终端进行管理的无线路由设 备极其重要。 发明内容
本发明实施例提供了一种无线路由设备、 移动终端、 管理系统及方法, 可以实现通过移动终端进行无线路由设备的管理, 因此, 提高了无线路由设 备应用价值, 同时使得移动终端的用途更为广泛。
为了解决上述技术问题, 本发明实施例提供的一种无线路由设备, 包括: 第一无线通信单元; 应用程序编程接口单元, 用于设置应用程序编程接口; 执行单元, 其中,
所述第一无线通信单元, 用于接收移动终端发送的与所述应用程序编程 接口对应的, 包含管理命令的请求消息;
所述应用程序编程接口单元, 还用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到所述管理命令;
所述执行单元, 用于根据所述应用程序编程接口单元获取到的所述管理 命令, 执行相应的操作。
相应地, 本发明实施例还提供了一种移动终端, 包括: 管理单元、 应用 程序编程接口调用单元和第二无线通信单元, 其中: 所述管理单元, 用于生成包含对无线路由设备的管理命令的信息, 所述 无线路由设备包含预先设置的应用程序编程接口;
所述应用程序编程接口调用单元, 用于根据预先获取的所述应用程序编 程接口的信息, 对所述管理单元生成的包含对无线路由设备的管理命令的信 息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的 管理命令的请求消息;
所述第二无线通信单元, 用于向所述无线路由设备发送所述应用程序编 程接口调用单元生成的包含对无线路由设备的管理命令的请求消息。
相应地, 本发明实施例还提供了一种管理系统, 其特征在于, 包括 无线路由设备和移动终端;
所述无线路由设备包括: 第一无线通信单元; 应用程序编程接口单元, 用于设置应用程序编程接口; 执行单元, 其中,
所述第一无线通信单元, 用于接收移动终端发送的与所述应用程序编程 接口对应的, 包含管理命令的请求消息;
所述应用程序编程接口单元, 还用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到所述管理命令;
所述执行单元, 用于根据所述应用程序编程接口单元获取到的所述管理 命令, 执行相应的操作;
所述移动终端包括: 管理单元、 应用程序编程接口调用单元和第二无线 通信单元, 其中:
所述管理单元, 用于生成包含对无线路由设备管理命令的信息, 所述无 线路由设备包含预先设置的应用程序编程接口;
所述应用程序编程接口调用单元, 用于根据预先获取的所述应用程序编 程接口的信息, 对所述管理单元生成的包含对无线路由设备的管理命令的信 息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的 管理命令的请求消息;
所述第二无线通信单元, 用于向所述无线路由设备发送所述应用程序编 程接口调用单元生成的包含对无线路由设备的管理命令的请求消息。 相应地, 本发明实施还提供了一种路由设备的配置管理方法, 所述无线 路由设备包含预先设置的应用程序编程接口, 所述方法包括:
所述无线路由设备接收移动终端发送的与所述应用程序编程接口对应 的, 包含管理命令的请求消息;
所述无线路由设备基于所述应用程序编程接口, 对所述请求消息进行解 封装, 获取到所述管理命令;
所述无线路由设备根据所述管理命令, 执行相应的操作。
相应地, 本发明实施还提供了一种路由设备的配置管理方法, 包括:
移动终端生成包含对无线路由设备的管理命令的信息, 所述无线路由设 备包含预先设置的应用程序编程接口;
所述移动终端根据预先获取的所述应用程序编程接口的信息, 对所述包 含对无线路由设备的管理命令的信息进行封装, 生成与所述应用程序编程接 口对应的, 包含对无线路由设备的管理命令的请求消息;
所述移动终端向所述无线路由设备发送所述请求消息。
本发明实施例提供的一种无线路由设备、 移动终端、 管理系统及方法, 具有如下有益效果:
通过无线路由设备接收移动终端发送的与无线路由设备预先设置的应用 程序编程接口对应的, 包含管理命令的请求消息, 无线路由设备基于所述应 用程序编程接口, 对该请求消息进行封装, 获取到管理命令, 无线路由设备 根据该管理命令执行相应操作, 可以实现通过移动终端进行无线路由设备的 管理, 因此, 提高了无线路由设备应用价值, 同时使得移动终端的用途更为 广泛。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例提供的一种无线路由设备的结构示意图; 图 2是本发明实施例提供的一种移动终端的结构示意图;
图 3 是本发明实施例提供的一种移动终端的另一实施方式的结构示意 图;
图 4是本发明实施例提供的一种管理系统的结构示意图;
图 5是本发明实施例提供的一种无线路由设备的管理方法的第一实施例 的流程示意图;
图 6是本发明实施例提供的一种无线路由设备的管理方法的第一实施例 的另一实施方式的流程示意图;
图 7是本发明实施例提供的一种无线路由设备的管理方法的第二实施例 的流程示意图;
图 8是本发明实施例提供的一种无线路由设备的管理方法的第二实施例 的另一实施方式流程示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例 , 都属于本发明保护的范围。
图 1是本发明实施例提供的一种无线路由设备的结构示意图, 该无线路 由设备包括: 第一无线通信单元 11 ; 应用程序编程接口单元 12, 用于设置应 用程序编程接口; 执行单元 13 , 其中,
第一无线通信单元 11 , 用于接收移动终端发送的与所述应用程序编程接 口对应的, 包含管理命令的请求消息;
应用程序编程接口单元 12, 还用于基于应用程序编程接口单元 12设置 的应用程序编程接口, 对第一无线通信单元 11接收的请求消息进行解封装, 获取到所述管理命令;
执行单元 13 , 用于根据应用程序编程接口单元 12获取到的所述管理命 令, 执行相应的操作。
需要说明的是,第一无线通信单元 11接收移动终端发送的与应用程序编 程接口对应的, 包含管理命令的请求消息的接收方法可以是通过可以通过
WiFi、 蓝牙或红外线接收移动终端发送的与应用程序编程接口对应的, 包含 管理命令的请求消息, 本发明包括但不限于上述列出的接收方式。 上述应用 程序编程接口可以为(Application Program Interface, API ), 该 API具体为函 数规则。
需要说明的是,该应用程序编程接口单元 12具体还用于根据所述无线路 由设备的功能, 设置与所述功能对应的应用程序编程接口。
移动终端发起对无线路由设备的管理过程中就可以调用应用程序编程接 口单元 12设置的应用程序编程接口, 移动终端具体的调用过程可以为, 根据 预先获取到得所述应用程序编程接口的信息, 对生成的包含管理命令的信息 进行封装, 生成与应用程序编程接口单元 12设置的应用程序编程接口对应, 包含管理命令的请求消息, 并向无线路由设备发送所述请求消息。
应用程序编程接口单元 12基于应用程序编程接口单元 12设置的应用程 序编程接口, 对第一无线通信单元 11 接收的请求消息进行解封装具体可以 是:
应用程序编程接口单元 12基于应用程序编程接口单元 12设置的应用程 序编程接口, 对第一无线通信单元 11 接收的请求消息进行超文本传送协议 ( hypertext transport protocol , HTTP )解封装;
或,
应用程序编程接口单元 12基于应用程序编程接口单元 12设置的应用程 序编程接口, 对第一无线通信单元 11 接收的请求消息进行传输控制协议 ( Transmission Control Protocol , TCP )解封装;
或,
应用程序编程接口单元 12基于应用程序编程接口单元 12设置的应用程 序编程接口,对第一无线通信单元 11接收的请求消息进行 Socket协议解封装; 或,
应用程序编程接口单元 12基于应用程序编程接口单元 12设置的应用程 序编程接口, 对第一无线通信单元 11 接收的请求消息进行用户数据包协议 ( User Datagram Protocol, LUDP )解封装; 或,
应用程序编程接口单元 12基于应用程序编程接口单元 12设置的应用程 序编程接口,对第一无线通信单元 11接收的请求消息进行超文本传输安全协 议 ( Hypertext Transfer Protocol over Secure Socket Layer, HTTPS )解封装。
具体进行哪种协议的解封装, 是根据上述应用程序编程接口不同, 而进 行不同协议的解封装。本发明实施例中应用程序编程接口单元 12对第一无线 通信单元 11接收的请求消息进行封装包括但不限于上述列出的解封装形式。
需要说明的是, 在另一具体实施方式中, 第一无线通信单元 11还具体用 于接收移动终端发送的与所述应用程序编程接口对应的, 包含配置管理命令 的请求消息;
应用程序编程接口单元 12还具体用于基于应用程序编程接口单元 12设 置的应用程序编程接口, 对第一无线通信单元 11 接收的请求消息进行解封 装, 获取到配置管理命令;
执行单元 13具体用于根据应用程序编程接口单元 12获取到的所述配置 管理命令执行相应的配置操作。
该实施方式, 可以根据移动终端发送的配置管理命令执行相应的配置操 作。
下面为一个具体配置操作的例子:
若上述包含配置管理命令的请求消息为如下消息:
POST api/security/dmz HTTP/1.1
<?xml version:" 1.0" encoding="UTF-8 " ?>
<request>
<DmzStatus>K/DmzStatus>
<DmzIPAddress> 192.168.1.101 </DmzIPAddress>
</request>
该请求消息对应于应用程序编程接口单元 12 设置的与隔离区 ( Demilitarized Zone , DMZ ) 功能对应的应用程序编程接口, 应用程序编 程接口单元 12基于应用程序编程接口单元 12设置与 DMZ功能对应的应用 程序编程接口, 对上述消息进行解封装后, 会获取到对 DMZ 功能进行配置 管理, 配置管理内容为开启 DMZ功能, 并设定主机 IP地址为 192.168.1.101 的配置管理命令。 这样执行单元 13 就根据上述配置管理命令完成执行开启 DMZ功能, 并设定主机 IP地址为 192.168.1.101配置操作。 该例子只是本发 明实施例提供的一个具体实施例子, 本发明还包括但不限于对无线路由设备 的 Sim卡、 状态监测、 单板功能、 登录管理、 在线升级等无线路由设备可以 实现的功能的配置操作。
在该实施方式中,应用程序编程接口单元 12还具体用于基于应用程序编 程接口单元 12设置的应用程序编程接口, 对执行单元 13执行配置操作的执 行状态信息进行封装, 生成包含执行状态信息的返回消息;
第一无线通信单元 11 还具体用于向所述移动终端发送应用程序编程接 口单元 12生成的包含执行状态信息的返回消息。
这样移动终端可以通过预先设置的管理界面显示该执行状态信息, 如无 线路由设备执行的配置操作是否执行成功, 或, 无线路由设备执行的配置操 作的执行进度。
需要说明的是, 在另一具体的实施方式中, 第一无线通信单元 11还具体 用于接收移动终端发送的与所述应用程序编程接口对应的, 包含请求返回当 前状态信息的命令的请求消息。
应用程序编程接口单元 12 还具体用于基于应用程序编程接口单元设置 12的应用程序编程接口, 对第一无线通信单元 11接收的请求消息进行解封 装, 获取到请求返回当前状态信息的命令;
执行单元 13还具体用于获取当前状态信息;
应用程序编程接口单元 12还具体用于基于应用程序编程接口单元 12设 置的应用程序编程接口, 对执行单元 13获取的当前状态信息进行封装, 生成 包含所述当前状态信息的响应消息;
第一无线通信单元 11还具体用于将应用程序编程接口 12生成的包含所 述当前状态信息的响应消息发送至所述移动终端 。
该实施方式中, 移动终端可以实现监测无线路由设备的当前状态信息, 如监测及显示无线路由设备的电池量、 信号强度或路由设备连接移动终端的 个数等信息。 需要说明的是, 在本实施中的移动移动包括但不限于手机终端或平板电 脑等移动终端。
本实施例, 通过第一无线通信单元接收移动终端发送的与无线路由设备 预先设置的应用程序编程接口对应的, 包含管理命令的请求消息, 应用程序 编程接口单元基于所述应用程序编程接口, 对该请求消息进行封装, 获取到 管理命令, 执行单元根据该管理命令执行相应操作, 以实现移动移动终端对 无线路由设备进行管理。 可以实现无线路由设备的管理由移动终端完成, 因 此, 提高了无线路由设备应用价值, 同时使得移动终端的用途更为广泛。
图 2是本发明实施例提供的一种移动终端的结构示意图, 如图 2所示, 包括: 管理单元 21、应用程序编程接口调用单元 22和第二无线通信单 23元, 其中:
管理单元 21 , 用于生成包含对无线路由设备管理命令的信息, 所述无线 路由设备包含预先设置的应用程序编程接口;
应用程序编程接口调用单元 22, 用于根据预先获取的所述应用程序编程 接口的信息,对管理单元 21生成的包含对无线路由设备的管理命令的信息进 行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的管理 命令的请求消息;
可以理解的是, 在移动终端发起对无线路由设备的管理请求之前, 就会 获取应用程序编程接口的信息,以使应用程序编程接口调用单元 22根据预先 获取的所述应用程序编程接口的信息,对管理单元 21生成的包含对无线路由 设备的管理命令的信息进行封装, 生成与所述应用程序编程接口对应的, 包 含对无线路由设备的管理命令的请求消息。 上述应用程序编程接口可以为 API, 该 API具体为函数规则。
第二无线通信单元 23 , 用于向所述无线路由设备发送应用程序编程接口 调用单元 22生成的包含对无线路由设备的管理命令的请求消息。
需要说明的是,第二无线通信单元 23向所述无线路由设备发送应用程序 编程接口调用单元 22 生成的包含对无线路由设备的管理命令的请求消息的 发送方法可以是通过可以通过 WiFi、 蓝牙或红外线向所述无线路由设备发送 应用程序编程接口调用单元 22 生成的包含对无线路由设备的管理命令的请 求消息, 本发明包括但不限于上述列出的发送方式。
需要说明的是, 在另一具体实施方式中, 管理单元 21还具体用于根据用 户在预先设置的管理界面上的操作, 生成包含对无线路由设备的管理命令的 信息。
该实施方式中, 可以根据用户在预先设置的管理界面上不同操作, 可以 生成不同的管理命令, 以使无线路由设备执行不同的操作。 上述预先设置的 管理界面可以, 根据预先获取应用程序编程接口的信息中的应用程序编程接 口, 或, 应用程序编程接口的网络协议预先设置的管理界面, 该管理界面中 不同管理界面可以对应于不同管理功能, 如有专门对应于无线路由设备中 DMZ功能的界面, 有专门对应于无线路由设备的登录管理功能的界面等, 此 处不——例出, 当用户需要对无线路由设备中的不同功能进行管理时, 就可 以在不同的管理界面上操作, 这样使本发明实施例提供的移动终端更加具有 人性化。 管理单元 21 还具体用于根据用户在预先设置的窗口界面或微件 Widget上的操作, 生成包含对无线路由设备的管理命令的信息。 上述窗口界 面或微件 Widget都为手机桌面上界面, 这样用户在移动终端的桌面上就可以 完成无线路由设备的管理。
需要说明的是, 在另一具体实施方式中, 管理单元 21生成包含对无线路 由设备的管理命令的信息, 中的管理命令还可以是配置管理命令;
应用程序编程接口调用单元 22 还具体用于根据预先获取的所述应用程 序编程接口的信息,对管理单元 21生成的包含对无线路由设备的配置管理命 令的信息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由 设备的配置管理命令的请求消 ,包、。
该实施方式, 可以根据移动终端发送的配置管理命令执行相应的配置管 理, 使无线路由设备根据该配置管理命令执行相应的配置操作。
下面为一个具体配置管理的例子:
若上述包含对路由设备的配置管理的请求消息为如下消息:
POST api/security/dmz HTTP/1.1
<?xml version:" 1.0" encoding="UTF-8 " ?>
<request> <DmzStatus>K/DmzStatus>
<DmzIPAddress> 192.168.1.101 </DmzIPAddress>
</request>
该请求消息对应于无线路由设备设置的与 DMZ 功能对应的应用程序编 程接口, 对无线路由设备的配置管理命令具体是对 DMZ功能进行配置管理, 配置管理内容为开启 DMZ功能, 并设定主机 IP地址为 192.168.1.101。 这样 无线路由设备获取得该配置管理命令后, 就根据该配置管理命令执行开启 DMZ功能, 并设定主机 IP地址为 192.168.1.101配置操作。 该例子只是本发 明实施例提供的一个具体实施例子, 本发明还包括但不限于对无线路由设备 的 Sim卡、 状态监测、 单板功能、 登录管理、 在线升级等无线路由设备可以 实现的功能的配置管理。
在该实施方式中,管理单元 21还可以具体用于根据用户在预先设置的管 理界面上的操作, 生成包含对无线路由设备的配置管理命令的信息。 这样可 以根据用户在预先设置的管理界面上的不同操作, 生成不同的包含配置管理 命令的信息。
同时,第二通信单元 23还可以具体用于接收无线路由设备发送的包含无 线路由设备根据该配置管理命令执行相应配置操作的执行状态信息的返回消 息;
应用程序编程接口调用单元 22还具体用于对第二通信单元 23接收的返 回消息进行解封装, 获取到所述执行状态信息。 这样移动终端可以通过预先 设置的管理界面显示该执行状态信息, 如无线路由设备执行的配置操作是否 执行成功, 或, 无线路由设备执行的配置操作的执行进度。
需要说明的是, 在另一具体的实施方式中, 管理单元 21具体用于周期性 的生成对无线路由设备的管理命令的信息, 所述对无线路由设备的管理命令 为请求返回无线路由设备的当前状态信息的命令;
第二无线通信单元 23 还具体用于接收所述无线路由设备发送的包含无 线路由设备的当前状态信息的命令的响应消息;
应用程序编程接口调用单元 22还具体用于对第二无线通信单元 23接收 的包含无线路由设备的当前状态信息的响应消息进行解封装, 获取到所述无 线路由设备的当前状态信息。 无线路由设备的监测管理。
同时, 在该实施方式中, 如图 3所示, 该移动终端还可以包括: 显示单 元 24, 用于在预先设置的管理界面上显示应用程序编程接口调用单 22元获 取到的所述当前状态信息。
这样移动终端可以实时地显示无线路由设备的状态信息, 完成对无线路 由设备的监测管理的同时, 还可以让用户及时知晓无线路由设备的当前状态 信息。 显示单元 24还具体用于在预先设置的窗口界面或微件 Widget上显示 应用程序编程接口调用单 22元获取得到的所述当前状态信息,上述窗口界面 或微件 Widget都为手机桌面上界面。 这样在移动终端的桌面上就可以实时的 显示无线路由设备的当前状态信息, 如显示无线路由设备的电池量、 信号强 度或路由设备连接移动终端的个数等信息。
需要说明的是, 在本实施中的移动移动包括但不限于手机终端或平板电 脑等移动终端。
本实施例, 管理单元生成包含对无线路由设备管理命令的信息, 所述无 线路由设备包含预先设置的应用程序编程接口, 应用程序编程接口调用单元 根据预先获取的所述应用程序编程接口的信息, 对管理单元生成的包含对无 线路由设备的管理命令的信息进行封装, 生成与所述应用程序编程接口对应 的, 包含对无线路由设备的管理命令的请求消息, 第二无线通信单元向所述 无线路由设备发送应用程序编程接口调用单元生成的包含对无线路由设备的 管理命令的请求消息, 这样移动终端可以进行对无线管理设备的管理, 因此, 提高了无线路由设备应用价值, 以及使得移动终端的用途更为广泛。
图 4是本发明实施例提供的一种管理系统的结构示意图, 如图 4所示, 包括: 无线路由设备 41和移动终端 42, 其中:
所述无线路由设备包括: 第一无线通信单元; 应用程序编程接口单元, 用于设置应用程序编程接口; 执行单元, 其中,
所述第一无线通信单元, 用于接收移动终端发送的与所述应用程序编程 接口对应的, 包含管理命令的请求消息; 所述应用程序编程接口单元, 还用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到所述管理命令;
所述执行单元, 用于根据所述应用程序编程接口单元获取到的所述管理 命令, 执行相应的操作;
所述移动终端包括: 管理单元、 应用程序编程接口调用单元和第二无线 通信单元, 其中:
所述管理单元, 用于生成包含对无线路由设备管理命令的信息, 所述无 线路由设备包含预先设置的应用程序编程接口;
所述应用程序编程接口调用单元, 用于根据预先获取的所述应用程序编 程接口的信息, 对所述管理单元生成的包含对无线路由设备的管理命令的信 息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的 管理命令的请求消息;
第二无线通信单元, 用于向所述无线路由设备发送所述应用程序编程接 口调用单元生成的包含对无线路由设备的管理命令的请求消息。
需要说明的是, 本实施例中的无线路由设备 41和移动终端 42可以釆用 上面两个实施例提供的任一实施方式中的无线路由设备和移动终端, 此不对 无线路由设备 41和移动终端 42进行重复说明。
本实施例, 无线路由设备接收移动终端发送的与无线路由设备预先设置 的应用程序编程接口对应的, 包含管理命令的请求消息, 无线路由设备基于 所述应用程序编程接口, 对该请求消息进行封装, 获取到管理命令, 无线路 由设备根据该管理命令执行相应操作, 可以实现通过移动终端进行无线路由 设备的管理, 因此, 提高了无线路由设备应用价值, 同时使得移动终端的用 途更为广泛。
图 5是本发明实施例提供的一种路由设备的管理方法的第一实施例的流 程示意图, 本实施例中无线路由设备包含预先设置的应用程序编程接口, 如 图 5所示, 包括:
S101、 无线路由设备接收移动终端发送的与所述应用程序编程接口对应 的, 包含管理命令的请求消息。 需要说明的是,步骤 S101接收移动终端发送的与应用程序编程接口对应 的, 包含管理命令的请求消息的接收方法可以是通过可以通过 WiFi、 蓝牙或 红外线接收移动终端发送的与应用程序编程接口对应的, 包含管理命令的请 求消息, 本发明包括但不限于上述列出的接收方式。 上述应用程序编程接口 可以为 API, 该 API具体为函数规则。
需要说明的是, 在所述无线路由设备接收移动终端发送的与所述应用程 序编程接口对应的, 包含管理命令的请求消息之前, 所述方法还包括:
所述无线路由设备根据所述无线路由设备的功能, 设置与所述功能对应 的应用程序编程接口。
这样移动终端发起对无线路由设备的管理过程中就可以调用应用程序编 程接口, 移动终端具体的调用过程可以为, 根据预先获取到得所述应用程序 编程接口的信息, 对生成的包含管理命令的信息进行封装, 生成与所述应用 程序编程接口对应的, 包含对管理命令的请求消息, 再将该请求消息发送至 所述无线路由设备。
S102、 无线路由设备基于所述应用程序编程接口, 对所述请求消息进行 解封装, 获取到所述管理命令。
需要说明的是, 无线路由设备对所述请求消息进行解封装具体可以是: 无线路由设备对所述请求消息进行超文本传送协议 HTTP解封装; 或,
无线路由设备对所述请求消息进行传输控制协议 TCP解封装;
或,
无线路由设备对所述请求消息进行 Socket协议解封装;
或,
无线路由设备对所述请求消息进行用户数据包协议 LUDP解封装; 或,
无线路由设备对所述请求消息进行超文本传输安全协议 HTTPS解封装。 具体进行哪种协议的解封装, 是根据上述应用程序编程接口不同, 而进 行不同协议的解封装。 本发明实施例中对请求消息进行封装包括但不限于上 述列出的解封装形式。 5103、 无线路由设备根据所述管理命令, 执行相应的操作。
需要说明的是, 在另一具体实施方式中, 步骤 S101中生成的管理命令具 体可以是配置管理命令;
步骤 S103 具体可以是无线路由设备根据所述配置管理命令执行相应的 配置操作。
该实施方式, 可以根据移动终端发送的配置管理命令执行相应的配置操 作。
下面为一个具体配置操作的例子:
若上述包含配置管理命令的请求消息为如下消息:
POST api/security/dmz HTTP/1.1
<?xml version:" 1.0" encoding="UTF-8 " ?>
<request>
<DmzStatus>K/DmzStatus>
<DmzIPAddress> 192.168.1.101 </DmzIPAddress>
</request>
该请求消息对应于无线路由设备设置的与 DMZ 功能对应的应用程序编 程接口, 步骤 S102无线路由设备基于所述应用程序编程接口,对所述请求消 息进行解封装, 获取到所述配置管理命令, 所述配置管理命令为对 DMZ 功 能进行配置管理, 配置管理内容为开启 DMZ 功能, 并设定主机 IP地址为 192.168.1.101的配置管理命令。这样步骤 S103所述无线路由设备根据所述配 置管理命令执行相应的配置操作, 中的配置操作具体为开启 DMZ 功能, 并 设定主机 IP地址为 192.168.1.101。 本发明还包括但不限于对无线路由设备的 Sim卡、 状态监测、 单板功能、 登录管理、 在线升级等无线路由设备可以实 现的功能的配置操作。
在该实施方式中, 如图 6所示, 该方法还包括:
5104、 无线路由设置基于预先设置的应用程序编程接口, 对执行配置操 作的执行状态信息进行封装, 生成包含执行状态信息的返回消息;
S 105、 向所述移动终端发送包含执行状态信息的返回消息。
这样移动终端可以通过预先设置的管理界面显示该执行状态信息, 如无 线路由设备执行的配置操作是否执行成功, 或, 无线路由设备执行的配置操 作的执行进度。
需要说明的是, 在另一具体的实施方式中, 步骤 S101中生成的管理命令 具体可以是请求返回当前状态信息的命令;
步骤 S103具体可以是无线路由设备基于所述应用程序编程接口,对当前 状态信息进行封装, 生成包含所述当前状态信息的响应消息, 并向所述移动 终端发送所述响应消息。
该实施方式中, 移动终端可以实现监测无线路由设备的当前状态信息, 如监测及显示无线路由设备的电池量、 信号强度或路由设备连接移动终端的 个数等信息。
需要说明的是, 在本实施中的移动移动包括但不限于手机终端或平板电 脑等移动终端。
本实施例, 无线路由设备接收移动终端发送的与无线路由设备预先设置 的应用程序编程接口对应的, 包含管理命令的请求消息, 无线路由设备所述 应用程序编程接口, 对该请求消息进行封装, 获取到管理命令, 无线路由设 备根据该管理命令执行相应操作, 可以实现无线路由设备的管理由移动终端 完成, 因此, 提高了无线路由设备应用价值, 同时使得移动终端的用途更为 广泛。
图 7是本发明实施例提供的一种无线路由设备的配置管理方法的第二实 施例的流程示意图, 如图 7所示, 包括:
5201、 移动终端生成包含对无线路由设备的管理命令的信息, 所述无线 路由设备包含预先设置的应用程序编程接口;
5202、 移动终端根据预先获取的所述应用程序编程接口的信息, 对所述 包含对无线路由设备的管理命令的信息进行封装, 生成与所述应用程序编程 接口对应的, 包含对无线路由设备的管理命令的请求消息;
可以理解的是, 在移动终端发起对无线路由设备的管理请求之前, 就会 获取应用程序编程接口的信息, 以使所述移动终端根据预先获取的所述应用 程序编程接口的信息, 对所述包含对无线路由设备的管理命令的信息进行封 装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的管理命令 的请求消息。
S203、 移动终端向所述无线路由设备发送所述请求消息。
需要说明的是,步骤 S203向所述无线路由设备发送包含对无线路由设备 的管理命令的请求消息的发送方法可以是通过可以通过 WiFi、 蓝牙或红外线 向所述无线路由设备包含对无线路由设备的管理命令的请求消息, 本发明包 括但不限于上述列出的发送方式。
需要说明的是, 在另一具体实施方式中, 步骤 S201具体还可以是根据用 户在预先设置的管理界面上的操作, 生成包含对无线路由设备的管理命令的 信息。
该实施方式中, 可以根据用户在预先设置的管理界面上不同操作, 可以 生成不同的管理命令, 以使无线路由设备执行不同的操作。 上述预先设置的 管理界面可以,根据预先获取应用程序编程接口的信息预先设置的管理界面, 路由设备中 DMZ 项目的界面, 有专门对应于无线路由设备的登录管理项目 的界面等, 此处不——例出, 当用户需要对无线路由设备中的不同项目进行 管理时, 就可以在不同的管理界面上操作, 这样使本发明实施例提供的移动 终端更加具有人性化。 S201具体还可以是根据用户在预先设置的窗口界面或 微件 Widget上的操作, 生成包含对无线路由设备的管理命令的信息。 上述窗 口界面或微件 Widget都为手机桌面上界面, 这样用户在移动终端的桌面上就 可以完成无线路由设备的管理。
需要说明的是, 在另一具体实施方式中, 步骤 S201生成包含对无线路由 设备的管理命令的信息, 中的管理命令还可以是对无线路由设备的配置管理 命令;
步骤 202具体还可以是移动终端根据预先获取的所述应用程序编程接口 的信息, 对包含对无线路由设备的配置管理命令的信息进行封装, 生成与所 述应用程序编程接口对应的, 包含对无线路由设备的配置管理命令的请求消 息。
该实施方式, 可以根据移动终端发送的配置管理命令执行相应的配置管 理, 使无线路由设备根据该配置管理命令执行相应的配置操作。 下面为一个具体配置管理的例子:
若上述包含对路由设备的配置管理的请求消息为如下消息:
POST api/security/dmz HTTP/1.1
<?xml version:" 1.0" encoding="UTF-8 " ?>
<request>
<DmzStatus>K/DmzStatus>
<DmzIPAddress> 192.168.1.101 </DmzIPAddress>
</request>
该请求消息对应于无线路由设备设置的与 DMZ 功能对应的应用程序编 程接口, 对无线路由设备的配置管理命令具体是对 DMZ功能进行配置管理, 配置管理内容为开启 DMZ功能, 并设定主机 IP地址为 192.168.1.101。 这样 无线路由设备获取得该配置管理命令后, 就根据该配置管理命令执行开启 DMZ功能, 并设定主机 IP地址为 192.168.1.101配置操作。 该例子只是本发 明实施例提供的一个具体实施例子, 本发明还包括但不限于对无线路由设备 的 Sim卡、 状态监测、 单板功能、 登录管理、 在线升级等无线路由设备可以 实现的功能的配置管理。
在该实施方式中,步骤 S201具体还可以是用于根据用户在预先设置的管 理界面上的操作, 生成包含对无线路由设备的配置管理命令的信息。 这样可 以根据用户在预先设置的管理界面上的不同操作, 生成不同的包含配置管理 命令的信息。
同时, 该方法在步骤 S203之后, 该方法还可以包括:
移动终端接收无线路由设备发送的包含无线路由设备根据该配置管理命 令执行相应配置操作的执行状态信息的返回消息;
移动终端在预先设置的管理界面、 窗口界面或微件 Widget上显示所述执 行状态信息。
移动终端对接收的返回消息进行解封装, 获取到所述执行状态信息。 这 样移动终端可以通过预先设置的管理界面、 窗口界面或微件 Widget上显示该 执行状态信息, 如无线路由设备执行的配置操作是否执行成功, 或, 无线路 由设备执行的配置操作的执行进度。 需要说明的是, 在另一具体的实施方式中, 步骤 S201具体还可以是周期 性的生成对无线路由设备的管理命令的信息, 所述对无线路由设备的管理命 令为请求返回无线路由设备的当前状态信息。
同时, 该实施方式中, 如图 8所示, 该方法在步骤 S203之后, 该方法还 可以包括:
S204、 所述移动终端接收所述无线路由设备发送的包含所述无线路由设 备的当前状态信息的响应消息; 应消息进行解封装, 获取到所述无线路由设备的当前状态信息。 无线路由设备的监测管理。
同时, 在该实施方式中, 在步骤 S205所述移动终端对所述包含所述无线 路由设备的当前状态信息的响应消息进行解封装, 获取到所述无线路由设备 的当前状态信息之后, 该方法还包括:。
S206、 所述移动终端在预先设置的管理界面、 窗口界面或微件 Widget上 显示获取得到的所述无线路由设备的当前状态信息。
这样移动终端可以实时地显示无线路由设备的状态信息, 完成对无线路 由设备的监测管理的同时, 还可以让用户及时知晓无线路由设备的当前状态 信息。 上述窗口界面或微件 Widget都为手机桌面上界面,, 这样在移动终端 的桌面上就可以实时的显示无线路由设备的当前状态信息, 如显示无线路由 设备的电池量、 信号强度或路由设备连接移动终端的个数等信息。
需要说明的是, 在本实施中的移动移动包括但不限于手机终端或平板电 脑等移动终端。 线路由设备包含预先设置的应用程序编程接口, 移动终端根据预先获取的所 述应用程序编程接口的信息, 对管理单元生成的包含对无线路由设备的管理 命令的信息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路 由设备的管理命令的请求消息, 移动终端向所述无线路由设备发送应用程序 编程接口调用单元生成的包含对无线路由设备的管理命令的请求消息, 这样 移动终端可以进行对无线管理设备的管理, 因此, 提高了无线路由设备应用 价值, 以及使得移动终端的用途更为广泛。
连接移动终端的个数等连接移动终端的个数等连接移动终端的个数等连 接移动终端的个数等连接移动终端的个数等以上所揭露的仅为本发明较佳实 施例而已, 当然不能以此来限定本发明之权利范围, 因此依本发明权利要求 所作的等同变化, 仍属本发明所涵盖的范围。
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。
本领域的技术人员可以理解: 附图只是一个优选实施例的示意图, 附图 中的模块、 实体或流程并不一定是实施本发明所必需的。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元如无线路由设备的应用程序 编程接口单元和执行单元, 或是移动终端的管理单元、 应用程序编程接口调 用单元、 显示单元, 可以集成在一个处理单元中, 也可以是各个单元单独物 理存在, 也可以两个或两个以上单元集成在一个单元中。 上述集成的单元既 可以釆用硬件的形式实现, 也可以釆用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算机 可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若干指 令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (Read-Only Memory, 简称 ROM )、 随机存取存储器 ( Random Access Memory , 简称 RAM )、 磁碟或者光盘等各种可以存储程序 代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种无线路由设备, 其特征在于, 包括: 第一无线通信单元; 应用程 序编程接口单元, 用于设置应用程序编程接口; 执行单元, 其中,
所述第一无线通信单元, 用于接收移动终端发送的与所述应用程序编程 接口对应的, 包含管理命令的请求消息;
所述应用程序编程接口单元, 还用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到所述管理命令;
所述执行单元, 用于根据所述应用程序编程接口单元获取到的所述管理 命令, 执行相应的操作。
2、 如权利要求 1所述的无线路由设备, 其特征在于, 所述应用程序编程 接口单元具体用于, 根据所述无线路由设备的功能, 设置与所述功能对应的 应用程序编程接口。
3、 如权利要求 1或 2所述的无线路由设备, 其特征在于, 所述应用程序 编程接口单元还具体用于基于所述应用程序编程接口单元设置的应用程序编 程接口,对所述第一无线通信单元接收的请求消息进行超文本传送协议 HTTP 解封装;
或,
所述应用程序编程接口单元还具体用于基于所述应用程序编程接口单元 设置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行传 输控制协议 TCP解封装;
或,
所述应用程序编程接口单元还具体用于基于所述应用程序编程接口单元 设置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行 Socket协议解封装;
或,
所述应用程序编程接口单元还具体用于基于所述应用程序编程接口单元 设置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行用 户数据包协议 UDP解封装; 或,
所述应用程序编程接口单元还具体用于基于所述应用程序编程接口单元 设置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行超 文本传输安全协议 HTTPS解封装。
4、 如权利要求 1-3中任一项所述无线路由设备, 其特征在于, 所述第一 无线通信单元具体用于接收移动终端发送的与所述应用程序编程接口对应 的, 包含配置管理命令的请求消息;
所述应用程序编程接口单元具体用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到所述配置管理命令;
所述执行单元具体用于根据所述应用程序编程接口单元获取到的所述配 置管理命令执行相应的配置操作。
5、 如权利要求 1-4中任一项所述的无线路由设备, 其特征在于, 所述第 一无线通信单元具体用于接收移动终端发送的与所述应用程序编程接口对应 的, 包含请求返回当前状态信息的命令的请求消息;
所述应用程序编程接口单元具体用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到请求返回无线路由设备的当前状态信息的命令;
所述执行单元具体用于获取当前状态信息;
所述应用程序编程接口单元还具体用于基于所述应用程序编程接口单元 设置的应用程序编程接口, 对所述执行单元获取的当前状态信息进行封装, 生成包含所述当前状态信息的响应消息;
所述第一无线通信单元还具体用于将所述应用程序编程接口生成的包含 所述当前状态信息的响应消息发送至所述移动终端 。
6、 一种移动终端, 其特征在于, 包括: 管理单元、 应用程序编程接口调 用单元和第二无线通信单元, 其中:
所述管理单元, 用于生成包含对无线路由设备的管理命令的信息, 所述 无线路由设备包含预先设置的应用程序编程接口;
所述应用程序编程接口调用单元, 用于根据预先获取的所述应用程序编 程接口的信息, 对所述管理单元生成的包含对无线路由设备的管理命令的信 息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的 管理命令的请求消息;
所述第二无线通信单元, 用于向所述无线路由设备发送所述应用程序编 程接口调用单元生成的包含对无线路由设备的管理命令的请求消息。
7如权利要求 6所述的移动终端, 其特征在于, 所述管理单元具体用于 根据用户在预先设置的管理界面上的操作, 生成包含对无线路由设备的管理 命令的信息。
8、 如权利要求 6或 7所述的移动终端, 其特征在于, 所述管理单元生成 的包含对无线路由设备的管理命令的信息, 所述对无线路由设备的管理命令 为对无线路由设备的配置管理命令。
9、 如权利要求 6-8任一项所述的移动终端, 其特征在于, 所述管理单元 具体用于周期性的生成对无线路由设备的管理命令的信息, 所述对无线路由 设备的管理命令为请求返回无线路由设备的当前状态信息的命令;
所述第二无线通信单元还具体用于接收所述无线路由设备发送的包含无 线路由设备的当前状态信息的响应消息;
所述应用程序编程接口调用单元还具体用于对所述第二无线通信单元接 收的包含无线路由设备的当前状态信息的响应消息进行解封装, 获取到所述 无线路由设备的当前状态信息。
10、 如权利要求 9所述的移动终端, 其特征在于, 所述移动终端还包括: 显示单元, 用于在预先设置的管理界面或窗口界面或微件 Widget上显示 所述应用程序编程接口调用单元获取到的所述无线路由设备的当前状态信 息。
11、 一种管理系统, 其特征在于, 包括
无线路由设备和移动终端;
所述无线路由设备包括: 第一无线通信单元; 应用程序编程接口单元, 用于设置应用程序编程接口; 执行单元, 其中,
所述第一无线通信单元, 用于接收移动终端发送的与所述应用程序编程 接口对应的, 包含管理命令的请求消息; 所述应用程序编程接口单元, 还用于基于所述应用程序编程接口单元设 置的应用程序编程接口, 对所述第一无线通信单元接收的请求消息进行解封 装, 获取到所述管理命令;
所述执行单元, 用于根据所述应用程序编程接口单元获取到的所述管理 命令, 执行相应的操作;
所述移动终端包括: 管理单元、 应用程序编程接口调用单元和第二无线 通信单元, 其中:
所述管理单元, 用于生成包含对无线路由设备管理命令的信息, 所述无 线路由设备包含预先设置的应用程序编程接口;
所述应用程序编程接口调用单元, 用于根据预先获取的所述应用程序编 程接口的信息, 对所述管理单元生成的包含对无线路由设备的管理命令的信 息进行封装, 生成与所述应用程序编程接口对应的, 包含对无线路由设备的 管理命令的请求消息;
第二无线通信单元, 用于向所述无线路由设备发送所述应用程序编程接 口调用单元生成的包含对无线路由设备的管理命令的请求消息。
12、 一种无线路由设备的管理方法, 其特征在于, 所述无线路由设备包 含预先设置的应用程序编程接口, 所述方法包括:
所述无线路由设备接收移动终端发送的与所述应用程序编程接口对应 的, 包含管理命令的请求消息;
所述无线路由设备基于所述应用程序编程接口, 对所述请求消息进行解 封装, 获取到所述管理命令;
所述无线路由设备根据所述管理命令, 执行相应的操作。
13、 如权利要求 12所述的方法, 其特征在于, 在所述无线路由设备接收 移动终端发送的与所述应用程序编程接口对应的, 包含管理命令的请求消息 之前, 所述方法还包括:
所述无线路由设备根据所述无线路由设备的功能, 设置与所述功能对应 的应用程序编程接口。
14、 如权利要求 12或 13所述的方法, 其特征在于, 所述无线路由设备 对所述请求消息进行解封装的步骤具体包括: 所述无线路由设备对所述请求消息进行超文本传送协议 HTTP解封装; 或,
所述无线路由设备对所述请求消息进行传输控制协议 TCP解封装; 或,
所述无线路由设备对所述请求消息进行 Socket协议解封装;
或,
所述无线路由设备对所述请求消息进行用户数据包协议 UDP解封装; 或,
所述无线路由设备对所述请求消息进行超文本传输安全协议 HTTPS 解 封装。
15如权利要求 12-14任一项所述的方法, 其特征在于, 所述管理命令包 括:
配置管理命令;
所述无线路由设备根据所述管理命令,执行相应的操作的步骤具体包括: 所述无线路由设备根据所述配置管理命令执行相应的配置操作。
16、 如权利要求 12-15任一项所述的方法, 其特征在于, 所述管理命令 包括:
请求返回当前状态信息的命令;
所述无线路由设备根据所述管理命令,执行相应的操作的步骤具体包括: 所述无线路由设备基于所述应用程序编程接口, 对当前状态信息进行封 装, 生成包含所述当前状态信息的响应消息, 并向所述移动终端发送所述响 应消息。
17、 一种无线路由设备的配置管理方法, 其特征在于, 包括:
移动终端生成包含对无线路由设备的管理命令的信息, 所述无线路由设 备包含预先设置的应用程序编程接口;
所述移动终端根据预先获取的所述应用程序编程接口的信息, 对所述包 含对无线路由设备的管理命令的信息进行封装, 生成与所述应用程序编程接 口对应的, 包含对无线路由设备的管理命令的请求消息;
所述移动终端向所述无线路由设备发送所述请求消息。 18、 如权利要求 17所述的方法, 其特征在于, 所述移动终端生成包含对 无线路由设备的管理命令的信息的步骤具体包括:
所述移动终端根据用户在预先设置的管理界面上的操作, 生成所述包含 对无线路由设备的管理命令的信息, 所述管理命令为配置管理命令。
19、 如权利要求 17或 18所述的方法, 其特征在于, 所述移动终端生成 包含对无线路由设备的管理命令的信息的步骤具体包括: 述对无线路由设备的管理命令为请求返回无线路由设备的当前状态信息; 在所述移动终端向所述无线路由设备发送所述请求消息之后, 所述方法 还包括:
所述移动终端接收所述无线路由设备发送的包含所述无线路由设备的当 前状态信息的响应消息; 进行解封装, 获取到所述无线路由设备的当前状态信息。
20、 如权利要求 19所述的方法, 其特征在于, 在所述移动终端对所述包 含所述当前状态信息的响应消息进行解封装, 获取到所述无线路由设备的当 前状态信息之后, 所述方法还包括:
所述移动终端在预先设置的管理界面或窗口界面或微件 Widget上显示所 述无线路由设备的当前状态信息。
PCT/CN2012/087858 2012-04-01 2012-12-28 一种无线路由设备、移动终端、管理系统及方法 WO2013149491A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2015502063A JP2015514259A (ja) 2012-04-01 2012-12-28 無線ルーティング装置、モバイル端末ならびに管理システムおよび方法
EP12873501.6A EP2806613A4 (en) 2012-04-01 2012-12-28 WIRELESS ROUTING DEVICE, MOBILE DEVICE AND ADMINISTRATIVE SYSTEM AND METHOD THEREFOR
US14/466,268 US9491682B2 (en) 2012-04-01 2014-08-22 Wireless routing device, mobile terminal, and management system and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210094503.0A CN102685210B (zh) 2012-04-01 2012-04-01 一种无线路由设备、移动终端、管理系统及方法
CN201210094503.0 2012-04-01

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/466,268 Continuation US9491682B2 (en) 2012-04-01 2014-08-22 Wireless routing device, mobile terminal, and management system and method

Publications (1)

Publication Number Publication Date
WO2013149491A1 true WO2013149491A1 (zh) 2013-10-10

Family

ID=46816564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087858 WO2013149491A1 (zh) 2012-04-01 2012-12-28 一种无线路由设备、移动终端、管理系统及方法

Country Status (5)

Country Link
US (1) US9491682B2 (zh)
EP (1) EP2806613A4 (zh)
JP (1) JP2015514259A (zh)
CN (1) CN102685210B (zh)
WO (1) WO2013149491A1 (zh)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685210B (zh) * 2012-04-01 2015-06-17 华为终端有限公司 一种无线路由设备、移动终端、管理系统及方法
CN103873359A (zh) * 2012-12-14 2014-06-18 上海斐讯数据通信技术有限公司 移动设备、无线路由器、路由配置方法及系统
US10117258B2 (en) 2013-11-22 2018-10-30 Beijing Qihoo Technology Comapny Limited Wireless channel redistribution method and apparatus
CN103619058B (zh) * 2013-11-22 2017-08-25 北京奇虎科技有限公司 无线路由设备的发射功率调节方法和装置
CN104767675B (zh) * 2014-01-07 2018-05-22 明泰科技股份有限公司 自动设定网关装置的方法
CN103716811B (zh) * 2014-01-10 2017-06-16 余华生 一种通过智能终端控制无线路由器的方法及装置
CN104936248A (zh) * 2014-03-21 2015-09-23 中兴通讯股份有限公司 无线网络的建立方法、系统及无线路由装置
US10491467B2 (en) * 2014-05-23 2019-11-26 Nant Holdings Ip, Llc Fabric-based virtual air gap provisioning, systems and methods
WO2015196330A1 (zh) * 2014-06-23 2015-12-30 华为技术有限公司 一种路由设备的操作方法、路由设备和终端设备
CN109450718B (zh) * 2014-07-01 2022-01-28 北京奇虎科技有限公司 无线路由设备的远程诊断方法和装置
CN104270405A (zh) * 2014-08-29 2015-01-07 小米科技有限责任公司 基于路由器的联网控制方法及装置
CN104506443B (zh) 2014-12-01 2018-05-25 小米科技有限责任公司 路由器设置界面显示方法及装置
CN104851274A (zh) * 2015-05-22 2015-08-19 侯明鑫 一种WiFi、ZigBee和服务器的物联网设计方案
CN106027314A (zh) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 一种管理路由器的方法及控制设备
US11323507B2 (en) * 2020-04-07 2022-05-03 Supercell Oy Server system and method of managing server system
CN114024823A (zh) * 2022-01-05 2022-02-08 广州朗国电子科技股份有限公司 一种便捷管理路由器的实现方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932786A (zh) * 2005-09-16 2007-03-21 孙丹 一种实现手机访问和控制计算机的系统及方法
CN101175310A (zh) * 2006-11-03 2008-05-07 中兴通讯股份有限公司 一种无线接入系统及其方法
CN101854740A (zh) * 2010-05-27 2010-10-06 华为终端有限公司 无线路由器、无线路由方法与系统
CN102685210A (zh) * 2012-04-01 2012-09-19 华为终端有限公司 一种无线路由设备、移动终端、管理系统及方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020162021A1 (en) * 2001-04-30 2002-10-31 Audebert Yves Louis Gabriel Method and system for establishing a remote connection to a personal security device
US8045954B2 (en) * 2005-08-19 2011-10-25 University Of South Florida Wireless emergency-reporting system
US8019329B2 (en) * 2005-12-07 2011-09-13 TOR Anumana Wireless controller device
GB2459107B (en) * 2008-04-09 2012-11-14 Ubiquisys Ltd Access point
JP2011004037A (ja) * 2009-06-17 2011-01-06 Nippon Telegr & Teleph Corp <Ntt> 光通信網、スイッチ制御装置、スイッチ制御方法およびプログラム
CN101959024A (zh) * 2009-07-21 2011-01-26 侯锋 多媒体路由器
JP5698475B2 (ja) 2010-07-29 2015-04-08 キヤノン株式会社 通信装置、中継装置、通信装置の制御方法、中継装置の制御方法およびプログラム
US8565818B1 (en) 2010-09-16 2013-10-22 Sprint Communications Company L.P. Broadband wireless router
JP4889813B1 (ja) * 2011-02-28 2012-03-07 株式会社Marimore データ仲介システム
CN102202234B (zh) * 2011-06-30 2014-10-01 Tcl集团股份有限公司 一种带路由功能的智能电视

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932786A (zh) * 2005-09-16 2007-03-21 孙丹 一种实现手机访问和控制计算机的系统及方法
CN101175310A (zh) * 2006-11-03 2008-05-07 中兴通讯股份有限公司 一种无线接入系统及其方法
CN101854740A (zh) * 2010-05-27 2010-10-06 华为终端有限公司 无线路由器、无线路由方法与系统
CN102685210A (zh) * 2012-04-01 2012-09-19 华为终端有限公司 一种无线路由设备、移动终端、管理系统及方法

Also Published As

Publication number Publication date
EP2806613A4 (en) 2015-01-14
EP2806613A1 (en) 2014-11-26
US9491682B2 (en) 2016-11-08
US20140362808A1 (en) 2014-12-11
CN102685210A (zh) 2012-09-19
JP2015514259A (ja) 2015-05-18
CN102685210B (zh) 2015-06-17

Similar Documents

Publication Publication Date Title
WO2013149491A1 (zh) 一种无线路由设备、移动终端、管理系统及方法
JP5726300B2 (ja) データカード、及びデータカードのネットワーキング方法
CN105471686B (zh) 终端控制方法、装置及系统
JP6611921B2 (ja) 端末の相互接続方法、装置、不揮発性コンピュータ記憶媒体及びコンピュータプログラム
US11671306B2 (en) Enhancing native service layer device management functionality
WO2018133271A1 (zh) Esim卡的开通方法、无线路由器及用户终端
WO2019134306A1 (zh) 消息处理方法、装置、终端设备及可读存储介质
KR102258608B1 (ko) 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법
TW201502787A (zh) 使用配件協定經由無線傳輸之主機與配件裝置間之通信
CN104301373A (zh) 经由文件共享服务同步的推送通知
CN104106303A (zh) 用于在无线网络中在设备之间建立隧道式直接链路设立(tdls)会话的方法和装置
JP2015513815A (ja) デバイス制御方法および装置
JP5698366B2 (ja) 制御方法、装置、及びシステム
WO2014067258A1 (zh) 一种云业务触发的方法、云服务器和瘦客户机
WO2015139401A1 (zh) 无线网络的建立方法、系统及无线路由装置
US10091635B2 (en) Method and apparatus for communication using IP address exchanged via NFC
US20150365279A1 (en) Method for enabling point-to-point transmission and network connecting device
WO2014015743A1 (zh) 下载应用程序的方法、用户设备和应用服务器
US10694551B2 (en) Method and apparatus for binding communication between mobile device and fixed device
CN112565458B (zh) 平台远程控制方法和装置、存储介质及电子设备
CN113015160B (zh) 物联网设备的配网方法、装置、电子设备及计算机可读介质
WO2017142019A1 (ja) 通信装置、ルータ、サーバ、システムおよび設定方法
JP2010068365A (ja) 無線通信装置

Legal Events

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

Ref document number: 12873501

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2012873501

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012873501

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2015502063

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE