CN108901016A - A kind of bridge joint matching method, terminal, system, terminal device and medium - Google Patents

A kind of bridge joint matching method, terminal, system, terminal device and medium Download PDF

Info

Publication number
CN108901016A
CN108901016A CN201811073843.9A CN201811073843A CN108901016A CN 108901016 A CN108901016 A CN 108901016A CN 201811073843 A CN201811073843 A CN 201811073843A CN 108901016 A CN108901016 A CN 108901016A
Authority
CN
China
Prior art keywords
access point
terminal
pairing
message
bridge
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.)
Granted
Application number
CN201811073843.9A
Other languages
Chinese (zh)
Other versions
CN108901016B (en
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201811073843.9A priority Critical patent/CN108901016B/en
Publication of CN108901016A publication Critical patent/CN108901016A/en
Application granted granted Critical
Publication of CN108901016B publication Critical patent/CN108901016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

This application discloses a kind of bridge joint matching method, terminal, system, terminal device and media, belong to field of communication technology, this method includes, receive the equipment message of at least one access point terminal transmission, and equipment message based on the received, in at least one access point terminal, an access point terminal is filtered out as main equipment;And the access point pairing code for including in the equipment message of main equipment is obtained, and after configuring above-mentioned access point pairing code for local bridge joint pairing code update, bridge joint pairing is carried out based on bridge joint pairing code and main equipment.This way it is not necessary to carry out pairing code configuration manually, configuration step is simplified, resource is saved, improves efficiency.

Description

Bridging pairing method, terminal, system, terminal device and medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a bridge pairing method, a terminal, a system, a terminal device, and a medium.
Background
A Wireless Distribution System (WDS) is a System that realizes communication between Wireless base stations. In the application of a home wireless network, the WDS can realize the extension of the coverage of the wireless network, so that the coverage of wireless signals is wider, and people can use the wireless network more conveniently. The WDS mainly includes two kinds of bridge devices, that is, an Access Point terminal using an Access Point (AP) mode and a wireless bridge mode terminal using a wireless bridge mode, where the Access Point terminal and the wireless bridge mode terminal may perform one-to-one bridge pairing or one-to-many bridge pairing.
In the prior art, when a WDS system implements bridge pairing, first, mode setting and pairing code setting are performed for each bridge device respectively, usually through a device management web page, a control platform, or an application program, and then, bridge pairing is performed based on the pairing code.
However, in practical applications, multiple bridge devices are often required to perform bridging pairing, and by adopting the above method, the configuration steps are complicated, and a large amount of human resources and time cost are consumed.
Disclosure of Invention
The embodiment of the application provides a bridging pairing method, a terminal, a system, terminal equipment and a medium, which are used for simplifying configuration steps, reducing resource waste and improving bridging pairing efficiency when bridging pairing is performed between an access point terminal and a wireless bridging mode terminal.
In one aspect, a bridge pairing method is provided, including:
a wireless bridge mode terminal receives an equipment message sent by at least one access point terminal, wherein the equipment message at least comprises an access point pairing code;
screening out one access point terminal from at least one access point terminal as a main device according to the received device message;
acquiring an access point pairing code contained in the equipment message of the main equipment, and updating and configuring a local bridging pairing code into the access point pairing code;
performing bridge pairing with the master device based on the bridge pairing code.
Therefore, the configuration steps of the pairing codes are simplified, the waste of manpower and time resources is reduced, and the efficiency of bridge pairing of batch bridge devices is improved.
Preferably, the receiving the device message sent by at least one access point terminal specifically includes:
monitoring a specified multicast address, judging whether a device message sent by an access point terminal is monitored within a preset time, and if so, receiving the device message sent by the access point terminal;
otherwise, sending a query message to the multicast address, and receiving a device message returned by the access point terminal based on the monitored query message.
Preferably, according to the received device message, screening out one access point terminal as the master device from at least one access point terminal, specifically including:
judging whether at least one access point terminal only comprises one access point terminal, if so, directly determining one access point terminal as a main device;
otherwise, screening one access point terminal from at least one access point terminal according to a preset screening condition, and determining the screened access point terminal as a main device.
Preferably, according to a preset screening condition, screening out one access point terminal from at least one access point terminal includes:
acquiring a physical address contained in the received equipment message, and screening out an access point terminal with the largest physical address from at least one access point terminal; or,
and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the minimum physical address from at least one access point terminal.
Preferably, after performing bridge pairing with the master device based on the bridge pairing code, the method further includes:
determining to receive an unloading message which is sent by the main equipment and used for representing unloading of the access point terminal, and receiving equipment messages sent by other access point terminals again;
and based on the device messages sent by other access point terminals, selecting a new main device for bridge pairing again.
Preferably, after performing bridge pairing with the master device based on the bridge pairing code, the method further includes:
periodically judging whether a device message sent by the main device is received, if so, keeping the current bridging pairing state;
and if not, receiving the equipment messages sent by other access point terminals again, and selecting a new main equipment again for bridging pairing based on the equipment messages sent by other access point terminals.
In one aspect, a bridge pairing method is provided, including:
the access point terminal sends a device message at least containing an access point pairing code to the wireless network bridge mode terminal, so that when the wireless network bridge mode terminal determines that the access point terminal is a main device according to the received device message, the wireless network bridge mode terminal updates and configures the bridging pairing code of the wireless network bridge mode terminal into the access point pairing code contained in the device message;
and pairing with the wireless network bridge mode terminal based on the access point pairing code.
Preferably, the sending the device message to the wireless bridge mode terminal specifically includes:
sending a device message to a specified multicast address according to a preset time length; or,
and monitoring the multicast address, and returning a device message to the wireless network bridge mode terminal based on the monitored query message sent by the wireless network bridge mode terminal.
Preferably, after pairing with the wireless bridge mode terminal based on the access point pairing code, the method further includes:
and sending an unloading message for representing unloading of the access point terminal to the wireless bridge mode terminal based on the received user instruction for representing unloading of the access point terminal, so that the wireless bridge mode terminal receives the equipment messages sent by other access point terminals again based on the received unloading message, and selects a new main equipment again for bridge pairing based on the equipment messages sent by other access point terminals.
In one aspect, there is provided a wireless bridge mode terminal, including:
a receiving unit, configured to receive a device message sent by at least one access point terminal, where the device message at least includes an access point pairing code;
a screening unit, configured to screen out, from at least one access point terminal, one access point terminal as a master device according to the received device message;
a configuration unit, configured to obtain an access point pairing code included in the device message of the master device, and update and configure a local bridging pairing code as the access point pairing code;
and the first pairing unit is used for carrying out bridge pairing with the main equipment based on the bridge pairing code.
Preferably, the receiving unit is specifically configured to:
monitoring a specified multicast address, judging whether a device message sent by an access point terminal is monitored within a preset time, and if so, receiving the device message sent by the access point terminal;
otherwise, sending a query message to the multicast address, and receiving a device message returned by the access point terminal based on the monitored query message.
Preferably, the screening unit is specifically configured to:
judging whether at least one access point terminal only comprises one access point terminal, if so, directly determining one access point terminal as a main device;
otherwise, screening one access point terminal from at least one access point terminal according to a preset screening condition, and determining the screened access point terminal as a main device.
Preferably, the screening unit is specifically configured to:
acquiring a physical address contained in the received equipment message, and screening out an access point terminal with the largest physical address from at least one access point terminal; or,
and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the minimum physical address from at least one access point terminal.
Preferably, the first pairing unit is further configured to:
after the bridge pairing code and the main equipment are subjected to bridge pairing, determining that an unloading message which is sent by the main equipment and used for representing unloading of the access point terminal is received, and receiving equipment messages sent by other access point terminals again;
and based on the device messages sent by other access point terminals, selecting a new main device for bridge pairing again.
Preferably, the first pairing unit is further configured to:
after bridging pairing is carried out on the main equipment based on the bridging pairing code, periodically judging whether equipment information sent by the main equipment is received or not, and if yes, keeping the current bridging pairing state;
and if not, receiving the equipment messages sent by other access point terminals again, and selecting a new main equipment again for bridging pairing based on the equipment messages sent by other access point terminals.
In one aspect, an access point terminal is provided, including:
a sending unit, configured to send a device message at least including an access point pairing code to the wireless bridge mode terminal, so that when the wireless bridge mode terminal determines that the access point terminal is a master device according to the received device message, the wireless bridge mode terminal updates and configures the bridging pairing code of the wireless bridge mode terminal as the access point pairing code included in the device message;
and the second pairing unit is used for pairing with the wireless bridge mode terminal based on the access point pairing code.
Preferably, the sending unit is specifically configured to:
sending a device message to a specified multicast address according to a preset time length; or,
and monitoring the multicast address, and returning a device message to the wireless network bridge mode terminal based on the monitored query message sent by the wireless network bridge mode terminal.
Preferably, the second pairing unit is further configured to:
after the wireless bridge mode terminal is paired with the wireless bridge mode terminal based on the access point pairing code, based on a received user instruction for representing the unloading of the access point terminal, unloading information for representing the unloading of the access point terminal is sent to the wireless bridge mode terminal, so that the wireless bridge mode terminal receives equipment information sent by other access point terminals again based on the received unloading information, and selects new main equipment for bridging and pairing again based on the equipment information sent by other access point terminals.
In one aspect, a bridge pairing system is provided, which includes at least one access point terminal of any kind described above and a wireless bridge mode terminal of any kind described above.
In one aspect, a terminal device is provided, which includes at least one processing unit and at least one storage unit, where the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes any of the steps of the bridge pairing method.
In one aspect, a computer-readable medium is provided, which stores a computer program executable by a terminal device, when the program is run on the terminal device, to cause the terminal device to perform the steps of any of the bridge pairing methods described above.
In a bridging pairing method, a terminal, a system, a terminal device and a medium provided by the embodiment of the application, a device message sent by at least one access point terminal is received, wherein the device message at least comprises an access point pairing code; screening out one access point terminal from at least one access point terminal as a main device according to the received device message; acquiring an access point pairing code contained in the equipment message of the main equipment, and updating and configuring a local bridging pairing code into the access point pairing code; performing bridge pairing with the master device based on the bridge pairing code. Therefore, the wireless bridge mode terminal can set the self bridge pairing code according to the equipment information of the access point terminal, and carry out bridge pairing with the access point terminal (namely the determined main equipment) according to the bridge pairing code without manually carrying out pairing code configuration, thereby simplifying configuration steps, saving resources and improving bridge pairing efficiency.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart illustrating an implementation of a bridge pairing method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a wireless bridge mode terminal according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an ap terminal in an embodiment of the present application.
Detailed Description
In order to simplify configuration steps and improve bridging pairing efficiency when bridging pairing is performed between bridge devices, embodiments of the present application provide a bridging pairing method, terminal, system, terminal device, and medium.
In the embodiment of the application, before bridge pairing of the network bridge device is implemented, bridge mode setting is performed on each network bridge device through keys and the like, and the network bridge device is set to be in a wireless bridge mode or an access point mode.
Fig. 1 is a flowchart illustrating an implementation of a bridge pairing method according to the present application. The specific implementation flow of the method is as follows:
step 100: the user accesses each bridge device to the same local area network.
Specifically, the user accesses each access point terminal to be bridged and paired and the wireless bridge mode terminal to the same local area network. Each network bridge device is configured with a corresponding Internet Protocol (IP) Address for communication transmission.
Step 101: and the access point terminal sends the equipment message to the designated multicast address according to the preset time length.
Specifically, the ap terminal sends a "ssdp: alive" message, i.e., a device message, to a designated multicast address (e.g., 239.255.255.250: 1900) using a Notification (NOTIFY) method according to a preset duration.
The bridge devices transmit through a designated transmission Protocol, and optionally, the transmission Protocol may be a Simple Service Discovery Protocol (SSDP).
In the examples of the present application, only SSDP will be described as an example. The SSDP protocol is an application protocol, and is one of core protocols constituting the universal plug and play technology. SSDP provides a mechanism for discovering devices within a local network. The control point can inquire the service equipment (such as an access point terminal) providing the specified service in the local area network according to the requirement of the control point through the SSDP. The service device may also notify each control point in the local area network where the service device is located through the SSDP. The control point refers to a device that receives a service, the control point may be a wireless bridge mode terminal, the service device refers to a device that provides a service, and the service device may be an access point terminal.
The device message specifies a preset duration (e.g., 3s) via a Hypertext transfer protocol (HTTP) protocol header field CACHE-CONTROL. The service device retransmits the device message before the preset time length is reached. The LOCATION field in the device message includes a Uniform Resource Locator (URL) of the ap terminal, and the URL is set with device information of the ap terminal. The device message at least comprises an access point pairing code, and can also comprise information such as a physical address and a device operation mode.
Therefore, the wireless bridge mode terminal and the access point terminal monitor the multicast address, through the SSDP protocol, the wireless bridge mode terminal can inquire the service equipment providing the specified service through the multicast address in the local area network, and the access point terminal can also inform each wireless bridge mode terminal in the local area network through the multicast address.
Step 102: the wireless bridge mode terminal judges whether the equipment message sent by the access point terminal is not received within a preset time length, if so, step 103 is executed, otherwise, step 105 is executed.
Specifically, since the SSDP Protocol belongs to a User Datagram Protocol (UDP), there is a possibility of data loss, and therefore, the wireless bridge mode terminal may not receive the device message sent by the ap terminal within a preset time period.
Step 103: the wireless bridge mode terminal sends a query message to the specified multicast address.
Specifically, the wireless bridge mode terminal sends a "ssdp: discover" message, i.e., a query message, to the multicast address using a SEARCH (M-SEARCH) method.
The ST field in the query message is used to set a specific service query target, which may be information such as a bridge mode and a version number of the device.
Step 104: and the access point terminal acquires the inquiry message through the multicast address and sends the equipment message to the wireless bridge mode terminal.
Specifically, first, the access point terminal monitors the multicast address, and when determining that the query message sent by the wireless bridge mode terminal is received, analyzes the query message.
Then, the access point terminal determines that the access point terminal can be a service query target according to the service query target obtained by analysis, acquires the IP address of the wireless bridge mode terminal contained in the query message, and sends a query response message to the wireless bridge mode terminal in a unicast mode according to the IP address, wherein the query response message is also a device message.
Therefore, the access point terminal can monitor the query message of the wireless bridge mode terminal through the multicast address, and return the equipment message to the wireless bridge mode terminal in a unicast mode when determining that the access point terminal is the service query target of the wireless bridge mode terminal.
Step 105: the wireless bridge mode terminal receives the device message sent by at least one access point terminal and determines the main device based on the received device message.
In particular, a wireless bridge mode terminal may receive device messages sent by one or more access point terminals.
If the wireless bridge mode terminal only receives the equipment message sent by one access point terminal, the access point equipment is directly determined as the main equipment.
And if the wireless bridge mode terminal receives the equipment messages sent by the plurality of access point terminals, screening the access point terminals according to preset conditions, and taking the screened access point terminals as main equipment.
Optionally, when the access point terminal is screened, the following modes may be adopted:
the first mode is as follows: and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the maximum physical address.
The second way is: and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the minimum physical address.
Thus, when a plurality of access point terminals exist in a local area network, one access point terminal is screened out as a master device by the screening condition.
Step 106: and the wireless bridge mode terminal acquires the access point pairing code in the equipment message of the main equipment and sets the local bridge pairing code as the access point pairing code.
Specifically, first, the wireless bridge mode terminal acquires an access point pairing code included in the device message of the master device.
Then, the wireless bridge mode terminal updates the bridge pairing code contained in the local configuration file into the access point pairing code.
Step 107: and the wireless bridge mode terminal performs bridge pairing with the main equipment based on the configured bridge pairing code.
Specifically, when the wireless bridge mode terminal is located within the wireless coverage range of the access point terminal, the bridge pairing code of the wireless bridge mode terminal and the access point pairing code of the access point terminal are successfully matched, so that the bridge pairing of the wireless bridge mode terminal and the access point terminal is completed.
Furthermore, after the wireless bridge mode terminal is in bridge pairing with the main device, the main device and the non-main device indicate the current device state through the hardware indicator lamps arranged on the main device and the non-main device. The user can judge the main device and the non-main device according to the hardware indicator lamp.
For example, if the hardware indicator light of the device a is on, it indicates that the device a is a master device, and if the hardware indicator light of the device B is off, it indicates that the device B is a non-master device.
Step 108: the wireless bridge mode terminal judges whether an unloading message which is sent by the main device and used for representing unloading of the access point terminal is received, if so, the step 102 is executed, otherwise, the step 110 is executed.
Thus, when the ap terminal is uninstalled, an uninstall message is sent to the bridge mode terminal to notify the bridge mode terminal to replace the master device.
Step 109: the wireless bridge mode terminal periodically judges whether a device message sent by the master device is received, if so, step 110 is executed, otherwise, step 103 is executed.
Step 108 and step 109 may be executed sequentially or in parallel, the execution order of step 108 and step 109 is not limited, and in this embodiment, only step 108 is executed first and then step 109 is executed as an example for description, which is not described herein again.
Thus, if the wireless bridge mode terminal does not receive the device message within the preset time, that is, the main device sends the ssdp: alive message or the query response message returned according to the query message, it is determined that the main device has failed, that is, the main device is unloaded. And when the wireless bridge mode terminal determines that the main equipment is unloaded, the wireless bridge mode terminal performs bridge pairing with a new access point terminal so as to replace the main equipment.
When the wireless bridge mode terminal determines that the main equipment is unloaded, the wireless bridge mode terminal does not immediately change the bridge pairing code, but continues to monitor the multicast address or send a query message to the multicast address until receiving a new access point pairing code of the main equipment, and then updates the bridge pairing code.
In step 110, the wireless bridge mode terminal keeps the current bridge pairing state, and step 108 is executed.
Therefore, as long as the wireless bridge mode terminal and the access point terminal are accessed into the same local area network, the wireless bridge mode terminal can acquire the access point pairing code contained in the equipment message sent by the access point terminal, and then realize bridge pairing with the access point terminal according to the access point pairing code. The method avoids manual configuration of pairing codes, simplifies operation steps, does not need a user to learn an operation method, is wide in adaptability and convenient for product popularization, and further can simultaneously carry out bridging pairing on a large number of wireless bridging mode terminals and access point terminals, so that a large amount of time cost is saved, the pairing efficiency is greatly improved, and the full coverage of a wireless network can be quickly realized.
In an embodiment of the present application, an electronic device includes: one or more processors; and
one or more computer readable media having stored thereon a program for bridge pairing of a bridge device, wherein the program, when executed by one or more processors, performs the steps of the above embodiments.
In an embodiment of the present application, one or more computer-readable media having stored thereon a program for bridge pairing of a bridge device, wherein the program, when executed by one or more processors, causes a communication device to perform the steps of the above embodiments.
Based on the same inventive concept, the embodiment of the present application further provides a wireless bridge mode terminal and an access point terminal, and because the principle of the terminal for solving the problem is similar to a bridge pairing method, the implementation of the terminal can refer to the implementation of the method, and repeated details are not repeated.
Fig. 2 is a schematic structural diagram of a wireless bridge mode terminal according to an embodiment of the present invention, including:
a receiving unit 20, configured to receive a device message sent by at least one access point terminal, where the device message at least includes an access point pairing code;
a screening unit 21, configured to screen out, from at least one access point terminal, one access point terminal as a master device according to the received device message;
a configuration unit 22, configured to acquire an access point pairing code included in the device message of the master device, and update and configure a local bridging pairing code as the access point pairing code;
a first pairing unit 23, configured to perform bridge pairing with the master device based on the bridge pairing code.
Preferably, the receiving unit 20 is specifically configured to:
monitoring a specified multicast address, judging whether a device message sent by an access point terminal is monitored within a preset time, and if so, receiving the device message sent by the access point terminal;
otherwise, sending a query message to the multicast address, and receiving a device message returned by the access point terminal based on the monitored query message.
Preferably, the screening unit 21 is specifically configured to:
judging whether at least one access point terminal only comprises one access point terminal, if so, directly determining one access point terminal as a main device;
otherwise, screening one access point terminal from at least one access point terminal according to a preset screening condition, and determining the screened access point terminal as a main device.
Preferably, the screening unit 21 is specifically configured to:
acquiring a physical address contained in the received equipment message, and screening out an access point terminal with the largest physical address from at least one access point terminal; or,
and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the minimum physical address from at least one access point terminal.
Preferably, the first pairing unit 23 is further configured to:
after the bridge pairing code and the main equipment are subjected to bridge pairing, determining that an unloading message which is sent by the main equipment and used for representing unloading of the access point terminal is received, and receiving equipment messages sent by other access point terminals again;
and based on the device messages sent by other access point terminals, selecting a new main device for bridge pairing again.
The first pairing unit 23 is also configured to:
after bridging pairing is carried out on the main equipment based on the bridging pairing code, periodically judging whether equipment information sent by the main equipment is received or not, and if yes, keeping the current bridging pairing state;
and if not, receiving the equipment messages sent by other access point terminals again, and selecting a new main equipment again for bridging pairing based on the equipment messages sent by other access point terminals.
As shown in fig. 3, which is a schematic structural diagram of an access point terminal provided in the embodiment of the present application, including:
a sending unit 30, configured to send a device message at least including an access point pairing code to the wireless bridge mode terminal, so that when the wireless bridge mode terminal determines that the access point terminal is a master device according to the received device message, the wireless bridge mode terminal updates and configures the bridging pairing code of the wireless bridge mode terminal as the access point pairing code included in the device message;
and a second pairing unit 31 for pairing with the wireless bridge mode terminal based on the access point pairing code.
Preferably, the sending unit 30 is specifically configured to:
sending a device message to a specified multicast address according to a preset time length; or,
and monitoring the multicast address, and returning a device message to the wireless network bridge mode terminal based on the monitored query message sent by the wireless network bridge mode terminal.
Preferably, the second pairing unit 31 is further configured to:
after the wireless bridge mode terminal is paired with the wireless bridge mode terminal based on the access point pairing code, based on a received user instruction for representing the unloading of the access point terminal, unloading information for representing the unloading of the access point terminal is sent to the wireless bridge mode terminal, so that the wireless bridge mode terminal receives equipment information sent by other access point terminals again based on the received unloading information, and selects new main equipment for bridging and pairing again based on the equipment information sent by other access point terminals.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same one or more pieces of software or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (21)

1. A bridge pairing method, comprising:
a wireless bridge mode terminal receives an equipment message sent by at least one access point terminal, wherein the equipment message at least comprises an access point pairing code;
screening out one access point terminal from the at least one access point terminal as a main device according to the received device message;
acquiring an access point pairing code contained in the equipment message of the main equipment, and updating and configuring a local bridging pairing code into the access point pairing code;
performing bridge pairing with the master device based on the bridge pairing code.
2. The method according to claim 1, wherein receiving the device message sent by at least one access point terminal specifically comprises:
monitoring a specified multicast address, judging whether a device message sent by an access point terminal is monitored within a preset time, and if so, receiving the device message sent by the access point terminal;
otherwise, sending a query message to the multicast address, and receiving a device message returned by the access point terminal based on the monitored query message.
3. The method according to claim 1, wherein the screening out, among the at least one ap terminal, one ap terminal as a master device according to the received device message specifically comprises:
judging whether the at least one access point terminal only comprises one access point terminal, if so, directly determining the access point terminal as a main device;
otherwise, screening out one access point terminal from the at least one access point terminal according to a preset screening condition, and determining the screened access point terminal as the main equipment.
4. The method of claim 3, wherein the selecting one of the at least one ap terminal according to a predetermined selection condition comprises:
acquiring a physical address contained in the received equipment message, and screening out an access point terminal with the largest physical address from the at least one access point terminal; or,
and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the minimum physical address from the at least one access point terminal.
5. The method of any one of claims 1-4, further comprising, after bridge pairing with the master device based on the bridge pairing code:
determining to receive an unloading message which is sent by the main equipment and used for representing unloading of the access point terminal, and receiving equipment messages sent by other access point terminals again;
and based on the device messages sent by other access point terminals, selecting a new main device for bridge pairing again.
6. The method of any one of claims 1-4, further comprising, after bridge pairing with the master device based on the bridge pairing code:
periodically judging whether a device message sent by the main device is received or not, and if so, keeping the current bridging pairing state;
and if not, receiving the equipment messages sent by other access point terminals again, and selecting a new main equipment again for bridging pairing based on the equipment messages sent by other access point terminals.
7. A bridge pairing method, comprising:
an access point terminal sends a device message at least containing an access point pairing code to a wireless network bridge mode terminal, so that when the wireless network bridge mode terminal determines that the access point terminal is a main device according to the received device message, the wireless network bridge mode terminal updates and configures the bridging pairing code of the wireless network bridge mode terminal into the access point pairing code contained in the device message;
and pairing with the wireless network bridge mode terminal based on the access point pairing code.
8. The method of claim 7, wherein sending the device message to the wireless bridge mode terminal comprises:
sending a device message to a specified multicast address according to a preset time length; or,
and monitoring the multicast address, and returning a device message to the wireless network bridge mode terminal based on the monitored inquiry message sent by the wireless network bridge mode terminal.
9. The method of claim 7 or 8, further comprising, after pairing with the wireless bridge mode terminal based on the access point pairing code:
and sending an unloading message for representing unloading of the access point terminal to the wireless bridge mode terminal based on the received user instruction for representing unloading of the access point terminal, so that the wireless bridge mode terminal receives equipment messages sent by other access point terminals again based on the received unloading message, and selects a new main equipment again for bridge pairing based on the equipment messages sent by other access point terminals.
10. A wireless bridge mode terminal, comprising:
a receiving unit, configured to receive a device message sent by at least one access point terminal, where the device message at least includes an access point pairing code;
a screening unit, configured to screen out, from the at least one access point terminal, one access point terminal as a master device according to the received device message;
a configuration unit, configured to acquire an access point pairing code included in the device message of the master device, and update and configure a local bridging pairing code as the access point pairing code;
a first pairing unit, configured to perform bridge pairing with the master device based on the bridge pairing code.
11. The terminal of claim 10, wherein the receiving unit is specifically configured to:
monitoring a specified multicast address, judging whether a device message sent by an access point terminal is monitored within a preset time, and if so, receiving the device message sent by the access point terminal;
otherwise, sending a query message to the multicast address, and receiving a device message returned by the access point terminal based on the monitored query message.
12. The terminal of claim 10, wherein the screening unit is specifically configured to:
judging whether the at least one access point terminal only comprises one access point terminal, if so, directly determining the access point terminal as a main device;
otherwise, screening out one access point terminal from the at least one access point terminal according to a preset screening condition, and determining the screened access point terminal as the main equipment.
13. The terminal of claim 12, wherein the screening unit is specifically configured to:
acquiring a physical address contained in the received equipment message, and screening out an access point terminal with the largest physical address from the at least one access point terminal; or,
and acquiring the physical address contained in the received equipment message, and screening the access point terminal with the minimum physical address from the at least one access point terminal.
14. The terminal of any of claims 10-13, wherein the first pairing unit is further configured to:
after the bridge pairing code and the main equipment are in bridge pairing, determining that an unloading message which is sent by the main equipment and used for representing unloading of the access point terminal is received, and receiving equipment messages sent by other access point terminals again;
and based on the device messages sent by other access point terminals, selecting a new main device for bridge pairing again.
15. The terminal of any of claims 10-13, wherein the first pairing unit is further configured to:
after the bridge pairing code and the main equipment are subjected to bridge pairing, periodically judging whether equipment information sent by the main equipment is received or not, and if so, keeping the current bridge pairing state;
and if not, receiving the equipment messages sent by other access point terminals again, and selecting a new main equipment again for bridging pairing based on the equipment messages sent by other access point terminals.
16. An access point terminal, comprising:
a sending unit, configured to send a device message at least including an access point pairing code to a wireless bridge mode terminal, so that when the wireless bridge mode terminal determines that the access point terminal is a master device according to the received device message, the wireless bridge mode terminal updates and configures the bridging pairing code of the wireless bridge mode terminal as the access point pairing code included in the device message;
and the second pairing unit is used for pairing with the wireless bridge mode terminal based on the access point pairing code.
17. The terminal of claim 16, wherein the sending unit is specifically configured to:
sending a device message to a specified multicast address according to a preset time length; or,
and monitoring the multicast address, and returning a device message to the wireless network bridge mode terminal based on the monitored inquiry message sent by the wireless network bridge mode terminal.
18. The terminal according to claim 16 or 17, wherein the second pairing unit is further configured to:
after the wireless bridge mode terminal is paired with the wireless bridge mode terminal based on the access point pairing code, based on a received user instruction for representing the unloading of the access point terminal, unloading information for representing the unloading of the access point terminal is sent to the wireless bridge mode terminal, so that the wireless bridge mode terminal receives equipment information sent by other access point terminals again based on the received unloading information, and selects new main equipment for bridge pairing again based on the equipment information sent by other access point terminals.
19. A bridge pairing system, comprising: at least one access point terminal according to any of claims 10-15 and a wireless bridge mode terminal according to any of claims 16-18.
20. A terminal device, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program which, when executed by the processing unit, causes the processing unit to carry out the steps of the method according to any one of claims 1 to 6 or 7 to 9.
21. A computer-readable medium, in which a computer program is stored which is executable by a terminal device, and which, when run on the terminal device, causes the terminal device to carry out the steps of the method of any one of claims 1 to 6 or 7 to 9.
CN201811073843.9A 2018-09-14 2018-09-14 Bridging pairing method, terminal, system, terminal device and medium Active CN108901016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811073843.9A CN108901016B (en) 2018-09-14 2018-09-14 Bridging pairing method, terminal, system, terminal device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811073843.9A CN108901016B (en) 2018-09-14 2018-09-14 Bridging pairing method, terminal, system, terminal device and medium

Publications (2)

Publication Number Publication Date
CN108901016A true CN108901016A (en) 2018-11-27
CN108901016B CN108901016B (en) 2022-04-26

Family

ID=64359297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811073843.9A Active CN108901016B (en) 2018-09-14 2018-09-14 Bridging pairing method, terminal, system, terminal device and medium

Country Status (1)

Country Link
CN (1) CN108901016B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120263168A1 (en) * 2011-04-14 2012-10-18 Scott Petrack Communication System and Method
US20120324076A1 (en) * 2011-06-14 2012-12-20 Lodgenet Interactive Corporation Method and apparatus for pairing a mobile device to an output device
CN103248543A (en) * 2013-04-24 2013-08-14 华为技术有限公司 Code verification method, code verification control equipment and code verification equipment
US20140274173A1 (en) * 2013-03-13 2014-09-18 Motorola Mobility Llc Method and System for Improved Communication Among Paired Electronic Devices
US20150017916A1 (en) * 2012-04-09 2015-01-15 Huizhou Tcl Mobile Communication Co., Ltd Terahertz wireless communications-based method and system for data transmission
US20150049751A1 (en) * 2013-08-13 2015-02-19 The Chinese University Of Hong Kong Network-coded multiple access
CN104980358A (en) * 2015-05-29 2015-10-14 上海斐讯数据通信技术有限公司 Wireless router and wireless network management method thereof
US20160128104A1 (en) * 2014-11-05 2016-05-05 Google Inc. In-field smart device updates
CN106412843A (en) * 2015-07-31 2017-02-15 浙江大华技术股份有限公司 Method, device and system for pairing gateway and terminal
US20170264359A1 (en) * 2014-12-03 2017-09-14 Koninklijke Philips N.V. Wireless docking system for audio-video relay
WO2017160924A1 (en) * 2016-03-15 2017-09-21 Sonifi Solutions, Inc. Systems and methods for associating communication devices with output devices
CN107426752A (en) * 2017-08-08 2017-12-01 成都西加云杉科技有限公司 Bridged link automatic matching method and WDS bridged link systems

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120263168A1 (en) * 2011-04-14 2012-10-18 Scott Petrack Communication System and Method
US20120324076A1 (en) * 2011-06-14 2012-12-20 Lodgenet Interactive Corporation Method and apparatus for pairing a mobile device to an output device
US20150017916A1 (en) * 2012-04-09 2015-01-15 Huizhou Tcl Mobile Communication Co., Ltd Terahertz wireless communications-based method and system for data transmission
US20140274173A1 (en) * 2013-03-13 2014-09-18 Motorola Mobility Llc Method and System for Improved Communication Among Paired Electronic Devices
CN103248543A (en) * 2013-04-24 2013-08-14 华为技术有限公司 Code verification method, code verification control equipment and code verification equipment
US20150049751A1 (en) * 2013-08-13 2015-02-19 The Chinese University Of Hong Kong Network-coded multiple access
US20160128104A1 (en) * 2014-11-05 2016-05-05 Google Inc. In-field smart device updates
US20170264359A1 (en) * 2014-12-03 2017-09-14 Koninklijke Philips N.V. Wireless docking system for audio-video relay
CN104980358A (en) * 2015-05-29 2015-10-14 上海斐讯数据通信技术有限公司 Wireless router and wireless network management method thereof
CN106412843A (en) * 2015-07-31 2017-02-15 浙江大华技术股份有限公司 Method, device and system for pairing gateway and terminal
WO2017160924A1 (en) * 2016-03-15 2017-09-21 Sonifi Solutions, Inc. Systems and methods for associating communication devices with output devices
CN107426752A (en) * 2017-08-08 2017-12-01 成都西加云杉科技有限公司 Bridged link automatic matching method and WDS bridged link systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏供: "二代F3多用途高清机带宽连接", 《卫星电视与带宽多媒体》 *

Also Published As

Publication number Publication date
CN108901016B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN107231606B (en) WiFi network access method, intelligent hardware equipment and electronic terminal
US10182304B2 (en) Updating firmware of IOT devices
CN111886845B (en) Method and apparatus for performing over-the-air (OTA) upgrades in a network of communication interconnect devices
CN108464024B (en) Network node, wireless device, medium and method for handling wireless device capabilities
CN107357571B (en) Maintenance method and system for equipment component program
CN110012083B (en) Data transmission method, server and data transmission device
CN113596089B (en) Distribution network binding method and device of equipment, storage medium and electronic device
JP2013519319A (en) Method and apparatus for MBMS-based content transmission in machine type communication
CN104836848A (en) Method for remotely upgrading intelligent household electrical appliances
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
CN102143508A (en) Upgrading method and upgrading device for wireless repeater
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN111913397A (en) Device control method, device, storage medium, and electronic apparatus
CN112202652A (en) Method and device for displaying information of equipment to be networked, storage medium and electronic device
CN113196721B (en) Method and device for discovering Internet of things equipment and terminal equipment
US10869172B2 (en) Management of communication between M2M device and M2M server with finite state transitions created by the M2M device
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
JP2014143461A (en) Radio base station, radio communication system using the same, and radio communication connection method
CN108901016B (en) Bridging pairing method, terminal, system, terminal device and medium
US9973595B2 (en) Neighbor aware network data link profiles
CN113849213B (en) OTA upgrading system and method for edge equipment
CN111757275B (en) Device connection method and device, storage medium and electronic device
CN110311841A (en) Method, equipment and the Intelligent household system of wisdom household equipment management
CN109640339B (en) Method, device, system and storage medium for managing multiple Bluetooth antenna devices
CN110611589B (en) Control method and device of regional control system and air conditioning system

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
GR01 Patent grant
GR01 Patent grant