[go: up one dir, main page]

CN119697812A - A local area network AP self-organizing network method and storage medium - Google Patents

A local area network AP self-organizing network method and storage medium Download PDF

Info

Publication number
CN119697812A
CN119697812A CN202411818699.2A CN202411818699A CN119697812A CN 119697812 A CN119697812 A CN 119697812A CN 202411818699 A CN202411818699 A CN 202411818699A CN 119697812 A CN119697812 A CN 119697812A
Authority
CN
China
Prior art keywords
message
aps
local area
election
lan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411818699.2A
Other languages
Chinese (zh)
Inventor
张明波
张晋秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangshi Technology Co ltd
Original Assignee
Wangshi Technology 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 Wangshi Technology Co ltd filed Critical Wangshi Technology Co ltd
Priority to CN202411818699.2A priority Critical patent/CN119697812A/en
Publication of CN119697812A publication Critical patent/CN119697812A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a local area network AP ad hoc network method, which is used for configuration in the same local area network when AP equipment of different manufacturers is accessed to the same local area network, and comprises the following steps of S10, performing AC election by all APs after all APs of different manufacturers are accessed to the same local area network, determining the AP with the largest equipment parameter integral as the AC in the local area network according to equipment parameter integral comparison of all APs, and controlling the APs through the AC after the AC election in the local area network is determined. According to the invention, a new AC is negotiated between the AP devices of different manufacturers to independently manage the AP devices, and meanwhile, the relation between the AP devices and the original AC is not influenced, so that the compatibility and flexibility of the network are improved, and a more convenient and efficient network management scheme is provided for users.

Description

Local area network AP ad hoc network method and storage medium
Technical Field
The invention relates to the technical field of local area network communication, in particular to a local area network AP (access point) ad hoc network method and a storage medium.
Background
In the field of modern wireless network communications, wireless Local Area Networks (WLANs) have become an integral part of enterprise and home users. Among them, AC (Access Controller ) +ap (wireless Access Point) networking system is one of the mainstream architectures for constructing WLAN. In the architecture, the AC is used as a core management node of the network and is responsible for controlling and managing all APs in the local area network, so as to realize the coverage of wireless signals and the access of network users. The AP serves as a transmitting end of the wireless signal and is responsible for transmitting the wireless network signal to the end user device.
However, there are some significant limitations to conventional ac+ap networking systems. First, the roles of AC and AP are fixed at the time of shipment, which means that the functions and roles of AC and AP cannot be dynamically adjusted according to the actual demands of the network. This fixed architecture limits the flexibility and extensibility of the network, making it difficult for network administrators to quickly respond and adapt in the face of network environment changes or business demand adjustments.
Second, communication between the AC and the AP is typically performed using individual vendor defined proprietary control protocols. These proprietary protocols, while capable of meeting the communication needs between specific vendor devices, limit interoperability between different vendor devices. In practice, a user may need to access AP devices of different vendors to an existing network to meet specific business needs or cost considerations. However, due to the existence of proprietary protocols, these different vendor AP devices often cannot be effectively managed and controlled by existing ACs, resulting in increased complexity and cost of network management.
In addition, when a user purchases an AP device of a different manufacturer from the AC, there is a problem that it cannot be managed. This not only affects the user experience, but also limits the expandability and flexibility of the wireless network. The user has to face the problem of compatibility of the devices, the advantages of the devices of different manufacturers cannot be fully utilized, and the optimal configuration and performance exertion of the network devices cannot be realized. Therefore, a user needs a more flexible, open and intelligent networking scheme to realize compatibility and management of different manufacturer devices and improve the expandability and management efficiency of the network.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an AP ad hoc network method of a local area network, wherein an AC is negotiated through each AP, so that a user can conveniently use the AC to manage the APs, the relation between each AP and the original AC is not influenced, and the compatibility and the flexibility of the local area network are improved.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
A local area network AP ad hoc network method is used for accessing AP devices of different manufacturers to the same local area network for configuration, and comprises the following steps:
S10, after all APs of different manufacturers are accessed to the same local area network, all APs perform AC election, and the AP with the largest equipment parameter integral is determined to be the AC in the local area network according to the equipment parameter integral comparison of each AP;
And S20, after the AC election in the local area network is determined, other APs are connected with the AC, and the APs are controlled by the AC.
Specifically, the process of performing AC election by all APs in step S10 includes:
S11, any AP sends an election message containing self equipment parameter information into the local area network;
s12, after receiving the election message, other APs select a first waiting time for random dormancy and then respond to the corresponding election message;
S13, after any AP receives the competitive messages sent by other APs, extracting the equipment parameter information of the corresponding AP, calculating equipment parameter integral, comparing the equipment parameter integral with the equipment parameter integral of the AP, and if the equipment parameter integral of the AP is the largest, using the AP as a candidate AC, and continuously sending the competitive messages twice at intervals of second waiting time;
And S14, after the candidate AC continuously transmits the election message twice, if the election message with the equipment parameter integral larger than the election message is not received, the candidate AC is successfully elected, and the candidate AC is determined to be the AC in the local area network.
The second waiting time is longer than the first waiting time, so that the accuracy of the competing result is ensured.
Specifically, the device parameter information in the election message at least includes a command code, a device MAC address, a device IP address, a device gateway address, a protocol version number, and a device total memory size.
The calculation mode of the device parameter integration is that N times of the value of the protocol version number is added with the value of the total memory size of the device, wherein N is a fixed parameter.
Specifically, when at least two APs perform equipment parameter integral comparison, if the equipment parameter integral is the same, continuing to compare the equipment item parameter integral;
The calculation mode of the equipment subentry parameter integration is that the last 2 bytes of the equipment MAC address is added with the low 2 bytes of the equipment IP address.
Specifically, in the step S20, the process of connecting the other APs to the AC includes:
S21, the AP sends a connection request to the AC;
s22, the AC issues an RSA public key;
S23, the AP generates an AES password and encrypts a message by using an RSA public key;
S24, the AC decrypts the message to obtain an AES password of the AP;
S25, the AP sends hello keep-alive messages;
S26, the AC responds to the hello keep-alive message and issues an AP configuration file;
s27, the AP applies the configuration file and reports the WIFI parameter information to the AC.
Specifically, after determining the AC in the local area network in the step S10, broadcasting an AC declaration message to the local area network every third waiting time of the AC;
after the AP monitors the AC statement message, an AC request message is sent according to the information in the AC statement message; and the AC responds to the AC response message after receiving the AC request message, so as to realize AC verification.
Further, when a new AP accesses the local area network, the new AP monitors a fourth waiting time of the network, the fourth waiting time is larger than the third waiting time, whether the local area network has an AC or not is judged, if yes, checksum connection is performed according to an AC checksum AC connection process, and if not, AC election is participated according to a step S10 process.
Further, when the new AP accesses the local area network with the AC, the new AP performs AC election by comparing respective equipment parameter integral with the current AC, wherein if the equipment parameter integral of the current AC is large, the AC identity is reserved, otherwise, the new AP acts as the AC in the local area network.
Still further, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the local area network AP ad hoc network method described above.
Compared with the prior art, the invention has the following beneficial effects:
According to the invention, a new AC is negotiated between the AP devices of different manufacturers to independently manage the AP devices, and meanwhile, the relation between the AP devices and the original AC is not influenced, so that the compatibility and flexibility of the network are improved, a more convenient and efficient network management scheme is provided for users, the self-management and self-configuration of the AP devices are realized, the cost of the users for deploying the wireless network is reduced, and the problems of confusion of wireless resource division and conflict of resource use are solved. The implementation of the invention brings revolutionary changes to the construction and management of the wireless network, provides more efficient, reliable and convenient wireless network service for users, and has important practical value and market prospect.
Drawings
FIG. 1 is a schematic overall flow chart of an embodiment of the present invention.
Fig. 2 is a schematic flow chart of AC election in an embodiment of the present invention.
Fig. 3 is a schematic flow chart of an AC connection in an embodiment of the present invention.
Detailed Description
The invention will now be further described with reference to the accompanying drawings and examples, embodiments of which include, but are not limited to, the following examples.
Examples
As shown in fig. 1 to 3, the AP ad hoc network method for a local area network is configured in the same local area network when AP devices of different manufacturers access, wherein data packets agree that the auction data adopts UDP, fixed password, AES encryption, the AP connection AC adopts TCP, RSA negotiation password, AES encryption, and because of the problem of the private protocol limitation of different manufacturers in the prior art, the present invention is usually integrated or installed in the AP devices of corresponding manufacturers in the form of plug-in modules. The method specifically comprises the following steps:
S10, after all APs of different manufacturers are accessed to the same local area network, all APs perform AC election, and the AP with the largest equipment parameter integral is determined to be the AC in the local area network according to equipment parameter integral comparison of each AP.
The process of performing AC election by all the APs comprises the following steps:
S11, any AP sends an election message containing the parameter information of the equipment to the local area network. The device parameter information in the election message at least comprises a command code, a device MAC address, a device IP address, a device gateway address, a protocol version number, a device total memory size, information about whether configured, device random value information, running time information and the like.
For example, the content of the election message:
{"cmd":"ac_bid","mac":"00:11:22:33:44:55","ip":"192.168.1.3","gw":"192.168.1.254","proto_version":1,"total_mem":256,"version":"1.0.1","product":"NAP830","score":100256,"sub_score":100,"is_ac":0,"configed":0,"ac_magic":"12345678","client_cnt":0,"my_seq":100}
Wherein cmd is a command code, all messages contain the field for distinguishing the command of the received message, MAC represents the device MAC address, IP represents the device IP address, gw represents the device gateway address, proto_version represents the protocol version number, total_mem represents the total memory size of the device, version represents the device system version, product represents the device model number configed represents whether the current device has been configured, ac_mac represents the random value information of the current device, random generation is performed after starting, the current device is unified to be the same as AC after networking, client_cnt represents the client count, my_seq represents the system starting time uptime value for avoiding replay attack in the network, monotonically increasing, and when responding to a certain message, my_seq is the local terminal seq, and y_seq is the my_seq of the received message.
S12, after receiving the election message, other APs select a first waiting time for random dormancy and then respond to the corresponding election message, wherein the first waiting time is generally 1-251ms and is used for staggering the response time among the APs and avoiding network congestion caused by a large number of data messages.
And S13, after any AP receives the election messages sent by other APs, extracting the equipment parameter information of the corresponding AP, calculating equipment parameter integral, comparing the equipment parameter integral with the equipment parameter integral of the AP, and if the equipment parameter integral of the AP is the largest, using the AP as a candidate AC, and continuously sending the election messages twice at intervals of second waiting time, wherein the second waiting time is longer than the first waiting time, and is generally about 1S, so that the dormant AP responds in time, and the accuracy of the election result is ensured.
Specifically, the device parameter integration is calculated by adding N times the value of the protocol version number to the value of the total memory size of the device, where N is a fixed parameter, typically N is much larger than the value of the total memory size of the device, for example 100000, where the total memory size of the device is typically denoted as MB, and its values, for example 256, 512, 1024, etc., so as to ensure that the first choice is the protocol version number when the protocol version number, the higher version may be able to manage more configuration parameters, and the second choice is the total memory size of the device, and the more memory may represent higher device performance.
And when the equipment parameter integral comparison is carried out by at least two APs, if the equipment parameter integral is the same, continuing to compare the equipment subentry parameter integral, wherein the equipment subentry parameter integral is calculated in a mode of adding the value of the last 2 bytes of the equipment MAC address to the value of the last 2 bytes of the equipment IP address. For example (0 x4455< < 16) |0x0103.
And S14, after the candidate AC continuously transmits the election message twice, if the election message with the equipment parameter integral larger than the election message is not received, the candidate AC is successfully elected, and the candidate AC is determined to be the AC in the local area network.
Specifically, after determining the AC in the local area network in step S10, the AC broadcasts an AC declaration message to the local area network every third waiting time, where the third waiting time may be 2S.
The AC declaration message may be as follows:
{"cmd":"ac_announce","mac":"00:11:22:33:44:55","ip":"192.168.1.3","gw":"192.168.1.254","proto_version":1,"total_mem":256,"version":"1.0.1","product":"NAP830","score":100256,"sub_score":100,"is_ac":1,"configed":0,"ac_magic":"12345678","client_cnt":0,"my_seq":100}
the keywords to be sent are the same as the election message for simplicity, except that the command codes are different.
After the AP monitors the AC statement message, an AC request message is sent according to the information in the AC statement message; and the AC responds to the AC response message after receiving the AC request message, so as to realize AC verification.
The AC request message may be as follows:
{"cmd":"ac_request","mac":"00:11:22:33:44:55","ip":"192.168.1.3","gw":"192.168.1.254","proto_version":1,"total_mem":256,"version":"1.0.1","product":"NAP830","score":100256,"sub_score":100,"is_ac":1,"configed":0,"ac_magic":"12345678","client_cnt":0,"my_seq":100}
the AC response message may be as follows:
{"cmd":"ac_response","mac":"00:11:22:33:44:55","ip":"192.168.1.3","gw":"192.168.1.254","proto_version":1,"total_mem":256,"version":"1.0.1","product":"NAP830","score":100256,"sub_score":100,"is_ac":1,"configed":0,"ac_magic":"12345678","client_cnt":0,"my_seq":100,"you_seq":100}
Wherein, the value of you_seq is equal to the value of my_seq in the AC request message, thereby enhancing security.
When a new AP is accessed to the local area network, the new AP monitors fourth waiting time of the network, the fourth waiting time is larger than the third waiting time, for example, the fourth waiting time is 5S, whether the local area network has AC or not is judged, if yes, checksum connection is carried out according to an AC checksum AC connection process, and if not, AC election is participated according to a step S10 process.
Further, when the new AP accesses the local area network with the AC, the new AP performs AC election by comparing respective equipment parameter integral with the current AC, wherein if the equipment parameter integral of the current AC is large, the AC identity is reserved, otherwise, the new AP acts as the AC in the local area network.
When there is a high version of the AP in the network, an AC handoff is necessary because the high version may be able to manage more configuration parameters.
And S20, after the AC election in the local area network is determined, other APs are connected with the AC, and the APs are controlled by the AC.
Specifically, the process of connecting other APs to the AC includes:
s21, the AP sends a connection request to the AC.
The AP connection request message may be as follows:
{"cmd":"ac_connect'","mac":"00:11:22:33:44:55","ip":"192.168.1.3","gw":"192.168.1.254","proto_version":1,"total_mem":256,"version":"1.0.1","product":"NAP830","score":100256,"sub_score":100,"is_ac":1,"configed":0,"ac_magic":"12345678","client_cnt":0,"my_seq":100}
s22, the AC issues an RSA public key.
The AC RSA public key message may be as follows:
{“cmd”:”ac_rsa”,“rsa”:“xxxxxxxxxxx”,“your_seq”:100}
wherein, the AP needs to check you_seq.
S23, the AP generates an AES password and encrypts the message by using the RSA public key.
The AP AES cipher message may be as follows:
{“cmd”:“ac_pwd”,“pwd”:”0123456789123456”,“my_seq”:101}
Wherein pwd is the random password generated by AP and used for subsequent AES encryption, the length is 16, and the message is encrypted and sent by the RSA public key of the received AC.
S24, the AES password of the AP is obtained by the AC decryption message.
S25, the AP sends hello keep-alive messages.
The hello keep-alive message for the AP to AC can be as follows:
{“cmd”:“ac_hello”,“my_seq”:102,“md5”:”1234567890123456”}
From the message, the subsequent messages are encrypted by using an AES128CBC encryption mode, md5 represents a parameter file md5 of the AP, and the AC can know whether the parameters of the AP and the AP are the same through the md 5.
S26, the AC responds to the hello keep-alive message and issues an AP configuration file.
The hello keep-alive message for the AC to the AP can be as follows:
{“cmd”:“ac_hello”,“my_seq”:101,“your_seq”:102}
Wherein the AP needs to check you_seq.
When AC parameter md5 is different from AP, ac_para is transmitted, for example:
{“cmd”:“ac_para”,“data”:”xxxxxxxxxxxx”,“my_seq”:102,“md5”:“1234567890123456”}
and after the AP receives the parameters, the parameters are applied, so that the purpose of AP synchronous AC parameter configuration is realized.
S27, the AP applies the configuration file and reports the WIFI parameter information to the AC.
When some data of the AP changes, the information can be actively reported to the AC, such as the current channel of the WIFI and other parameter information.
The active report message from AP to AC may be as follows:
{“cmd”:“ac_upload_data”,“data”:”xxxxxxxxx”,“my_seq”:105}
After the AP is started, a random magic number is generated. After networking, ac_magic of all APs is set to ac magic, and only then will the same device be networked. The mac of the AP may report to the AC by active reporting.
When the user enables the function of prohibiting other devices from accessing, the mac of all the currently online ap lists and the private mac of the ap are saved. The subsequently accessed AP requires the user to manually allow the new device to access to synchronize the parameters. Thus, for an already stable layout point, the acquisition of parameters by unfamiliar device access can be avoided.
In another embodiment, the present invention further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements the steps of the local area network AP ad hoc network method described above.
The computer storage media of embodiments of the application may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or FLASH memory FLASH), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Through the setting, the AP equipment of different factories can be conveniently and uniformly managed by a user.
The above embodiments are only preferred embodiments of the present invention, and not intended to limit the scope of the present invention, but all changes made by adopting the design principle of the present invention and performing non-creative work on the basis thereof shall fall within the scope of the present invention.

Claims (10)

1.一种局域网AP自组网方法,其特征在于,用于在不同厂家的AP设备接入同一局域网中配置,包括以下步骤:1. A local area network AP self-organizing method, characterized in that it is used to configure AP devices of different manufacturers to access the same local area network, comprising the following steps: S10、在所有的不同厂家的AP接入同一局域网后,所有AP进行AC竞选,根据各AP的设备参数积分对比,将设备参数积分最大的AP确定为本局域网内的AC;S10. After all APs from different manufacturers are connected to the same LAN, all APs conduct AC election. Based on the comparison of device parameter scores of each AP, the AP with the largest device parameter score is determined as the AC in the LAN. S20、在局域网内的AC竞选确定后,其他AP与AC连接,通过该AC对这些AP进行管控。S20. After the AC election in the LAN is determined, other APs are connected to the AC, and these APs are managed and controlled through the AC. 2.根据权利要求1所述的局域网AP自组网方法,其特征在于,所述步骤S10中所有AP进行AC竞选的过程包括:2. The LAN AP self-organizing method according to claim 1, wherein the process of all APs running for AC election in step S10 comprises: S11、任一AP向局域网内发送包含自身设备参数信息的竞选报文;S11, any AP sends a campaign message containing its own device parameter information to the local area network; S12、其他AP在收到竞选报文后,选择随机休眠第一等待时间,然后回应相应的竞选报文;S12, after receiving the election message, other APs choose to randomly sleep for the first waiting time, and then respond to the corresponding election message; S13、任一AP在收到其他AP发送的竞选报文后,提取相应AP的设备参数信息,计算设备参数积分,然后与自身的设备参数积分进行对比,若自身的设备参数积分最大,则该AP作为候选AC,以第二等待时间为间隔连续两次再发送竞选报文;其中,所述第二等待时间大于第一等待时间;S13. After receiving the election message sent by other APs, any AP extracts the device parameter information of the corresponding AP, calculates the device parameter integral, and then compares it with its own device parameter integral. If its own device parameter integral is the largest, the AP is selected as a candidate AC and sends the election message twice in succession with the second waiting time as an interval; wherein the second waiting time is greater than the first waiting time; S14、候选AC在连续两次发送竞选报文后,如果仍未收到设备参数积分比自己大的竞选报文,则该候选AC竞选成功,确定为本局域网内的AC。S14. After the candidate AC sends election messages twice in succession, if it still does not receive an election message with a device parameter score greater than its own, the candidate AC succeeds in the election and is determined to be the AC in the local area network. 3.根据权利要求2所述的局域网AP自组网方法,其特征在于,所述竞选报文中的设备参数信息至少包括命令码、设备MAC地址、设备IP地址、设备网关地址、协议版本号和设备总内存大小。3. The LAN AP self-organizing network method according to claim 2 is characterized in that the device parameter information in the campaign message at least includes a command code, a device MAC address, a device IP address, a device gateway address, a protocol version number and a total memory size of the device. 4.根据权利要求3所述的局域网AP自组网方法,其特征在于,所述设备参数积分的计算方式为:取协议版本号数值的N倍加上设备总内存大小的值,其中N为固定参数。4. The LAN AP self-organizing network method according to claim 3 is characterized in that the device parameter integral is calculated by taking N times the value of the protocol version number plus the value of the total memory size of the device, where N is a fixed parameter. 5.根据权利要求4所述的局域网AP自组网方法,其特征在于,当不少于两个AP进行设备参数积分对比时,若设备参数积分相同,则继续对比设备分项参数积分;5. The method for self-organizing APs in a local area network according to claim 4, characterized in that when at least two APs compare device parameter integrals, if the device parameter integrals are the same, then the device sub-item parameter integrals are continued to be compared; 所述设备分项参数积分的计算方式为:设备MAC地址最后2个字节的值加上设备IP地址的低2字节的值。The device sub-parameter integral is calculated as follows: the value of the last 2 bytes of the device MAC address plus the value of the lower 2 bytes of the device IP address. 6.根据权利要求1~5任一项所述的局域网AP自组网方法,其特征在于,所述步骤S20中,其他AP与AC连接的过程包括:6. The method for self-organizing APs in a local area network according to any one of claims 1 to 5, characterized in that in step S20, the process of connecting other APs to the AC comprises: S21、AP向AC发送连接请求;S21. AP sends a connection request to AC. S22、AC下发RSA公钥;S22, AC issues RSA public key; S23、AP生成AES密码,并用RSA公钥加密报文;S23, AP generates an AES password and encrypts the message with the RSA public key; S24、AC解密报文得到AP的AES密码;S24. The AC decrypts the message to obtain the AP's AES password. S25、AP发送hello保活报文;S25, AP sends a hello keep-alive message; S26、AC回应hello保活报文,并下发AP配置文件;S26: The AC responds with a hello keepalive message and sends the AP configuration file. S27、AP应用配置文件,并上报WIFI参数信息到AC。S27. The AP applies the configuration file and reports the WIFI parameter information to the AC. 7.根据权利要求6所述的局域网AP自组网方法,其特征在于,当所述步骤S10中确定出本局域网内的AC后,AC每间隔第三等待时间向局域网内广播一次AC声明报文;7. The LAN AP self-organizing method according to claim 6, characterized in that after the AC in the LAN is determined in step S10, the AC broadcasts an AC declaration message to the LAN once every third waiting time; 当AP监听到AC声明报文后,根据AC声明报文内的信息,发送AC请求报文;AC在收到AC请求报文后回应AC响应报文,实现AC校验。When the AP monitors the AC declaration message, it sends an AC request message according to the information in the AC declaration message; after receiving the AC request message, the AC responds with an AC response message to implement AC verification. 8.根据权利要求7所述的局域网AP自组网方法,其特征在于,当有新的AP接入局域网时,新AP监听网络第四等待时间,该第四等待时间大于第三等待时间,判断该局域网是否存在AC,若是,则按照AC校验和AC连接过程进行校验和连接,若否,则按照步骤S10过程参与AC竞选。8. The LAN AP self-organizing network method according to claim 7 is characterized in that when a new AP accesses the LAN, the new AP monitors the network for a fourth waiting time, which is greater than the third waiting time, and determines whether there is an AC in the LAN. If so, it performs verification and connection according to the AC verification and AC connection process. If not, it participates in the AC election according to the process of step S10. 9.根据权利要求8所述的局域网AP自组网方法,其特征在于,当新AP接入存在AC的局域网时,新AP还与现AC对比各自的设备参数积分进行AC竞选,其中,若现AC的设备参数积分大,则保留AC身份,否则由新AP担任本局域网内的AC。9. The LAN AP self-organizing network method according to claim 8 is characterized in that when a new AP accesses a LAN with an AC, the new AP also compares the respective device parameter scores with the existing AC to compete for AC, wherein if the device parameter score of the existing AC is larger, the AC identity is retained, otherwise the new AP serves as the AC in the LAN. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~9任一项所述的局域网AP自组网方法的步骤。10. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the local area network AP self-organizing network method according to any one of claims 1 to 9 are implemented.
CN202411818699.2A 2024-12-11 2024-12-11 A local area network AP self-organizing network method and storage medium Pending CN119697812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411818699.2A CN119697812A (en) 2024-12-11 2024-12-11 A local area network AP self-organizing network method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411818699.2A CN119697812A (en) 2024-12-11 2024-12-11 A local area network AP self-organizing network method and storage medium

Publications (1)

Publication Number Publication Date
CN119697812A true CN119697812A (en) 2025-03-25

Family

ID=95036654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411818699.2A Pending CN119697812A (en) 2024-12-11 2024-12-11 A local area network AP self-organizing network method and storage medium

Country Status (1)

Country Link
CN (1) CN119697812A (en)

Similar Documents

Publication Publication Date Title
US11140172B2 (en) Method for automatically applying access control policies based on device types of networked computing devices
US12501237B2 (en) Communication system, method and device for miniature intelligent sensor
EP1872250B1 (en) Wireless device discovery and configuration
US9407507B2 (en) Topology discovery in a hybrid network
JP2019509703A (en) Cloud-based control of Wi-Fi networks
WO2020056558A1 (en) Bluetooth cluster online upgrade method and apparatus
JP2010200306A (en) Reduced power state network processing
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
KR20060121952A (en) Method and system for optimizing data transfer between network devices
CN101288063B (en) Wireless device discovery and configuration
CN106792694B (en) An access authentication method and access device
CN110326262A (en) Wireless device is abstracted as Virtual Ethernet
CN119697812A (en) A local area network AP self-organizing network method and storage medium
CN120416876A (en) Star Flash MESH networking device access configuration method, equipment, system and media
CN119696872A (en) A local area network AC fixed access method and storage medium
WO2025060265A1 (en) Device discovery method and apparatus, and electronic device and storage medium
US20240073783A1 (en) Ble link cluster control and management
CN119697138A (en) A local area network AP self-organizing network recovery method and storage medium
US9923810B1 (en) Application update using multiple disparate networks
JP5915755B2 (en) Information processing device
CN115514587A (en) Communication device, method, electronic device and storage medium
JP2003258817A (en) Wireless communication device, control method thereof, and program for realizing the control method
US12184494B2 (en) Methods and systems for automatic open shortest path first (OSPF) configuration
CN119729477B (en) Terminal networking method, device, computer equipment and storage medium
CN103200707B (en) A kind of middleware of the meteorological data observation system based on wireless sensor network

Legal Events

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