WO2023217059A1 - 组网的方法、装置、设备及存储介质 - Google Patents
组网的方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2023217059A1 WO2023217059A1 PCT/CN2023/092649 CN2023092649W WO2023217059A1 WO 2023217059 A1 WO2023217059 A1 WO 2023217059A1 CN 2023092649 W CN2023092649 W CN 2023092649W WO 2023217059 A1 WO2023217059 A1 WO 2023217059A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- networked
- message
- election
- confirmation
- devices
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W84/20—Leader-follower arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0883—Semiautomatic configuration, e.g. proposals from system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0894—Policy-based network configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Definitions
- the present disclosure belongs to the field of communication technology, and in particular relates to a networking method, device, equipment and storage medium.
- a networking method is applied to a first device to be networked, including: when the first device to be networked is in an election stage: receiving messages sent by other devices to be networked. Confirmation message or election message, if the election message is received, a judgment is made to confirm whether the other device to be networked that sends the election message or the first device to be networked itself will serve as the master device , in response to the confirmation message or election message sent by the other devices to be networked, entering the confirmation phase; when the first device to be networked is in the confirmation phase: in response to receiving the confirmation message or the election message sent by the other devices to be networked.
- the confirmation message sent by the device sets the first device to be networked as a master device or a slave device; wherein the election message at least includes information about the device to be networked that sends the election message; and wherein, The confirmation message at least includes information about the master device confirmed by the network device to be networked that sends the confirmation message.
- setting the first device to be networked as a master device or a slave device further includes: based on confirmation messages sent by other devices to be networked received in the confirmation phase and in the election phase. According to at least one of the judgment results of the master device, the first device to be networked is set as the master device or the slave device.
- it also includes at least one of the following: in the first network device to be formed When the device is in the election phase, the election message is repeatedly sent; and after entering the confirmation phase, the confirmation message is repeatedly sent until the networking is completed.
- the first device to be networked when the first device to be networked enters the confirmation phase in response to a confirmation message received from other devices to be networked, the first device to be networked confirms that all The master device indicated in the confirmation message received from other devices to be networked is the master device.
- the election message and the confirmation message include a first field, the first field indicates whether the message is the election message or the confirmation message; the election message and The confirmation message also includes a second field.
- the second field of the election message indicates the MAC address of the device to be networked that sends the election message.
- the second field of the confirmation message indicates Confirm the MAC address of the primary device.
- the election message further includes a third field, the third field indicates a measurement of the capability of the network device to be formed as the master device that sends the election message, wherein, after entering the confirmation Making a judgment before the stage to confirm whether the other device to be networked that sends the election message or the first device to be networked itself is set as the main device includes: the election received from the other device to be networked
- the third field of the message is compared with the third field of the election message sent by the first device to be networked, and the other devices to be networked or the first device to be networked are compared according to the comparison result.
- the networking device itself is set as the master device.
- the third field of the election message received from the other device to be networked is equal to the third field of the first device to be networked
- Comparing the second field of the election message received from the other network device to be networked with the second field of the election message sent by the first network device to be networked and according to the comparison result,
- the other devices to be networked or the first device to be networked itself is set as the main device.
- the third field of the election message received from the other devices to be networked is sent to the first device to be networked. Comparing the third field of the election message, and setting the other to-be-networked devices or the first to-be-networked device itself as the master device according to the comparison result further includes: from each of the other to-be-networked devices.
- the third field of the election message received by the networking device is compared with the third field of the election message sent by the first to-be-networked device, and the multiple other fields are compared according to the comparison result.
- One of the devices to be networked or the first device to be networked itself is set as the master device.
- a device for networking which is applied to a first device to be networked and includes: an election phase module, configured to operate when the first device to be networked is in the election phase. In this case: receive a confirmation message or an election message sent by other devices to be networked, and if the election message is received, make a judgment to confirm whether it is the other device to be networked that will send the election message.
- the first device to be networked itself serves as the master device and enters the confirmation phase in response to the confirmation message or election message sent by the other devices to be networked; the confirmation phase module is used to perform the verification on the first device to be networked.
- the confirmation stage in response to receiving confirmation messages sent by other devices to be networked, set the first device to be networked as a master device or a slave device; wherein the election message at least includes Information about the device to be networked that sent the election message; and wherein the confirmation message at least includes information about the master device confirmed by the device to be networked that sent the confirmation message.
- an electronic device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor executing the computer program When implementing the method as described in the first aspect of the present disclosure.
- a computer-readable storage medium includes a stored computer program, wherein when the computer program is run, a device on which the computer-readable storage medium is located is controlled. The method as described in the first aspect of the disclosure is performed.
- a communication system including at least two devices to be networked, each of the at least two devices to be networked being configured to: when in an election phase: send Election messages are received from other devices to be networked. If election messages from other devices to be networked are received, a judgment is made to confirm whether the other devices to be networked are sending the election messages or themselves.
- the master device in response to receiving confirmation messages or election messages from other devices to be networked, it enters the confirmation phase; while in the confirmation phase: repeatedly sending confirmation messages and receiving messages from other devices to be networked.
- the election message in response to receiving confirmation messages from other devices to be networked, setting itself as the master device or the slave device based on the confirmation messages from other devices to be networked; wherein the election message at least includes sending the election Information about the device to be networked in the message; and wherein the confirmation message at least includes information about the master device confirmed by the device to be networked that sends the confirmation message.
- the methods, devices, electronic devices, storage media and communication systems of the present disclosure can be used for master-slave election among wireless devices that currently support networking, and complete automatic networking functions.
- Figure 1 is a schematic flowchart of a method for networking communication devices according to an embodiment of the present disclosure
- Figure 2 is an example of a flow of a method for networking communication devices according to an embodiment of the present disclosure
- Figure 3 is a schematic structural diagram of a device for networking communication equipment according to an embodiment of the present disclosure
- Figure 4 is a schematic diagram of a communication system according to an embodiment of the present disclosure.
- MAC Media Access Control, media access control.
- the Controller serves as the management center of the entire EasyMesh network. It is mainly responsible for the network access configuration of other nodes, receiving information such as link quality and network capacity from other nodes, and controlling the node's channel selection, device roaming, and load balancing. Except for the Controller, all other agents in the EasyMesh network are Agents.
- the Agent is mainly responsible for receiving messages from the Controller and other Agents, and reporting link quality reports, standby volume and other information to the Controller.
- embodiments of the present disclosure provide a communication system, including a plurality of network devices to be networked, at least two of the plurality of network devices to be networked, a first network device to be networked and a third network device to be networked.
- the second device to be networked is a wireless network device that supports working as a master device or a slave device at the same time. That is, the first device to be networked or the second device to be networked may be determined as the master device in the future, regardless of whether the second device is to be networked.
- the first device to be networked or the second device to be networked is determined to be the master device, and both the first device to be networked and the second device to be networked can achieve normal configuration, normal networking, and normal operation after networking.
- the communication system 400 includes a plurality of network devices 401, 402, 403, etc., where at least the first network device 401 and the second network device 402 can perform grouping for master-slave election.
- Networking methods for example, can send election messages and confirmation messages, and can receive election messages and confirmation messages from other network devices to be used for master-slave election.
- the communication system may include more or less network devices to be formed, and the network devices to be formed that can perform master-slave election are not limited to two. network equipment.
- the embodiment of the present disclosure uses at least two wireless network devices as non-limiting examples of devices to be networked to automatically determine the master device and the slave device, and then automatically determines one of the wireless network devices as the master device, and the other wireless network devices as the master device.
- a wireless network device is determined as a slave device without manual intervention.
- the first device to be networked and the second device to be networked can be controlled to enter the election phase through buttons or intelligent control, and the networking process is ended.
- an embodiment of the present disclosure also provides a method 100 for networking of communication devices.
- the method 100 can be applied to the first device to be networked (for example, the device 401 to be networked in Figure 4) .
- step S11 when the first device to be networked is in the election stage (step S11): the first device to be networked (for example, the device 401 to be networked in Figure 4) can select from other devices to be networked.
- the device for example, the device 402 to be networked in Figure 4) receives the message. If an election message is received from other devices to be networked, a judgment is made to confirm the other devices to be networked that will send the election message. (For example, the device 402 to be networked in Figure 4) or the first device to be networked (for example, the device 401 to be networked in Figure 4) serves as the master device.
- the confirmation phase is entered (step S12).
- the election message may include at least information about the device to be networked that sends the election message.
- the election message sent from the first device to be networked 401 may include information indicating that the device to be networked that sends the election message is the first device to be networked 401, such as but not limited to the first device to be networked.
- the device to be networked in the message is the information of the second device to be networked 402, such as but not limited to the MAC address of the second device to be networked, thereby identifying the second device 402 to be networked that participates in the master-slave election.
- the confirmation message may include at least information about the master device confirmed by the network device to be networked that sends the confirmation message.
- the confirmation message may at least include information indicating that the device to be networked is confirmed as the master device by the device to be networked that sends the confirmation message.
- the confirmation message received by the first device to be networked 401 from the second device to be networked 402 may include information indicating that the second device to be networked 402 confirms that the device to be networked is the master device.
- the confirmation message received by the first device 401 to be networked from the second device 402 to be networked may include an indication that the first device 401 is to be networked.
- the confirmation message received by a device 401 to be networked from a second device 402 to be networked may include information indicating the second device 402 to be networked, such as but not limited to the MAC address of the second device 402 to be networked.
- the election message and the confirmation message may include a first field, and the first field may indicate whether the message is an election message or a confirmation message.
- the election message and the confirmation message may further include a second field.
- the second field of the election message may indicate the MAC of the device to be networked that sends the election message. Address.
- the second field of the confirmation message indicates the MAC address of the master device that is confirmed by the device to be networked that sends the confirmation message.
- the election message may further include a third field, where the third field of the election message may indicate a measure of the capability of the network device to be formed that sends the election message as a master device.
- the election message received by the first device 401 to be networked from the second device 402 to be networked may include a measurement of the capability of the second device 402 to be networked as a master device.
- the third word The segment may be the potential value of the device to be networked as the master device.
- the potential value is an evaluation value or score calculated based on the relevant parameters of the first device to be networked as the master device; where, Relevant parameters may include user service quality, channel quality, interference, etc.
- different relevant parameters can be set with different weights, and then summed to obtain the metric.
- wireless broadcast messages are used as the carrier of information exchange in the networking process. That is, the election messages, confirmation messages and other messages involved in the embodiments of the present disclosure are all based on wireless broadcast messages. carrier for transmission.
- the first device to be networked and the second device to be networked have no priority difference and are equally determined to be the master device or the slave device.
- the authority of the slave device Therefore, in the embodiment of the present disclosure, the determination process on the side of the first device to be networked is used for explanation. Similarly, the determination process on the side of the second device to be networked can be obtained.
- the first device to be networked determines to participate in the network
- the first device to be networked enters the election phase.
- the first device to be networked can Send election messages repeatedly (eg, periodically).
- the first device 401 to be networked when the first device 401 to be networked is in the election phase in step S11, if an election message is received from other devices to be networked (for example, the device 402 to be networked) , then a judgment is made before entering the confirmation stage (step S12) to confirm whether to send other devices to be networked (ie, the device to be networked 402) or the first device to be networked (ie, the device to be networked 402) to send the election message.
- the device to be networked 401) is set as the main device.
- the first device 401 to be networked may compare the third field in the received election message with the third field before entering step S12 of the confirmation phase.
- the third field in the election message sent by the first network device 401 is compared, and the first network device 401 or the second network device 402 is set as the master device according to the comparison result.
- the received Other fields in the election message are compared with corresponding fields in the election message sent by the first network device 401 to be formed, and based on the comparison result,
- the first device 401 to be networked or the second device 402 to be networked is set as the master device.
- comparison based on MAC address for example, the device with a larger or smaller MAC address can be set as the primary device.
- Whether the network device or the first device to be networked serves as the master device may include the situation of receiving election messages from multiple devices to be networked.
- a judgment may be made based on the size of the third field of the election message to confirm that the multiple other devices to be networked that will send the election messages neutralize the third field. Which device to be networked among the devices to be networked serves as the master device.
- the device 401 to be networked can receive the election message sent by the device 402 to be networked and the election message sent by the device 403 to be networked, and based on the received network device 401 to be networked, The size of the third field of the election message of the network device 402 and the election message of the network device 403 to be networked determines whether the network device 402 to be networked, the network device 403 to be networked, or the network device 401 itself is used as the master device.
- the device 401 to be networked can compare the capability metric represented by the third field in the election message received from the device 402 and the device 403 to be networked with the device 401 itself. The capability metrics are compared, and the device to be networked with the highest value represented by the third field (which can correspond to the highest capability) is elected as the master device.
- step S11 when the first device 401 to be networked is in the election phase in step S11, if a confirmation message is received from other devices to be networked (for example, the device 402 to be networked) , then directly enter the confirmation stage (step S12).
- the first device to be networked when the first device to be networked enters the confirmation phase in response to a confirmation message received from other devices to be networked, the first device to be networked confirms that the request from the other device to be networked is
- the master device indicated in the received confirmation message is the master device.
- the first device 401 to be networked when the first device 401 to be networked is in the election phase, if a confirmation message is received from other devices to be networked (for example, the device 402 to be networked), the first device 401 to be networked is in the confirmation phase.
- the master device indicated in the confirmation message sent during the election phase is the master device indicated in the confirmation message received from other devices to be networked (for example, the device 402 to be networked) during the election phase.
- step S12 when the first device to be networked (for example, the device 401 to be networked in Figure 4) is in the confirmation stage: the first device to be networked can repeatedly send a confirmation message, from other devices to be networked.
- the networking device receives the message, responds to receiving confirmation messages from other devices to be networked, and sets the first device to be networked as the master device or the slave device based on the confirmation messages from other devices to be networked.
- the first device 401 to be networked can obtain the information of the master device based on the confirmation message, such as but not limited to the MAC address; and then the information of the master device can be compared with its own information. If they are consistent, then Set itself as the master device and enter the regular networking process; if it is inconsistent, set itself as the slave device and enter the regular networking process.
- the confirmation message such as but not limited to the MAC address
- the first device 401 to be networked may enter the confirmation phase. Then (for example, periodically) a confirmation message is sent until the networking process is completed.
- the message to be networked when the first device to be networked in the election state receives the message to be networked sent from the second device to be networked, the message to be networked is parsed so that based on the parsing result, Determine the status of the second device to be networked; where the parsing result includes the current status of the second device to be networked; that is, the first parameter set and the second parameter set also include status parameters; then, according to the second device to be networked status to determine the subsequent process.
- the first device to be networked in the election state receives a confirmation message sent by the second device to be networked in the confirmation state, it enters the setting state;
- the election message includes the first parameter set of the first device to be networked
- the first parameter set includes first level parameters and first level two parameters.
- the first device to be networked parses the network message to be networked and obtains the second-level parameters and the second-level parameters, it can be determined that the second device to be networked is in the election state.
- the status of the second device to be networked is determined according to the message to be networked. If the second device to be networked is in the election state, a confirmation message is generated and the state is entered into the confirmation state, including :
- a second parameter set of the second device to be networked is obtained based on the network message to be networked;
- the second parameter set includes a second first-level parameter and a second second-level parameter;
- the first level parameter is not equal to the second level parameter, generate the confirmation message based on the MAC address of the first device to be networked or the MAC address of the second device to be networked, and Enter the confirmation state;
- first-level parameter If the first-level parameter is equal to the second-level parameter, compare the first-level parameter with the second-level parameter, and obtain the comparison result;
- the confirmation message is generated based on the MAC address of the first device to be networked or the MAC address of the second device to be networked, and the confirmation message is entered.
- the first level parameter data can specifically be the potential value of the first main equipment, the potential value of the first main equipment
- the value is an evaluation value or score calculated based on the relevant parameters of the first device to be networked.
- the first device to be networked can be used as an evaluation value or score of the master device; where the relevant parameters can include user service quality, channel quality, interference, etc.; similarly , the potential value of the second master device of the second device to be networked can be obtained.
- a score value that is, the potential value of the first main device; similarly, the potential value of the second main device can be obtained.
- the first level 2 parameter may be the first MAC address.
- the second level 2 parameter may be the second MAC address.
- the embodiments of the present disclosure do not specifically limit this.
- the parameter may be the second level MAC address. If necessary, determine the categories of parameters included in the first parameter set or the second parameter set, and also determine the order or level in which each type of parameters included in the first parameter set or the second parameter set participates in subsequent algorithm calls according to actual needs.
- the MAC address of the first device to be networked or the MAC address of the second device to be networked is generated. Confirm the message and enter the confirmation state, including:
- the confirmation message is generated based on the MAC address of the second device to be networked, and the confirmation message is entered.
- the confirmation message at least includes the MAC address of the master device.
- the first parameter set and the second parameter set may also include other categories of parameters for determining the master device and the slave device; for example, When the master device and the slave device still cannot be determined based on the sizes of the first and second level parameters, the master device and the slave device can also be determined based on other parameters.
- the first device to be networked and the second device to be networked automatically determine the master device and the slave device, thereby avoiding This eliminates the cumbersome configuration of master and slave devices before networking. After determining the master device and slave devices, you can directly start the regular networking process. There is no need to manually set the master device or slave device, and no additional network cables are needed, thus The cost is reduced and the scope of application is expanded.
- the regular networking process can be started directly and can be applied normally. Therefore, users do not need to log in to the management page multiple times to make relevant settings before using the wireless network device normally, which reduces the cost. User usage cost improves user experience.
- determining the master device and the slave device based on the message to be networked includes:
- the second device to be networked If the second device to be networked is in the confirmation state, it enters the setting state;
- the first device to be networked is determined as the master device
- the first device to be networked is determined to be the slave device.
- the first device to be networked in the confirmation state receives the confirmation message sent by the second device to be networked in the confirmation state, it directly enters the setting state;
- the first device to be networked obtains the MAC address of the master device based on the confirmation message; then compares the MAC address of the master device with its own MAC address. If they are consistent, it sets itself as the master device and enters the regular networking process; if they are inconsistent, Then set itself as a slave device and enter the regular networking process.
- the confirmation message is sent and the network message is received; according to the network message to be Determining the status of the second device to be networked also includes:
- the message to be networked is not processed
- the master device and the slave device are determined based on the network message to be formed.
- the first device to be networked will not enter the setting state until it receives a confirmation message from the second device to be networked, and then determine and set the master device and the slave device.
- Optional also includes:
- the first device to be networked stops sending the confirmation message.
- Embodiments of the present disclosure by controlling the termination time of the confirmation message of the first device to be networked, solve the problem that the second device to be networked cannot receive the first message due to the probabilistic packet loss of wireless broadcast messages.
- the problem of the confirmation message sent by the network device to be networked at the same time, it also solves the problem that after the first network device to be networked receives the confirmation message, if it stops sending wireless broadcast messages and directly enters the setting state, when the second network device is waiting to be connected, it will
- the networking device may not receive any election message or confirmation message from the first device to be networked, which may cause networking failure.
- the wireless broadcast message takes Beacon as an example, and represents the manufacturer's customization of fields based on Table 1 below;
- select two wireless networking devices that support both master device and slave device functions, and represent them as A device and B device respectively, and currently, A device and B device are in the same mode;
- State can be the first field of the Beacon of the message, indicating whether the message is an election message or a confirmation message.
- State (0X01) indicates that the current state of device A is 0X01, which is the election state
- Score It can be the third field of the message Beacon, indicating the measurement of the ability of the network device to be networked that sends the message Beacon as the master device.
- Score(A) represents the master device potential value of device A, which is obtained by an actual calculation.
- MAC can be the second field of the message Beacon, when the message Beacon is an election message.
- the second field is MAC(A.MAC)), which indicates the MAC address of the A device that sent the election message.
- MAC_M When the message Beacon is a confirmation message, the second field is MAC(MAC_M), which indicates that it is determined to be the master.
- the MAC address of the device similarly, the above information of device B can be obtained.
- Device A enters the election state.
- device A is controlled to enter the election state based on a certain control key on device A, or any other feasible method is used to control device A to enter the election state.
- the embodiments of the present disclosure do not do this. any limitations;
- device A After device A enters the election state, it generates an election message based on its own status information, and periodically sends out election messages carrying custom fields Beacon(State(0X01),Score(A),MAC(A.MAC) )); At the same time, device A listens to the Beacon of device B. If it receives the Beacon of device B, it extracts the custom information in the frame and makes a judgment;
- the status field of device B is State (0X02), it indicates that device B is in the confirmation state. Based on the Beacon of device B, obtain the MAC address of the main device and then enter the confirmation state; compare the MAC (A.MAC) and the main device The size of the MAC address. If MAC (A.MAC) is consistent with the MAC address of the main device, set device A as the main device and enter the regular networking process; if MAC (A.MAC) is inconsistent with the MAC address of the main device, then Set device A as a slave device and enter the regular networking process;
- Score(A)>Score(B) you can determine that device A is the master device, obtain the MAC (A.MAC), generate a confirmation message, and then enter the confirmation state; if Score(A) ⁇ Score(B), Then you can determine that the B device is the master device, obtain the MAC (B.MAC), and generate a confirmation report. text, and then enter the confirmation state;
- device A After device A enters the confirmation state, it will periodically send out confirmation messages Beacon carrying custom fields until device A completes the networking; at the same time, device A listens to the Beacon of device B. If it receives the Beacon of device B, , then extract the custom information in the Beacon frame and make a judgment;
- an embodiment of the present disclosure also provides an apparatus 300 for networking of communication devices, which is applied to the first device to be networked and includes an election phase module 301 and a confirmation phase module 302 .
- the election phase module 301 can be used to: send an election message when the first device to be networked is in the election phase, and determine whether confirmation messages and election messages from other devices to be networked are received, If it receives confirmation messages or election messages from other devices to be networked, it will enter the confirmation phase;
- the confirmation phase module 302 may be configured to send a confirmation message when the first device to be networked is in the confirmation phase, and determine whether confirmation messages from other devices to be networked are received. If the confirmation messages of other devices to be networked are received, the first device to be networked is set as the master device or the slave device.
- the election message at least includes information associated with the device to be networked that sends the election message.
- the confirmation message at least includes information associated with the device to be networked that is confirmed to be the master device by the device to be networked that sends the confirmation message.
- An embodiment of the present disclosure also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor.
- a processor executes the computer program, the above is implemented. the method described.
- Embodiments of the present disclosure also provide a computer-readable storage medium.
- the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute as described above. method described.
- the first device to be networked and the second device to be networked can automatically determine the master device and the slave device, thereby avoiding cumbersome configuration.
- the configuration of master and slave devices before the network after determining the master device and slave device, you can directly start the regular networking process. There is no need to manually set the master device or slave device, and no additional network cables are needed, thus reducing costs. And expands the scope of application; in addition, since the master device and slave devices are automatically determined, the regular networking process can be started directly and can be used normally. Therefore, users do not need to log in to the management page multiple times before using the wireless network device normally. Make relevant settings to reduce user costs and improve user experience.
- the problem that the second device to be networked cannot receive the first device to be networked due to the probabilistic packet loss of wireless broadcast messages is solved.
- a readable medium for an instruction execution system, device or device such as a computer-based system, a system including a processor or other system, device or device that can execute instructions from A system that prepares and executes instructions), or is used in conjunction with these instruction execution systems, devices or equipment.
- a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Non-exhaustive list of computer readable media include the following: electrical connections with one or more wires (electronic device), portable computer disk cartridges (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM).
- the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
- various parts of the present disclosure may be implemented in hardware, software, firmware, or combinations thereof.
- various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
- a logic gate circuit with a logic gate circuit for implementing a logic function on a data signal.
- Discrete logic circuits application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
- first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features.
- “plurality” means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
- connection In this disclosure, unless otherwise explicitly stated and limited, the terms “installation”, “connection”, “connection”, “fixing” and other terms should be understood in a broad sense. For example, it can be a fixed connection or a detachable connection. , or integrated into one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be an internal connection between two elements or an interactive relationship between two elements, unless otherwise specified restrictions. For those of ordinary skill in the art, the specific meanings of the above terms in this disclosure can be understood according to specific circumstances.
- a first feature being “on” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features may be in indirect contact through an intermediary. touch.
- the terms “above”, “above” and “above” the first feature is above the second feature may mean that the first feature is directly above or diagonally above the second feature, or simply means that the first feature is higher in level than the second feature.
- "Below”, “below” and “beneath” the first feature to the second feature may mean that the first feature is directly below or diagonally below the second feature, or simply means that the first feature has a smaller horizontal height than the second feature.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开涉及组网的方法、装置、设备及存储介质。提供了一种组网的方法,应用于第一待组网设备,包括:在所述第一待组网设备处于选举阶段的情况下:接收其他待组网设备发送的确认报文或选举报文,如果接收到所述选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身作为主设备,响应于所述其他待组网设备发送的确认报文或选举报文,进入确认阶段;在所述第一待组网设备处于所述确认阶段的情况下:响应于接收到其他待组网设备发送的确认报文,将所述第一待组网设备设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息。
Description
本公开要求于2022年5月9日递交的第202210499124.3号中国专利申请的优先权,在此全文引用上述中国专利申请公开的内容以作为本公开的一部分。
本公开属于通信技术领域,尤其涉及一种组网的方法、装置、设备及存储介质。
随着信息技术的高速发展,人们的上网需求日益激增,传统的单个无线网络设备已不能满足用户上网需求,因此,无线网络设备组网已成为更多人的选择。
发明内容
根据本公开的第一方面,一种组网的方法,应用于第一待组网设备,包括:在所述第一待组网设备处于选举阶段的情况下:接收其他待组网设备发送的确认报文或选举报文,如果接收到所述选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身作为主设备,响应于所述其他待组网设备发送的确认报文或选举报文,进入确认阶段;在所述第一待组网设备处于所述确认阶段的情况下:响应于接收到其他待组网设备发送的确认报文,将所述第一待组网设备设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息;以及其中,所述确认报文至少包括由发送所述确认报文的待组网设备确认的主设备的信息。
根据本公开的实施例,将所述第一待组网设备设置为主设备或从设备进一步包括:基于在所述确认阶段接收到的其他待组网设备发送的确认报文和在处于选举阶段的情况下进行的主设备的判断结果中的至少一项,将所述第一待组网设备设置为主设备或从设备。
根据本公开的实施例,还包括以下中的至少一项:在所述第一待组网设
备处于所述选举阶段的情况下,重复发送选举报文;以及在进入所述确认阶段之后,重复发送确认报文,直到组网完成为止。
根据本公开的实施例,在所述第一待组网设备响应于从其他待组网设备接收到的确认报文而进入所述确认阶段的情况下,所述第一待组网设备确认所述从其他待组网设备接收到的确认报文中指示的主设备为主设备。
根据本公开的实施例,所述选举报文和所述确认报文包括第一字段,所述第一字段指示报文是所述选举报文还是所述确认报文;所述选举报文和所述确认报文还包括第二字段,所述选举报文的所述第二字段指示发送所述选举报文的待组网设备的MAC地址,所述确认报文的所述第二字段指示确认为主设备的MAC地址。
根据本公开的实施例,所述选举报文还包括第三字段,所述第三字段指示发送所述选举报文的待组网设备作为主设备的能力的度量,其中,在进入所述确认阶段之前进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身设置为主设备包括:将从所述其他待组网设备接收到的选举报文的所述第三字段与所述第一待组网设备发送的选举报文的所述第三字段进行比较,并根据比较的结果将所述其他待组网设备或所述第一待组网设备自身设置为主设备。
根据本公开的实施例,在从所述其他待组网设备接收到的所述选举报文的所述第三字段与所述第一待组网设备的所述第三字段相等的情况下,将从所述其他待组网设备接收到的选举报文的所述第二字段与所述第一待组网设备发送的选举报文的所述第二字段进行比较,并根据比较的结果将所述其他待组网设备或所述第一待组网设备自身设置为主设备。
根据本公开的实施例,所述待组网设备为多个,所述将从所述其他待组网设备接收到的选举报文的所述第三字段与所述第一待组网设备发送的选举报文的所述第三字段进行比较,并根据比较的结果将所述其他待组网设备或所述第一待组网设备自身设置为主设备进一步包括:将从各个所述其他待组网设备接收到的选举报文的所述第三字段分别与所述第一待组网设备发送的选举报文的所述第三字段进行比较,并根据比较的结果将所述多个其他待组网设备中的一个或所述第一待组网设备自身设置为主设备。
根据本公开的第二方面,提供了一种用于组网的装置,应用于第一待组网设备,包括:选举阶段模块,用于在所述第一待组网设备处于选举阶段的
情况下:接收其他待组网设备发送的确认报文或选举报文,如果接收到所述选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身作为主设备,响应于所述其他待组网设备发送的确认报文或选举报文,进入确认阶段;确认阶段模块,用于在所述第一待组网设备处于所述确认阶段的情况下:响应于接收到其他待组网设备发送的确认报文,将所述第一待组网设备设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息;以及其中,所述确认报文至少包括由发送所述确认报文的待组网设备确认的主设备的信息。
根据本公开的第三方面,提供了一种电子设备,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如本公开的第一方面所述的方法。
根据本公开的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行如本公开的第一方面所述的方法。
根据本公开的第五方面,提供了一种通信系统,包括至少两个待组网设备,所述至少两个待组网设备中的每一个被配置为:在处于选举阶段的情况下:发送选举报文,从其他待组网设备接收报文,如果接收到来自其他待组网设备的选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是自身作为主设备,响应于从其他待组网设备接收到确认报文或选举报文,进入确认阶段;在处于所述确认阶段的情况下:重复发送确认报文,从其他待组网设备接收报文,响应于从其他待组网设备接收到确认报文,基于来自其他待组网设备的确认报文将自身设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息;以及其中,所述确认报文至少包括由发送所述确认报文的待组网设备确认的主设备的信息。
本公开的方法、装置、电子设备、可存储介质和通信系统等可用于当前支持组网的无线设备间的主从选举,并完成自动组网功能。
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。
图1是根据本公开的实施例的一种用于通信设备的组网的方法的流程示意图;
图2是根据本公开的实施例的一种用于通信设备的组网的方法的流程的一个示例;
图3是根据本公开的实施例的一种用于通信设备的组网的装置的结构示意图;
图4是根据本公开的实施例的通信系统的示意图。
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。
为了便于本领域的技术人员对实施例的理解,对部分用语进行解释:
(1)MAC:Media Access Control,媒体接入控制。
(2)Beacon:信标。
(3)BSS:Basic Service Set,基本服务集。
常规无线组网设备中,一般存在主设备和从设备两种角色,如EasyMesh网络中的Controller(主设备)和Agent(从设备)。在EasyMesh网络中,Controller作为整个EasyMesh网络的管理中枢,主要负责其他节点的入网配置,接收来自其他节点的链路质量和网络容量等信息,控制节点的信道选择、设备漫游和负载均衡等。EasyMesh网络中除Controller外其他均是Agent,Agent主要负责接收来自Controller和其他Agent的消息,向Controller汇报链路质量报告,待机量等信息。
但是,当前市场上的无线组网设备在组网的过程中,还存在以下问题:
1)均需用户手动配置无线网络设备为主设备或从设备,然后才能开始组网流程。
2)用户在正常使用该无线网络设备前,需多次登陆管理页面进行相关设置,增加用户使用成本,降低用户体验。
3)用户一般不具备相关组网背景知识,因此在管理页面进行相关设置时,极易出错,用户学习成本高,对用户不友好。
无线组网设备在进行组网前,均需人为手动将参与组网的设备设置为从设备或主设备,从而会导致组网过程十分繁琐;另外,当前虽然存在极少部分的无线组网设备的主设备以及从设备的确定可以通过有线连接的方式完成,但是仍然需要人为用网线连接各个设备,以致于不仅存在额外网线成本的开销,还无法用于没有网口的无线设备间组网,适用范围较小,无法实现普及。
为了解决上述技术问题,本公开的实施例提供一种通信系统,包括多个待组网设备,该多个待组网设备中的至少两个待组网设备,第一待组网设备以及第二待组网设备,为同时支持作为主设备或从设备进行工作的无线网络设备,也即,后续可能将第一待组网设备或第二待组网设备确定为主设备,而无论将第一待组网设备或第二待组网设备确定为主设备,第一待组网设备或第二待组网设备均可以实现正常配置、正常组网以及组网后的正常工作。
这样的系统的非限制性示例参见图4。如图4所示,通信系统400包括多个待组网设备401、402、403等,其中,至少第一待组网设备401和第二待组网设备402能够执行用于主从选举的组网方法,例如,能够发送选举报文和确认报文,以及能够从其他用于主从选举的待组网设备接收选举报文和确认报文。应理解的是,图4所示的仅仅是非限制性示例,通信系统可以包括更多或更少的待组网设备,并且其中可以进行主从选举的待组网设备也不限于两个待组网设备。
具体的,本公开的实施例以至少两台无线网络设备作为待组网设备的非限制性示例进行自动确定主设备以及从设备,然后,自动将其中一台无线网络设备确定主设备,将另外一台无线网络设备确定为从设备,无需人工手动参与。
进一步地,在本公开的实施例中,可以通过按键或智能控制等方式控制第一待组网设备以及第二待组网设备进入选举阶段,并结束组网流程。
如图1所示,本公开的实施例还提供一种用于通信设备的组网的方法100,该方法100可应用于第一待组网设备(例如,图4的待组网设备401)。
参照图1,步骤S11中,在第一待组网设备处于选举阶段(步骤S11)的情况下:第一待组网设备(例如,图4的待组网设备401)可以从其他待组网设备(例如,图4的待组网设备402)接收报文。如果接收到来自其他待组网设备的选举报文,则进行判断以确认将发送该选举报文的其他待组网设备
(例如,图4的待组网设备402)还是该第一待组网设备自身(例如,图4的待组网设备401)作为主设备。响应于从其他待组网设备接收到确认报文或选举报文,进入确认阶段(步骤S12)。
其中,选举报文可以至少包括发送该选举报文的待组网设备的信息。例如,步骤S11中,从第一待组网设备401发送的选举报文可以包括指示发送该选举报文的待组网设备是第一待组网设备401的信息,诸如但不限于第一待组网设备401的MAC地址,从而标识参加主从选举的第一待组网设备401;第一待组网设备401从第二待组网设备402接收到的选举报文可以包括指示发送该选举报文的待组网设备是第二待组网设备402的信息,诸如但不限于第二待组网设备的MAC地址,从而标识参加主从选举的第二待组网设备402。
并且其中,确认报文可以至少包括由发送该确认报文的待组网设备确认的主设备的信息。在根据本公开的实施例中,确认报文可以至少包括指示由发送所述确认报文的待组网设备确认为主设备的待组网设备的信息。例如,步骤S11中,第一待组网设备401从第二待组网设备402接收到的确认报文可以包括指示第二待组网设备402确认为主设备的待组网设备的信息。例如,在第二待组网设备402确认第一待组网设备401为主设备的情况下,第一待组网设备401从第二待组网设备402接收到的确认报文可以包括指示第一待组网设备401的信息,诸如但不限于第一待组网设备401的MAC地址;例如,在第二待组网设备402确认第二待组网设备402为主设备的情况下,第一待组网设备401从第二待组网设备402接收到的确认报文可以包括指示第二待组网设备402的信息,诸如但不限于第二待组网设备402的MAC地址。
在根据本公开的实施例中,选举报文和确认报文可以包括第一字段,该第一字段可以指示报文是选举报文还是确认报文。
在根据本公开的实施例中,选举报文和确认报文可以进一步包括第二字段,作为非限制性示例,选举报文的第二字段可以指示发送该选举报文的待组网设备的MAC地址,确认报文的第二字段指示被发送该确认报文的待组网设备确认为主设备的MAC地址。
在根据本公开的实施例中,选举报文可以进一步包括第三字段,其中,选举报文的第三字段可以指示发送该选举报文的待组网设备作为主设备的能力的度量。例如,第一待组网设备401从第二待组网设备402接收到的选举报文可以包括该第二待组网设备402作为主设备的能力的度量。例如:第三字
段可以为待组网设备作为主设备的潜力值,该潜力值为基于第一待组网设备的相关参数计算获得的第一待组网设备可以作为主设备的一个评估值或分数;其中,相关参数可以包括用户服务质量、信道质量、干扰等。进一步地,不同的相关参数可以设置不同的权重,然后求和得到该度量。
在本公开的实施例中,基于无线广播报文作为组网过程中信息交互的载体,也即本公开的实施例涉及到的选举报文、确认报文等报文均基于无线广播报文为载体进行传输。
进一步地,在本公开的实施例中,在确定主设备以及从设备的过程中,第一待组网设备以及第二待组网设备没有优先级的差别,具有同等的被确定为主设备或从设备的权限,因此,在本公开的实施例中,以第一待组网设备侧的确定过程进行解释说明,同理,可以得到第二待组网设备侧的确定过程。
在实际应用场景中,当第一待组网设备确定参与组网,则第一待组网设备进入选举阶段,在第一待组网设备处于选举阶段的情况下,第一待组网设备可以重复(例如,周期性)发送选举报文。
在根据本公开的实施例中,如步骤S11中在第一待组网设备401处于选举阶段的情况下,如果接收到来自其他待组网设备(例如,待组网设备402)的选举报文,则在进入确认阶段(步骤S12)之前进行判断,以确认要将发送该选举报文的其他待组网设备(即,待组网设备402)还是将第一待组网设备自身(即,待组网设备401)设置为主设备。例如,在选举报文包括前文所述的第三字段的实施例中,第一待组网设备401可以在进入确认阶段的步骤S12之前将接收到的选举报文中的第三字段与该第一待组网设备401发送的待选举报文中的第三字段进行比较,并根据比较的结果将第一待组网设备401或第二待组网设备402设置为主设备。在根据本公开的实施例中,在接收到的选举报文中的第三字段与该第一待组网设备401发送的待选举报文中的第三字段相等的情况下,可以将接收到的选举报文中的其他字段(诸如但不限于,第二字段,即MAC地址)与该第一待组网设备401发送的待选举报文中的相应字段进行比较,并基于比较的结果将第一待组网设备401或第二待组网设备402设置为主设备。在基于MAC地址进行比较的情况下,例如,可以将MAC地址更大或更小的设备设置为主设备。
在根据本公开的实施例中,进行判断以确认将发送选举报文的其他待组
网设备还是第一待组网设备自身作为主设备可以包括从多个待组网设备接收到选举报文的情况。响应于从多个其他待组网设备发送的选举报文,可以基于选举报文的第三字段的大小进行判断,以确认将发送选举报文的这些多个其他待组网设备中和该第一待组网设备自身中的哪个待组网设备作为主设备。具体而言,在图4所示的示例中,待组网设备401可以接收到待组网设备402发送的选举报文和待组网设备403发送的选举报文,并且基于接收到的待组网设备402的选举报文和待组网设备403的选举报文的第三字段的大小,确定是将待组网设备402、待组网设备403还是待组网设备401自身作为主设备。作为非限制性示例,待组网设备401可以将接收到的来自待组网设备402、待组网设备403的选举报文中的第三字段所表示的能力度量与该待组网设备401自身的能力度量进行比较,并其中第三字段表示的值最高(可以对应于能力最高)的待组网设备选举作为主设备。
在根据本公开的实施例中,如步骤S11中在第一待组网设备401处于选举阶段的情况下,如果接收到来自其他待组网设备(例如,待组网设备402)的确认报文,则直接进入确认阶段(步骤S12)。
根据本公开的实施例,在第一待组网设备响应于从其他待组网设备接收到的确认报文而进入确认阶段的情况下,该第一待组网设备确认从其他待组网设备接收到的确认报文中指示的主设备为主设备。例如,在第一待组网设备401处于选举阶段的情况下,如果接收到来自其他待组网设备(例如,待组网设备402)的确认报文,则第一待组网设备401在确认阶段发送的确认报文中指示的主设备即为其在选举阶段从其他待组网设备(例如,待组网设备402)接收到的确认报文中指示的主设备。
参照图1,步骤S12中,在第一待组网设备(例如,图4的待组网设备401)处于确认阶段的情况下:第一待组网设备可以重复发送确认报文,从其他待组网设备接收报文,响应于从其他待组网设备接收到确认报文,基于来自其他待组网设备的确认报文将第一待组网设备设置为主设备或从设备。
具体而言,在设置阶段,第一待组网设备401可以基于确认报文获得主设备的信息,诸如但不限于MAC地址;然后可以将主设备的信息和自身信息进行比较,若一致,则将自身设置为主设备,并进入常规组网流程;若不一致,则将自身设置为从设备,并进入常规组网流程。
在根据本公开的实施例中,第一待组网设备401可以在进入确认阶段之
后(例如,周期性地)发送确认报文,直至组网过程完成为止。
获取待组网报文,根据所述待组网报文确定第二待组网设备的状态,若所述第二待组网设备处于所述选举状态,则生成确认报文,并进入确认状态;或若所述第二待组网设备处于确认状态,则基于所述待组网报文确定主设备,并进入所述确认状态;
本公开的实施例,当处于选举状态的第一待组网设备接收到来自第二待组网设备发送的待组网报文后,则对待组网报文进行解析,以便于基于解析结果,确定第二待组网设备的状态;其中,解析结果包括第二待组网设备的当前状态;也即第一参数集以及第二参数集还包括状态参数;然后,根据第二待组网设备的状态,确定后续的流程。
进一步地,若处于选举状态的第一待组网设备接收到了处于确认状态的第二待组网设备发出的确认报文,则进入设置状态;
具体的,所述选举报文包括所述第一待组网设备的第一参数集;
其中,所述第一参数集包括第一一级参数以及第一二级参数。
也即当第一待组网设备对待组网报文进行解析后,获得了第二一级参数、第二二级参数,则可以确定第二待组网设备处于选举状态。
进一步地,所述根据所述待组网报文确定第二待组网设备的状态,若所述第二待组网设备处于所述选举状态,则生成确认报文,并进入确认状态,包括:
获得所述第一一级参数;
基于所述待组网报文获得所述第二待组网设备的第二参数集;所述第二参数集包括第二一级参数以及第二二级参数;
对所述第一一级参数以及第二一级参数进行比较;
若所述第一一级参数不等于所述第二一级参数,则基于所述第一待组网设备的MAC地址或第二待组网设备的MAC地址,生成所述确认报文,并进入所述确认状态;
若所述第一一级参数等于所述第二一级参数,则对第一二级参数一级第二二级参数进行比较,并获得比较结果;
根据所述比较结果,基于所述第一待组网设备的所述MAC地址或所述第二待组网设备的所述MAC地址生成所述确认报文,并进入所述确认状态。
例如:第一一级参数据具体可以为第一主设备潜力值,第一主设备潜力
值为基于第一待组网设备的相关参数计算获得的第一待组网设备可以作为主设备的一个评估值或分数;其中,相关参数可以包括用户服务质量、信道质量、干扰等;同理,可以获得第二待组网设备的第二主设备潜力值。
进一步地,不同的相关参数可以设置不同的权重,然后求和,得到一个分数值,也即第一主设备潜力值;同理,可以得到第二主设备潜力值。
另外,第一二级参数可以为第一MAC地址,同理,第二二级参数为第二MAC地址;对此,本公开的实施例不做具体限定,在实际应用场景中,可以根据实际需要,确定第一参数集或第二参数集所包含的参数的类别,还可以根据实际需要,确定第一参数集或第二参数集中所包含的每类参数参与后续算法调用的顺序或者级别。
本公开的实施例,为了使得选举过程有效,进而可以顺利进入确认状态,则当第一主设备潜力值和第二主设备潜力值相等时,则基于第一二级参数以及第二二级参数的大小进行主设备以及从设备的确定。
进一步地,所述若所述第一一级参数不等于所述第二一级参数,则基于所述第一待组网设备的MAC地址或第二待组网设备的MAC地址,生成所述确认报文,并进入所述确认状态,包括:
若所述第一一级参数大于所述第二一级参数,则基于所述第一待组网设备的所述MAC地址,生成所述确认报文,并进入所述确认状态;
若所述第一一级参数小于所述第二一级参数,则基于所述第二待组网设备的所述MAC地址,生成所述确认报文,并进入所述确认状态。
进一步地,所述确认报文至少包括主设备MAC地址。
本公开一可选的实施例,第一参数集以及第二参数集除了包括主设备潜力值、MAC地址以及状态参数,还可以包括其它类别的参数,用于确定主设备和从设备;例如,当基于第一二级参数以及第二二级参数的大小仍然无法确定主设备以及从设备的时候,还可以基于其它参数,进行主设备以及从设备的确定。
本公开的实施例,基于第一待组网设备以及第二待组网设备之间的数据交互,实现第一待组网设备以及第二待组网设备自动确定主设备以及从设备,从而避免了繁琐的组网前主、从设备配置的问题,在确定了主设备以及从设备以后,可以直接开始常规的组网流程,无需人为手动设置主设备或从设备,也无需额外的网线,从而降低了成本,并扩大了适用范围。
另外,由于自动确定主设备以及从设备以后,可以直接开始常规的组网流程,并可以正常适用,因此,用户在正常使用该无线网络设备前,无需多次登陆管理页面进行相关设置,降低了用户使用成本,提高了用户体验。
具体的,所述若所述第二待组网设备处于确认状态,则基于所述待组网报文确定主设备和从设备,包括:
若所述第二待组网设备处于所述确认状态,则进入设置状态;
基于所述待组网报文获取所述主设备MAC地址;
将所述主设备MAC地址与所述第一待组网设备的所述MAC地址进行对比;
若所述主设备MAC地址与所述第一待组网设备的所述MAC地址相同,则将所述第一待组网设备确定为所述主设备;
若所述主设备MAC地址与所述第一待组网设备的所述MAC地址不相同,则将所述第一待组网设备确定为所述从设备。
本公开的实施例,若处于确认状态的第一待组网设备接收到了处于确认状态的第二待组网设备发出的确认报文,则直接进入设置状态;
第一待组网设备基于确认报文获得主设备MAC地址;然后将主设备MAC地址和自身MAC地址进行比较,若一致,则将自身设置为主设备,并进入常规组网流程;若不一致,则将自身设置为从设备,并进入常规组网流程。
本公开一可选的实施例,当所述第一待组网设备处于所述确认状态,则发出所述确认报文,并接收所述待组网报文;根据所述待组网报文确定所述第二待组网设备的状态,还包括:
若所述第二待组网设备处于所述选举状态,则不对所述待组网报文进行处理;
继续接收所述待组网报文,直至所述第二待组网设备处于所述确认状态,则进入设置状态;
基于所述待组网报文确定所述主设备以及从设备。
本公开的实施例,第一待组网设备直到收到第二待组网设备发出的确认报文后,才会进入设置状态,进而进行主设备以及从设备的确定以及设置。
可选的,还包括:
判断所述第一待组网设备是否完成组网;
若所述第一待组网设备完成组网,则所述第一待组网设备停止发出所述确认报文。
本公开的实施例,通过控制第一待组网设备的确认报文的终止发出时间,解决了由于无线广播报文存在概率性丢包,而导致的第二待组网设备无法接收到第一待组网设备发出的确认报文的问题;同时,还解决了,当第一待组网设备获得确认报文以后,若停止发出无线广播报文,并直接进入设置状态,则当第二待组网设备可能未收到任何第一待组网设备发出的选举报文以及确认报文时,会导致组网失败的问题。
本公开的实施例,如图2所示,可以基于如下实现方式实现:
其中,无线广播报文以Beacon为例,并基于如下表1表征厂商对字段的自定义;
表1
具体的,选择两台同时支持主设备以及从设备功能的无线组网设备,并分别用A设备、B设备表示,且当前,A设备、B设备处于同一模式;
例如:基于State(0X01),Score(A),MAC(A.MAC))生成A设备的选举报
文;其中,State可以是该报文Beacon的第一字段,指示该报文是选举报文还是确认报文,例如,State(0X01)表示A设备的当前状态为0X01,也即选举状态;Score可以是该报文Beacon的第三字段,指示发送该报文Beacon的待组网设备作为主设备的能力的度量,例如,Score(A)表示A设备的主设备潜力值,为一个实际计算获得的具体值,例如:0X08或0X18等,本公开的实施例为了便于描述以Score(A)进行表示;MAC可以是该报文Beacon的第二字段,在报文Beacon为选举报文的情况下第二字段为MAC(A.MAC)),表示发送该选举报文的A设备的MAC地址,在报文Beacon为确认报文的情况下第二字段为MAC(MAC_M),表示被确定为主设备的设备的MAC地址;同理,可以得到B设备的上述信息。
由于A设备、B设备参与确定主设备和从设备所对应的过程以及原理相同,因此,本公开的实施例,以A设备侧参与确定主设备和从设备的流程进行具体的解释说明:
1)A设备进入选举状态,例如,基于A设备上的某个控制键,控制A设备进入选举状态,或者其它任何可行的方式,控制A设备进入选举状态,本公开的实施例对此不做任何的限定;
2)A设备进入选举状态以后,则基于自身状态信息,生成选举报文,并周期性地发出携带自定义字段的选举报文Beacon(State(0X01),Score(A),MAC(A.MAC));同时,A设备侦听B设备的Beacon,若收到B设备的Beacon则提取帧内的自定义信息,并进行判断;
3)若B设备的状态字段为State(0X02),则表明B设备处于确认状态,则基于B设备的Beacon,获取主设备MAC地址,然后进入确认状态;比较MAC(A.MAC)和主设备MAC地址的大小,若MAC(A.MAC)和主设备MAC地址一致,则将A设备设置为主设备,并进入常规组网流程;若MAC(A.MAC)和主设备MAC地址不一致,则将A设备设置为从设备,并进入常规组网流程;
4)若B设备的状态字段为State(0X01),则表明B设备处于选举状态,则比较Score(A)以及Score(B)的大小;
若Score(A)>Score(B),则可以确定A设备为主设备,获取MAC(A.MAC),并生成确认报文,然后进入确认状态;若Score(A)<Score(B),则可以确定B设备为主设备,获取MAC(B.MAC),并生成确认报
文,然后进入确认状态;
若Score(A)=Score(B),则对MAC(A.MAC)以及MAC(B.MAC)进行比较;
若MAC(A.MAC)>MAC(B.MAC),则可以确定A设备为主设备,获取MAC(A.MAC),并生成确认报文,然后进入确认状态;
若MAC(A.MAC)<MAC(B.MAC),则可以确定B设备为主设备,获取MAC(B.MAC),并生成确认报文,然后进入确认状态;
5)A设备进入确认状态以后,则周期性地一直发出携带自定义字段的确认报文Beacon,直至A设备完成组网;同时,A设备侦听B设备的Beacon,若收到B设备的Beacon,则提取Beacon帧内的自定义信息,并进行判断;
6)若B设备的状态字段为State(0X01),则表明B设备处于选举状态,对B设备的Beacon进行忽略,并继续发出确认报文Beacon,同时,A设备侦听B设备的Beacon,若收到B设备的Beacon,则提取Beacon帧内的自定义信息,并进行判断;
7)若B设备的状态字段为State(0X02),则表明B设备处于确认状态,A设备进入设置状态,并比较MAC(A.MAC)和主设备MAC地址的大小。
8)若MAC(A.MAC)和主设备MAC地址一致,则将A设备设置为主设备,并进入常规组网流程;
若MAC(A.MAC)和主设备MAC地址不一致,则将A设备设置为从设备,并进入常规组网流程。
9)在A设备完成组网后,则停止发出确认报文Beacon。
如图3所示,本公开的实施例还提供一种用于通信设备的组网的装置300,应用于第一待组网设备,包括选举阶段模块301和确认阶段模块302。
其中,选举阶段模块301可以用于在所述第一待组网设备处于选举阶段的情况下:发送选举报文,并且判断是否接收到来自其他待组网设备的确认报文和选举报文,如果接收到来自其他待组网设备的确认报文或选举报文则进入确认阶段;
确认阶段模块302可以用于在所述第一待组网设备处于所述确认阶段的情况下:发送确认报文,并且判断是否接收到来自其他待组网设备的确认报文,如果接收到来自其他待组网设备的确认报文,则将所述第一待组网设备设置为主设备或从设备。
其中,选举报文至少包括与发送所述选举报文的待组网设备相关联的信息。
其中,确认报文至少包括与发送所述确认报文的待组网设备确认为主设备的待组网设备相关联的信息。
本公开的实施例还提供一种电子设备,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的方法。
本公开的实施例还提供一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行如上所述的方法。
本公开的上述技术方案的优点包括:
1)基于第一待组网设备以及第二待组网设备之间的数据交互,实现第一待组网设备以及第二待组网设备自动确定主设以及从设备,从而避免了繁琐的组网前主、从设备配置的问题,在确定了主设备以及从设备以后,可以直接开始常规的组网流程,无需人为手动设置主设备或从设备,也无需额外的网线,从而降低了成本,并扩大了适用范围;另外,由于自动确定主设备以及从设备以后,可以直接开始常规的组网流程,并可以正常使用,因此,用户在正常使用该无线网络设备前,无需多次登陆管理页面进行相关设置,降低了用户使用成本,提高了用户体验。
2)通过控制第一待组网设备的确认报文的终止发出时间,解决了由于无线广播报文存在概率性丢包,而导致的第二待组网设备无法接收到第一待组网设备发出的确认报文的问题;同时,还解决了,当第一待组网设备获得确认报文以后,若停止发出无线广播报文,并直接进入设置状态,则当第二待组网设备可能未收到任何第一待组网设备发出的选举报文以及确认报文时,会导致组网失败的问题。
另外,本公开实施例的装置的其他构成及作用对本领域的技术人员来说是已知的,为减少冗余,此处不做赘述。
需要说明的是,在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设
备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
在本公开的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本公开和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本公开的限制。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
在本公开中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本公开中的具体含义。
在本公开中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”可是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。
尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。
Claims (12)
- 一种组网的方法,应用于第一待组网设备,包括:在所述第一待组网设备处于选举阶段的情况下:接收其他待组网设备发送的确认报文或选举报文,如果接收到所述选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身作为主设备,响应于所述其他待组网设备发送的确认报文或选举报文,进入确认阶段;在所述第一待组网设备处于所述确认阶段的情况下:响应于接收到其他待组网设备发送的确认报文,将所述第一待组网设备设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息;以及其中,所述确认报文至少包括由发送所述确认报文的待组网设备确认的主设备的信息。
- 根据权利要求1所述的方法,其中,将所述第一待组网设备设置为主设备或从设备进一步包括:基于在所述确认阶段接收到的其他待组网设备发送的确认报文和在处于选举阶段的情况下进行的主设备的判断结果中的至少一项,将所述第一待组网设备设置为主设备或从设备。
- 根据权利要求1所述的方法,还包括以下中的至少一项:在所述第一待组网设备处于所述选举阶段的情况下,重复发送选举报文;以及在进入所述确认阶段之后,重复发送确认报文,直到组网完成为止。
- 根据权利要求1所述的方法,其中,在所述第一待组网设备响应于从其他待组网设备接收到的确认报文而进入所述确认阶段的情况下,所述第一待组网设备确认所述从其他待组网设备接收到的确认报文中指示的主设备为主 设备。
- 根据权利要求1所述的方法,其中:所述选举报文和所述确认报文包括第一字段,所述第一字段指示报文是所述选举报文还是所述确认报文;所述选举报文和所述确认报文还包括第二字段,所述选举报文的所述第二字段指示发送所述选举报文的待组网设备的MAC地址,所述确认报文的所述第二字段指示确认为主设备的待组网设备的MAC地址。
- 根据权利要求5所述的方法,其中,所述选举报文还包括第三字段,所述第三字段指示发送所述选举报文的待组网设备作为主设备的能力的度量,其中,进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身设置为主设备包括:将从所述其他待组网设备接收到的选举报文的所述第三字段与所述第一待组网设备发送的选举报文的所述第三字段进行比较,并根据比较的结果将所述其他待组网设备或所述第一待组网设备自身设置为主设备。
- 根据权利要求6所述的方法,其中,在从所述其他待组网设备接收到的所述选举报文的所述第三字段与所述第一待组网设备的所述第三字段相等的情况下,将从所述其他待组网设备接收到的选举报文的所述第二字段与所述第一待组网设备发送的选举报文的所述第二字段进行比较,并根据比较的结果将所述其他待组网设备或所述第一待组网设备自身设置为主设备。
- 根据权利要求5所述的方法,其中,所述待组网设备为多个,所述将从所述其他待组网设备接收到的选举报文的所述第三字段与所述第一待组网设备发送的选举报文的所述第三字段进行比较,并根据比较的结果将所述其他待组网设备或所述第一待组网设备自身设置为主设备进一步包括:将从各个所述其他待组网设备接收到的选举报文的所述第三字段分别与所述第一待组网设备发送的选举报文的所述第三字段进行比较,并根据比较的结果将所述多个其他待组网设备中的一个或所述第一待组网设备自身设置为主设备。
- 一种用于组网的装置,应用于第一待组网设备,包括:选举阶段模块,用于在所述第一待组网设备处于选举阶段的情况下:接收其他待组网设备发送的确认报文或选举报文,如果接收到所述选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是所述第一待组网设备自身作为主设备,响应于所述其他待组网设备发送的确认报文或选举报文,进入确认阶段;确认阶段模块,用于在所述第一待组网设备处于所述确认阶段的情况下:响应于接收到其他待组网设备发送的确认报文,将所述第一待组网设备设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息;以及其中,所述确认报文至少包括由发送所述确认报文的待组网设备确认的主设备的信息。
- 一种电子设备,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至8中任意一项所述的方法。
- 一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行如权利要求1至8中任意一项所述的方法。
- 一种通信系统,包括至少两个待组网设备,所述至少两个待组网设备中的每一个被配置为:在处于选举阶段的情况下:发送选举报文,从其他待组网设备接收报文,如果接收到来自其他待组网设备的选举报文,则进行判断以确认将发送所述选举报文的所述其他待组网设备还是自身作为主设备,响应于从其他待组网设备接收到确认报文或选举报文,进入确认阶段;在处于所述确认阶段的情况下:发送确认报文,从其他待组网设备接收报文,响应于接收到其他待组网设备发送的确认报文,将自身设置为主设备或从设备;其中,所述选举报文至少包括发送所述选举报文的待组网设备的信息;以及其中,所述确认报文至少包括由发送所述确认报文的待组网设备确认的主设备的信息。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23802831.0A EP4408058A4 (en) | 2022-05-09 | 2023-05-08 | NETWORKING METHOD AND DEVICE AS WELL AS DEVICE AND STORAGE MEDIUM |
| US18/412,495 US12166633B2 (en) | 2022-05-09 | 2024-01-13 | Method, device, apparatus, and storage medium for networking |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210499124.3 | 2022-05-09 | ||
| CN202210499124.3A CN115119230B (zh) | 2022-05-09 | 2022-05-09 | 确定主设备和从设备的方法、装置、设备及存储介质 |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US202318556689A A-371-Of-International | 2022-05-09 | 2023-10-23 | |
| US18/412,495 Continuation US12166633B2 (en) | 2022-05-09 | 2024-01-13 | Method, device, apparatus, and storage medium for networking |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023217059A1 true WO2023217059A1 (zh) | 2023-11-16 |
Family
ID=83326227
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/092649 Ceased WO2023217059A1 (zh) | 2022-05-09 | 2023-05-08 | 组网的方法、装置、设备及存储介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12166633B2 (zh) |
| EP (1) | EP4408058A4 (zh) |
| CN (1) | CN115119230B (zh) |
| WO (1) | WO2023217059A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115119230B (zh) * | 2022-05-09 | 2025-04-01 | 成都市联洲国际技术有限公司 | 确定主设备和从设备的方法、装置、设备及存储介质 |
| CN116017630A (zh) * | 2022-12-30 | 2023-04-25 | 联想(北京)有限公司 | 一种动态组网方法、装置及电子设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7421578B1 (en) * | 2003-07-22 | 2008-09-02 | Cisco Technology, Inc. | Method and apparatus for electing a leader node in a computer network |
| CN106789095A (zh) * | 2017-03-30 | 2017-05-31 | 腾讯科技(深圳)有限公司 | 分布式系统及消息处理方法 |
| CN108111358A (zh) * | 2018-01-12 | 2018-06-01 | 重庆惠家通信息技术有限公司 | Poe智能家居网关组网配置方法 |
| CN110233746A (zh) * | 2019-06-19 | 2019-09-13 | 烽火通信科技股份有限公司 | 一种家庭组网方法及家庭组网ap |
| CN113015266A (zh) * | 2020-10-09 | 2021-06-22 | 四川天邑康和通信股份有限公司 | 一种wifi6路由器mesh选举的方法 |
| CN115119230A (zh) * | 2022-05-09 | 2022-09-27 | 成都市联洲国际技术有限公司 | 确定主设备和从设备的方法、装置、设备及存储介质 |
Family Cites Families (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101572646B (zh) * | 2009-06-15 | 2011-08-03 | 杭州华三通信技术有限公司 | 一种远程irf堆叠的实现方法和设备 |
| CN103297257B (zh) * | 2012-02-27 | 2016-10-19 | 北京东土科技股份有限公司 | 一种冗余网络的实现方法 |
| CN106034304B (zh) | 2015-03-10 | 2019-08-27 | 北京信威通信技术股份有限公司 | 一种无线自组网的实现方法 |
| CN104883656B (zh) | 2015-04-23 | 2018-10-26 | 惠州Tcl移动通信有限公司 | 一种基于蓝牙组建稳态微微网的方法及其系统 |
| US9888073B2 (en) * | 2015-06-15 | 2018-02-06 | Flir Commercial Systems, Inc. | System and method for managing a collective data transfer rate of a plurality of edge devices |
| BR112019000960B1 (pt) | 2016-07-19 | 2024-01-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Método e primeiro nó de rede para manusear radiolocalização de dispositivos sem fio |
| CN106878969B (zh) | 2017-01-04 | 2020-04-14 | 普联技术有限公司 | 无线组网方法、无线组网设备与系统 |
| CN106850222B (zh) | 2017-01-04 | 2020-11-17 | 普联技术有限公司 | 无线组网设备的配置同步方法、无线组网设备与系统 |
| CN108093460B (zh) | 2018-02-07 | 2020-12-15 | 成都泰格微电子研究所有限责任公司 | 一种无线组网通信的自适应入网方法 |
| CN108712743B (zh) | 2018-04-24 | 2021-04-27 | 普联技术有限公司 | 管理设备群无线组网的方法和系统 |
| CN108810100B (zh) * | 2018-05-22 | 2021-06-29 | 郑州云海信息技术有限公司 | 一种主节点的选举方法、装置及设备 |
| CN110049532B (zh) | 2019-03-12 | 2021-04-30 | 上海感悟通信科技有限公司 | 一种用于无线自组网的心跳方法、受控节点和控制节点 |
| WO2021073726A1 (en) * | 2019-10-15 | 2021-04-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for dynamic leader selection for distributed machine learning |
| CN111491316B (zh) * | 2020-04-09 | 2022-11-11 | 深圳市共进电子股份有限公司 | 主从模式配置方法、装置、设备终端和可读存储介质 |
| CN114258112B (zh) * | 2020-09-22 | 2023-12-08 | 华为技术有限公司 | 一种ap选举方法、装置及计算机可读存储介质 |
| CN113692028A (zh) | 2021-08-25 | 2021-11-23 | 成都长虹网络科技有限责任公司 | 一种Mesh网络中AP设备主从切换方法 |
| CN114786162B (zh) | 2022-04-22 | 2024-11-26 | 肖红波 | 恶劣环境下移动扩展组网高速稳定接入方法 |
-
2022
- 2022-05-09 CN CN202210499124.3A patent/CN115119230B/zh active Active
-
2023
- 2023-05-08 EP EP23802831.0A patent/EP4408058A4/en active Pending
- 2023-05-08 WO PCT/CN2023/092649 patent/WO2023217059A1/zh not_active Ceased
-
2024
- 2024-01-13 US US18/412,495 patent/US12166633B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7421578B1 (en) * | 2003-07-22 | 2008-09-02 | Cisco Technology, Inc. | Method and apparatus for electing a leader node in a computer network |
| CN106789095A (zh) * | 2017-03-30 | 2017-05-31 | 腾讯科技(深圳)有限公司 | 分布式系统及消息处理方法 |
| CN108111358A (zh) * | 2018-01-12 | 2018-06-01 | 重庆惠家通信息技术有限公司 | Poe智能家居网关组网配置方法 |
| CN110233746A (zh) * | 2019-06-19 | 2019-09-13 | 烽火通信科技股份有限公司 | 一种家庭组网方法及家庭组网ap |
| CN113015266A (zh) * | 2020-10-09 | 2021-06-22 | 四川天邑康和通信股份有限公司 | 一种wifi6路由器mesh选举的方法 |
| CN115119230A (zh) * | 2022-05-09 | 2022-09-27 | 成都市联洲国际技术有限公司 | 确定主设备和从设备的方法、装置、设备及存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4408058A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| US12166633B2 (en) | 2024-12-10 |
| CN115119230B (zh) | 2025-04-01 |
| CN115119230A (zh) | 2022-09-27 |
| EP4408058A4 (en) | 2025-03-19 |
| EP4408058A1 (en) | 2024-07-31 |
| US20240380661A1 (en) | 2024-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110996405B (zh) | 耳机连接方法、终端、耳机盒子与计算机可读存储介质 | |
| US12166633B2 (en) | Method, device, apparatus, and storage medium for networking | |
| CN111048086B (zh) | 多设备间的语音唤醒方法、和自协商的语音唤醒方法、装置及系统 | |
| EP2782389A2 (en) | Method for processing cell outage and device thereof | |
| CN108810100A (zh) | 一种主节点的选举方法、装置及设备 | |
| CN101601024A (zh) | 使用wps的自动自组织网络创建和联合 | |
| EP2676469B1 (en) | Coordination between self-organizing networks | |
| CN113965474A (zh) | 网络质量评估的方法、电子设备及存储介质 | |
| JP7629020B2 (ja) | ネットワークにおいてノードデバイスを選択的にコミッショニングする方法及びコーディネータデバイス | |
| CN115802386A (zh) | 感知测量方法、装置、电子设备和存储介质 | |
| WO2023231894A1 (zh) | 基于协同纠错的唤醒方法、装置及系统、介质、设备 | |
| WO2025086944A1 (zh) | 投屏方法、装置、计算机设备和存储介质 | |
| CN113746821B (zh) | 智能设备控制方法、装置、存储介质及电子设备 | |
| WO2017166032A1 (zh) | 一种nan设备发送同步信标消息的方法和设备 | |
| CN113037798A (zh) | 多网关通信方法、系统、电子设备及存储介质 | |
| CN108712783B (zh) | 一种capwap隧道建立方法及装置 | |
| CN116528201A (zh) | 设备组网方法、装置、电子设备及存储介质 | |
| CN114866365A (zh) | 仲裁机选举方法、装置、智能设备及计算机可读存储介质 | |
| CN119252238A (zh) | 设备控制方法、装置、电子设备及计算机可读存储介质 | |
| US20240246436A1 (en) | Electric vehicle charging point management extender | |
| CN117915490A (zh) | 设备连接处理方法、装置、电子设备及存储介质 | |
| CN110740491A (zh) | 无线网络的通信处理方法、装置和家电设备 | |
| CN116017558A (zh) | 信息交互方法、信息交互装置、存储介质及服务器 | |
| WO2024045608A1 (zh) | 一种执行网络管理服务意图的方法、装置和系统 | |
| CN119364561B (zh) | 通信控制方法、装置、设备和存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23802831 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2023802831 Country of ref document: EP Effective date: 20240425 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |