CN117715149A - Processing method and device in router connection - Google Patents

Processing method and device in router connection Download PDF

Info

Publication number
CN117715149A
CN117715149A CN202310638025.3A CN202310638025A CN117715149A CN 117715149 A CN117715149 A CN 117715149A CN 202310638025 A CN202310638025 A CN 202310638025A CN 117715149 A CN117715149 A CN 117715149A
Authority
CN
China
Prior art keywords
router
wifi
terminal equipment
message
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310638025.3A
Other languages
Chinese (zh)
Inventor
施磊
李浩然
邵磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310638025.3A priority Critical patent/CN117715149A/en
Publication of CN117715149A publication Critical patent/CN117715149A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a processing method and device in router connection, wherein the method comprises the following steps: a first WIFI connection is established between the router and the terminal equipment based on a first WIFI SSID and a first WIFI password; after the first WIFI connection, the router sends a first message to the terminal equipment; the router receives a second message from the terminal equipment, wherein the second message comprises: the second message is transmitted through the first network bridge and is a message generated by the terminal equipment in response to the first message; when the router determines that the first network bridge does not meet the preset network bridge, the router does not perform equipment online processing on the terminal equipment indicated in the first MAC address, so that the router can prevent the terminal equipment from being online based on the equipment after the first WIFI connection through the preset network bridge, and resource waste in the router is reduced.

Description

Processing method and device in router connection
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a processing method and apparatus in router connection.
Background
With the popularization and development of the internet, wireless fidelity (wireless fidelity, WIFI) technology is widely applied to the scenes of daily life, offices and the like, and the WIFI technology is a wireless local area network technology based on the institute of electrical and electronics engineers (institute of electrical and electronics engineers, IEEE) 802.11 standard.
Under normal conditions, the terminal equipment can be connected with the router WIFI through the two-dimension code corresponding to the WeChat scanning router, and then is connected to the Internet.
However, in the process that the terminal device is connected to the router WIFI, there is a case that router resources are wasted.
Disclosure of Invention
The embodiment of the application provides a processing method and device in router connection, which are used for reducing the condition of resource waste in a router.
In a first aspect, an embodiment of the present application provides a processing method in a router connection, where the processing method is applied to a router, and the router includes a first bridge, and the method includes: a first WIFI connection is established between the router and the terminal equipment based on a first WIFI SSID and a first WIFI password; after the first WIFI connection, the router sends a first message to the terminal equipment, wherein the first message comprises a first IP address of the terminal equipment, and the first IP address and a first gateway address corresponding to a first network bridge are in the same network segment; the router receives a second message from the terminal equipment, wherein the second message comprises: the second message is transmitted through the first network bridge and is a message generated by the terminal equipment in response to the first message; when the router determines that the first network bridge does not meet the preset network bridge, the router does not perform equipment online processing on the terminal equipment indicated in the first MAC address. Therefore, the router can prevent the terminal equipment from being on line based on the equipment after the first WIFI connection through the preset network bridge, so that the resource waste condition in the router is reduced.
The first bridge may be br2, and the preset bridge may be br0.
In one possible implementation, the router further includes: the second bridge, the method further comprising: establishing a second WIFI connection between the router and the terminal equipment based on a second WIFI SSID and a second WIFI password; after the second WIFI is connected, the router sends a third message to the terminal equipment, wherein the third message comprises a second IP address of the terminal equipment, and the second IP address and a second gateway address corresponding to a second network bridge are in the same network segment; the router receives a fourth message from the terminal equipment, wherein the fourth message comprises a second MAC address corresponding to a second IP address, the fourth message is transmitted through a second network bridge, and the fourth message is a message generated by the terminal equipment in response to the third message; and when the router determines that the second network bridge meets the preset network bridge, the router executes equipment online processing on the terminal equipment indicated in the second MAC address. It can be appreciated that the router can distinguish whether the terminal device is accessed through the first WIFI or from the second WIFI, and further perform the device online process on the terminal device accessed by the second WIFI.
Wherein the second bridge may be br0.
In one possible implementation manner, the router includes an IPcheck process, and the router determines that the first bridge does not meet a preset bridge, including: the IPcheck process acquires a first network bridge indicated in a socket of the second message, and determines that the first network bridge does not meet a preset network bridge.
In one possible implementation, the first message is an ARP message, and the second message is a response message corresponding to the ARP message.
In one possible implementation manner, before the second WIFI connection is established between the router and the terminal device based on the second WIFI SSID and the second WIFI password, the method further includes: based on the first WIFI connection, the router receives a first request from the terminal equipment; the router sends a first message to the terminal equipment, wherein the first message comprises: the second WIFI SSID, the second WIFI password and a second gateway address corresponding to the second network bridge. Therefore, the router can establish local area network connection with the terminal equipment through the first WIFI connection, and the WIFI information used for connecting to the internet in the router, such as a second WIFI SSID and a second WIFI password, is returned to the terminal equipment through the local area network connection, so that the router can establish second WIFI connection with the terminal equipment, and the terminal equipment is connected to the network through the second WIFI.
In one possible implementation, after the second WIFI connection is established, the method further includes: the router receives a first data packet from the terminal equipment, wherein the first data packet is a data packet accessed to the network server through the router; the router sends a second data packet to the terminal equipment, wherein the second data packet is a response data packet generated when the network server receives the first data packet. Therefore, after the second WIFI is connected, the terminal equipment can be connected to the network server through the router, so that the internet surfing function is realized.
In one possible implementation, the first WIFI connection is a local area network connection. Therefore, the router can be connected through the local area network to return the WIFI information capable of surfing the Internet, such as a second WIFI SSID and a second WIFI password, to the terminal equipment, and further second WIFI connection with the terminal equipment is achieved.
In a second aspect, an embodiment of the present application provides a processing method in router connection, applied to a terminal device, where the method includes: the terminal equipment establishes a first WIFI connection with the router based on a first WIFI SSID and a first WIFI password; after the first WIFI connection, the terminal equipment receives a first operation; responding to a first operation, displaying a first interface by the terminal equipment, wherein the first interface is a web management interface of the router, and the first interface does not comprise the terminal equipment; the terminal equipment establishes a second WIFI connection with the router based on a second WIFI SSID and a second WIFI password; after the second WIFI connection, the terminal equipment receives a second operation; in response to the second operation, the terminal device displays the terminal device in the first interface.
It can be understood that after the router performs device online on the terminal device, the user can view the terminal device in the first interface, so that the device online process is not performed on the terminal device based on the first WIFI access, and the resource waste of the router can be reduced.
In one possible implementation manner, before the terminal device establishes the second WIFI connection with the router based on the second WIFI SSID and the second WIFI password, the method further includes: based on the first WIFI connection, the terminal equipment sends a first request to the router; the terminal equipment receives a first message from the router, wherein the first message comprises the following components: the second WIFI SSID, the second WIFI password and a second gateway address corresponding to the second network bridge. Therefore, the terminal equipment can establish local area network connection with the router through the first WIFI connection, and acquire WIFI information for connecting to the Internet from the router through the local area network connection, such as a second WIFI SSID and a second WIFI password, and return to the terminal equipment, so that the terminal equipment can establish second WIFI connection with the router and is connected to the network through the second WIFI.
In one possible implementation, the first WIFI connection is a local area network connection. Therefore, the terminal equipment can be connected through the local area network, and the WIFI information which can be used for surfing the Internet, such as a second WIFI SSID and a second WIFI password, can be obtained from the router, so that the second WIFI connection with the router is achieved.
In one possible implementation, after the second WIFI connection is established, the method further includes: the terminal equipment sends a first data packet to the router based on the second WIFI connection, wherein the first data packet is a data packet which accesses the network server through the router; the terminal equipment receives a second data packet from the router, wherein the second data packet is a response data packet generated when the network server receives the first data packet. After the first WIFI is connected, the terminal equipment can achieve the internet surfing function through the router.
In one possible implementation, before the first WIFI connection, the method further includes: the terminal equipment receives a third operation of scanning a target two-dimensional code by a user, wherein the target two-dimensional code is a two-dimensional code corresponding to the router; and responding to the third operation, and acquiring a first WIFI SSID and a first WIFI password by the terminal equipment based on the target two-dimensional code, wherein the first WIFI SSID and the first WIFI password are determined based on the attribute parameters of the router. Therefore, the terminal equipment can firstly establish local area network connection with the router by directly scanning the target two-dimension code preset by the router, automatically acquire the WIFI connection information capable of surfing the Internet through the local area network connection, and then establish the WIFI connection capable of surfing the Internet through the router. The user only needs to scan the target two-dimensional code preset by the router, and the user does not need to actively input information such as a WIFI password and the like to realize automatic connection of the WIFI, so that better connection experience is brought to the user.
In a third aspect, an embodiment of the present application provides a processing device in a router connection, where a communication unit of the router is configured to establish, with a terminal device, a first WIFI connection based on a first WIFI SSID and a first WIFI password; after the first WIFI connection, the communication unit of the router is further configured to send a first message to the terminal device, where the first message includes a first IP address of the terminal device, and the first IP address and a first gateway address corresponding to the first network bridge are in the same network segment; the communication unit of the router is further configured to receive a second packet from the terminal device, where the second packet includes: the second message is transmitted through the first network bridge and is a message generated by the terminal equipment in response to the first message; when the processing unit of the router determines that the first network bridge does not meet the preset network bridge, the processing unit of the router does not perform equipment online processing on the terminal equipment indicated in the first MAC address.
In one possible implementation, the router further includes: the communication unit of the router is also used for establishing a second WIFI connection with the terminal equipment based on a second WIFI SSID and a second WIFI password; after the second WIFI is connected, the communication unit of the router is further used for sending a third message to the terminal equipment, wherein the third message comprises a second IP address of the terminal equipment, and the second IP address and a second gateway address corresponding to the second network bridge are in the same network segment; the communication unit of the router is further configured to receive a fourth packet from the terminal device, where the fourth packet includes a second MAC address corresponding to the second IP address, the fourth packet is transmitted through the second bridge, and the fourth packet is a message generated by the terminal device in response to the third packet; when the processing unit of the router determines that the second network bridge meets the preset network bridge, the processing unit of the router executes equipment online processing on the terminal equipment indicated in the second MAC address.
In one possible implementation manner, the processing unit of the router is configured to obtain a first bridge indicated in the socket of the second packet, and determine that the first bridge does not meet a preset bridge.
In one possible implementation, the first message is an ARP message, and the second message is a response message corresponding to the ARP message.
In one possible implementation, the communication unit of the router is further configured to receive a first request from the terminal device based on the first WIFI connection; the communication unit of the router is further configured to send a first message to the terminal device, where the first message includes: the second WIFI SSID, the second WIFI password and a second gateway address corresponding to the second network bridge.
In one possible implementation, the communication unit of the router is further configured to receive a first packet from the terminal device, where the first packet is a packet that accesses the network server through the router; the communication unit of the router is further configured to send a second data packet to the terminal device, where the second data packet is a response data packet generated when the network server receives the first data packet.
In one possible implementation, the first WIFI connection is a local area network connection.
In a fourth aspect, an embodiment of the present application provides a processing device in a router connection, where a communication unit of a terminal device is configured to establish a first WIFI connection with a router based on a first WIFI SSID and a first WIFI password; after the first WIFI connection, a processing unit of the terminal equipment is used for receiving a first operation; responding to a first operation, and displaying a first interface by a display unit of the terminal equipment, wherein the first interface is a web management interface of the router, and the first interface does not comprise the terminal equipment; the communication unit of the terminal equipment is also used for establishing a second WIFI connection with the router based on a second WIFI SSID and a second WIFI password; after the second WIFI connection, the processing unit of the terminal equipment is further used for receiving a second operation; and the display unit of the terminal device is further used for displaying the terminal device in the first interface in response to the second operation.
In one possible implementation, the communication unit of the terminal device is further configured to send a first request to the router based on the first WIFI connection; the communication unit of the terminal device is further configured to receive a first message from the router, where the first message includes: the second WIFI SSID, the second WIFI password and a second gateway address corresponding to the second network bridge.
In one possible implementation, the first WIFI connection is a local area network connection.
In one possible implementation manner, the communication unit of the terminal device is further configured to send, to the router, a first data packet based on the second WIFI connection, where the first data packet is a data packet that accesses the network server through the router; the communication unit of the terminal device is further configured to receive a second data packet from the router, where the second data packet is a response data packet generated when the network server receives the first data packet.
In one possible implementation manner, the processing unit of the terminal device is further configured to receive a third operation of the user to scan a target two-dimensional code, where the target two-dimensional code is a two-dimensional code corresponding to the router; and responding to the third operation, wherein the processing unit of the terminal equipment is further used for acquiring a first WIFI SSID and a first WIFI password based on the target two-dimensional code, and the first WIFI SSID and the first WIFI password are determined based on the attribute parameters of the router.
In a fifth aspect, embodiments of the present application provide a router, including: a processor and a memory, wherein the memory is for storing a computer program; the processor is configured to invoke and execute a computer program to cause the router to perform the method as in the first aspect and any of its possible implementations.
In a sixth aspect, an embodiment of the present application provides a terminal device, including: a processor and a memory, wherein the memory is for storing a computer program; the processor is adapted to invoke and execute a computer program to cause the terminal device to perform the method as in the second aspect and any of its possible implementations.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when run on a computer, causes the computer to perform the method as in the first aspect and any one of its possible implementations, or to perform the method as in the second aspect and any one of its possible implementations.
In an eighth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the method as in the second aspect and any one of its possible implementations, or to perform the method as in the first aspect and any one of its possible implementations.
In a ninth aspect, the present application provides a chip system comprising one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a wire. The chip system described above may be applied to a terminal device comprising a communication module and a memory. The interface circuit is for receiving signals from the memory of the terminal device and transmitting the received signals to the processor, the signals including computer instructions stored in the memory. The terminal device may perform the method as in the second aspect and any of its possible implementations, or perform the method as in the first aspect and any of its possible implementations, when the processor executes the computer instructions.
It will be appreciated that the advantages of the third to ninth aspects described above may be referred to as those described in the first to second aspects and will not be described here again.
Drawings
Fig. 1 is a schematic view of a scenario provided in an embodiment of the present application;
fig. 2 is a schematic hardware structure of a terminal device according to an embodiment of the present application;
fig. 3 is a schematic hardware structure of a router according to an embodiment of the present application;
fig. 4 is a flow chart of a router connection method according to an embodiment of the present application;
FIG. 5 is a schematic view of an interface for viewing an online device according to an embodiment of the present application;
fig. 6 is a schematic diagram of an interface for viewing an IP address according to an embodiment of the present application;
FIG. 7 is a schematic diagram of another interface for viewing an online device according to an embodiment of the present application;
fig. 8 is a flow chart of a processing method in router connection according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a router connection device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a router connection device according to the second embodiment of the present application;
fig. 11 is a schematic hardware structure of an apparatus according to an embodiment of the present application.
Detailed Description
To facilitate an understanding of the embodiments of the present application, some of the words referred to in this application are first briefly described.
1. Network interface card (network interface card)
A network interface card, which may be referred to simply as a network card, is a piece of computer hardware designed to allow a computer to communicate over a computer network. It is also understood that it is a computer hardware device that allows network connection.
The network card may also be referred to as: a network interface controller, an ethernet card, a local area network card, a network adapter or network adapter card, etc. The embodiments of the present application are not limited in this regard.
The main functions of the network card include data encapsulation and decapsulation, link management, data encoding and decoding, etc. The network card may be an intermediary between a computer or server and a data network. Specifically, the network card, as an interface of the TCP/IP layer, may transmit signals at the physical layer and transmit data packets at the network layer.
It will be appreciated that each network card has a unique serial number called a hardware address (media access control address, MAC address).
Classifying according to a network connection mode, the network card may include: a wired network card and a wireless network card. The cable network card requires a jumper (e.g., ethernet jumper, fiber jumper, etc.) to connect a node to the network; the wireless network card has a small antenna that communicates with the access point using radio waves to access the wireless network. Illustratively, the wired network card may correspond to an ethernet (ethernet) interface (or simply referred to as the eth interface); the wireless network card may correspond to a wireless local area network (wireless local area network, WLAN) interface (or simply wl interface).
2. Network bridge (network bridge)
An apparatus for forwarding frames in a link layer implementing a relay. A bridge may also be understood as a device in the data link layer for forwarding data. A bridge may also be referred to as a bridge.
The network bridge may connect interfaces corresponding to the network cards. Illustratively, the bridge may connect two ethernet interfaces, may connect one ethernet interface to one wireless interface, may connect two wireless interfaces, and so on.
The bridge is a store/forward device connecting two local area networks, and can forward data packets purposefully according to MAC addresses. When a frame is received by the bridge, the bridge may determine the network interface to which the frame is forwarded based on the destination MAC address in the frame. Alternatively, it will be appreciated that a bridge may divide a large LAN into multiple segments, or interconnect more than two LANs into a logical LAN, so that all users on the LAN can access the server.
3. Public network and public network IP address
The public network may be referred to as the internet, a wide area network, an extranet, or the like.
The public network IP address refers to an IP address used in the public network, and the public network IP address may be an independent identity that can directly access to an IP in the internet or can be directly accessed by other IPs. Other terminal devices in the internet can be directly found through the public network IP address or can be found by other terminal devices.
4. Private network and private network IP address
The private network may be a local interconnect network created for a router or switch. The private network may be referred to as an intranet, or a local area network, or the like.
The private network IP address is an IP address used in the local area network, and the private network IP can directly access other IP in the public network but cannot be directly accessed by other IP in the public network.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first value and the second value are merely for distinguishing between different values, and are not limited in their order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b, c may be single or plural.
Exemplary, fig. 1 is a schematic view of a scenario provided in an embodiment of the present application. As shown in fig. 1, the scenario may include: terminal equipment 101 and router 102, terminal equipment 101 may be a mobile phone.
When the user purchases the router 102, the router 102 may need to be configured according to different internet surfing modes, and access the WIFI network by connecting to the router 102 after the configuration is completed. Further, the terminal device 101 may open the setup function, search for a WIFI signal when receiving a WIFI search by a user, establish a connection with the router 102 when receiving any WIFI triggered by the user and inputting a password corresponding to any WIFI, and implement wireless internet surfing.
In the above scenario, the user needs to manage the WIFI password input when connecting to the router. It is difficult to connect to a router when the user does not know the WIFI password. Therefore, the embodiment of the application provides a router connection method, so that the terminal equipment can quickly connect to a first WIFI of a router through scanning the corresponding small program codes of the router to establish local area network communication with the router, and further connect to a second WIFI of the router to realize surfing.
In general, in the case where the terminal device is connected to the first WIFI of the router, the router may perform a device on-line procedure on the terminal device connected to the first WIFI, such as determining that the terminal device is identified, storing device information of the terminal device, and the like. And, in the case that the terminal device is connected to the second WIFI of the router, the router may also perform a device on-line procedure on the terminal device connected to the second WIFI. After the router executes the equipment online flow on the terminal equipment connected to the first WIFI and the second WIFI, a user can see the terminal equipment connected with the first WIFI of the router and the terminal equipment connected with the second WIFI of the router through the web management page corresponding to the router. The device on-line may be understood as a process that the router confirms the identity of the terminal device and stores the device information of the terminal device, for example, the router may allocate memory resources for the terminal device and store the device information when obtaining the MAC address of the terminal device.
It can be understood that the first WIFI connection is used for establishing a local area network connection between the router and the terminal device and obtaining attribute information of the second WIFI, and the first WIFI connection is not capable of realizing the terminal device connection to the internet, so that the router performs an equipment online procedure on the terminal device connected to the first WIFI, which wastes resources of the router.
In view of this, the embodiments of the present application provide a processing method in a router connection, where a router may distinguish, through different bridges, whether a terminal device is accessed through a first WIFI or accessed from a second WIFI, so that a process of processing device online in the router may not execute a device online process on a terminal device accessed by the first WIFI, so as to reduce a situation of resource waste of the router.
Before the router executes equipment on-line, whether the received data packet is a data packet reported by a preset network bridge or not is judged. For example, the router may process a data packet reported through a preset bridge, for example, perform an on-line device procedure on a terminal device indicated by the data packet; or, the terminal equipment indicated in the data packet reported by the preset network bridge is not subjected to equipment online processing.
The terminal device may be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. For example, the terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
In order to better understand the embodiments of the present application, the structure of the terminal device of the embodiments of the present application is described below. Fig. 2 is a schematic hardware structure of a terminal device according to an embodiment of the present application.
As shown in fig. 2, the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, an indicator 192, a camera 193, a display 194, and the like.
One or more of the following may be included in the sensor module 180, for example: pressure sensors, gyroscopic sensors, barometric pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, or bone conduction sensors, among others.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. Wherein the different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge a terminal device, or may be used to transfer data between the terminal device and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other devices, such as AR devices, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. The power management module 141 is used for connecting the charge management module 140 and the processor 110.
The wireless communication function of the terminal device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, and the baseband processor, etc.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Antennas in the terminal device may be used to cover single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G or the like applied on a terminal device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the electromagnetic waves to the modem for demodulation.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wirelesslocal area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), etc. as applied on a terminal device.
The modem may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speakers, receivers, etc.), or displays images or video through a display screen 194. In some embodiments, the modem may be a stand-alone device. In other embodiments, the modem may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The terminal device implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The camera 193 is used to capture still images or video. In some embodiments, the terminal device may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area.
The terminal device may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device can listen to music through the speaker 170A or listen to hands-free calls. A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device picks up a call or voice message, the voice can be picked up by placing the receiver 170B close to the human ear. The earphone interface 170D is used to connect a wired earphone. Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. In the embodiment of the present application, the terminal device may have a microphone 170C.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal device may receive key inputs, generating key signal inputs related to user settings of the terminal device and function control. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
In addition, above the above components, the device also runs an operating system. Such as an iOS operating system, an android operating system, or a Windows operating system, etc. Running applications may be installed on the operating system.
The software system of the terminal device may adopt a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, a cloud architecture, or the like, which will not be described herein.
Fig. 3 is a schematic hardware structure of a router according to an embodiment of the present application. As shown in fig. 3, the router may include: processor 210, wireless communication module 220, memory 230, power module 240, communication interface 250, switch 260, and antenna.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include CPU, GPU, DSP, ISP, AP, NPU, modem processor, controller, video codec, baseband processor, etc. In some embodiments, the different processing units may be separate devices or may be integrated in one or more processors. The CPU is a final execution unit for information processing and program running, and the main work of the CPU comprises processing instructions, execution operations, control time, processing data and the like. The CPU may include a controller, an operator, a cache memory, and a bus for connecting these components.
The wireless communication module 220 may provide Wi-Fi, frequency modulation (frequency modulation, FM), bluetooth, or NFC, among others. The wireless communication module 220 may be one or more devices that integrate at least one communication processing module. The wireless communication module 220 receives electromagnetic waves via an antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 220 may also receive a signal to be transmitted from the processor 210, frequency modulate and amplify the signal, and convert the signal to electromagnetic waves through an antenna to radiate.
Memory 230 may be used to store computer-executable program code that includes computer instructions. The processor 210 performs various functions and data processing by executing instructions stored in the memory 230. The memory 230 may include a stored program area and a stored data area. Wherein the storage area may store application programs required for at least one function, such as generating keys, sending requests, etc. The storage data area may store target data, keys, etc. received from other devices. In addition, the memory 230 may include a high-speed random access memory, a nonvolatile memory, and the like.
The power module 240 may be used to receive power input, store electrical energy, and power the processor 210, the wireless communication module 220, the memory 230, etc.
The communication interface 250 may be used to communicate with external devices such as electronic devices, mobile hard disks, and U-discs. The communication interface 250 may be any possible interface, such as a network interface or a universal serial bus (universal serial bus, USB) interface.
The switch 260 is used to trigger the router to turn on or off.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
The embodiment of the application provides a router connection method, which enables terminal equipment to pull up an applet page by scanning applet codes of a router machine and connect a router WIFI in the applet page based on user operation. Wherein the applet may beApplet in application, it will be appreciated that embodiments of the present application may make full use of +.>Social properties of the application, and convenience properties of the applet, such that the terminal device can pass +. >And (5) scanning the applet codes associated with the router, and realizing automatic shortcut connection of the router WIFI.
Fig. 4 is a schematic flow chart of a router connection method according to an embodiment of the present application. In the corresponding embodiment of fig. 4, the router connection method is applied to a router setting system in which a terminal device and a router are involved.
As shown in fig. 4, the router connection method may include the steps of:
s401, the terminal equipment receives the operation of scanning the applet codes by the user.
The applet code may be attached to the body of the router or may also be attached to a specification or other location corresponding to the router, which is not limited in the embodiment of the present application.
The applet code may be generated by an applet uniform resource locator (uniform resource locator, URL), an attribute parameter of the router, etc. Wherein, the attribute parameters of the router may include: a router Serial Number (SN) or the like is used to uniquely indicate a parameter of the router.
It will be appreciated that since router SN is unique, the applet codes are also unique, i.e. one router may correspond to one applet code. The WIFI carried by the applet code may be non-hidden, that is, the user may search for the WIFI corresponding to the router through the terminal device, and if the WIFI carried by the applet is hidden, the terminal device cannot be successfully connected to the router WIFI.
S402, the terminal equipment acquires an applet URL and a router SN from the applet code.
For example, the terminal device may obtain the applet URL and the router SN by scanning the applet code, and store the applet URL and the router SN in the terminal device.
S403, the terminal equipment pulls the applet page from the server by using the applet URL.
For example, the terminal device may send a request for acquiring the applet page to the server, and the request for acquiring the applet page may include the applet URL.
The server (or referred to as the first server) described in S403 can be understood asApplication public platform for +_ in terminal equipment>The application provides various applet pages. For example, the terminal device may send a request for acquiring the applet page to the server, and the server may acquire page information corresponding to the applet URL and return the page information corresponding to the applet to the terminal device, so that the terminal device may pull the applet page from the server according to the applet URL parsed in the applet code.
S404, the server returns page information corresponding to the applet to the terminal equipment.
The page information corresponding to the applet may include: the page information corresponding to any interface in the applet described in the embodiment of the present application, for example, page information corresponding to the first page of the applet.
For example, after receiving the page information corresponding to the applet, the terminal device may perform operations such as rendering the page information, so that the terminal device may display different interface contents in the applet.
S405, the terminal equipment displays the home page of the applet, and calculates a first WIFI SSID and a first WIFI password by using the SN.
The first WIFI can be the initial WIFI of the router or is called fixed WIFI, and the first WIFI SSID and the first WIFI password are obtained based on SN analysis, so that the first WIFI SSID and the first WIFI password are unique.
It can be appreciated that the first WIFI SSID and the first WIFI password are determined based on the attribute parameters of the router, for example, the router SN, so neither the first WIFI SSID nor the first WIFI password allows the user to modify at will.
S406, the terminal equipment sends a request for connecting the first WIFI of the router to the router.
The request for the first WIFI of the connection router may include: the first WIFI SSID and the first WIFI password.
And S407, the router returns a message for indicating that the first WIFI connection is successful to the terminal equipment.
The first WIFI SSID and the first WIFI password are fixed, so that the terminal equipment can use the first WIFI access router, and the first WIFI SSID and the first WIFI can be used as a bridge to realize local area network connection between the terminal equipment and the router. In this scenario, the router is already set up in the firewall to ensure that the terminal device cannot connect to the internet through the first WIFI connection to the router.
After S407, the terminal device may request to obtain the first IP address from the router, and the router may allocate the first IP address to the terminal device connected to the first WIFI in the network segment corresponding to the first WIFI. Further, the router may also obtain a first media access control address (media access control address, MAC) address of the terminal device based on the first IP address, thereby performing an on-device flow for the terminal device connected to the first WIFI. The process of the router obtaining the first MAC address of the terminal device based on the first IP address may refer to an embodiment corresponding to fig. 8.
The network segment corresponding to the first WIFI may also be understood as a network segment corresponding to br2, for example, the network segment corresponding to the first WIFI may be 192.168.144.0/24.
The first IP address may be: 192.168.144.2, the first IP address may also be understood as a private network IP address or an IP address used in a local area network.
It will be appreciated that the router may initiate a device on-line procedure when determining that the first MAC address of the terminal device is obtained, allocate memory resources for the terminal device, and store device information in a random access memory (random access memory, RAM) and a Read Only Memory (ROM), respectively.
The device information may include, for example, one or more of the following: device information such as a device name, a first IP address of the device, and a first MAC address of the device. In this scenario, the terminal device may display device 501 connected to the router first WIFI in the interface shown in fig. 5.
In the case that the router determines that the terminal device is on line after the first WIFI is connected, the terminal device may display an interface as shown in fig. 5 when receiving an operation of opening a device list by a user, where the device list may include at least one terminal device that establishes a connection with the router. Exemplary, fig. 5 is a schematic view of an interface for viewing an online device according to an embodiment of the present application. In the embodiment corresponding to fig. 5, a terminal device is taken as an example for a mobile phone to be described as an example, which does not limit the embodiments of the present application.
As shown in fig. 5, the interface may display a device list corresponding to the connected device, where the device list may include a device 501, and one or more of the following may be further included in the interface: the IP address of the device 501 (or referred to as the first IP address), the MAC address of the device 501 (or referred to as the first MAC address), the data transmission status of the device 501, the online status of the device 501, whether the device 501 allows surfing the internet, the network speed limit status of the device 501, or the speed limit value corresponding to the device 501, and so on. The IP address of the device 501 may be 192.168.144.2, the MAC address of the device 501 may be 3c:2e:f9:2c:25:73, and the online status of the device 501 may be just online.
Referring to the embodiment corresponding to fig. 5, the network segment corresponding to the first WIFI may be 192.168.144.0/24, so br2 in the router may allocate a first IP address 192.168.144.2 to a terminal device connected to the first WIFI of the router.
The network segment corresponding to the first WIFI may not be consistent with the network segment corresponding to the second WIFI (or understood as the network segment corresponding to br 0). For example, the terminal device may view information in the network segment corresponding to the second WIFI based on the embodiment corresponding to fig. 6.
Fig. 6 is a schematic diagram of an interface for viewing an IP address according to an embodiment of the present application.
As shown in fig. 6, the network segment corresponding to the second WIFI may be 192.168.3.0/24, and the gateway address of the router may be: 192.168.3.1, br0 allows the range of allocated IP addresses to be: 192.168.3.2-192.168.3.254, the lease may be one day.
S408, the terminal equipment sends a request for acquiring the symmetric key to the router.
The request for obtaining the symmetric key may include: the system comprises a router SN and signature information, wherein the signature information is obtained by signing the router SN by using a private key through terminal equipment.
The small program of the terminal equipment can preset the private key of the RSA asymmetric encryption algorithm filled with 1024-bit public key crypto standard (public key cryptography standards, PKCS) #8, and the router routing plug-in process can preset the public key of the RSA asymmetric encryption algorithm filled with 1024-bit PKCS # 8.
S409, the router returns the symmetric key to the terminal equipment.
After receiving the router SN and the signature information in the request for obtaining the symmetric key, the router may decrypt the signature information by using the public key, compare the decrypted information with the router SN, and determine that the request for obtaining the symmetric key is a message sent by the applet in the terminal device after the verification is successful, so as to return the generated symmetric key to the terminal device. The symmetric key may be a 16-bit advanced encryption standard (advanced encryption standard, AES) symmetric encryption key, among others.
Based on the steps shown in S408-S409, a communication link between the subsequent terminal equipment and the router can be encrypted based on the symmetric key so as to ensure the safety of data transmission. For example, the router may encrypt the routing information using the symmetric key, and return the encrypted information to the terminal device through the step shown in S411, where the terminal device may decrypt the message received in S1311.
S410, the terminal equipment sends a request for acquiring the routing information to the router.
The request for obtaining the routing information may be a UDP request, and the terminal device may send the UDP request to the router based on a first gateway address preset in the applet. The first gateway address may be a gateway address corresponding to br2 of the router.
The routing information (or first information) may be information acquired from the router, and the routing information may include one or more of the following: the second WIFI SSID, the second WIFI password, a second gateway address, an internet surfing state, or information indicating whether the router guidance configuration is completed, etc., where the second gateway address may be a gateway address corresponding to br0 of the router.
The internet surfing state may include: network connected, network disconnected, etc.
S411, the router returns route information to the terminal equipment.
And S412, the terminal equipment sends a request for connecting the second WIFI of the router to the router.
The request for the second WIFI of the connection router may include: and the second WIFI SSID and the second WIFI password.
And S413, the router returns a message for indicating that the second WIFI connection is successful to the terminal equipment.
After S413, the terminal device may request to obtain the second IP address from the router, and the router may allocate the second IP address to the terminal device connected to the second WIFI in the network segment corresponding to the second WIFI. Furthermore, the router may also obtain a second MAC address of the terminal device based on the second IP address, so as to execute a device online procedure for the terminal device connected to the second WIFI. The process of the router obtaining the second MAC address of the terminal device based on the second IP address may refer to the corresponding embodiment of fig. 8.
The network segment corresponding to the second WIFI may be understood as a network segment corresponding to br0, for example, the network segment corresponding to the second WIFI may be 192.168.3.0/24.
The second IP address may be: 192.168.3.2 the second IP address can also be understood as a public network IP address, i.e. an IP address used in a public network.
The network segment corresponding to the second WIFI is different from the network segment corresponding to the first WIFI, the second IP address is different from the first IP address, and the first MAC address is different from the second MAC address.
It may be appreciated that the router may initiate a device online procedure when the terminal device accesses the second WIFI, allocate memory resources for the terminal device, and store device information in the RAM and the ROM, respectively, where the device information may include one or more of the following, for example: device information such as a device name, a second IP address of the device, and a second MAC address of the device. In this scenario, the terminal device may display the device 701 connected to the router second WIFI in the interface shown as a in fig. 7.
In the case where the router determines that the terminal device is on-line after the connection of the second WIFI, the terminal device may display an interface as shown by a in fig. 7 when receiving an operation of the user to open the device list. Fig. 7 is a schematic diagram of another interface for viewing an online device according to an embodiment of the present application.
An interface as shown in a in fig. 7, where a list of devices corresponding to the connected devices may be displayed, a device 701 may be included in the list of devices, and one or more of the following may be further included in the interface: the IP address of the device 701 (or referred to as the second IP address), the MAC address of the device 701 (or referred to as the second MAC address), the data transmission condition of the device 701, the online condition of the device 701, the condition of whether the device 701 allows surfing the internet, the network speed limit condition of the device 701, or the speed limit value corresponding to the device 701, and the like. Wherein the IP address of device 701 may be 192.168.3.2 and the MAC address of device 701 may be 3c:2e:f9:2c:25:23.
The device 501 and the device 701 may be the same terminal device, and the device information of the device 501 displayed in the interface shown in fig. 5 may be information generated when the terminal device is connected to the first WIFI of the router, and the device information of the device 701 displayed in the interface shown in a in fig. 7 may be information generated when the terminal device is connected to the second WIFI of the router.
In the interface shown as a in fig. 7, when the terminal device receives the selection box 702 where the user triggers the connection device to be located and switches to the offline device, the terminal device may display the interface shown as b in fig. 7. An interface as shown in b in fig. 7, where a device list corresponding to the offline device may be displayed, and the device list may include: device 501. The interface may further include: the connection situation when the device 501 in the offline state is connected to the first WIFI, for example, includes one or more of the following connection situations: the access time of the device 501 to the first WIFI of the router, the IP address of the device 501, the MAC address of the device 501, the data transmission condition of the device 501, the online condition of the device 501, the condition of whether the device 501 allows surfing the internet, the network speed limit condition of the device 501, or the speed limit value corresponding to the device 501, etc., and the information in the specific connection condition may be referred to the description in the corresponding embodiment of fig. 5, which is not repeated herein.
Referring to the embodiment corresponding to fig. 7, the network segment corresponding to the second WIFI may be 192.168.3.0/24, so the router may allocate a second IP address 192.168.3.2 to the terminal device connected to the second WIFI of the router.
It will be appreciated that when device 701 is connected to the second WIFI of the router, device 501 connected to the first WIFI of the router is down-line and displayed in the interface of the off-line device as shown by b in fig. 7.
The description of the first WIFI and the second WIFI can be understood that, because the user can modify the first WIFI SSID and the first WIFI password under normal conditions, the second WIFI SSID and the second WIFI password are obtained, when the terminal device is connected to the router, the terminal device cannot directly obtain the second WIFI SSID and the second WIFI password after the user modification. Therefore, the terminal equipment can realize the effective access router through the fixed first WIFI SSID and the first WIFI password, and further acquire the second WIFI SSID and the second WIFI password to connect with the router WIFI. The benefit of realizing the local area network communication between the terminal device and the router by using the first WIFI SSID and the first WIFI password can be that the terminal device can realize the local area network communication by using the first WIFI no matter how the second WIFI SSID and the second WIFI password change, and acquire the changed WIFI SSID and the changed WIFI password.
After S413, in the case that the terminal device sends a message to the router based on the second IP address and the second gateway, br0 may forward the message; further, the forward gateway in the firewall of the data link layer can forward the message reported by br0 and forward the message to the network server, the network server can respond to the message, and the generated response message is returned to the terminal equipment through the router, so that the terminal equipment is connected to the internet through the second WIFI.
The terminal device sends the first data packet to the router based on the second WIFI connection, and the router may send the first data packet to the network server; the network server can respond to the received first data packet and generate a second data packet corresponding to the first data packet, and the network data packet can return the second data packet to the terminal device through the router, so that the terminal device can be connected to the internet through the second WIFI. It is understood that the first data packet is a data packet that accesses the network server through the router, and the second data packet is a response data packet that is generated when the network server receives the first data packet.
Based on the description in the corresponding embodiment of fig. 4. The terminal equipment can establish local area network connection with the router through directly scanning a target two-dimensional code preset by the router, automatically acquire WIFI connection information capable of surfing the Internet through the local area network connection, and establish WIFI connection capable of surfing the Internet through the router. The user can realize the automatic connection of the WIFI only by scanning the target two-dimensional code preset by the router without actively inputting information such as the WIFI password, and better connection experience is brought to the user.
On the basis of the embodiment corresponding to fig. 4, since the device on-line procedure executed when the terminal device is connected to the first WIFI of the router wastes the resources of the router, in order to prevent the device on-line procedure of the first WIFI, an IP check (check) process in the router may filter a packet reported when the terminal device accesses the first WIFI of the router.
In the embodiment of the application, the router can mount interfaces accessed to different WIFI on different bridges, and ignore messages uploaded by non-preset bridges, so that the device on-line flow of the terminal device connected with the first WIFI is prevented, and router resources are saved.
Illustratively, the router may pre-create a bridge br2, setting the gateway address of br 2. The subsequent router may implement that the access interface wl1.5 used when connecting the terminal device to the first WIFI of the router is mounted under br 2.
The interface information of wl1.5 may be:
wl1.5 Link encap:Ethernet HWadder 42:AC:73:F7:4C:6B
inet6 addr:fe80::40ac:73ff:fef7:4c6b/64Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500Metric:1
RX packets:413035errors:0dropped:0overruns:0frame:0
TX packets:11234errors:0dropped:0overruns:0carrier:0
collisions:0txqueuelen:1
RX bytes:129107010(123.1MiB)TX bytes:4026025(3.8MiB)
wherein, link encap: ethernet may be understood as an Ethernet, hwader may be understood as a hardware address, inet6 addr may be understood as an inet6 address, scope may be understood as a range, UP may be understood as an on state, BROADCAST may be understood as supporting BROADCAST, RUNNING may be understood as a network cable connected, multi may be understood as supporting MULTICAST, MTU may be understood as a maximum transmission unit, metric may be understood as a number of hops, RX packets may be understood as a received packet, error may be understood as an error, drop may be understood as a discard, overrun may be understood as an overload, frame may be understood as a frame number, TX packets may be understood as a transmitted packet, carrier may be understood as a carrier, TX queue length, number of collisions of packets may be understood as a number of collisions, RX bytes may be understood as a received packet, TX may be understood as a byte may be understood as a frame number). Bytes are sent.
The bridge information for br2 may be as follows:
br2 Link encap:Ethernet HWadder 42:AC:73:F4:4C:6B
inet addr:192.168.144.1Bcast:192.168.144.255Mask:255.255.255.0
inet6 addr:fe80::e486:b7ff:fe5a:45e8/64Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500Metric:1
RX packets:1868errors:0dropped:0overruns:0frame:0
TX packets:2105errors:0dropped:0overruns:0carrier:0
collisions:0txqueuelen:1
RX bytes:202849(198.0KiB)TX bytes:1170304(1.1MiB)
wherein inet addr can be understood as inet address, bcast as broadcast address, mask as subnet Mask.
For example, the interface used when the terminal device connects to the second WIFI may be wl0 or wl1, where wl0 or wl1 is mounted on the bridge br 0.
The bridge information for br0 may be as follows:
br0 Link encap:Ethernet HWadder 42:AC:73:F4:4C:57
inet addr:192.168.3.1Bcast:192.168.3.255Mask:255.255.255.0
inet6 addr:fe80::40ac:73ff:fef7:4c57/64Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500Metric:1
RX packets:7646errors:0dropped:6overruns:0frame:0
TX packets:10560errors:0dropped:0overruns:0carrier:0
collisions:0txqueuelen:1
RX bytes:1463561(1.3MiB)TX bytes:6382365(1.1MiB)
based on the above description of the bridge information of br0 and br2, it can be seen that the corresponding relationship between each interface and the bridge in the router can be seen in table 1.
Table 1 schematic table of correspondence between interfaces and bridges
Referring to Table 1, eth0.3, eth0.4, wl0, and wl1 are interfaces that hang under the br0 bridge, and wl1.5 is an interface that hangs under the br2 bridge.
Terminal devices using eth0.3, eth0.4, wl0 and wl1 may be devices accessing the second WIFI of the router, so br0 may report the messages transmitted in eth0.3, eth0.4, wl0 and wl1 to an application process IPcheak process, and the IPcheck process may execute a normal device online procedure for devices corresponding to a br0 interface.
The terminal device using wl1.5 may be a device accessing the first WIFI of the router, so that reporting the packet transmitted in wl1.5 to the IPcheak process in br2 may be implemented, and the IPcheck process cannot execute a device online procedure on a device corresponding to the br2 interface.
It will be appreciated that the process of determining whether to perform device on-line flow for a device by the IPcheck process in the router may refer to the corresponding embodiment of fig. 8.
Fig. 8 is a schematic flow chart of a processing method in router connection according to an embodiment of the present application.
As shown in fig. 8, the processing method in the router connection may include the steps of:
s801, the terminal equipment sends a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) discovery (discover) instruction to the router.
The DHCP discover command is configured to obtain an IP address allocated when the WIFI device is connected to the router, e.g., obtain a first IP address corresponding to the first WIFI device or obtain a second IP address corresponding to the second WIFI device. The DHCP discover instruction may include: device name, device vendor information, etc.
Illustratively, after S407 (or S413), the terminal device sends a DHCP discover instruction to the router, where the DHCP discover instruction may be sent by the terminal device to the router in a broadcast manner, so as to implement searching for a DHCP server, such as a router, in the network.
S802, the router returns a DHCP offer (refer) instruction to the terminal equipment.
The DHCP offer instruction may include: the router assigns an IP address, such as a first IP address or a second IP address.
In an exemplary case where the terminal device is connected to the first WIFI of the router, when receiving the DHCP discover instruction, the DHCPS application process in the router may determine that a bridge corresponding to the DHCP discover instruction transmitted from wl1.5 is br2, search an unused first IP address from an address pool of br2, and return the first IP address to the terminal device through the DHCP offer instruction.
Under the condition that the terminal equipment is connected to the second WIFI of the router, when receiving the DHCP discover instruction, the DHCPS application process in the router can determine that a network bridge corresponding to the DHCP discover instruction transmitted from wl0 is br0, searches an unused second IP address from an address pool of br0, and returns the second IP address to the terminal equipment through the DHCP offer instruction.
S803, the terminal equipment sends a DHCP request (request) instruction to the router.
The DHCP request instruction is to indicate that an IP address is received, such as a first IP address or a second IP address.
For example, after receiving the DHCP offer command, the terminal device may send a DHCP request command in a broadcast manner, informing all DHCP servers, such as routers, which server itself receives the IP address provided by.
S804, the router sends an Acknowledgement (ACK) instruction to the terminal device.
The ACK instruction may be used to inform the terminal device that the router-assigned IP address may be used.
S805, the router sends an address resolution protocol (address resolution protocol, ARP) message to the terminal device.
The ARP message is used to obtain a MAC address corresponding to the IP address, for example, the ARP message is used to obtain a first MAC address corresponding to the first IP address, or the ARP message is used to obtain a second MAC address corresponding to the second IP address.
S806, the terminal equipment returns a response message corresponding to the ARP message to the router.
The response message corresponding to the ARP message may include: the MAC address corresponding to the IP address, for example, the response message corresponding to the ARP message includes: a first MAC address corresponding to the first IP address, or a second MAC address corresponding to the second IP address.
In a possible implementation manner, the steps shown in S805-S806 may also be periodically performed between the terminal device and the router, so that the router may continuously determine the connection situation of the terminal device.
S807, the router determines a target network bridge indicated in a response message corresponding to the ARP message.
When the router receives the response message corresponding to the ARP message, the IPcheck process may determine, from a recvfrom function interface of a socket, from which bridge the response message corresponding to the ARP message was reported.
The IPcheck process is used for monitoring the ARP message, resolving the corresponding relation between the IP address and the MAC address in the ARP message, and executing the processing such as device on-line and device off-line on the device. For example, the IPcheck process may implement listening to ARP messages, i.e., perform the steps shown in S807-S808 when ARP messages are heard, to determine whether to perform a device on-line procedure for the device.
S808, when the target network bridge is determined to be a preset network bridge, the router executes the equipment online flow; or when the target network bridge is confirmed not to be the preset network bridge, the router ignores the response message corresponding to the ARP message.
The preset bridge may be a bridge that allows the device to be online, for example, the preset bridge may be br0.
In one implementation, in a scenario that the terminal device is connected to the first WIFI of the router, when the IP address is the first IP address, the response message corresponding to the ARP message includes the first MAC address, and the target bridge is br2, an IPcheck process in the router may determine that br2 is not a preset bridge, and further ignore the response message corresponding to the ARP message.
The router ignores the response message corresponding to the ARP message reported by the br2 interface, and thus the router cannot determine the identity of the terminal device, so that the terminal device cannot be online at this time, and therefore the terminal device cannot display the device 501 connected to the first WIFI of the router in the interface shown in fig. 5. It may be appreciated that after S407, the router may complete the determination of whether the device is online through the steps shown in S801-S808, for example, the device online procedure is not performed on the terminal device accessed through the first WIFI.
In another implementation, in a scenario that the terminal device is connected to the second WIFI of the router, when the IP address is the second IP address, and the response message corresponding to the ARP message includes the second MAC address, and the target bridge is br0, the IPcheck process in the router may determine that br0 is a preset bridge, and execute the device online flow.
The router receives a response message corresponding to the ARP message reported by the br0 interface, and further the router can determine the identity of the terminal equipment based on the second MAC address so that the terminal equipment is on line; furthermore, after the device is online, the router may allocate a memory space and store the device information such as the device name, the second IP address, and the second MAC address obtained by the IPcheck process. Since the terminal device is already online at this time, the terminal device can view the device 701 connected to the router second WIFI in the interface shown by a in fig. 7, and cannot view the device 501 in an offline state in the interface shown by b in fig. 7. It may be appreciated that after S413, the router may complete the determination of whether the device is online through the steps shown in S801-S808, for example, performing a device online procedure on the terminal device accessed through the second WIFI.
The router may thus enable identification of the terminal device when the terminal device is connected to the second WIFI, and ignore the terminal device when the router is connected to the first WIFI. This ignoring the case of the terminal device being connected to the first WIFI also facilitates the user to manage the device connected to the router in the interface shown as a or b in fig. 7.
Based on the method, the router can distinguish different bridges transmitting messages when being connected to different WIFI, and filter the messages received at the bridges used after being connected to the first WIFI, so that the router resource waste caused when the router executes equipment on-line to the terminal equipment connected to the first WIFI is reduced.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
The method provided by the embodiment of the present application is described above with reference to fig. 4 to 8, and the device for performing the method provided by the embodiment of the present application is described below.
Fig. 9 is a schematic structural diagram of a processing device in router connection according to an embodiment of the present application, where the processing device in router connection may be a router in an embodiment of the present application, or may be a chip or a chip system in the router.
As shown in fig. 9, the processing apparatus 900 in the router connection may be used in a communication device, a circuit, a hardware component, or a chip, and includes: a processing unit 901 and a communication unit 902. Wherein the processing unit 901 is configured to support the processing device 900 in the router connection to perform the step of information processing; the communication unit is used to support the processing means 900 in the router connection to perform the step of transmitting data and receiving data. The communication unit 902 may be an input or output interface, a pin or circuit, or the like.
In a possible embodiment, the processing means in the router connection may further comprise: and a storage unit 903. The processing unit 901 and the storage unit 903 are connected by a line. The storage unit 903 may include one or more memories, which may be one or more devices, devices in a circuit, for storing programs or data. The storage unit 903 may exist independently and be connected to the processing unit 901 provided in the processing device in the router connection through a communication line. The storage unit 903 may also be integrated with the processing unit 901.
The storage unit 903 may store computer-executed instructions of the method in the router to cause the processing unit 901 to execute the method in the above-described embodiment. The storage unit 903 may be a register, a cache, a RAM, or the like, and the storage unit 903 may be integrated with the processing unit 901. The storage unit 903 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the storage unit 903 may be independent of the processing unit 901.
Fig. 10 is a schematic structural diagram two of a processing device in router connection provided in the embodiment of the present application, where the processing device in router connection may be a terminal device in the embodiment of the present application, or may be a chip or a chip system in the terminal device.
As shown in fig. 10, a processing apparatus 1000 in a router connection may be used in a communication device, a circuit, a hardware component, or a chip, the processing apparatus in a router connection including: a display unit 1001, a processing unit 1002, and a communication unit 1003. Wherein the display unit 1001 is used for supporting the step of displaying performed by the processing apparatus 1000 in the router connection; the processing unit 1002 is configured to support the step of executing information processing by the processing apparatus 1000 in the router connection; the communication unit is used to support the processing device 1000 in the router connection to perform the step of transmitting data and receiving data. The communication unit 1003 may be an input or output interface, pin or circuit, etc.
In a possible embodiment, the processing means in the router connection may further comprise: a storage unit 1004. The processing unit 1002 and the storage unit 1004 are connected by a line. The storage unit 1004 may include one or more memories, which may be one or more devices, devices in a circuit, for storing programs or data. The storage unit 1004 may exist independently and be connected to the processing unit 1002 provided in the processing device in the router connection through a communication line. The memory unit 1004 may also be integrated with the processing unit 1002.
The storage unit 1004 may store computer-executed instructions of the method in the terminal device to cause the processing unit 1002 to execute the method in the above-described embodiment. The storage unit 1004 may be a register, a cache, a RAM, or the like, and the storage unit 1004 may be integrated with the processing unit 1002. The storage unit 1004 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the storage unit 1004 may be independent of the processing unit 1002.
Fig. 11 is a schematic hardware structure of a device provided in the embodiment of the present application, as shown in fig. 11, where the device may be a router or may also be a terminal device, and the device may include a processor 1101, a communication line 1104, and at least one communication interface (illustrated in fig. 11 by taking a communication interface 1103 as an example).
The processor 1101 may be a general purpose central processing unit (central processing unit, CPU), microprocessor, application Specific Integrated Circuit (ASIC), or one or more integrated circuits for controlling the execution of the programs of the present application.
Communication line 1104 may include circuitry for communicating information between the components described above.
Communication interface 1103 uses any transceiver-like device for communicating with other devices or communication networks, such as ethernet, wireless local area network (wireless local area networks, WLAN), etc.
Possibly, the device may also comprise a memory 1102.
The memory 1102 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc-only memory (compact disc read-only memory) or other optical disk storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via communication line 1104. The memory may also be integrated with the processor.
The memory 1102 is used for storing computer-executable instructions for executing the embodiments of the present application, and the processor 1101 controls the execution. The processor 1101 is configured to execute computer-executable instructions stored in the memory 1102, thereby implementing the methods provided by the embodiments of the present application.
Possibly, the computer-executed instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in the embodiments of the present application.
In a particular implementation, the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 of FIG. 11, as an embodiment.
In a particular implementation, as one embodiment, a device may include multiple processors, such as processor 1101 and processor 1105 in FIG. 11. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), or semiconductor medium (e.g., solid state disk, SSD)) or the like.
Embodiments of the present application also provide a computer-readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
As one possible design, the computer-readable medium may include compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk memory; the computer readable medium may include disk storage or other disk storage devices. Moreover, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital versatile disc (digital versatiledisc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (14)

1. A method of processing in a router connection, for application to the router, the router including a first bridge therein, the method comprising:
a first WIFI connection is established between the router and the terminal equipment based on a first WIFI SSID and a first WIFI password;
after the first WIFI connection, the router sends a first message to the terminal equipment, wherein the first message comprises a first IP address of the terminal equipment, and the first IP address and a first gateway address corresponding to the first network bridge are in the same network segment;
the router receives a second message from the terminal equipment, wherein the second message comprises: the second message is a message which is transmitted through the first network bridge and generated by the terminal equipment in response to the first message;
And when the router determines that the first network bridge does not meet the preset network bridge, the router does not perform equipment online processing on the terminal equipment indicated in the first MAC address.
2. The method of claim 1, wherein the router further comprises: a second bridge, the method further comprising:
a second WIFI connection is established between the router and the terminal equipment based on a second WIFI SSID and a second WIFI password;
after the second WIFI connection, the router sends a third message to the terminal equipment, wherein the third message comprises a second IP address of the terminal equipment, and the second IP address and a second gateway address corresponding to the second network bridge are in the same network segment;
the router receives a fourth message from the terminal equipment, wherein the fourth message comprises a second MAC address corresponding to the second IP address, the fourth message is transmitted through the second network bridge, and the fourth message is a message generated by the terminal equipment in response to the third message;
and when the router determines that the second network bridge meets the preset network bridge, the router executes equipment online processing on the terminal equipment indicated in the second MAC address.
3. The method according to claim 1 or 2, wherein the router includes an IPcheck process, and wherein the router determines that the first bridge does not satisfy a preset bridge comprises: and the IPcheck process acquires the first network bridge indicated in the socket of the second message, and determines that the first network bridge does not meet the preset network bridge.
4. A method according to any one of claims 2-3, wherein the first message is an ARP message and the second message is a response message corresponding to the ARP message.
5. The method of claim 2, wherein prior to establishing a second WIFI connection between the router and the terminal device based on a second WIFI SSID and a second WIFI password, the method further comprises:
based on the first WIFI connection, the router receives a first request from the terminal device;
the router sends a first message to the terminal equipment, wherein the first message comprises: the second WIFI SSID, the second WIFI password, and the second gateway address.
6. The method of claim 2 or 5, wherein after the establishing the second WIFI connection, the method further comprises:
The router receives a first data packet from the terminal equipment, wherein the first data packet is a data packet for accessing a network server through the router;
and the router sends a second data packet to the terminal equipment, wherein the second data packet is a response data packet generated when the network server receives the first data packet.
7. The method of any of claims 1-6, wherein the first WIFI connection is a local area network connection.
8. A method of processing in a router connection, for application to a terminal device, the method comprising:
the terminal equipment establishes a first WIFI connection with the router based on a first WIFI SSID and a first WIFI password;
after the first WIFI connection, the terminal equipment receives a first operation;
responding to the first operation, the terminal equipment displays a first interface, wherein the first interface is a web management interface of the router, and the terminal equipment is not included in the first interface;
the terminal equipment establishes a second WIFI connection with the router based on a second WIFI SSID and a second WIFI password;
after the second WIFI connection, the terminal equipment receives a second operation;
And responding to the second operation, and displaying the terminal equipment in the first interface by the terminal equipment.
9. The method of claim 8, wherein before the terminal device establishes a second WIFI connection with the router based on a second WIFI ssid and a second WIFI password, the method further comprises:
based on the first WIFI connection, the terminal equipment sends a first request to the router;
the terminal equipment receives a first message from the router, wherein the first message comprises the following components: and the second WIFISSID, the second WIFI password and a second gateway address corresponding to a second network bridge.
10. The method according to claim 8 or 9, wherein the first WIFI connection is a local area network connection.
11. The method according to any one of claims 8-10, wherein after said establishing a second WIFI connection, the method further comprises:
the terminal equipment sends a first data packet to the router based on the second WIFI connection, wherein the first data packet is a data packet which accesses a network server through the router;
and the terminal equipment receives a second data packet from the router, wherein the second data packet is a response data packet generated when the network server receives the first data packet.
12. The method of any of claims 8-11, wherein prior to the first WIFI connection, the method further comprises:
the terminal equipment receives a third operation of scanning a target two-dimensional code by a user, wherein the target two-dimensional code is a two-dimensional code corresponding to the router;
and responding to the third operation, the terminal equipment acquires the first WIFI SSID and the first WIFI password based on the target two-dimensional code, wherein the first WIFI SSID and the first WIFI password are determined based on the attribute parameters of the router.
13. A router, comprising: a processor and a memory, wherein,
the memory is used for storing a computer program;
the processor is configured to invoke and execute the computer program to cause the router to perform the method of any of claims 1 to 8.
14. A computer readable storage medium for storing a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 8 or to perform the method of any one of claims 9 to 12.
CN202310638025.3A 2023-05-31 2023-05-31 Processing method and device in router connection Pending CN117715149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310638025.3A CN117715149A (en) 2023-05-31 2023-05-31 Processing method and device in router connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310638025.3A CN117715149A (en) 2023-05-31 2023-05-31 Processing method and device in router connection

Publications (1)

Publication Number Publication Date
CN117715149A true CN117715149A (en) 2024-03-15

Family

ID=90146753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310638025.3A Pending CN117715149A (en) 2023-05-31 2023-05-31 Processing method and device in router connection

Country Status (1)

Country Link
CN (1) CN117715149A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639354A (en) * 2013-11-14 2015-05-20 腾讯科技(深圳)有限公司 Router management method and device
CN105227346A (en) * 2015-08-24 2016-01-06 上海斐讯数据通信技术有限公司 A kind of method for configuring routers based on scanning Quick Response Code
CN108966229A (en) * 2018-06-27 2018-12-07 上海康斐信息技术有限公司 A kind of method and terminal logging in wireless router
CN111405595A (en) * 2020-03-20 2020-07-10 太仓市同维电子有限公司 Router configuration and maintenance method based on WeChat small program
CN111654863A (en) * 2020-05-19 2020-09-11 惠州高盛达科技有限公司 Internet of things network distribution method and system based on double AP independent network bridges
CN115987705A (en) * 2022-12-06 2023-04-18 海尔优家智能科技(北京)有限公司 Equipment network distribution method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639354A (en) * 2013-11-14 2015-05-20 腾讯科技(深圳)有限公司 Router management method and device
WO2015070762A1 (en) * 2013-11-14 2015-05-21 Tencent Technology (Shenzhen) Company Limited Router management method and apparatus
CN105227346A (en) * 2015-08-24 2016-01-06 上海斐讯数据通信技术有限公司 A kind of method for configuring routers based on scanning Quick Response Code
CN108966229A (en) * 2018-06-27 2018-12-07 上海康斐信息技术有限公司 A kind of method and terminal logging in wireless router
CN111405595A (en) * 2020-03-20 2020-07-10 太仓市同维电子有限公司 Router configuration and maintenance method based on WeChat small program
CN111654863A (en) * 2020-05-19 2020-09-11 惠州高盛达科技有限公司 Internet of things network distribution method and system based on double AP independent network bridges
CN115987705A (en) * 2022-12-06 2023-04-18 海尔优家智能科技(北京)有限公司 Equipment network distribution method and device

Similar Documents

Publication Publication Date Title
CN110519131B (en) Method for controlling equipment and terminal
JP6897566B2 (en) Equipment and method
RU2612604C2 (en) Method and device for obtaining access to wireless network
EP4007374B1 (en) Information processing method and apparatus, communication device and storage medium
KR20200006104A (en) Session Management Method and Device
CN113014483B (en) Multi-path transmission method and equipment
WO2022143071A1 (en) Connection establishment method and electronic device
CN113038627B (en) File sharing method, mobile device and computer storage medium
US11792886B2 (en) Method for accessing network by network node, and electronic equipment
WO2022068513A1 (en) Wireless communication method and terminal device
CN117715149A (en) Processing method and device in router connection
CN108307683B (en) Communication method, micro base station controller, terminal and system
CN108990039B (en) Data transmission method and related device
CN114257631A (en) Data interaction method, device, equipment and storage medium
CN113114798A (en) Method for acquiring Internet protocol IP address and electronic equipment
CN113891310A (en) Cooperative communication method, user equipment and system
CN116743357B (en) Key storage method and device
CN114095524B (en) Method and device for transmitting message, central hub device and readable storage medium
WO2023231883A1 (en) Method for repairing wlan information, main configurator, and internet of things device and system
WO2024001549A1 (en) Address configuration method and electronic device
CN114531472B (en) Communication method and electronic equipment
WO2024093597A1 (en) Method for configuring a plurality of devices, device, and system
CN118353900A (en) Network access method and electronic equipment
CN117715150A (en) Network connection method and related device
CN118102321A (en) Method, equipment and system for configuring network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination