WO2018233473A1 - Method and device for configuring wireless routing device - Google Patents

Method and device for configuring wireless routing device Download PDF

Info

Publication number
WO2018233473A1
WO2018233473A1 PCT/CN2018/089643 CN2018089643W WO2018233473A1 WO 2018233473 A1 WO2018233473 A1 WO 2018233473A1 CN 2018089643 W CN2018089643 W CN 2018089643W WO 2018233473 A1 WO2018233473 A1 WO 2018233473A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless routing
routing device
configuration
network device
connection
Prior art date
Application number
PCT/CN2018/089643
Other languages
French (fr)
Chinese (zh)
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 上海掌门科技有限公司
Publication of WO2018233473A1 publication Critical patent/WO2018233473A1/en

Links

Images

Classifications

    • 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

Definitions

  • the present application relates to the field of communications, and in particular, to a technology for configuring a wireless routing device.
  • Some solutions for remotely configuring wireless routers in the industry require the user to manually associate the router WAN port IP address with a fixed domain name address dynamically.
  • the solution can only be triggered manually, the efficiency is relatively low, and the business function expansion based on this solution is more difficult.
  • a method for configuring a wireless routing device at a network device side includes: determining a target from one or more wireless routing devices corresponding to the network device according to the configuration information. a wireless routing device; transmitting, according to the configuration information, a configuration instruction to the target wireless routing device by using a connection between the network device and the target wireless routing device; receiving, by the connection, the returned by the target wireless routing device The execution result information of the configuration instruction.
  • a network device for configuring a wireless routing device includes: a processor; and a memory arranged to store computer executable instructions, the executable instructions being When executed, the processor is caused to perform the method as described above.
  • a method for configuring a wireless routing device at a wireless routing device end includes: establishing a connection between a wireless routing device and a network device; receiving the connection through the connection a configuration instruction sent by the network device, and executing the configuration instruction; returning execution result information of the configuration instruction to the network device by using the connection.
  • a wireless routing device for configuring a wireless routing device, wherein the wireless routing device comprises: a processor; and a memory arranged to store computer executable instructions, the executable The instructions, when executed, cause the processor to perform the method as described above.
  • a method for configuring a wireless routing device includes: determining, by the network device, from the network device and the corresponding one or more wireless routing devices according to the configuration information a target wireless routing device; the network device sends a configuration command to the target wireless routing device by using a connection between the network device and the target wireless routing device according to the configuration information; Connecting to receive a configuration instruction sent by the network device, and executing the configuration instruction; the target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection; The connection receives execution result information of the configuration instruction returned by the target wireless routing device.
  • a method for configuring a wireless routing device includes: establishing, by a wireless routing device, a connection with a corresponding network device; The wireless routing device sends a connection time configuration; the wireless routing device receives the connection time configuration sent by the network device; and the wireless routing device manages the wireless routing device and the network according to the connection time configuration a connection between devices; the network device sends a configuration instruction to the wireless routing device through the connection; the target wireless routing device receives a configuration instruction sent by the network device through the connection, and executes the configuration instruction The target wireless routing device returns execution result information of the configuration instruction to the network device through the connection; the network device receives, by the connection, execution of the configuration instruction returned by the target wireless routing device Result information.
  • a computer readable medium comprising instructions which, when executed, cause a system to perform the operations of the method as described above.
  • the network device of the present application determines a target wireless routing device from one or more wireless routing devices corresponding to the network device according to the configuration information; and the network device passes the network according to the configuration information.
  • a connection between the device and the target wireless routing device sends a configuration command to the target wireless routing device; the target wireless routing device receives and executes the configuration instruction, and then returns execution result information of the configuration instruction to the
  • the network device is configured to send a configuration command to the wireless routing device by using the network device to implement remote configuration of the wireless routing device, which is highly efficient and convenient for service expansion.
  • the network device of the present application can not only send configuration commands to the wireless routing device in real time, but also can send configuration commands to the wireless routing device according to the configuration time period information, which is easy to operate. Further, the network device of the present application may be configured by the user to configure all of the target wireless routing devices; the user may also send configuration information about the target wireless routing device to the network device through the user device, thereby implementing configuration of the target wireless routing device. This application provides a variety of configuration methods for users to choose and optimize the user experience.
  • FIG. 1 shows a system topology diagram for configuring a wireless routing device in accordance with an embodiment of the present application
  • FIG. 2 shows a flow chart of a method for configuring a wireless routing device in accordance with another embodiment of the present application
  • FIG. 3 shows a flow chart of a method for configuring a wireless routing device in accordance with yet another embodiment of the present application
  • FIG. 4 shows a flow chart of a method for configuring a wireless routing device in accordance with yet another embodiment of the present application.
  • the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-transitory, removable and non-removable media; computer readable media can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • the storage medium of the computer can be used to store information that can be accessed by the computing device, examples of which include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), EEPROM, Flash Memory or other memory technology, CD-ROM, digital A versatile disc (DVD) or other optical storage, magnetic cassette, tape storage or other magnetic storage device or any other non-transportable medium.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM Random Access Memory
  • ROM Read Only Memory
  • EEPROM Electrically erasable programmable read-only Memory
  • Flash Memory or other memory technology
  • CD-ROM compact disc
  • DVD digital A versatile disc
  • FIG. 1 shows a system topology diagram for configuring a wireless routing device, including a network device 1 and a wireless routing device 21, and a wireless routing device 22, in accordance with an embodiment of the present application.
  • the network device 1 includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, the hardware including but not limited to a microprocessor, dedicated integration Circuits (ASICs), programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, and more.
  • the network device 1 includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; here, the cloud is cloud-based.
  • the network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like.
  • the wireless routing device 21, 22 includes a device capable of connecting various local area networks and wide area networks; preferably, the wireless routing devices 21, 22 are capable of providing wireless access points to user equipment within a certain distance range based on the 802.11 protocol cluster.
  • step S101 shows a flow chart of a method for configuring a wireless routing device according to another embodiment of the present application, wherein the method includes step S101, step S102 and step S103 of the network device side, and step S206 of the wireless routing device end. And step S207.
  • step S101 the network device 1 determines the target wireless routing device from one or more wireless routing devices corresponding to the network device 1 according to the configuration information; in step S102, the network device 1 passes the network device 1 according to the configuration information.
  • the connection with the target wireless routing device sends a configuration instruction to the target wireless routing device; in step S206, the target wireless routing device receives the configuration instruction sent by the network device 1 through the connection, and executes the configuration instruction; Step S207
  • the target wireless routing device returns the execution result information of the configuration instruction to the network device 1 through the connection; in step S103, the network device 1 receives the configuration returned by the target wireless routing device through the connection The execution result information of the instruction.
  • the number of the target wireless routing devices may be less than or equal to the number of the one or more wireless routing devices; for example, in this embodiment, the network device 1 is connected to the wireless routing devices 21 and 22, and is determined based on the configuration information.
  • the target wireless routing device can be a wireless routing device 22.
  • the one or more wireless routing devices corresponding to the network device 1 may include a wireless routing device that has established a connection with the network device 1, and may also include a device that has not established a connection with the network device 1 but is capable of establishing a connection with the network device 1.
  • the network device 1 may have established a connection with the target wireless routing device or may not establish a connection with the target wireless routing device. In the latter case, the network device 1 performs setup and target wireless before transmitting the configuration command. The step of routing connections between devices.
  • connection between the network device 1 and its corresponding wireless routing device can be established based on a preset communication protocol.
  • the communication protocol includes, but is not limited to, MQTT (Message Queuing Telemetry Transport), DDS (DataDistribution Service for Real-Time Systems, data distribution service for real-time systems), and AMQP (Advanced Message Queuing Protocol). Wait.
  • a communication protocol of the above communication protocol may be selected as a preset communication protocol to establish a connection between the wireless routing device and the network device 1.
  • the configuration information can include configuration instructions sent to the target wireless routing device; preferably, the configuration instructions are used to configure the target wireless routing device.
  • the target wireless routing device receives and executes the configuration instruction, and then returns execution result information of the configuration instruction to the network device 1.
  • the configuration instruction includes at least one of the following: setting an SSID (Service Set Identifier) of the target wireless routing device; and setting access password information of the target wireless routing device.
  • SSID Service Set Identifier
  • the configuration instructions can have a variety of forms for the target wireless routing device to perform based on the configuration instructions.
  • the configuration instructions can be run by a process local to the target wireless routing device to cause the target wireless routing device to set the SSID and/or access password information.
  • the configuration instruction sent by the network device 1 to the target wireless routing device includes an API command for setting the SSID and/or the access password information or a data packet of the shell command, and the agent process of the wireless routing device parses the data packet to obtain a corresponding API.
  • the command or shell command executes the corresponding API module or shell module to set the SSID and/or access password information.
  • the configuration instruction sent by the network device 1 to the target wireless routing device includes a script file for setting the SSID and/or the access password information, and after receiving the script file, the target wireless routing device sets the SSID and/or the correspondingly. Enter the password information.
  • the network device 1 determines, from the one or more wireless routing devices, the target wireless routing device corresponding to the configuration information according to the configuration information (eg, determining the target wireless routing device from the wireless routing devices 21 and 22).
  • the wireless routing device 22 in step S102, the network device 1 determines a corresponding configuration instruction according to the configuration information, and transmits the configuration instruction to the target wireless routing device through the connection.
  • the network device 1 first determines a corresponding configuration command and the target wireless routing device according to the configuration information, and then sends the configuration command to the target wireless routing device 2.
  • the configuration information includes configuration period information
  • the step of transmitting the configuration instruction to the target wireless routing device through the connection comprises: the network device 1 setting the sending of the configuration instruction according to the configuration period information a trigger condition; when the transmission trigger condition is met, the network device 1 transmits the configuration instruction to the target wireless routing device through the connection.
  • the configuration information may include, but is not limited to, timing to send a corresponding configuration instruction to the target wireless routing device.
  • the sending trigger condition includes, but is not limited to, a transmission time of the configuration instruction.
  • the configuration information includes: [configuration period information: 8:00 to 14:00; SSID: N1] and [configuration period information: 14:00 to 20:00; SSID: N2]; the network device 1 can be configured according to The configuration period information in the configuration information sets the transmission trigger condition to [first trigger condition: time arrival 8:00; second trigger condition: time arrives at 14:00]; then, when the first trigger condition is met, the network device 1 Sending a configuration command to the target wireless routing device: modifying the SSID to N1; when the second trigger condition is met, the network device 1 sends a configuration command to the target wireless routing device: modifying the SSID to N2.
  • the network device 1 selects, from the one or more wireless routing devices, a target wireless routing device corresponding to the configuration information according to the configuration information.
  • the target wireless routing device is a subset of the one or more wireless routing devices, the number of target wireless routing devices being less than or equal to the number of the one or more wireless routing devices.
  • the configuration information can include transmitting a corresponding configuration instruction to a target wireless routing device of the one or more wireless routing devices.
  • a corresponding configuration instruction is determined according to the configuration information, and a corresponding target wireless routing device is determined from the one or more wireless routing devices.
  • the configuration information and the configuration instruction satisfy at least one of the following: the configuration information includes an SSID of the wireless routing device, and the configuration instruction includes setting an SSID of the corresponding wireless routing device to be in the configuration information.
  • the configuration information includes the access password information of the wireless routing device, and the configuration command includes setting the access password information of the corresponding wireless routing device to the access password information in the configuration information.
  • the corresponding target wireless routing device 2 and the corresponding configuration command may be determined according to the configuration information, where the determined configuration command includes the target wireless routing device 2
  • the SSID is set to N1;
  • the configuration information includes the access password information PW1 of the wireless routing device, and the corresponding target wireless routing device 2 and the corresponding configuration command may be determined according to the configuration information, where the determined configuration command includes the target
  • the access password information of the wireless routing device 2 is set to PW1.
  • the step S101 includes: the network device 1 determines a corresponding configuration account according to the configuration information, and determines a corresponding target wireless routing device from the one or more wireless routing devices according to the configuration account, where The target wireless routing device is managed by the configured account.
  • the different configuration account accounts respectively correspond to different target wireless routing devices
  • the configuration account A corresponds to the target wireless routing device A' (the number of which may be one or more).
  • the owner of the account A is configured as the user A
  • the user A can entrust the network device 1 to configure all of the target wireless routing devices A'; or the user A can also log in through the user device.
  • Account A which in turn configures all of its target wireless routing devices A'.
  • the network device 1 further detects a user equipment connected to the target wireless routing device, and sends the push information corresponding to the target wireless routing device to the user equipment.
  • the owner of the target wireless routing device is the merchant B
  • the SSID of the target wireless routing device is set to “commodity X preferential promotion”, and the merchant B may upload the information related to the “product X preferential promotion” to the office in advance.
  • the network device 1 when the network device 1 detects that a user equipment is connected to the wireless access point of the target wireless routing device, the network device 1 may use the information related to the "commodity X preferential promotion" via the target wireless
  • the routing device is pushed to the user device.
  • the wireless routing device further detects a user equipment connected to the wireless routing device, and sends the push information corresponding to the wireless routing device to the user equipment.
  • the SSID of the wireless routing device is set to “commodity X preferential promotion”, and the merchant B may upload the information related to the “commodity X preferential promotion” to the network in advance.
  • Device 1 and the network device 1 transmits information related to "commodity X preferential promotion” to the wireless routing device, then the wireless routing device stores in advance information related to "commodity X preferential promotion”; when the wireless The routing device detects that the user equipment is connected to the wireless access point of the wireless routing device, and the wireless routing device can push information related to the “item X preferential promotion” to the user equipment.
  • a method for configuring a wireless routing device comprising:
  • the target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection;
  • the network device receives execution result information of the configuration instruction returned by the target wireless routing device by using the connection.
  • the method includes step S308' and step S309' of the user equipment end, step S101', step S104', step S102' and step S103' of the network equipment side, and step S206 of the wireless routing device end. 'and step S207'.
  • step S308′ the user equipment 3 acquires configuration information about the target wireless routing device set by the user; in step S309′, the user equipment 3 sends the configuration information to the network device 1; in step S104′, the network device 1 receives the user equipment.
  • the device sends a configuration instruction; in step S206', the target wireless routing device receives the configuration instruction sent by the network device 1 through the connection, and executes the configuration instruction; in step S207', the target wireless routing device passes the connection
  • the execution result information of the configuration instruction is returned to the network device 1; in step S103'
  • the network device 1 receives the execution result information of the configuration instruction returned by the target wireless routing device through the connection.
  • the number of the target wireless routing devices may be less than or equal to the number of the one or more wireless routing devices; for example, in this embodiment, the network device 1 is connected to the wireless routing devices 21 and 22, and is determined based on the configuration information.
  • the target wireless routing device can be a wireless routing device 22.
  • the user device may send configuration information about the target wireless routing device to the network device 1 through the user equipment 3, and the network device 1 sends a corresponding configuration instruction to the target wireless routing device according to the configuration information, thereby implementing Configuration of the target wireless routing device. For example, if the network device 1 assigns the configuration account A to the user A, the user A can log in to the configuration account A through the user device 3, and then configure all of the target wireless routing devices A'.
  • the user equipment 3 includes, but is not limited to, any electronic product that can perform human-computer interaction with the user, such as a smart phone, a tablet computer, a notebook computer, etc., and the mobile electronic product can adopt any operating system, such as android. Operating system, iOS operating system, Windows operating system, etc.
  • a method for configuring a wireless routing device includes:
  • the user equipment acquires configuration information about the target wireless routing device set by the user;
  • the target wireless routing device Determining, by the network device, the target wireless routing device from one or more wireless routing devices corresponding to the network device according to the configuration information, and sending a configuration command to the target wireless routing device, the target wireless routing device and The user corresponds to;
  • the target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection;
  • the network device receives execution result information of the configuration instruction returned by the target wireless routing device by using the connection.
  • step S111 shows a flow chart of a method for configuring a wireless routing device according to still another embodiment of the present application, wherein the method includes step S111", step S112", step S113", step S211", step S212" Step S213", step S214", and step S215".
  • step S211 the wireless routing device 22 establishes a connection with the corresponding network device 1; in step S111", the network device 1 transmits a connection time configuration to the wireless routing device 22 through the connection; step S212 The wireless routing device 22 receives the connection time configuration sent by the network device 1; in step S213, the wireless routing device 22 manages the wireless routing device 22 and the network device 1 according to the connection time configuration.
  • step S112 the network device 1 transmits a configuration command to the wireless routing device 22 through the connection; in step S214", the wireless routing device 22 receives the configuration sent by the network device 1 through the connection Directing, and executing the configuration instruction; in step S215", the wireless routing device 22 returns the execution result information of the configuration instruction to the network device 1 through the connection; in step S113", the network device 1 passes the The connection receives execution result information of the configuration instruction returned by the target wireless routing device.
  • the wireless routing device 22 initiates a connection request to the corresponding network device 1 for the first time after the power is turned on, and establishes a connection between the wireless routing device 22 and the network device 1 through the interaction between the wireless routing device 22 and the network device 1. .
  • the network device 1 transmits a connection time configuration to the wireless routing device 22 via the connection.
  • the connection time configuration may be generated by the network device 1 according to a preset rule; or the connection time configuration may be provided by the user to the network device 1 through the user device 3.
  • the connection time configuration includes at least one of the following: the wireless routing device initiates connection period information to the network device, for example, the wireless routing device 22 initiates a connection request to the network device 1 every time T; The wireless routing device maintains the duration information of the connection with the network device.
  • connection duration of the two devices may be set to t1, and the wireless routing device 22 disconnects after the connection duration reaches t1; the wireless routing device Disconnecting a predetermined disconnection condition from the connection with the network device, for example, if the network device 1 does not send a configuration command to the wireless routing device 22 over the connection for a duration exceeding t2, the wireless routing device 22 disconnects;
  • the connection time period between the wireless routing device and the network device for example, if the connection time period is 10:00-11:00 and 18:00-19:00, the wireless routing device 22 is at time 10:00. And the connection between the network device is initiated at 18:00, and the connection with the network device is disconnected at time points 11:00 and 19:00.
  • the wireless routing device 22 manages (e.g., manages initiated connections, manages disconnects) the connection between the wireless routing device 22 and the network device 1 in accordance with the connection time configuration.
  • the network device 1 When the network device 1 needs to send a configuration command to the wireless routing device 22; if the two devices are in the connected state, the network device 1 sends a configuration command to the wireless routing device 22 through the connection; if the two devices are not in the connected state, then After waiting for a connection between the two devices, the network device 1 sends a configuration command to the wireless routing device 22 through the connection.
  • the network device 1 can determine a configuration command sent to the wireless routing device 22 and its transmission time based on configuration information corresponding to the wireless routing device.
  • the network device 1 can also send an updated connection time configuration to the wireless routing device 22 over the connection to update the connection time configuration stored in the wireless routing device 22. Subsequently, the wireless routing device 22 manages the connection between the wireless routing device 22 and the network device 1 in accordance with the updated connection time configuration.
  • the wireless routing device can be intermittently connected to the network device, thereby saving network resources.
  • a computer readable medium comprising instructions which, when executed, cause a system to perform the operations of the method as described above.
  • a network device for configuring a wireless routing device includes:
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method as described above.
  • a wireless routing device for configuring a wireless routing device includes:
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method as described above.
  • a user equipment for configuring a wireless routing device where the user equipment includes:
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method as described above.
  • the network device of the present application determines a target wireless routing device from one or more wireless routing devices corresponding to the network device according to the configuration information; and the network device passes the network according to the configuration information.
  • a connection between the device and the target wireless routing device sends a configuration command to the target wireless routing device; the target wireless routing device receives and executes the configuration instruction, and then returns execution result information of the configuration instruction to the
  • the network device is configured to send a configuration command to the wireless routing device by using the network device to implement remote configuration of the wireless routing device, which is highly efficient and convenient for service expansion.
  • the network device of the present application can not only send configuration commands to the wireless routing device in real time, but also can send configuration commands to the wireless routing device according to the configuration time period information, which is easy to operate. Further, the network device of the present application may be configured by the user to configure all of the target wireless routing devices; the user may also send configuration information about the target wireless routing device to the network device through the user device, thereby implementing configuration of the target wireless routing device. This application provides a variety of configuration methods for users to choose and optimize the user experience.
  • the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present application can be executed by a processor to implement the steps or functions described above.
  • the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
  • a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application.
  • the form of computer program instructions in a computer readable medium includes, but is not limited to, source files, executable files, installation package files, etc., accordingly, the manner in which the computer program instructions are executed by the computer includes but not Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installation. program.
  • the computer readable medium can be any available computer readable storage medium or communication medium that can be accessed by a computer.
  • Communication media includes media that can be transferred from one system to another by communication signals including, for example, computer readable instructions, data structures, program modules or other data.
  • Communication media can include conductive transmission media such as cables and wires (eg, fiber optics, coaxial, etc.) and wireless (unguided transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared.
  • Computer readable instructions, data structures, program modules or other data may be embodied, for example, as modulated data signals in a wireless medium, such as a carrier wave or a similar mechanism, such as embodied in a portion of a spread spectrum technique.
  • modulated data signal refers to a signal whose one or more features are altered or set in such a manner as to encode information in the signal. Modulation can be analog, digital or hybrid modulation techniques.
  • the computer readable storage medium may comprise, by way of example and not limitation, vols and non-volatile, implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data.
  • a computer readable storage medium includes, but is not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and nonvolatile memory such as flash memory, various read only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other currently known media or later developed for storage in computer systems Computer readable information/data used.
  • volatile memory such as random access memory (RAM, DRAM, SRAM)
  • nonvolatile memory such as flash memory, various read only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application aims to provide a method and device for configuring a wireless routing device. Compared with the prior art, a network device in the present application determines a target wireless routing device from one or more wireless routing devices corresponding to the network device according to configuration information; the network device sends a configuration instruction to the target wireless routing device by means of a connection between the network device and the target wireless routing device according to the configuration information; and the target wireless routing device receives and executes the configuration instruction, and then returns the configuration instruction execution result to the network device. According to the present application, by sending a configuration instruction to a wireless routing device by a network device, remote configuration of the wireless routing device is realized, the efficiency is relatively high, and service development can be conveniently carried out.

Description

一种用于配置无线路由设备的方法与设备Method and device for configuring wireless routing device 技术领域Technical field
本申请涉及通信领域,尤其涉及一种用于配置无线路由设备的技术。The present application relates to the field of communications, and in particular, to a technology for configuring a wireless routing device.
背景技术Background technique
随着无线上网的普及,出于各种需求,人们对于无线路由器的要求也越来越高,有时希望能远程配置无线路由器。目前业界的一些远程配置无线路由器的方案,例如,通过类似动态域名解析(DDNS)来实现远程配置无线路由器的方案中,需要用户手动将路由器WAN口IP地址与固定域名地址动态的关联起来。该方案只能手动触发,效率比较低,而且基于此方案的业务功能拓展比较困难。With the popularity of wireless Internet access, people are increasingly demanding wireless routers for various needs, and sometimes they want to be able to remotely configure wireless routers. Some solutions for remotely configuring wireless routers in the industry, for example, in a scheme for remotely configuring a wireless router by similar dynamic domain name resolution (DDNS), require the user to manually associate the router WAN port IP address with a fixed domain name address dynamically. The solution can only be triggered manually, the efficiency is relatively low, and the business function expansion based on this solution is more difficult.
发明内容Summary of the invention
本申请的一个目的是提供一种用于配置无线路由设备的方法与设备。It is an object of the present application to provide a method and apparatus for configuring a wireless routing device.
根据本申请的一个方面,提供了一种在网络设备端用于配置无线路由设备的方法,其中,该方法包括:根据配置信息,从与网络设备对应的一个或多个无线路由设备中确定目标无线路由设备;根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接向该目标无线路由设备发送配置指令;通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。According to an aspect of the present application, a method for configuring a wireless routing device at a network device side is provided, wherein the method includes: determining a target from one or more wireless routing devices corresponding to the network device according to the configuration information. a wireless routing device; transmitting, according to the configuration information, a configuration instruction to the target wireless routing device by using a connection between the network device and the target wireless routing device; receiving, by the connection, the returned by the target wireless routing device The execution result information of the configuration instruction.
根据本申请的另一个方面,提供了一种用于配置无线路由设备的网络设备,其中,该网络设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述的方法。According to another aspect of the present application, a network device for configuring a wireless routing device is provided, wherein the network device includes: a processor; and a memory arranged to store computer executable instructions, the executable instructions being When executed, the processor is caused to perform the method as described above.
根据本申请的又一个方面,提供了一种在无线路由设备端用于配置无线路由设备的方法,其中,该方法包括:建立无线路由设备与网络设备之间的连接;通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;通过所述连接将所述配置指令的执行结果信息返回至所述网络 设备。According to still another aspect of the present application, a method for configuring a wireless routing device at a wireless routing device end is provided, wherein the method includes: establishing a connection between a wireless routing device and a network device; receiving the connection through the connection a configuration instruction sent by the network device, and executing the configuration instruction; returning execution result information of the configuration instruction to the network device by using the connection.
根据本申请的再一个方面,提供了一种用于配置无线路由设备的无线路由设备,其中,该无线路由设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述的方法。According to still another aspect of the present application, a wireless routing device for configuring a wireless routing device is provided, wherein the wireless routing device comprises: a processor; and a memory arranged to store computer executable instructions, the executable The instructions, when executed, cause the processor to perform the method as described above.
根据本申请的又一个方面,提供了一种用于配置无线路由设备的方法,其中,该方法包括:网络设备根据配置信息,从与该网络设备与对应的一个或多个无线路由设备中确定目标无线路由设备;所述网络设备根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接向该目标无线路由设备发送配置指令;所述目标无线路由设备通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;所述目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备;所述网络设备通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。According to still another aspect of the present application, a method for configuring a wireless routing device is provided, wherein the method includes: determining, by the network device, from the network device and the corresponding one or more wireless routing devices according to the configuration information a target wireless routing device; the network device sends a configuration command to the target wireless routing device by using a connection between the network device and the target wireless routing device according to the configuration information; Connecting to receive a configuration instruction sent by the network device, and executing the configuration instruction; the target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection; The connection receives execution result information of the configuration instruction returned by the target wireless routing device.
根据本申请的又一个方面,提供了一种用于配置无线路由设备的方法,其中,该方法包括:无线路由设备建立与对应的网络设备之间的连接;所述网络设备通过所述连接向所述无线路由设备发送连接时间配置;所述无线路由设备接收所述网络设备发送的所述连接时间配置;所述无线路由设备根据所述连接时间配置,管理所述无线路由设备与所述网络设备之间的连接;所述网络设备通过所述连接向所述无线路由设备发送配置指令;所述目标无线路由设备通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;所述目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备;所述网络设备通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。According to still another aspect of the present application, a method for configuring a wireless routing device is provided, wherein the method includes: establishing, by a wireless routing device, a connection with a corresponding network device; The wireless routing device sends a connection time configuration; the wireless routing device receives the connection time configuration sent by the network device; and the wireless routing device manages the wireless routing device and the network according to the connection time configuration a connection between devices; the network device sends a configuration instruction to the wireless routing device through the connection; the target wireless routing device receives a configuration instruction sent by the network device through the connection, and executes the configuration instruction The target wireless routing device returns execution result information of the configuration instruction to the network device through the connection; the network device receives, by the connection, execution of the configuration instruction returned by the target wireless routing device Result information.
根据本申请的又一个方面,提供了一种包括指令的计算机可读介质,所述指令在被执行时使得系统进行如上所述方法的操作。According to still another aspect of the present application, there is provided a computer readable medium comprising instructions which, when executed, cause a system to perform the operations of the method as described above.
与现有技术相比,本申请的网络设备根据配置信息,从与网络设备对应的一个或多个无线路由设备中确定目标无线路由设备;所述网络设备根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接 向该目标无线路由设备发送配置指令;所述目标无线路由设备接收并执行所述配置指令,然后将所述配置指令的执行结果信息返回至所述网络设备;本申请通过网络设备向无线路由设备发送配置指令,实现远程配置无线路由设备,效率较高,方便业务拓展。进一步地,本申请的网络设备不仅可以实时向无线路由设备发送配置指令,还可以根据配置时段信息定时向无线路由设备发送配置指令,易于操作。进一步地,本申请的网络设备可以受用户委托对其所有的目标无线路由设备进行配置;用户也可以通过用户设备向网络设备发送关于目标无线路由设备的配置信息,实现对目标无线路由设备的配置;本申请提供多种配置方式供用户选择,优化用户体验。Compared with the prior art, the network device of the present application determines a target wireless routing device from one or more wireless routing devices corresponding to the network device according to the configuration information; and the network device passes the network according to the configuration information. A connection between the device and the target wireless routing device sends a configuration command to the target wireless routing device; the target wireless routing device receives and executes the configuration instruction, and then returns execution result information of the configuration instruction to the The network device is configured to send a configuration command to the wireless routing device by using the network device to implement remote configuration of the wireless routing device, which is highly efficient and convenient for service expansion. Further, the network device of the present application can not only send configuration commands to the wireless routing device in real time, but also can send configuration commands to the wireless routing device according to the configuration time period information, which is easy to operate. Further, the network device of the present application may be configured by the user to configure all of the target wireless routing devices; the user may also send configuration information about the target wireless routing device to the network device through the user device, thereby implementing configuration of the target wireless routing device. This application provides a variety of configuration methods for users to choose and optimize the user experience.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1示出根据本申请一个实施例的一种用于配置无线路由设备的系统拓扑图;1 shows a system topology diagram for configuring a wireless routing device in accordance with an embodiment of the present application;
图2示出根据本申请另一个实施例的一种用于配置无线路由设备的方法流程图;2 shows a flow chart of a method for configuring a wireless routing device in accordance with another embodiment of the present application;
图3示出根据本申请又一个实施例的一种用于配置无线路由设备的方法流程图;3 shows a flow chart of a method for configuring a wireless routing device in accordance with yet another embodiment of the present application;
图4示出根据本申请再一个实施例的一种用于配置无线路由设备的方法流程图。4 shows a flow chart of a method for configuring a wireless routing device in accordance with yet another embodiment of the present application.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
具体实施方式Detailed ways
下面结合附图对本申请作进一步详细描述。The present application is further described in detail below with reference to the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。 内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体;计算机可读介质可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质可用于存储可以被计算设备访问的信息,其实例包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带、磁带磁盘存储或其他磁性存储设备或任何其他非传输介质。Computer readable media includes both permanent and non-transitory, removable and non-removable media; computer readable media can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. The storage medium of the computer can be used to store information that can be accessed by the computing device, examples of which include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), EEPROM, Flash Memory or other memory technology, CD-ROM, digital A versatile disc (DVD) or other optical storage, magnetic cassette, tape storage or other magnetic storage device or any other non-transportable medium.
图1示出根据本申请一个实施例的一种用于配置无线路由设备的系统拓扑图,该系统包括网络设备1和无线路由设备21、无线路由设备22。1 shows a system topology diagram for configuring a wireless routing device, including a network device 1 and a wireless routing device 21, and a wireless routing device 22, in accordance with an embodiment of the present application.
在此,在一些实施例中,所述网络设备1包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。在一些实施例中,所述网络设备1包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。所述无线路由设备21、22包括一种能够连接各局域网、广域网的设备;优选地,所述无线路由设备21、22能够基于802.11协议簇向一定距离范围内的用户设备提供无线接入点。Here, in some embodiments, the network device 1 includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, the hardware including but not limited to a microprocessor, dedicated integration Circuits (ASICs), programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, and more. In some embodiments, the network device 1 includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; here, the cloud is cloud-based. A large number of computers or network servers, wherein cloud computing is a type of distributed computing, a virtual supercomputer consisting of a group of loosely coupled computers. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. The wireless routing device 21, 22 includes a device capable of connecting various local area networks and wide area networks; preferably, the wireless routing devices 21, 22 are capable of providing wireless access points to user equipment within a certain distance range based on the 802.11 protocol cluster.
本领域技术人员应能理解,图1中仅为简明起见而示出的各类网络元素的数量可能小于一个实际网络中的数量,但这种省略无疑地是以不会影响对本发明进行清楚、充分的公开为前提的。为简明起见,下面以所述网络设备1及所述无线路由设备21、22组成的系统为例进行描述。It should be understood by those skilled in the art that the number of various network elements shown in FIG. 1 for the sake of simplicity may be less than the number in a real network, but such omission will undoubtedly not affect the present invention. Full disclosure is premised. For the sake of brevity, a system composed of the network device 1 and the wireless routing devices 21, 22 will be described below as an example.
图2示出根据本申请另一个实施例的一种用于配置无线路由设备的方法 流程图,其中,所述方法包括网络设备端的步骤S101、步骤S102和步骤S103,以及无线路由设备端的步骤S206和步骤S207。2 shows a flow chart of a method for configuring a wireless routing device according to another embodiment of the present application, wherein the method includes step S101, step S102 and step S103 of the network device side, and step S206 of the wireless routing device end. And step S207.
具体地,步骤S101中,网络设备1根据配置信息,从与网络设备1对应的一个或多个无线路由设备中确定目标无线路由设备;步骤S102中,网络设备1根据配置信息,通过网络设备1与目标无线路由设备之间的连接向目标无线路由设备发送配置指令;步骤S206中,目标无线路由设备通过所述连接接收所述网络设备1发送的配置指令,并执行所述配置指令;步骤S207中,目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备1;步骤S103中,网络设备1通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。优选地,所述目标无线路由设备的数量可小于或等于所述一个或多个无线路由设备的数量;例如,本实施例中,网络设备1与无线路由设备21和22连接,基于配置信息确定的目标无线路由设备可为无线路由设备22。Specifically, in step S101, the network device 1 determines the target wireless routing device from one or more wireless routing devices corresponding to the network device 1 according to the configuration information; in step S102, the network device 1 passes the network device 1 according to the configuration information. The connection with the target wireless routing device sends a configuration instruction to the target wireless routing device; in step S206, the target wireless routing device receives the configuration instruction sent by the network device 1 through the connection, and executes the configuration instruction; Step S207 The target wireless routing device returns the execution result information of the configuration instruction to the network device 1 through the connection; in step S103, the network device 1 receives the configuration returned by the target wireless routing device through the connection The execution result information of the instruction. Preferably, the number of the target wireless routing devices may be less than or equal to the number of the one or more wireless routing devices; for example, in this embodiment, the network device 1 is connected to the wireless routing devices 21 and 22, and is determined based on the configuration information. The target wireless routing device can be a wireless routing device 22.
与网络设备1对应的一个或多个无线路由设备可以包括已经与网络设备1建立连接的无线路由设备,也可以包括尚未与网络设备1建立连接但能够与网络设备1建立连接的设备。在步骤S101执行时,网络设备1可已与目标无线路由设备建立连接,也可未与目标无线路由设备建立连接,在后一种情况下,网络设备1在发送配置指令之前执行建立与目标无线路由设备之间的连接的步骤。The one or more wireless routing devices corresponding to the network device 1 may include a wireless routing device that has established a connection with the network device 1, and may also include a device that has not established a connection with the network device 1 but is capable of establishing a connection with the network device 1. When performing step S101, the network device 1 may have established a connection with the target wireless routing device or may not establish a connection with the target wireless routing device. In the latter case, the network device 1 performs setup and target wireless before transmitting the configuration command. The step of routing connections between devices.
优选地,网络设备1和其对应的无线路由设备之间的连接可基于预设的通信协议来建立。Preferably, the connection between the network device 1 and its corresponding wireless routing device can be established based on a preset communication protocol.
例如,所述通信协议包括但不限于MQTT(Message Queuing Telemetry Transport,消息队列遥测传输)、DDS(DataDistributionServiceforReal-TimeSystems,面向实时系统的数据分布服务)、AMQP(Advanced Message Queuing Protocol,高级消息队列协议)等。可以选择上述通信协议中的一种通信协议作为预设的通信协议,建立无线路由设备与网络设备1之间的连接。For example, the communication protocol includes, but is not limited to, MQTT (Message Queuing Telemetry Transport), DDS (DataDistribution Service for Real-Time Systems, data distribution service for real-time systems), and AMQP (Advanced Message Queuing Protocol). Wait. A communication protocol of the above communication protocol may be selected as a preset communication protocol to establish a connection between the wireless routing device and the network device 1.
当然,本领域技术人员应能理解上述MQTT、DDS、AMQP等仅为举例,其他现有的或今后可能出现的通信协议如可适用于本申请,也应包含在本申 请保护范围以内,并在此以引用方式包含于此。Certainly, those skilled in the art should understand that the foregoing MQTT, DDS, AMQP, etc. are only examples, and other existing or future communication protocols may be applicable to the present application, and should also be included in the scope of the present application. This is hereby incorporated by reference.
在一些实施例中,所述配置信息可以包括向目标无线路由设备发送的配置指令;优选地,该配置指令用于配置该目标无线路由设备。目标无线路由设备接收并执行所述配置指令,然后将所述配置指令的执行结果信息返回至所述网络设备1。In some embodiments, the configuration information can include configuration instructions sent to the target wireless routing device; preferably, the configuration instructions are used to configure the target wireless routing device. The target wireless routing device receives and executes the configuration instruction, and then returns execution result information of the configuration instruction to the network device 1.
优选地,所述配置指令包括以下至少任一项:设置所述目标无线路由设备的SSID(Service Set Identifier,服务集标识);设置所述目标无线路由设备的接入密码信息。Preferably, the configuration instruction includes at least one of the following: setting an SSID (Service Set Identifier) of the target wireless routing device; and setting access password information of the target wireless routing device.
该配置指令可具有多种形式,用以供目标无线路由设备基于该配置指令执行。在一些实施例中,该配置指令可被目标无线路由设备本地的进程运行,以使目标无线路由设备设置SSID和/或接入密码信息。例如,网络设备1向目标无线路由设备发送的配置指令包含用于设置SSID和/或接入密码信息的API命令或者Shell命令的数据包,无线路由设备的agent进程解析该数据包得到对应的API命令或者Shell命令,进而执行相应的API模块或者Shell模块,以设置SSID和/或接入密码信息。又例如,网络设备1向目标无线路由设备发送的配置指令包含用于设置SSID和/或接入密码信息的脚本文件,目标无线路由设备收到该脚本文件之后,相应地设置SSID和/或接入密码信息。The configuration instructions can have a variety of forms for the target wireless routing device to perform based on the configuration instructions. In some embodiments, the configuration instructions can be run by a process local to the target wireless routing device to cause the target wireless routing device to set the SSID and/or access password information. For example, the configuration instruction sent by the network device 1 to the target wireless routing device includes an API command for setting the SSID and/or the access password information or a data packet of the shell command, and the agent process of the wireless routing device parses the data packet to obtain a corresponding API. The command or shell command, in turn, executes the corresponding API module or shell module to set the SSID and/or access password information. For another example, the configuration instruction sent by the network device 1 to the target wireless routing device includes a script file for setting the SSID and/or the access password information, and after receiving the script file, the target wireless routing device sets the SSID and/or the correspondingly. Enter the password information.
优选地,在步骤S101中,网络设备1根据配置信息从一个或多个无线路由设备中确定与该配置信息相对应的目标无线路由设备(如从无线路由设备21和22中确定目标无线路由设备为无线路由设备22);在步骤S102中,网络设备1根据配置信息确定对应的配置指令,并通过所述连接向所述目标无线路由设备发送所述配置指令。在此,网络设备1先根据所述配置信息确定对应的配置指令以及目标无线路由设备,再向目标无线路由设备2发送所述配置指令。Preferably, in step S101, the network device 1 determines, from the one or more wireless routing devices, the target wireless routing device corresponding to the configuration information according to the configuration information (eg, determining the target wireless routing device from the wireless routing devices 21 and 22). The wireless routing device 22); in step S102, the network device 1 determines a corresponding configuration instruction according to the configuration information, and transmits the configuration instruction to the target wireless routing device through the connection. Here, the network device 1 first determines a corresponding configuration command and the target wireless routing device according to the configuration information, and then sends the configuration command to the target wireless routing device 2.
优选地,所述配置信息包括配置时段信息;通过所述连接向所述目标无线路由设备发送所述配置指令的步骤包括:网路设备1根据所述配置时段信息,设置所述配置指令的发送触发条件;当满足所述发送触发条件,网络设备1通过所述连接向所述目标无线路由设备发送所述配置指令。Preferably, the configuration information includes configuration period information; the step of transmitting the configuration instruction to the target wireless routing device through the connection comprises: the network device 1 setting the sending of the configuration instruction according to the configuration period information a trigger condition; when the transmission trigger condition is met, the network device 1 transmits the configuration instruction to the target wireless routing device through the connection.
在本实施例中,所述配置信息可以包括但不限于定时向目标无线路由设备发送对应的配置指令。所述发送触发条件包括但不限于所述配置指令的发送时间。例如,假设所述配置信息包括:[配置时段信息:8:00~14:00;SSID:N1]以及[配置时段信息:14:00~20:00;SSID:N2];网络设备1可以根据该配置信息中的配置时段信息,将发送触发条件设置为[第一触发条件:时间到达8:00;第二触发条件:时间到达14:00];则当满足第一触发条件时,网络设备1向目标无线路由设备发送配置指令:将SSID修改为N1;当满足第二触发条件时,网络设备1向目标无线路由设备发送配置指令:将SSID修改为N2。In this embodiment, the configuration information may include, but is not limited to, timing to send a corresponding configuration instruction to the target wireless routing device. The sending trigger condition includes, but is not limited to, a transmission time of the configuration instruction. For example, it is assumed that the configuration information includes: [configuration period information: 8:00 to 14:00; SSID: N1] and [configuration period information: 14:00 to 20:00; SSID: N2]; the network device 1 can be configured according to The configuration period information in the configuration information sets the transmission trigger condition to [first trigger condition: time arrival 8:00; second trigger condition: time arrives at 14:00]; then, when the first trigger condition is met, the network device 1 Sending a configuration command to the target wireless routing device: modifying the SSID to N1; when the second trigger condition is met, the network device 1 sends a configuration command to the target wireless routing device: modifying the SSID to N2.
优选地,网络设备1根据配置信息从所述一个或多个无线路由设备中与确定所述配置信息相对应的目标无线路由设备。Preferably, the network device 1 selects, from the one or more wireless routing devices, a target wireless routing device corresponding to the configuration information according to the configuration information.
例如,所述目标无线路由设备是所述一个或多个无线路由设备的子集,所述目标无线路由设备的数量小于或等于所述一个或多个无线路由设备的数量。所述配置信息可以包括向所述一个或多个无线路由设备中的目标无线路由设备发送对应的配置指令。在此,根据所述配置信息确定对应的配置指令,以及从所述一个或多个无线路由设备中确定对应的目标无线路由设备。For example, the target wireless routing device is a subset of the one or more wireless routing devices, the number of target wireless routing devices being less than or equal to the number of the one or more wireless routing devices. The configuration information can include transmitting a corresponding configuration instruction to a target wireless routing device of the one or more wireless routing devices. Here, a corresponding configuration instruction is determined according to the configuration information, and a corresponding target wireless routing device is determined from the one or more wireless routing devices.
优选地,所述配置信息以及所述配置指令满足以下至少任一项:所述配置信息包括无线路由设备的SSID,且所述配置指令包括设置对应无线路由设备的SSID为所述配置信息中的SSID;所述配置信息包括无线路由设备的接入密码信息,且所述配置指令包括设置对应无线路由设备的接入密码信息为所述配置信息中的接入密码信息。Preferably, the configuration information and the configuration instruction satisfy at least one of the following: the configuration information includes an SSID of the wireless routing device, and the configuration instruction includes setting an SSID of the corresponding wireless routing device to be in the configuration information. The configuration information includes the access password information of the wireless routing device, and the configuration command includes setting the access password information of the corresponding wireless routing device to the access password information in the configuration information.
例如,假设所述配置信息包括无线路由设备的SSID:N1,根据所述配置信息可确定对应的目标无线路由设备2以及对应的配置指令,该被确定的配置指令包括将目标无线路由设备2的SSID设置为N1;假设所述配置信息包括无线路由设备的接入密码信息PW1,根据所述配置信息可确定对应的目标无线路由设备2以及对应的配置指令,该被确定的配置指令包括将目标无线路由设备2的接入密码信息设置为PW1。For example, if the configuration information includes the SSID of the wireless routing device: N1, the corresponding target wireless routing device 2 and the corresponding configuration command may be determined according to the configuration information, where the determined configuration command includes the target wireless routing device 2 The SSID is set to N1; the configuration information includes the access password information PW1 of the wireless routing device, and the corresponding target wireless routing device 2 and the corresponding configuration command may be determined according to the configuration information, where the determined configuration command includes the target The access password information of the wireless routing device 2 is set to PW1.
优选地,所述步骤S101包括:网络设备1根据所述配置信息确定对应 的配置账号,并根据配置账号从所述一个或多个无线路由设备中确定对应的目标无线路由设备,其中,所述目标无线路由设备受所述配置账号管理。Preferably, the step S101 includes: the network device 1 determines a corresponding configuration account according to the configuration information, and determines a corresponding target wireless routing device from the one or more wireless routing devices according to the configuration account, where The target wireless routing device is managed by the configured account.
例如,不同的配置账号分别对应不同的目标无线路由设备,比如配置账号A对应目标无线路由设备A’(其数量可能为一个或多个)。在具体的实施例中,若配置账号A的主人为用户甲,用户甲可以委托所述网络设备1对其所有的目标无线路由设备A’进行配置;或者,用户甲也可以通过用户设备登录配置账号A,进而对其所有的目标无线路由设备A’进行配置。For example, the different configuration account accounts respectively correspond to different target wireless routing devices, for example, the configuration account A corresponds to the target wireless routing device A' (the number of which may be one or more). In a specific embodiment, if the owner of the account A is configured as the user A, the user A can entrust the network device 1 to configure all of the target wireless routing devices A'; or the user A can also log in through the user device. Account A, which in turn configures all of its target wireless routing devices A'.
优选地,所述网络设备1还检测连接至所述目标无线路由设备的用户设备,并向所述用户设备发送所述目标无线路由设备对应的推送信息。Preferably, the network device 1 further detects a user equipment connected to the target wireless routing device, and sends the push information corresponding to the target wireless routing device to the user equipment.
例如,假设所述目标无线路由设备的主人为商户乙,所述目标无线路由设备的SSID被设置为“商品X优惠促销”,商户乙可以预先将“商品X优惠促销”相关的信息上传至所述网络设备1;当所述网络设备1检测到有用户设备连接所述目标无线路由设备的无线接入点,所述网络设备1可以将“商品X优惠促销”相关的信息经由所述目标无线路由设备推送至该用户设备。For example, if the owner of the target wireless routing device is the merchant B, the SSID of the target wireless routing device is set to “commodity X preferential promotion”, and the merchant B may upload the information related to the “product X preferential promotion” to the office in advance. The network device 1; when the network device 1 detects that a user equipment is connected to the wireless access point of the target wireless routing device, the network device 1 may use the information related to the "commodity X preferential promotion" via the target wireless The routing device is pushed to the user device.
优选地,所述无线路由设备还检测连接至所述无线路由设备的用户设备,并向所述用户设备发送所述无线路由设备对应的推送信息。Preferably, the wireless routing device further detects a user equipment connected to the wireless routing device, and sends the push information corresponding to the wireless routing device to the user equipment.
例如,假设所述无线路由设备的主人为商户乙,所述无线路由设备的SSID被设置为“商品X优惠促销”,商户乙可以预先将“商品X优惠促销”相关的信息上传至所述网络设备1,并且所述网络设备1将“商品X优惠促销”相关的信息发送至所述无线路由设备,那么所述无线路由设备预先存储了“商品X优惠促销”相关的信息;当所述无线路由设备检测到有用户设备连接所述无线路由设备的无线接入点,所述无线路由设备可以将“商品X优惠促销”相关的信息推送至该用户设备。For example, if the owner of the wireless routing device is the merchant B, the SSID of the wireless routing device is set to “commodity X preferential promotion”, and the merchant B may upload the information related to the “commodity X preferential promotion” to the network in advance. Device 1, and the network device 1 transmits information related to "commodity X preferential promotion" to the wireless routing device, then the wireless routing device stores in advance information related to "commodity X preferential promotion"; when the wireless The routing device detects that the user equipment is connected to the wireless access point of the wireless routing device, and the wireless routing device can push information related to the “item X preferential promotion” to the user equipment.
根据本申请的另一个方面,提供了一种用于配置无线路由设备的方法,其中,该方法包括:According to another aspect of the present application, a method for configuring a wireless routing device is provided, wherein the method comprises:
网络设备根据配置信息,从与该网络设备与对应的一个或多个无线路由设备中确定目标无线路由设备;Determining, by the network device, the target wireless routing device from the network device and the corresponding one or more wireless routing devices according to the configuration information;
所述网络设备根据所述配置信息,通过所述网络设备与所述目标无线 路由设备之间的连接向该目标无线路由设备发送配置指令;Transmitting, by the network device, a configuration instruction to the target wireless routing device by using a connection between the network device and the target wireless routing device according to the configuration information;
所述目标无线路由设备通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;Receiving, by the target wireless routing device, a configuration instruction sent by the network device by using the connection, and executing the configuration instruction;
所述目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备;The target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection;
所述网络设备通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。The network device receives execution result information of the configuration instruction returned by the target wireless routing device by using the connection.
优选地,如图3所示,所述方法包括用户设备端的步骤S308’和步骤S309’,网络设备端的步骤S101’、步骤S104’、步骤S102’和步骤S103’,以及无线路由设备端的步骤S206’和步骤S207’。Preferably, as shown in FIG. 3, the method includes step S308' and step S309' of the user equipment end, step S101', step S104', step S102' and step S103' of the network equipment side, and step S206 of the wireless routing device end. 'and step S207'.
步骤S308’中,用户设备3获取用户设置的关于目标无线路由设备的配置信息;步骤S309’中,用户设备3向网络设备1发送所述配置信息;步骤S104’中,网络设备1接收用户设备1发送的用户设置的配置信息,其中,所述目标无线路由设备包括所述一个或多个无线路由设备中与用户对应的无线路由设备;步骤S101’中,网络设备1根据配置信息,从与网络设备1对应的一个或多个无线路由设备中确定目标无线路由设备;步骤S102’中,网络设备1根据所述配置信息,通过网络设备1与目标无线路由设备之间的连接向目标无线路由设备发送配置指令;步骤S206’中,目标无线路由设备通过所述连接接收所述网络设备1发送的配置指令,并执行所述配置指令;步骤S207’中,目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备1;步骤S103’中,网络设备1通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。优选地,所述目标无线路由设备的数量可小于或等于所述一个或多个无线路由设备的数量;例如,本实施例中,网络设备1与无线路由设备21和22连接,基于配置信息确定的目标无线路由设备可为无线路由设备22。In step S308′, the user equipment 3 acquires configuration information about the target wireless routing device set by the user; in step S309′, the user equipment 3 sends the configuration information to the network device 1; in step S104′, the network device 1 receives the user equipment. The configuration information of the user setting, wherein the target wireless routing device includes a wireless routing device corresponding to the user in the one or more wireless routing devices; in step S101', the network device 1 follows the configuration information. Determining the target wireless routing device among the one or more wireless routing devices corresponding to the network device 1; in step S102', the network device 1 routes to the target wireless route through the connection between the network device 1 and the target wireless routing device according to the configuration information. The device sends a configuration instruction; in step S206', the target wireless routing device receives the configuration instruction sent by the network device 1 through the connection, and executes the configuration instruction; in step S207', the target wireless routing device passes the connection The execution result information of the configuration instruction is returned to the network device 1; in step S103' The network device 1 receives the execution result information of the configuration instruction returned by the target wireless routing device through the connection. Preferably, the number of the target wireless routing devices may be less than or equal to the number of the one or more wireless routing devices; for example, in this embodiment, the network device 1 is connected to the wireless routing devices 21 and 22, and is determined based on the configuration information. The target wireless routing device can be a wireless routing device 22.
在本实施例中,用户可以通过用户设备3向网络设备1发送关于目标无线路由设备的配置信息,由网络设备1根据所述配置信息向所述目标无线路由设备发送对应的配置指令,从而实现对所述目标无线路由设备的配置。例如,假设所述网络设备1将配置账号A分配给用户甲,用户甲可以通过用户 设备3登录配置账号A,进而对其所有的目标无线路由设备A’进行配置。In this embodiment, the user device may send configuration information about the target wireless routing device to the network device 1 through the user equipment 3, and the network device 1 sends a corresponding configuration instruction to the target wireless routing device according to the configuration information, thereby implementing Configuration of the target wireless routing device. For example, if the network device 1 assigns the configuration account A to the user A, the user A can log in to the configuration account A through the user device 3, and then configure all of the target wireless routing devices A'.
在此,所述用户设备3包括但不限于任何一种可与用户进行人机交互的电子产品,例如智能手机、平板电脑、笔记本电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统、Windows操作系统等。Here, the user equipment 3 includes, but is not limited to, any electronic product that can perform human-computer interaction with the user, such as a smart phone, a tablet computer, a notebook computer, etc., and the mobile electronic product can adopt any operating system, such as android. Operating system, iOS operating system, Windows operating system, etc.
根据本申请的又一个方面,提供了一种用于配置无线路由设备的方法,其中,该方法包括:According to still another aspect of the present application, a method for configuring a wireless routing device is provided, wherein the method includes:
用户设备获取用户设置的关于目标无线路由设备的配置信息;The user equipment acquires configuration information about the target wireless routing device set by the user;
所述用户设备向所述网络设备发送所述配置信息;Transmitting, by the user equipment, the configuration information to the network device;
所述网络设备接收所述用户设备发送的所述配置信息;Receiving, by the network device, the configuration information sent by the user equipment;
所述网络设备根据所述配置信息,从与该网络设备对应的一个或多个无线路由设备中确定所述目标无线路由设备,并向该目标无线路由设备发送配置指令,该目标无线路由设备与所述用户对应;Determining, by the network device, the target wireless routing device from one or more wireless routing devices corresponding to the network device according to the configuration information, and sending a configuration command to the target wireless routing device, the target wireless routing device and The user corresponds to;
所述目标无线路由设备通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;Receiving, by the target wireless routing device, a configuration instruction sent by the network device by using the connection, and executing the configuration instruction;
所述目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备;The target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection;
所述网络设备通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。The network device receives execution result information of the configuration instruction returned by the target wireless routing device by using the connection.
图4示出根据本申请再一个实施例的一种用于配置无线路由设备的方法流程图,其中,所述方法包括步骤S111”、步骤S112”、步骤S113”、步骤S211”、步骤S212”、步骤S213”、步骤S214”、步骤S215”。4 shows a flow chart of a method for configuring a wireless routing device according to still another embodiment of the present application, wherein the method includes step S111", step S112", step S113", step S211", step S212" Step S213", step S214", and step S215".
具体地,步骤S211”中,无线路由设备22建立与对应的网络设备1之间的连接;步骤S111”中,网络设备1通过所述连接向所述无线路由设备22发送连接时间配置;步骤S212”中,无线路由设备22接收所述网络设备1发送的所述连接时间配置;步骤S213”中,无线路由设备22根据所述连接时间配置,管理所述无线路由设备22与所述网络设备1之间的连接;步骤S112”中,网络设备1通过所述连接向所述无线路由设备22发送配置指令;步骤S214”中,无线路由设备22通过所述连接接收所述网络设备1发 送的配置指令,并执行所述配置指令;步骤S215”中,无线路由设备22通过所述连接将所述配置指令的执行结果信息返回至所述网络设备1;步骤S113”中,网络设备1通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。Specifically, in step S211", the wireless routing device 22 establishes a connection with the corresponding network device 1; in step S111", the network device 1 transmits a connection time configuration to the wireless routing device 22 through the connection; step S212 The wireless routing device 22 receives the connection time configuration sent by the network device 1; in step S213, the wireless routing device 22 manages the wireless routing device 22 and the network device 1 according to the connection time configuration. a connection between the steps; in step S112", the network device 1 transmits a configuration command to the wireless routing device 22 through the connection; in step S214", the wireless routing device 22 receives the configuration sent by the network device 1 through the connection Directing, and executing the configuration instruction; in step S215", the wireless routing device 22 returns the execution result information of the configuration instruction to the network device 1 through the connection; in step S113", the network device 1 passes the The connection receives execution result information of the configuration instruction returned by the target wireless routing device.
例如,无线路由设备22在开机后第一次向对应的网络设备1发起连接请求,经过无线路由设备22与网络设备1之间的交互,建立起无线路由设备22与网络设备1之间的连接。在两设备的第一次连接后,网络设备1通过该连接向无线路由设备22发送连接时间配置。该连接时间配置可由网络设备1根据预先设定的规则生成;或者,该连接时间配置可由用户通过用户设备3提供给网络设备1。For example, the wireless routing device 22 initiates a connection request to the corresponding network device 1 for the first time after the power is turned on, and establishes a connection between the wireless routing device 22 and the network device 1 through the interaction between the wireless routing device 22 and the network device 1. . After the first connection of the two devices, the network device 1 transmits a connection time configuration to the wireless routing device 22 via the connection. The connection time configuration may be generated by the network device 1 according to a preset rule; or the connection time configuration may be provided by the user to the network device 1 through the user device 3.
优选地,所述连接时间配置包括以下至少任一项:所述无线路由设备向所述网络设备发起连接的周期信息,例如,无线路由设备22每隔时间T向网络设备1发起连接请求;所述无线路由设备维持与所述网络设备之间的连接的时长信息,例如,可以设置两设备每次的连接时长为t1,连接时长到达t1后无线路由设备22断开连接;所述无线路由设备断开与所述网络设备之间的连接的预定断开条件,例如,若网络设备1未通过该连接向无线路由设备22发送配置指令的时长超过t2,则无线路由设备22断开连接;所述无线路由设备与所述网络设备之间的连接时间段,例如,若连接时间段为10:00-11:00和18:00-19:00,则无线路由设备22在时间点10:00和18:00发起与网络设备之间的连接,并在时间点11:00和19:00断开与网络设备之间的连接。Preferably, the connection time configuration includes at least one of the following: the wireless routing device initiates connection period information to the network device, for example, the wireless routing device 22 initiates a connection request to the network device 1 every time T; The wireless routing device maintains the duration information of the connection with the network device. For example, the connection duration of the two devices may be set to t1, and the wireless routing device 22 disconnects after the connection duration reaches t1; the wireless routing device Disconnecting a predetermined disconnection condition from the connection with the network device, for example, if the network device 1 does not send a configuration command to the wireless routing device 22 over the connection for a duration exceeding t2, the wireless routing device 22 disconnects; The connection time period between the wireless routing device and the network device, for example, if the connection time period is 10:00-11:00 and 18:00-19:00, the wireless routing device 22 is at time 10:00. And the connection between the network device is initiated at 18:00, and the connection with the network device is disconnected at time points 11:00 and 19:00.
无线路由设备22根据所述连接时间配置,管理(例如管理发起连接、管理断开连接)无线路由设备22与网络设备1之间的连接。The wireless routing device 22 manages (e.g., manages initiated connections, manages disconnects) the connection between the wireless routing device 22 and the network device 1 in accordance with the connection time configuration.
当网络设备1需要向无线路由设备22发送配置指令;此时若两设备处于连接状态,则网络设备1通过该连接向无线路由设备22发送配置指令;此时若两设备未处于连接状态,则稍作等待,待两设备之间建立起连接后,网络设备1再通过该连接向无线路由设备22发送配置指令。网络设备1可基于与该无线路由设备对应的配置信息,确定发送给该无线路由设备22的配置指令及其发送时间。When the network device 1 needs to send a configuration command to the wireless routing device 22; if the two devices are in the connected state, the network device 1 sends a configuration command to the wireless routing device 22 through the connection; if the two devices are not in the connected state, then After waiting for a connection between the two devices, the network device 1 sends a configuration command to the wireless routing device 22 through the connection. The network device 1 can determine a configuration command sent to the wireless routing device 22 and its transmission time based on configuration information corresponding to the wireless routing device.
此外,若连接时间配置被更新,网络设备1还可以通过所述连接向无线路由设备22发送更新后的连接时间配置,以更新存储在无线路由设备22中的连接时间配置。随后,无线路由设备22根据更新后的连接时间配置,管理无线路由设备22与网络设备1之间的连接。Furthermore, if the connection time configuration is updated, the network device 1 can also send an updated connection time configuration to the wireless routing device 22 over the connection to update the connection time configuration stored in the wireless routing device 22. Subsequently, the wireless routing device 22 manages the connection between the wireless routing device 22 and the network device 1 in accordance with the updated connection time configuration.
在本实施例中,所述无线路由设备可间断地与所述网络设备连接,从而节约网络资源。In this embodiment, the wireless routing device can be intermittently connected to the network device, thereby saving network resources.
根据本申请的又一个方面,提供了一种包括指令的计算机可读介质,所述指令在被执行时使得系统进行如上所述方法的操作。According to still another aspect of the present application, there is provided a computer readable medium comprising instructions which, when executed, cause a system to perform the operations of the method as described above.
根据本申请的又一个方面,提供了一种用于配置无线路由设备的网络设备,其中,该网络设备包括:According to still another aspect of the present application, a network device for configuring a wireless routing device is provided, wherein the network device includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述的方法。A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method as described above.
根据本申请的又一个方面,提供了一种用于配置无线路由设备的无线路由设备,其中,该无线路由设备包括:According to still another aspect of the present application, a wireless routing device for configuring a wireless routing device is provided, wherein the wireless routing device includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述的方法。A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method as described above.
根据本申请的又一个方面,提供了一种用于配置无线路由设备的用户设备,其中,该用户设备包括:According to still another aspect of the present application, a user equipment for configuring a wireless routing device is provided, where the user equipment includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述的方法。A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method as described above.
与现有技术相比,本申请的网络设备根据配置信息,从与网络设备对应的一个或多个无线路由设备中确定目标无线路由设备;所述网络设备根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接向该目标无线路由设备发送配置指令;所述目标无线路由设备接收并执行所述配置指令,然后将所述配置指令的执行结果信息返回至所述网络设备;本申请通过网络设备向无线路由设备发送配置指令,实现远程配置无线路 由设备,效率较高,方便业务拓展。进一步地,本申请的网络设备不仅可以实时向无线路由设备发送配置指令,还可以根据配置时段信息定时向无线路由设备发送配置指令,易于操作。进一步地,本申请的网络设备可以受用户委托对其所有的目标无线路由设备进行配置;用户也可以通过用户设备向网络设备发送关于目标无线路由设备的配置信息,实现对目标无线路由设备的配置;本申请提供多种配置方式供用户选择,优化用户体验。Compared with the prior art, the network device of the present application determines a target wireless routing device from one or more wireless routing devices corresponding to the network device according to the configuration information; and the network device passes the network according to the configuration information. A connection between the device and the target wireless routing device sends a configuration command to the target wireless routing device; the target wireless routing device receives and executes the configuration instruction, and then returns execution result information of the configuration instruction to the The network device is configured to send a configuration command to the wireless routing device by using the network device to implement remote configuration of the wireless routing device, which is highly efficient and convenient for service expansion. Further, the network device of the present application can not only send configuration commands to the wireless routing device in real time, but also can send configuration commands to the wireless routing device according to the configuration time period information, which is easy to operate. Further, the network device of the present application may be configured by the user to configure all of the target wireless routing devices; the user may also send configuration information about the target wireless routing device to the network device through the user device, thereby implementing configuration of the target wireless routing device. This application provides a variety of configuration methods for users to choose and optimize the user experience.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。本领域技术人员应能理解,计算机程序指令在计算机可读介质中的存在形式包括但不限于源文件、可执行文件、安装包文件等,相应地,计算机程序指令被计算机执行的方式包括但不限于:该计算机直接执行该指令,或者该计算机编译该指令后再执行对应的编译后程序,或者该计算机读取并执行该指令,或者该计算机读取并安装该指令后再执行对应的安装后程序。在此,计算机可读介质可以是可供计算机访问的任意可用的计算机可读存储介质或通信介质。In addition, a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application. It should be understood by those skilled in the art that the form of computer program instructions in a computer readable medium includes, but is not limited to, source files, executable files, installation package files, etc., accordingly, the manner in which the computer program instructions are executed by the computer includes but not Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installation. program. Here, the computer readable medium can be any available computer readable storage medium or communication medium that can be accessed by a computer.
通信介质包括藉此包含例如计算机可读指令、数据结构、程序模块或其他数据的通信信号被从一个系统传送到另一系统的介质。通信介质可包括有导的传输介质(诸如电缆和线(例如,光纤、同轴等))和能传播能量波的无线(未有导的传输)介质,诸如声音、电磁、RF、微波和红外。计算机可读指令、数据结构、程序模块或其他数据可被体现为例如无线介质(诸如载波或诸如被体现为扩展频谱技术的一部分的类似机制)中的已调制数据信号。术语“已调制数据信号”指的是其一个或多个特征以在信号中编码 信息的方式被更改或设定的信号。调制可以是模拟的、数字的或混合调制技术。Communication media includes media that can be transferred from one system to another by communication signals including, for example, computer readable instructions, data structures, program modules or other data. Communication media can include conductive transmission media such as cables and wires (eg, fiber optics, coaxial, etc.) and wireless (unguided transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. . Computer readable instructions, data structures, program modules or other data may be embodied, for example, as modulated data signals in a wireless medium, such as a carrier wave or a similar mechanism, such as embodied in a portion of a spread spectrum technique. The term "modulated data signal" refers to a signal whose one or more features are altered or set in such a manner as to encode information in the signal. Modulation can be analog, digital or hybrid modulation techniques.
作为示例而非限制,计算机可读存储介质可包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据的信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动的介质。例如,计算机可读存储介质包括,但不限于,易失性存储器,诸如随机存储器(RAM,DRAM,SRAM);以及非易失性存储器,诸如闪存、各种只读存储器(ROM,PROM,EPROM,EEPROM)、磁性和铁磁/铁电存储器(MRAM,FeRAM);以及磁性和光学存储设备(硬盘、磁带、CD、DVD);或其它现在已知的介质或今后开发的能够存储供计算机系统使用的计算机可读信息/数据。The computer readable storage medium may comprise, by way of example and not limitation, vols and non-volatile, implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Mobile and non-removable media. For example, a computer readable storage medium includes, but is not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and nonvolatile memory such as flash memory, various read only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other currently known media or later developed for storage in computer systems Computer readable information/data used.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in this application. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (18)

  1. 一种在网络设备端用于配置无线路由设备的方法,其中,该方法包括:A method for configuring a wireless routing device on a network device side, where the method includes:
    根据配置信息,从与网络设备对应的一个或多个无线路由设备中确定目标无线路由设备;Determining, according to the configuration information, a target wireless routing device from one or more wireless routing devices corresponding to the network device;
    根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接向该目标无线路由设备发送配置指令;And sending, according to the configuration information, a configuration instruction to the target wireless routing device by using a connection between the network device and the target wireless routing device;
    通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。Receiving execution result information of the configuration instruction returned by the target wireless routing device through the connection.
  2. 根据权利要求1所述的方法,其中,所述配置指令包括以下至少任一项:The method of claim 1 wherein the configuration instructions comprise at least one of the following:
    设置所述目标无线路由设备的SSID;Setting an SSID of the target wireless routing device;
    设置所述目标无线路由设备的接入密码信息。Setting access password information of the target wireless routing device.
  3. 根据权利要求1或2所述的方法,其中,所述根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接向该目标无线路由设备发送配置指令,包括:The method according to claim 1 or 2, wherein the transmitting, by the connection between the network device and the target wireless routing device, a configuration command to the target wireless routing device according to the configuration information, comprising:
    根据所述配置信息确定对应的所述配置指令;Determining, according to the configuration information, the corresponding configuration instruction;
    通过所述连接向所述目标无线路由设备发送所述配置指令。The configuration instruction is sent to the target wireless routing device over the connection.
  4. 根据权利要求3所述的方法,其中,所述配置信息包括配置时段信息,所述根据所述配置信息确定对应的所述配置指令包括:The method of claim 3, wherein the configuration information comprises configuration period information, and the determining the corresponding configuration instruction according to the configuration information comprises:
    根据所述配置时段信息,设置所述配置指令的发送触发条件;Setting a sending trigger condition of the configuration instruction according to the configuration period information;
    其中,所述通过所述连接向所述目标无线路由设备发送所述配置指令,包括:The sending the configuration instruction to the target wireless routing device by using the connection includes:
    当满足所述发送触发条件,通过所述连接向所述目标无线路由设备发送所述配置指令。When the transmission trigger condition is met, the configuration instruction is sent to the target wireless routing device through the connection.
  5. 根据权利要求3所述的方法,其中,所述配置信息以及所述配置指令满足以下至少任一项:The method of claim 3, wherein the configuration information and the configuration instructions satisfy at least one of the following:
    所述配置信息包括无线路由设备的SSID,且所述配置指令包括设置对应无线路由设备的SSID为所述配置信息中的SSID;The configuration information includes an SSID of the wireless routing device, and the configuration instruction includes setting an SSID of the corresponding wireless routing device to an SSID in the configuration information;
    所述配置信息包括无线路由设备的接入密码信息,且所述配置指令包括设置对应无线路由设备的接入密码信息为所述配置信息中的接入密码 信息。The configuration information includes access password information of the wireless routing device, and the configuration command includes setting access password information of the corresponding wireless routing device as access password information in the configuration information.
  6. 根据权利要求3或5所述的方法,其中,所述根据配置信息,从与网络设备对应的一个或多个无线路由设备中确定目标无线路由设备,包括:The method according to claim 3 or 5, wherein the determining the target wireless routing device from the one or more wireless routing devices corresponding to the network device according to the configuration information comprises:
    根据所述配置信息所对应的配置账号,从所述一个或多个无线路由设备中确定所述目标无线路由设备,其中,所述目标无线路由设备受所述配置账号管理。Determining, according to the configuration account corresponding to the configuration information, the target wireless routing device from the one or more wireless routing devices, wherein the target wireless routing device is managed by the configuration account.
  7. 根据权利要求1至6中任一项所述的方法,其中,所述方法还包括:The method of any of claims 1 to 6, wherein the method further comprises:
    接收用户设备发送的用户设置的配置信息;Receiving configuration information of user settings sent by the user equipment;
    其中,所述目标无线路由设备包括所述一个或多个无线路由设备中与用户对应的无线路由设备。The target wireless routing device includes a wireless routing device corresponding to a user of the one or more wireless routing devices.
  8. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    向已建立连接的无线路由设备发送连接时间配置,该连接时间配置用于指示所述已建立连接的无线路由设备与所述网络设备之间的连接时间。Sending a connection time configuration to the wireless routing device that has established the connection, the connection time configured to indicate a connection time between the established wireless routing device and the network device.
  9. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    检测连接至所述目标无线路由设备的用户设备;Detecting a user equipment connected to the target wireless routing device;
    向所述用户设备发送所述目标无线路由设备对应的推送信息。Sending, to the user equipment, push information corresponding to the target wireless routing device.
  10. 一种在无线路由设备端用于配置无线路由设备的方法,其中,该方法包括:A method for configuring a wireless routing device on a wireless routing device side, wherein the method includes:
    建立无线路由设备与网络设备之间的连接;Establish a connection between the wireless routing device and the network device;
    通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;Receiving, by the connection, a configuration instruction sent by the network device, and executing the configuration instruction;
    通过所述连接将所述配置指令的执行结果信息返回至所述网络设备。The execution result information of the configuration instruction is returned to the network device through the connection.
  11. 根据权利要求10所述的方法,其中,所述方法还包括:The method of claim 10, wherein the method further comprises:
    通过所述连接,接收所述网络设备发送的连接时间配置;Receiving, by the connection, a connection time configuration sent by the network device;
    根据所述连接时间配置,管理所述无线路由设备与所述网络设备之间的连接。And managing, according to the connection time configuration, a connection between the wireless routing device and the network device.
  12. 根据权利要求10所述的方法,其中,所述方法还包括:The method of claim 10, wherein the method further comprises:
    检测连接至所述无线路由设备的用户设备;Detecting a user equipment connected to the wireless routing device;
    向所述用户设备发送所述无线路由设备对应的推送信息。Sending the push information corresponding to the wireless routing device to the user equipment.
  13. 一种用于配置无线路由设备的方法,其中,该方法包括:A method for configuring a wireless routing device, wherein the method comprises:
    网络设备根据配置信息,从与该网络设备与对应的一个或多个无线路由设备中确定目标无线路由设备;Determining, by the network device, the target wireless routing device from the network device and the corresponding one or more wireless routing devices according to the configuration information;
    所述网络设备根据所述配置信息,通过所述网络设备与所述目标无线路由设备之间的连接向该目标无线路由设备发送配置指令;Transmitting, by the network device, a configuration instruction to the target wireless routing device by using a connection between the network device and the target wireless routing device according to the configuration information;
    所述目标无线路由设备通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;Receiving, by the target wireless routing device, a configuration instruction sent by the network device by using the connection, and executing the configuration instruction;
    所述目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备;The target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection;
    所述网络设备通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。The network device receives execution result information of the configuration instruction returned by the target wireless routing device by using the connection.
  14. 根据权利要求13所述的方法,其中,该方法还包括:The method of claim 13 wherein the method further comprises:
    用户设备获取用户设置的关于目标无线路由设备的配置信息;The user equipment acquires configuration information about the target wireless routing device set by the user;
    所述用户设备向所述网络设备发送所述配置信息;Transmitting, by the user equipment, the configuration information to the network device;
    所述网络设备接收所述用户设备发送的所述配置信息。The network device receives the configuration information sent by the user equipment.
  15. 一种用于配置无线路由设备的方法,其中,该方法还包括:A method for configuring a wireless routing device, wherein the method further includes:
    无线路由设备建立与对应的网络设备之间的连接;The wireless routing device establishes a connection with the corresponding network device;
    所述网络设备通过所述连接向所述无线路由设备发送连接时间配置;Sending, by the network device, a connection time configuration to the wireless routing device by using the connection;
    所述无线路由设备接收所述网络设备发送的所述连接时间配置;Receiving, by the wireless routing device, the connection time configuration sent by the network device;
    所述无线路由设备根据所述连接时间配置,管理所述无线路由设备与所述网络设备之间的连接;The wireless routing device manages a connection between the wireless routing device and the network device according to the connection time configuration;
    所述网络设备通过所述连接向所述无线路由设备发送配置指令;Sending, by the network device, a configuration instruction to the wireless routing device by using the connection;
    所述目标无线路由设备通过所述连接接收所述网络设备发送的配置指令,并执行所述配置指令;Receiving, by the target wireless routing device, a configuration instruction sent by the network device by using the connection, and executing the configuration instruction;
    所述目标无线路由设备通过所述连接将所述配置指令的执行结果信息返回至所述网络设备;The target wireless routing device returns execution result information of the configuration instruction to the network device by using the connection;
    所述网络设备通过所述连接接收所述目标无线路由设备返回的所述配置指令的执行结果信息。The network device receives execution result information of the configuration instruction returned by the target wireless routing device by using the connection.
  16. 一种包括指令的计算机可读介质,所述指令在被执行时使得系统 进行如权利要求1至15中任一项所述方法的操作。A computer readable medium comprising instructions which, when executed, cause a system to perform the operations of the method of any one of claims 1 to 15.
  17. 一种用于配置无线路由设备的网络设备,其中,该网络设备包括:A network device for configuring a wireless routing device, where the network device includes:
    处理器;以及Processor;
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如权利要求1至9中任一项所述的方法。A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any one of claims 1 to 9.
  18. 一种用于配置无线路由设备的无线路由设备,其中,该无线路由设备包括:A wireless routing device for configuring a wireless routing device, wherein the wireless routing device comprises:
    处理器;以及Processor;
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如权利要求10至12中任一项所述的方法。A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any one of claims 10 to 12.
PCT/CN2018/089643 2017-06-22 2018-06-01 Method and device for configuring wireless routing device WO2018233473A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710482162.7A CN107332700B (en) 2017-06-22 2017-06-22 Method and equipment for configuring wireless routing equipment
CN201710482162.7 2017-06-22

Publications (1)

Publication Number Publication Date
WO2018233473A1 true WO2018233473A1 (en) 2018-12-27

Family

ID=60195808

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089643 WO2018233473A1 (en) 2017-06-22 2018-06-01 Method and device for configuring wireless routing device

Country Status (2)

Country Link
CN (1) CN107332700B (en)
WO (1) WO2018233473A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332700B (en) * 2017-06-22 2020-11-06 上海掌门科技有限公司 Method and equipment for configuring wireless routing equipment
CN110278092A (en) * 2018-03-13 2019-09-24 成都市共维科技有限公司 Router long-range control method and system based on MQTT agreement
CN108668237B (en) * 2018-06-29 2020-07-31 连尚(新昌)网络科技有限公司 Method and equipment for maintaining wireless connection of user equipment
WO2022013605A1 (en) * 2020-07-17 2022-01-20 Pismo Labs Technology Limited Methods and system for forwarding packets through a virtual private network
CN112367187B (en) * 2020-10-16 2023-07-14 深圳市信锐网科技术有限公司 Control method and device of frame type equipment, frame type equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873359A (en) * 2012-12-14 2014-06-18 上海斐讯数据通信技术有限公司 Mobile device, wireless router, route configuration method and system
CN103888290A (en) * 2014-02-20 2014-06-25 小米科技有限责任公司 Configuration information recovery method and device
US9197671B1 (en) * 2014-05-12 2015-11-24 International Business Machines Corporation Connection configuration
CN105610719A (en) * 2014-11-24 2016-05-25 中兴通讯股份有限公司 Method and device for processing setting of wireless router and setting wireless router
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148698A (en) * 2010-12-29 2011-08-10 华为技术有限公司 Network configuration protocol-based network configuration management method, equipment and system
EP2780806A1 (en) * 2011-11-18 2014-09-24 Thomson Licensing System comprising a publish/subscribe broker for a remote management of end-user devices, and respective end-user device
CN102592429A (en) * 2012-01-18 2012-07-18 中山大学 Remote meter reading system based on EnOcean
KR101970794B1 (en) * 2014-04-07 2019-04-22 한화정밀기계 주식회사 Method for controlling operation of component mounter
CN103929363A (en) * 2014-05-04 2014-07-16 四川逸客科技有限公司 Content recommendation method and system of intelligent router
CN104639371A (en) * 2015-02-02 2015-05-20 北京极科极客科技有限公司 Long-distance router control method
US9736019B2 (en) * 2015-05-14 2017-08-15 Eero Inc. Methods for dynamic router configuration in a mesh network
CN106550427A (en) * 2015-09-21 2017-03-29 中国电信股份有限公司 For realizing method, WiFi terminal and the system of WLAN rapid configuration
CN106130862A (en) * 2016-06-23 2016-11-16 广州鲁邦通物联网科技有限公司 The management method of the VPN (virtual private network) of a kind of multiple distribution router and system
CN106230877B (en) * 2016-06-30 2020-02-14 宁波翼动通讯科技有限公司 Remote management method, system and equipment of equipment
CN106354254B (en) * 2016-08-24 2019-10-22 北京小米移动软件有限公司 The immersion exchange method and device of intelligent router
CN106506585B (en) * 2016-09-14 2019-10-25 深圳市宏电技术股份有限公司 The method and system of router is remotely controlled by browser
CN106713088A (en) * 2017-01-06 2017-05-24 南京创维信息技术研究院有限公司 Method and system for controlling intelligent home equipment based on double mqtt servers
CN106850421A (en) * 2017-03-21 2017-06-13 安文科技有限公司 A kind of intelligent things charging method and intelligent gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873359A (en) * 2012-12-14 2014-06-18 上海斐讯数据通信技术有限公司 Mobile device, wireless router, route configuration method and system
CN103888290A (en) * 2014-02-20 2014-06-25 小米科技有限责任公司 Configuration information recovery method and device
US9197671B1 (en) * 2014-05-12 2015-11-24 International Business Machines Corporation Connection configuration
CN105610719A (en) * 2014-11-24 2016-05-25 中兴通讯股份有限公司 Method and device for processing setting of wireless router and setting wireless router
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device

Also Published As

Publication number Publication date
CN107332700B (en) 2020-11-06
CN107332700A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
WO2018233473A1 (en) Method and device for configuring wireless routing device
US10270648B2 (en) Configuration information management method, device, network element management system and storage medium
EP3846522A1 (en) Mec platform deployment method and device
US10091055B2 (en) Configuration service for configuring instances
CN112968844B (en) Method and device for sending fragment message
CN107222326B (en) Access method, configuration method and device for service between devices
US11409819B2 (en) Method and device for recommending social user
CN104754003B (en) Transmit the method and system of data
WO2019076282A1 (en) Method and device for managing user
WO2018223908A1 (en) Method and device for connecting to hidden wireless access point
WO2019037596A1 (en) Method and device for carrying out wireless connection pre-authorization for user equipment
US11909845B2 (en) Methods and systems for managing applications of a multi-access edge computing environment
WO2019037581A1 (en) Method and device for carrying out wireless connection pre-authorization for user equipment
US11095730B1 (en) Automated device discovery system
WO2019042122A1 (en) Method and device for determining connection success rate information of wireless access point
US9426246B2 (en) Method and apparatus for providing caching service in network infrastructure
US9882957B1 (en) Client-side endpoint specification in a network service request
WO2019037603A1 (en) Method and device for carrying out wireless connection pre-authorization for user equipment
WO2019037602A1 (en) Wireless connection pre-authorization method and device for user equipment
WO2018228225A2 (en) Method and device for user recommendation
CN112804366B (en) Method and device for resolving domain name
WO2018214792A1 (en) Method and device for traffic control of user equipment
WO2023246060A1 (en) User authentication and authorization method and apparatus, and medium and device
US9083732B2 (en) Establishing communication between entities in a shared network
WO2020001376A1 (en) Method and device for maintaining wireless connection of user equipment

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.03.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18821367

Country of ref document: EP

Kind code of ref document: A1