WO2022063026A1 - 多个路由器组网的方法、路由器、电子设备和存储介质 - Google Patents

多个路由器组网的方法、路由器、电子设备和存储介质 Download PDF

Info

Publication number
WO2022063026A1
WO2022063026A1 PCT/CN2021/118758 CN2021118758W WO2022063026A1 WO 2022063026 A1 WO2022063026 A1 WO 2022063026A1 CN 2021118758 W CN2021118758 W CN 2021118758W WO 2022063026 A1 WO2022063026 A1 WO 2022063026A1
Authority
WO
WIPO (PCT)
Prior art keywords
networking
router
broadcast signal
networked
configuration information
Prior art date
Application number
PCT/CN2021/118758
Other languages
English (en)
French (fr)
Inventor
陈涛
关欣赟
刘伟峰
Original Assignee
深圳市微网力合信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市微网力合信息技术有限公司 filed Critical 深圳市微网力合信息技术有限公司
Publication of WO2022063026A1 publication Critical patent/WO2022063026A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Definitions

  • the present disclosure generally relates to the field of communication technologies, and more particularly, to a method for networking multiple routers, a router, an electronic device, and a storage medium.
  • one of the routers is often used as the master router, and the other routers are used as slave routers.
  • the slave router is connected with the master router, it is necessary to enter the corresponding Network configuration information (such as connection key, IP address, channel, etc.) to establish a connection with the main router to form a network.
  • Network configuration information such as connection key, IP address, channel, etc.
  • the present disclosure relates to a method for networking multiple routers, which is applied to routers to be networked, including:
  • the determining of the target router according to the signal strength of the broadcast signal and the networking identifier includes:
  • the networking identifier in the first router set is a second set of routers that can be networked
  • Any router in the second router set is used as the target router.
  • the determining of the target router according to the signal strength of the broadcast signal and the networking identifier includes:
  • Any router in the fourth router set is used as the target router.
  • the parsing of the networking identifier in the broadcast signal transmitted by the target router, and sending a networking request to the target router includes:
  • the described networking with the target router according to the networking configuration information includes:
  • the networking configuration information is parsed, and the parsed networking configuration information is configured to complete networking.
  • the present disclosure relates to a method for networking multiple routers, which is applied to networked routers, including:
  • the broadcast signal carries a networking identifier, so that the router to be networked that receives the broadcast signal sends a networking request according to the signal strength of the broadcast signal and the networking identifier ;as well as
  • the present disclosure relates to routers, including:
  • a receiving module configured to receive a broadcast signal transmitted by a networked router, wherein the broadcast signal carries a network identifier
  • a determining module configured to determine a target router according to the signal strength of the broadcast signal and the networking identifier
  • a parsing module configured to parse the networking identifier in the broadcast signal transmitted by the target router, and send a networking request to the target router, so that the target router, after receiving the networking request, sends an network routers to send networking configuration information;
  • the first networking module is configured to receive the networking configuration information, and network with the target router according to the networking configuration information.
  • the present disclosure relates to routers, including:
  • the transmitting module is configured to transmit a broadcast signal, and the broadcast signal carries a networking identifier, so that the router to be networked that receives the broadcast signal, according to the signal strength of the broadcast signal and the networking identifier , sending a networking request;
  • the second networking module is configured to receive the networking request, and send networking configuration information to the router to be networking, so that the router to be networking that has received the networking configuration information, according to the The networking configuration information is networked with the networked router.
  • the present disclosure relates to an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
  • the memory configured to store a computer program
  • the processor is configured to execute the program stored in the memory to implement the method for networking multiple routers described in the present disclosure.
  • the present disclosure relates to a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the method for networking a plurality of routers described in the present disclosure is implemented.
  • the router to be networked receives the broadcast signal transmitted by the router that has been networked. Since the broadcast signal carries the network identifier, the router to be networked can be based on the broadcast signal.
  • the signal strength and networking ID of the signal determine the target router, so as to parse the networking ID in the broadcast signal transmitted by the target router, and send a networking request to the target router, so that after receiving the networking request, the target router sends a request to the waiting router.
  • the networking router sends networking configuration information, then receives the networking configuration information, and forms a network with the target router according to the networking configuration information.
  • the router to be networked can determine the target router that can be automatically networked based on the broadcast signals transmitted by the parsed routers that have been networked, and the target router sends the networking configuration information to the router to be networked to complete the networking.
  • the router to be networked can automatically form a network according to the networking configuration information sent by the target router, without manual input, which avoids the high error rate of human input and the need for repeated input.
  • the network process is carried out automatically, without manual participation, the operation process is simple, and the efficiency of networking is improved.
  • FIG. 1 is a flowchart of a method for networking multiple routers according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for networking multiple routers according to another embodiment of the present disclosure
  • FIG. 3 is a structural diagram of a router provided by an embodiment of the present disclosure.
  • FIG. 4 is a structural diagram of a router provided by another embodiment of the present disclosure.
  • FIG. 5 is a structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the present disclosure provides a method for networking with multiple routers, and the method can be applied to any form of electronic device, such as a router.
  • the method for networking multiple routers, applied to routers to be networked includes:
  • Step 101 Receive a broadcast signal transmitted by a networked router, and the broadcast signal carries a network identifier
  • Step 102 Determine the target router according to the signal strength of the broadcast signal and the networking identifier
  • Step 103 analyzing the networking identifier in the broadcast signal transmitted by the target router, and sending a networking request to the target router, so that the target router sends networking configuration information to the router to be networking after receiving the networking request;
  • Step 104 receiving the networking configuration information, and networking with the target router according to the networking configuration information.
  • the routers that have been networked will send out broadcast signals in real time, and the broadcast signals carry the network identifier. After the router to be networked is powered on, it will receive the broadcast signal transmitted by the networked router, so as to parse the network identifier in the broadcast signal.
  • the broadcast signal may be, but not limited to, a Bluetooth signal or a WiFi signal.
  • the networking identifier includes the remaining number of connected interfaces of the networked router, whether the networked router can support automatic networking, and data on the automatic networking function.
  • the networked router after receiving the broadcast signal transmitted by each networked router, the networked router will select one of the routers in a group of networked routers as the target router according to the signal strength of the broadcast signal and the network identification. It can be understood that the number of networked routers can be more than two. After the network of each router is completed, it will transmit broadcast signals to the outside for the new routers to be networked to connect to the network.
  • the networked routers are set in different indoor locations, after the routers to be networked are powered on, the distances between the networked routers and the routers to be networked are different. Therefore, the corresponding networked routers have different distances. The transmitted signal strength is also different.
  • step 102 there are multiple implementations of step 102, which are illustrated in the following two ways in the present disclosure.
  • the first is to determine the target router according to the signal strength and then according to the network identifier.
  • the second is to first determine the target router according to the network identifier and then according to the signal strength.
  • the networking identifier of the routers that have been networked is a third router set that can be networked; determine a fourth router set in which the signal strength of the broadcast signal is greater than a preset threshold in the third router set; router as the destination router.
  • a router due to the limited connection interfaces of routers, a router can only be connected to a preset number of routers. Therefore, after receiving the broadcast signal transmitted by the routers that have been connected to the network, the router to be networked first determines the network connection. The remaining number of connection interfaces of the networked routers in the identification, according to the remaining number of connection interfaces to determine whether the corresponding networked routers can be networked, and the networked routers with the strongest signal strength are selected. The networked router is used as the target router.
  • the networking router after the networking router determines the target router to be connected to, it parses the networking identifier in the broadcast signal transmitted by the target router, and first determines whether the target router can support automatic networking. Support automatic networking, and then further identify the automatic networking function data in the networking identifier, so as to send a networking request to the target router to further complete the networking, if the target router does not support automatic networking, the second router set Or select another networked router from the fourth router set as the target router, and repeat the above steps 102 to 103 until the target router can realize automatic networking.
  • Step 103 includes:
  • Identify the automatic networking function data in the networking identifier determine whether the automatic networking function data matches its own automatic networking function data, and if so, send a networking request to the target router.
  • the networking router after the networking router determines that the target router can automatically form a network, it will identify the automatic networking function data in the networking identifier of the target router, and further determine the automatic networking function data of the target router and its own automatic networking function data. Whether the automatic networking function data matches, when the two match, send a networking request to the target router.
  • the automatic networking function data is set when the router leaves the factory, or the matching automatic networking function data is imported through the intelligent terminal.
  • the target router after receiving the networking request sent by the router to be networked, the target router will automatically send networking configuration information to the router to be networked.
  • the networking configuration information may include, but is not limited to, a networking account, a networking password, and an Internet Protocol (Internet Protocol IP) address.
  • the to-be-networked router after receiving the networking configuration information sent by the target router, the to-be-networked router will network with the target router according to the networking configuration information. Specifically, the router to be networked parses the networking configuration information, and configures the networking configuration information obtained after the parsing in a corresponding position, thereby completing the networking.
  • the router to be networked receives the broadcast signal transmitted by the router that has been networked. Since the broadcast signal carries the networking identifier, the router to be networked can be based on the signal strength of the broadcast signal.
  • the networking identifier is used to determine the target router, so as to parse the networking identifier in the broadcast signal transmitted by the target router, and send a networking request to the target router, so that the target router can send a networking request to the router to be networked after receiving the networking request.
  • Network configuration information and then receive the networking configuration information, and network with the target router according to the networking configuration information.
  • the router to be networked can determine the target router that can be automatically networked based on the broadcast signals transmitted by the parsed routers that have been networked, and the target router sends the networking configuration information to the router to be networked to complete the networking.
  • the router to be networked can automatically form a network according to the networking configuration information sent by the target router, without manual input, which avoids the high error rate of human input and the need for repeated input.
  • the network process is carried out automatically, without manual participation, the operation process is simple, and the efficiency of networking is improved.
  • any router may participate in the networking as a target router, and the prior art method in which all routers can only be connected to the main router for networking is abandoned, and the networking is more flexible.
  • the present disclosure provides a method for networking with multiple routers, and the method can be applied to any form of electronic device, such as a router.
  • the method for networking multiple routers, applied to the routers to be networked includes:
  • Step 201 transmitting a broadcast signal, and the broadcast signal carries a networking identifier, so that the router to be networked that receives the broadcast signal sends a networking request according to the signal strength and networking identifier of the broadcast signal;
  • Step 202 Receive a networking request, and send networking configuration information to the router to be networked, so that the router to be networked that has received the networking configuration information forms a network with the networked routers according to the networking configuration information.
  • the networked router After receiving the networking request sent by the router to be networked, the networked router will generate a new IP address for the router to be networked according to the IP addresses of all the networked routers, and use it as the networking configuration. The information is sent to the router to be networked.
  • the present disclosure provides a router, and the specific implementation of the router can refer to the description of the modified part of the present disclosure, and the repetition will not be repeated.
  • the router mainly includes:
  • the receiving module 301 is configured to receive a broadcast signal transmitted by a router that has been networked, and the broadcast signal carries a network identifier;
  • the determining module 302 is configured to determine the target router according to the signal strength of the broadcast signal and the networking identifier
  • the parsing module 303 is configured to parse the networking identifier in the broadcast signal transmitted by the target router, and send a networking request to the target router, so that the target router sends networking configuration information to the router to be networking after receiving the networking request ;as well as
  • the first networking module 304 is configured to receive networking configuration information, and network with the target router according to the networking configuration information.
  • the present disclosure provides a router.
  • the router mainly includes:
  • the transmitting module 401 is configured to transmit a broadcast signal, and the broadcast signal carries a networking identifier, so that the router to be networked that receives the broadcast signal sends a networking request according to the signal strength and networking identifier of the broadcast signal;
  • the second networking module 402 is configured to receive networking requests and send networking configuration information to the routers to be networking, so that the routers to be networking that have received the networking configuration information can networking.
  • the present disclosure provides an electronic device.
  • the electronic device mainly includes: a processor 501 , a communication interface 502 , a memory 503 and a communication bus 504 , wherein the processor 501 , the communication interface 502 and the memory 503 The mutual communication is accomplished through the communication bus 504 .
  • the memory 503 stores a program that can be executed by the processor 501, and the processor 501 executes the program stored in the memory 503 to implement the following steps:
  • the broadcast signal By receiving the broadcast signal transmitted by the networked router, the broadcast signal carries the network identification; according to the signal strength and network identification of the broadcast signal, the target router is determined; the network identification in the broadcast signal transmitted by the target router is analyzed, and Send a networking request to the target router, so that after receiving the networking request, the target router sends networking configuration information to the router to be networked; receives the networking configuration information, and forms a network with the target router according to the networking configuration information. or,
  • the broadcast signal is transmitted, and the broadcast signal carries the network identification, so that the router to be networked that receives the broadcast signal, according to the signal strength of the broadcast signal and the network identification, to send a network request;
  • the network router sends the networking configuration information, so that the routers to be networked that receive the networking configuration information can network with the networked routers according to the networking configuration information.
  • the communication bus 504 mentioned in the above electronic equipment may be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (EISA for short) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus 504 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 5, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 502 is used for communication between the above-mentioned electronic device and other devices.
  • the memory 503 may include random access memory (Random Access Memory, RAM for short), or may include non-volatile memory (non-volatile memory), such as at least one disk memory. In some embodiments, the memory may also be at least one storage device located remotely from the aforementioned processor 501 .
  • RAM Random Access Memory
  • non-volatile memory such as at least one disk memory.
  • the memory may also be at least one storage device located remotely from the aforementioned processor 501 .
  • the above-mentioned processor 501 may be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc., and may also be a digital signal processor (Digital Signal Processing, referred to as DSP) ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the present disclosure provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer, the computer executes the method for networking a plurality of routers described in the foregoing embodiments.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present disclosure are produced in whole or in part.
  • the computer can be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, from a website site, computer, server, or data center via wired (e.g., Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, microwave, etc.) means to transmit to another website site, computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes, etc.), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本公开涉及多个路由器组网的方法、路由器、电子设备和存储介质,应用于通信技术领域,其中,方法包括:通过接收已组网的路由器发射的广播信号,广播信号中携带有组网标识;根据广播信号的信号强度和组网标识,确定目标路由器;解析目标路由器发射的广播信号中的组网标识,并向目标路由器发送组网请求,以使目标路由器在接收到组网请求后,向待组网路由器发送组网配置信息;以及接收组网配置信息,并根据组网配置信息与目标路由器组网。

Description

多个路由器组网的方法、路由器、电子设备和存储介质
相关申请的引用
本公开要求于2020年9月28日向中国人民共和国国家知识产权局提交的申请号为202011042915.0,发明名称为“多个路由器组网的方法、路由器、电子设备和存储介质”的发明专利申请的优先权,并通过引用的方式将其全部内容并入本公开。
领域
本公开大体上涉及通信技术领域,更具体地涉及多个路由器组网的方法、路由器、电子设备和存储介质。
背景
随着互联网的发展,人们对无线网络的需求越来越多,对于一些网速要求较高的用户,需要家里任何地方都能获取较好的Wi-Fi覆盖,保证网络速度和质量,因此,大多数用户会选择在不同的空间设置相应的路由器,将这些无线路由器组网,以使其相互协作工作在同一个无线网络环境。
相关技术中,在对多个路由器进行组网时,往往是将其中一个路由器作为主路由器,其他路由器作为从路由器,从路由器与主路由器建立连接时,需要在从路由器的设置界面,输入相应的网络配置信息(如连接秘钥、IP地址、信道等),从而与主路由器建立连接,形成组网。
概述
第一方面,本公开涉及多个路由器组网的方法,应用于待组网路由器,包括:
接收已组网的路由器发射的广播信号,所述广播信号中携带有组 网标识;
根据所述广播信号的信号强度和所述组网标识,确定目标路由器;
解析所述目标路由器发射的广播信号中的组网标识,并向所述目标路由器发送组网请求,以使所述目标路由器在接收到所述组网请求后,向所述待组网路由器发送组网配置信息;以及
接收所述组网配置信息,并根据所述组网配置信息与所述目标路由器组网。
在某些实施方案中,所述根据所述广播信号的信号强度和所述组网标识,确定目标路由器,包括:
确定所述已组网的路由器的广播信号信号强度大于预设阈值的第一路由器集合;
确定所述第一路由器集合中所述组网标识为可组网的第二路由器集合;以及
将所述第二路由器集合中任一路由器作为所述目标路由器。
在某些实施方案中,所述根据所述广播信号的信号强度和所述组网标识,确定目标路由器,包括:
确定所述已组网的路由器的所述组网标识为可组网的第三路由器集合;
确定所述第三路由器集合中,广播信号的信号强度大于预设阈值的第四路由器集合;以及
将所述第四路由器集合中任一路由器作为所述目标路由器。
在某些实施方案中,所述解析所述目标路由器发射的广播信号中的组网标识,并向所述目标路由器发送组网请求,包括:
识别所述组网标识中的自动组网功能数据;
判断所述自动组网功能数据与自身的自动组网功能数据是否匹配;以及
若是,向所述目标路由器发送组网请求。
在某些实施方案中,所述根据所述组网配置信息与所述目标路由 器组网,包括:
解析所述组网配置信息,配置解析后的组网配置信息,以完成组网。
第二方面,本公开涉及多个路由器组网的方法,应用于已组网路由器,包括:
发射广播信号,所述所述广播信号中携带有组网标识,以使接收到所述广播信号的待组网路由器,根据所述广播信号的信号强度和所述组网标识,发送组网请求;以及
接收所述组网请求,并向所述待组网路由器发送组网配置信息,以使接收到所述组网配置信息的所述待组网路由器,根据所述组网配置信息与所述已组网路由器组网。
第三方面,本公开涉及路由器,包括:
接收模块,配置为接收已组网的路由器发射的广播信号,所述广播信号中携带有组网标识;
确定模块,配置为根据所述广播信号的信号强度和所述组网标识,确定目标路由器;
解析模块,配置为解析所述目标路由器发射的广播信号中的组网标识,并向所述目标路由器发送组网请求,以使所述目标路由器在接收到所述组网请求后,向待组网路由器发送组网配置信息;以及
第一组网模块,配置为接收所述组网配置信息,并根据所述组网配置信息与所述目标路由器组网。
第四方面,本公开涉及路由器,包括:
发射模块,配置为发射广播信号,所述所述广播信号中携带有组网标识,以使接收到所述广播信号的待组网路由器,根据所述广播信号的信号强度和所述组网标识,发送组网请求;以及
第二组网模块,配置为接收所述组网请求,并向所述待组网路由器发送组网配置信息,以使接收到所述组网配置信息的所述待组网路由器,根据所述组网配置信息与所述已组网路由器组网。
第五方面,本公开涉及电子设备,包括:处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口和所述存储器通过所述通信总线完成相互间的通信;
所述存储器,配置为存储计算机程序;以及
所述处理器,配置为执行所述存储器中所存储的程序,实现本公开所述的多个路由器组网的方法。
第六方面,本公开涉及计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现本公开所述的多个路由器组网的方法。
在某些实施方案中,本公开实施例提供的该方法,待组网路由器通过接收已组网的路由器发射的广播信号,由于广播信号中携带有组网标识,待组网路由器便可以根据广播信号的信号强度和组网标识,确定目标路由器,从而解析目标路由器发射的广播信号中的组网标识,并向目标路由器发送组网请求,以使目标路由器在接收到组网请求后,向待组网路由器发送组网配置信息,进而接收组网配置信息,并根据组网配置信息与目标路由器组网。如此,待组网路由器可以基于解析的已组网的路由器发射的广播信号,确定可自动组网的目标路由器,并且,由目标路由器向待组网路由器发送组网配置信息,完成组网,此过程中,不需要人为的参与网络配置,待组网路由器可以根据目标路由器发送的组网配置信息自动组网,不必人为输入,避免了人为输入错误率高,需要重复输入的问题,并且,组网过程自动进行,不必人工参与,操作过程简洁,提高了组网的效率。
附图简要说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面 将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开一实施例提供的多个路由器组网的方法的流程图;
图2为本公开另一实施例提供的多个路由器组网的方法的流程图;
图3为本公开一实施例提供的路由器的结构图;
图4为本公开另一实施例提供的路由器的结构图;以及
图5为本公开一实施例提供的电子设备的结构图。
详述
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开提供了多个路由器组网的方法,该方法可以应用于任意一种形式的电子设备中,如路由器中。如图1所示,该多个路由器组网的方法,应用于待组网路由器,包括:
步骤101,接收已组网的路由器发射的广播信号,广播信号中携带有组网标识;
步骤102,根据广播信号的信号强度和组网标识,确定目标路由器;
步骤103,解析目标路由器发射的广播信号中的组网标识,并向目标路由器发送组网请求,以使目标路由器在接收到组网请求后,向待组网路由器发送组网配置信息;以及
步骤104,接收组网配置信息,并根据组网配置信息与目标路由器组网。
在某些实施方案中,已组网的路由器会实时向外发射广播信号,广播信号中携带有组网标识。在待组网的路由器上电后,会接收到已组网的路由器发射的广播信号,从而解析广播信号中的组网标识。
其中,广播信号可以但不限于为蓝牙信号、WiFi信号。组网标识中包括已组网的路由器连接接口的剩余量、该已组网的路由器是否能够支持自动组网以及自动组网功能数据。
在某些实施方案中,待组网路由器接收到各已组网路由器发射的广播信号后,会根据广播信号的信号强度以及组网标识,选择一组网的路由器中的一个作为目标路由器。可以理解的是,已组网的路由器的数量可以为两个以上,各路由器组网完成后,都会向外发射广播信号,以供新的待组网路由器连接组网。
其中,由于已组网的路由器设置在室内的不同位置,因此,在待组网路由器上电后,各已组网的路由器与待组网路由器间的距离不同,因此,对应的已组网路由器发射的信号强度也不同。
在某些实施方案中,步骤102的实现方式有多种,本公开中以以下两种方式进行举例说明。
第一种,先根据信号强度再根据组网标识确定目标路由器。包括:
确定已组网的路由器的广播信号信号强度大于预设阈值的第一路由器集合;确定第一路由器集合中组网标识为可组网的第二路由器集合;将第二路由器集合中任一路由器作为目标路由器。
第二种,先根据组网标识再根据信号强度确定目标路由器。包括:
确定已组网的路由器的组网标识为可组网的第三路由器集合;确定第三路由器集合中,广播信号的信号强度大于预设阈值的第四路由器集合;将第四路由器集合中任一路由器作为目标路由器。
在某些实施方案中,由于路由器的连接接口有限,一个路由器只能连接预设个数的路由器,因此,待组网路由器在接收到已组网额路由器发射的广播信号后,先确定组网标识中已组网的路由器连接接口的剩余量,根据连接接口的剩余量确定对应的已组网的路由器是否可 组网,将可组网的已组网的路由器中,信号强度最强的已组网的路由器作为目标路由器。
在某些实施方案中,待组网路由器确定要连接的目标路由器后,会对目标路由器发射的广播信号中的组网标识进行解析,先判断该目标路由器是否能够支持自动组网,若目标路由器支持自动组网,再进一步识别组网标识中的自动组网功能数据,从而向目标路由器发送组网请求,以进一步完成组网,若该目标路由器不支持自动组网,则在第二路由器集合或第四路由器集合中选择其他已组网的路由器作为目标路由器,并重复上述步骤102至步骤103,直至目标路由器能够实现自动组网。
步骤103包括:
识别组网标识中的自动组网功能数据,判断自动组网功能数据与自身的自动组网功能数据是否匹配,若是,向目标路由器发送组网请求。
在某些实施方案中,待组网路由器确定目标路由器能够自动组网后,便会识别目标路由器的组网标识中的自动组网功能数据,进一步判断目标路由器的自动组网功能数据与其自身的自动组网功能数据是否匹配,在二者匹配时,向目标路由器发送组网请求。
其中,自动组网功能数据是在路由器出厂时设置的或者通过智能终端将匹配的自动组网功能数据导入的。
在某些实施方案中,目标路由器在接收到待组网路由器发送的组网请求后,会自动向该待组网路由器发送组网配置信息。其中,组网配置信息可以但不限于包括组网账号、组网密码、网际互连协议(Internet Protocol IP)地址。
在某些实施方案中,待组网路由器接收到目标路由器发送的组网配置信息后,会根据组网配置信息与目标路由器组网。具体的,待组网路由器解析组网配置信息,将解析后得到的组网配置信息配置在相应的位置,从而完成组网。
本公开的多个路由器组网的方法,待组网路由器通过接收已组网的路由器发射的广播信号,由于广播信号中携带有组网标识,待组网路由器便可以根据广播信号的信号强度和组网标识,确定目标路由器,从而解析目标路由器发射的广播信号中的组网标识,并向目标路由器发送组网请求,以使目标路由器在接收到组网请求后,向待组网路由器发送组网配置信息,进而接收组网配置信息,并根据组网配置信息与目标路由器组网。如此,待组网路由器可以基于解析的已组网的路由器发射的广播信号,确定可自动组网的目标路由器,并且,由目标路由器向待组网路由器发送组网配置信息,完成组网,此过程中,不需要人为的参与网络配置,待组网路由器可以根据目标路由器发送的组网配置信息自动组网,不必人为输入,避免了人为输入错误率高,需要重复输入的问题,并且,组网过程自动进行,不必人工参与,操作过程简洁,提高了组网的效率。并且,在已组网的路由器中,任意一个路由器均有可能作为目标路由器参与组网,摒弃了现有技术中,所有路由器只能与主路由器连接组网的方式,组网更加灵活。
本公开提供了多个路由器组网的方法,该方法可以应用于任意一种形式的电子设备中,如路由器中。如图2所示,该多个路由器组网的方法,应用于待组网路由器,包括:
步骤201,发射广播信号,广播信号中携带有组网标识,以使接收到广播信号的待组网路由器,根据广播信号的信号强度和组网标识,发送组网请求;以及
步骤202,接收组网请求,并向待组网路由器发送组网配置信息,以使接收到组网配置信息的待组网路由器,根据组网配置信息与已组网路由器组网。
可以理解的是,已组网路由器接收到待组网路由器发送的组网请求后,会根据所有已组网的路由器的IP地址,为待组网路由器生成新的IP地址,并作为组网配置信息发送至待组网路由器。
本实施例的具体实现方式可以参照本公开该部分的描述,此处不 再赘述。
基于同一构思,本公开提供了路由器,该路由器的具体实施可参见本公开改部分的描述,重复之处不再赘述,如图3所示,该路由器主要包括:
接收模块301,配置为接收已组网的路由器发射的广播信号,广播信号中携带有组网标识;
确定模块302,配置为根据广播信号的信号强度和组网标识,确定目标路由器;
解析模块303,配置为解析目标路由器发射的广播信号中的组网标识,并向目标路由器发送组网请求,以使目标路由器在接收到组网请求后,向待组网路由器发送组网配置信息;以及
第一组网模块304,配置为接收组网配置信息,并根据组网配置信息与目标路由器组网。
基于同一构思,本公开提供了路由器,该路由器的具体实施可参见本公开该部分的描述,重复之处不再赘述,如图4所示,该路由器主要包括:
发射模块401,配置为发射广播信号,广播信号中携带有组网标识,以使接收到广播信号的待组网路由器,根据广播信号的信号强度和组网标识,发送组网请求;以及
第二组网模块402,配置为接收组网请求,并向待组网路由器发送组网配置信息,以使接收到组网配置信息的待组网路由器,根据组网配置信息与已组网路由器组网。
基于同一构思,本公开提供了电子设备,如图5所示,该电子设备主要包括:处理器501、通信接口502、存储器503和通信总线504,其中,处理器501、通信接口502和存储器503通过通信总线504完成相互间的通信。其中,存储器503中存储有可被至处理器501执行的程序,处理器501执行存储器503中存储的程序,实现如下步骤:
通过接收已组网的路由器发射的广播信号,广播信号中携带有组 网标识;根据广播信号的信号强度和组网标识,确定目标路由器;解析目标路由器发射的广播信号中的组网标识,并向目标路由器发送组网请求,以使目标路由器在接收到组网请求后,向待组网路由器发送组网配置信息;接收组网配置信息,并根据组网配置信息与目标路由器组网。或,
发射广播信号,广播信号中携带有组网标识,以使接收到广播信号的待组网路由器,根据广播信号的信号强度和组网标识,发送组网请求;接收组网请求,并向待组网路由器发送组网配置信息,以使接收到组网配置信息的待组网路由器,根据组网配置信息与已组网路由器组网。
上述电子设备中提到的通信总线504可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。该通信总线504可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口502用于上述电子设备与其他设备之间的通信。
存储器503可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。在某些实施方案中,存储器还可以是至少一个位于远离前述处理器501的存储装置。
上述的处理器501可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等,还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
本公开提供了计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序在计算机上运行时,使得计算机执 行上述实施例中所描述的多个路由器组网的方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机指令时,全部或部分地产生按照本公开实施例所述的流程或功能。该计算机可以时通用计算机、专用计算机、计算机网络或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、微波等)方式向另外一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质(例如软盘、硬盘、磁带等)、光介质(例如DVD)或者半导体介质(例如固态硬盘)等。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精 神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (10)

  1. 多个路由器组网的方法,应用于待组网路由器,包括:
    接收已组网的路由器发射的广播信号,所述广播信号中携带有组网标识;
    根据所述广播信号的信号强度和所述组网标识,确定目标路由器;
    解析所述目标路由器发射的广播信号中的组网标识,并向所述目标路由器发送组网请求,以使所述目标路由器在接收到所述组网请求后,向所述待组网路由器发送组网配置信息;以及
    接收所述组网配置信息,并根据所述组网配置信息与所述目标路由器组网。
  2. 如权利要求1所述的多个路由器组网的方法,其中,所述根据所述广播信号的信号强度和所述组网标识,确定目标路由器,包括:
    确定所述已组网的路由器的广播信号信号强度大于预设阈值的第一路由器集合;
    确定所述第一路由器集合中所述组网标识为可组网的第二路由器集合;以及
    将所述第二路由器集合中任一路由器作为所述目标路由器。
  3. 如权利要求1至2中任一权利要求所述的多个路由器组网的方法,其中,所述根据所述广播信号的信号强度和所述组网标识,确定目标路由器,包括:
    确定所述已组网的路由器的所述组网标识为可组网的第三路由器集合;
    确定所述第三路由器集合中,广播信号的信号强度大于预设阈值的第四路由器集合;以及
    将所述第四路由器集合中任一路由器作为所述目标路由器。
  4. 如权利要求1至3中任一权利要求所述的多个路由器组网的方法,其中,所述解析所述目标路由器发射的广播信号中的组网标识,并向所述目标路由器发送组网请求,包括:
    识别所述组网标识中的自动组网功能数据;
    判断所述自动组网功能数据与自身的自动组网功能数据是否匹配;以及
    若是,向所述目标路由器发送组网请求。
  5. 如权利要求1至4中任一权利要求所述的多个路由器组网的方法,其中,所述根据所述组网配置信息与所述目标路由器组网,包括:
    解析所述组网配置信息,配置解析后的组网配置信息,以完成组网。
  6. 多个路由器组网的方法,应配置为已组网路由器,包括:
    发射广播信号,所述所述广播信号中携带有组网标识,以使接收到所述广播信号的待组网路由器,根据所述广播信号的信号强度和所述组网标识,发送组网请求;以及
    接收所述组网请求,并向所述待组网路由器发送组网配置信息,以使接收到所述组网配置信息的所述待组网路由器,根据所述组网配置信息与所述已组网路由器组网。
  7. 路由器,包括:
    接收模块,配置为接收已组网的路由器发射的广播信号,所述广播信号中携带有组网标识;
    确定模块,配置为根据所述广播信号的信号强度和所述组网标识,确定目标路由器;
    解析模块,配置为解析所述目标路由器发射的广播信号中的组网 标识,并向所述目标路由器发送组网请求,以使所述目标路由器在接收到所述组网请求后,向待组网路由器发送组网配置信息;以及
    第一组网模块,配置为接收所述组网配置信息,并根据所述组网配置信息与所述目标路由器组网。
  8. 路由器,包括:
    发射模块,配置为发射广播信号,所述广播信号中携带有组网标识,以使接收到所述广播信号的待组网路由器,根据所述广播信号的信号强度和所述组网标识,发送组网请求;以及
    第二组网模块,配置为接收所述组网请求,并向所述待组网路由器发送组网配置信息,以使接收到所述组网配置信息的所述待组网路由器,根据所述组网配置信息与所述已组网路由器组网。
  9. 电子设备,包括:处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口和所述存储器通过所述通信总线完成相互间的通信;
    所述存储器,配置为存储计算机程序;以及
    所述处理器,配置为执行所述存储器中所存储的程序,实现权利要求1至5中任一权利要求或权利要求6所述的多个路由器组网的方法。
  10. 计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至5中任一权利要求或权利要求6所述的多个路由器组网的方法。
PCT/CN2021/118758 2020-09-28 2021-09-16 多个路由器组网的方法、路由器、电子设备和存储介质 WO2022063026A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011042915.0A CN112235811B (zh) 2020-09-28 2020-09-28 多个路由器组网的方法、路由器、电子设备和存储介质
CN202011042915.0 2020-09-28

Publications (1)

Publication Number Publication Date
WO2022063026A1 true WO2022063026A1 (zh) 2022-03-31

Family

ID=74121151

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118758 WO2022063026A1 (zh) 2020-09-28 2021-09-16 多个路由器组网的方法、路由器、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN112235811B (zh)
WO (1) WO2022063026A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767709A (zh) * 2022-11-09 2023-03-07 成都长虹网络科技有限责任公司 路由器EasyMesh组网方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235811B (zh) * 2020-09-28 2022-04-01 深圳市微网力合信息技术有限公司 多个路由器组网的方法、路由器、电子设备和存储介质
CN114039863B (zh) * 2021-10-19 2022-06-28 广州鲁邦通物联网科技股份有限公司 一种远程控制的多路由器vpn自动组网方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150055506A1 (en) * 2013-08-23 2015-02-26 Airties Kablosuz Iletisim San. Ve Dis Tic. A.S. Hybrid mesh network
CN106878969A (zh) * 2017-01-04 2017-06-20 普联技术有限公司 无线组网方法、无线组网设备与系统
WO2019075647A1 (zh) * 2017-10-17 2019-04-25 华为技术有限公司 一种网络接入方法及设备
CN111277507A (zh) * 2020-02-13 2020-06-12 上海市共进通信技术有限公司 实现无线终端间信息交换的方法
CN112235811A (zh) * 2020-09-28 2021-01-15 深圳市微网力合信息技术有限公司 多个路由器组网的方法、路由器、电子设备和存储介质

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2870658B1 (fr) * 2004-05-18 2006-08-18 Alcatel Sa Procede de generation et de mise a jour d'une arborescence hierarchisee dans un reseau de communications ad hoc a protocole de routage multicast de type manet
US8107414B2 (en) * 2006-02-14 2012-01-31 At&T Intellectual Property I, L.P. Method and communication device for expanded coverage in a mesh network
US20070268506A1 (en) * 2006-05-19 2007-11-22 Paul Zeldin Autonomous auto-configuring wireless network device
CN103546915B (zh) * 2013-10-25 2017-05-10 新华三技术有限公司 一种无线网络访问控制器控制无线接入点的方法及其装置
EP3035728A1 (en) * 2014-12-16 2016-06-22 Thomson Licensing Method of selectively enabling a wireless access point or repeater
CN104640122A (zh) * 2015-03-09 2015-05-20 北京极科极客科技有限公司 一种路由器与中继设备的无线组网方法
CN106506697A (zh) * 2016-12-23 2017-03-15 上海斐讯数据通信技术有限公司 一种分布式无线接入设备系统的管理方法及系统
CN106658645A (zh) * 2016-12-23 2017-05-10 上海斐讯数据通信技术有限公司 一种基于无线信号强度的自组网连接方法及系统
US10637856B2 (en) * 2017-12-12 2020-04-28 Abb Power Grids Switzerland Ag Wireless router deployment
CN109218678B (zh) * 2018-10-11 2021-03-19 广州市九安智能技术股份有限公司 一种基于mesh技术的无线视频监控自动组网方法和系统
CN111182560B (zh) * 2019-12-27 2023-08-08 普联技术有限公司 无线网络扩展方法、无线网络系统、智能终端及路由器
CN111147315B (zh) * 2019-12-31 2022-10-28 深圳市共进电子股份有限公司 通信方法、扩展器、路由器及存储介质
CN111526510B (zh) * 2020-04-29 2023-02-10 华为技术有限公司 路由器组网方法、系统、子路由器和母路由器
CN111698766B (zh) * 2020-06-18 2020-12-04 深圳市乙辰科技股份有限公司 智能组网方法、装置和可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150055506A1 (en) * 2013-08-23 2015-02-26 Airties Kablosuz Iletisim San. Ve Dis Tic. A.S. Hybrid mesh network
CN106878969A (zh) * 2017-01-04 2017-06-20 普联技术有限公司 无线组网方法、无线组网设备与系统
WO2019075647A1 (zh) * 2017-10-17 2019-04-25 华为技术有限公司 一种网络接入方法及设备
CN111277507A (zh) * 2020-02-13 2020-06-12 上海市共进通信技术有限公司 实现无线终端间信息交换的方法
CN112235811A (zh) * 2020-09-28 2021-01-15 深圳市微网力合信息技术有限公司 多个路由器组网的方法、路由器、电子设备和存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767709A (zh) * 2022-11-09 2023-03-07 成都长虹网络科技有限责任公司 路由器EasyMesh组网方法

Also Published As

Publication number Publication date
CN112235811A (zh) 2021-01-15
CN112235811B (zh) 2022-04-01

Similar Documents

Publication Publication Date Title
WO2022063026A1 (zh) 多个路由器组网的方法、路由器、电子设备和存储介质
EP2988452B1 (en) Topology discovery in a hybrid network
US8446843B2 (en) Rapid local address assignment for wireless communication networks
US6961762B1 (en) Automatic switching network points based on configuration profiles
US20140351445A1 (en) Mac layer transport for wi-fi direct services application service platform without internet protocol
CN108667638B (zh) 一种网络业务配置方法及网络管理设备
US20150312089A1 (en) Method of managing zigbee network in the internet of things
WO2021174888A1 (zh) 数据传输方法、系统、装置、设备及存储介质
WO2016161564A1 (zh) 一种网关设备自动组网的方法及装置
CN111885680A (zh) 一种建立网络连接的方法、系统及核心设备
CN110958593A (zh) 一种蓝牙联网方法、装置、系统及计算机可读介质
CN113452594B (zh) 一种隧道报文的内层报文匹配方法及装置
WO2022016671A1 (zh) 基于wps连接的配网方法、待配网设备及存储介质
WO2021012328A1 (zh) 智能设备与路由器自动连接的方法、路由器及智能设备
WO2020125074A1 (zh) 消息到达率确定方法、装置、数据统计服务器及存储介质
WO2023025180A1 (zh) 管理节点的方法、节点和系统
CN110072267A (zh) 智能音箱联网的方法、装置、存储介质以及智能音箱
CN114153153A (zh) 设备控制方法、系统、装置、电子设备和存储介质
CN107888711B (zh) 一种跨网段设备搜索及通讯方法
US20160050109A1 (en) METHOD AND APPARATUS FOR ADMISSION TO A MoCA NETWORK
US10454897B1 (en) Proxy captive portal traffic for input-limited devices
TWI684378B (zh) 無線資源分配系統和方法
US8924520B2 (en) Method, remote access server and system for configuring a quality of service parameter
CN109981462B (zh) 一种报文处理方法及装置
EP3706373B1 (en) Establishing a vxlan between a wireless access point and a node

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21871397

Country of ref document: EP

Kind code of ref document: A1