CN-119729511-B - Network equipment deployment scheme generation method and device, storage medium and electronic equipment
Abstract
The application provides a network equipment deployment scheme generation method, a device, a storage medium and electronic equipment, which comprise the steps of obtaining boundary information of a target area, obtaining current address information of a target server, and generating the network equipment deployment scheme based on the current address information of the target server, network coverage radius of wireless relay equipment, communication distance between adjacent wireless relay equipment and the boundary information. The number of the needed wireless relay devices and the target position information of each wireless relay device are automatically calculated, so that a network device deployment scheme is generated, dependence on manual planning of a network is eliminated, and planning efficiency is improved.
Inventors
- LIU WENFENG
- KE LIN
- LIU BO
Assignees
- 广州极飞科技股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230927
Claims (11)
- 1. A method for generating a network device deployment scenario, the method comprising: Obtaining boundary information of a target area; Acquiring current address information of a target server; The method comprises the steps of inputting current address information of a target server, the network coverage radius of the target server, the network coverage radius of wireless relay devices, communication distance between adjacent wireless relay devices and the boundary information into a pre-trained neural network model, outputting at least one alternative scheme by the neural network model, determining the network device deployment scheme from the at least one alternative scheme based on weight conditions, wherein the weight conditions comprise a first weight and a second weight, the first weight is a weight corresponding to the total number of the wireless relay devices, the second weight is a weight corresponding to the ratio of the total number of the first wireless relay devices to the wireless relay devices, the first wireless relay devices are wireless relay devices with the target area, the total number of the wireless relay devices is larger than the first weight, and the first weight is larger than the total number of the wireless relay devices.
- 2. The method for generating a network device deployment scenario according to claim 1, wherein the generating a network device deployment scenario comprises: Dividing the wireless relay equipment into N levels, and setting the distance between the target position information of the wireless relay equipment of the first level and the current address information of the target server to be smaller than or equal to the communication distance between the wireless relay equipment and the local server; Setting the communication distance between the target position information of the wireless relay device of the ith level and the target position information of at least one wireless relay device of the ith-1 level to be less than or equal to the communication distance between adjacent wireless relay devices, wherein i is more than or equal to 2 and less than or equal to N.
- 3. The method for generating a network device deployment scenario according to claim 1, wherein the generating a network device deployment scenario comprises: planning target position information of each wireless relay device so that the target server and the communication networks of all the wireless relay devices completely cover a target area; and generating a network device deployment map based on the current address information of the target server and the target position information of each wireless relay device.
- 4. The method for generating a network device deployment scenario according to claim 1, wherein the generating a network device deployment scenario comprises: Determining an uncovered area based on the current address information of the target server, the determined position information of the wireless relay device, the network coverage radius of the target server, the network coverage radius of the wireless relay device, the communication distance between adjacent wireless relay devices, and the boundary information; And acquiring the position information of the wireless relay equipment to be determined based on the network coverage radius and the uncovered area of the wireless relay equipment, so as to generate a network equipment deployment scheme.
- 5. The method for generating a network device deployment scenario according to claim 1, wherein the generating a network device deployment scenario comprises: And arranging the wireless relay devices layer by layer from inside to outside according to the network coverage radius of the target server and the network coverage radius of the wireless relay devices by taking the current address information of the target server as a center until the communication network of the target server and all the wireless relay devices completely communicates and covers the boundary information.
- 6. The network device deployment scenario generation method of claim 1, wherein prior to the generating a network device deployment scenario based on the current address information of the target server, the network coverage radius of the wireless relay device, the communication distance between neighboring wireless relay devices, and the boundary information, the method further comprises: Determining whether the target server is within the target area based on the current address information and the boundary information; if the target server is not in the target area, generating a position moving prompt for reminding a user to move the target server into the target area; and repeatedly acquiring the current address information of the target server until the target server is in the target area.
- 7. The network device deployment scenario generation method of claim 1, wherein after the network device deployment scenario is generated based on the current address information of the target server, the network coverage radius of the wireless relay device, the communication distance between neighboring wireless relay devices, and the boundary information, the method further comprises: determining a superior device corresponding to the wireless terminal device based on the installation position information corresponding to the wireless terminal device, the current address information of the target server and the target position information of each wireless relay device, wherein the superior device is the target server or one of the wireless relay devices; and adding the installation position information corresponding to the wireless terminal equipment into the network equipment deployment scheme, and generating pairing prompt information, wherein the pairing prompt information comprises the identification information of the wireless terminal equipment and the identification information of the corresponding superior equipment.
- 8. The network device deployment scenario generation method of claim 1, wherein after the network device deployment scenario is generated based on the current address information of the target server, the network coverage radius of the wireless relay device, the communication distance between neighboring wireless relay devices, and the boundary information, the method further comprises: And displaying the network equipment deployment scheme.
- 9. A network device deployment scenario generation apparatus, the apparatus comprising: An information acquisition unit configured to acquire boundary information of a target area; The information acquisition unit is also used for acquiring the current address information of the target server; The processing unit is used for generating a network equipment deployment scheme based on the current address information of the target server, the network coverage radius of the wireless relay equipment, the communication distance between adjacent wireless relay equipment and the boundary information, and comprises inputting the current address information of the target server, the network coverage radius of the wireless relay equipment, the communication distance between adjacent wireless relay equipment and the boundary information into a pre-trained neural network model, wherein the neural network model outputs at least one alternative scheme, determines the network equipment deployment scheme from the at least one alternative scheme based on a weight condition, wherein the weight condition comprises a first weight and a second weight, the first weight is a weight corresponding to the total number of the wireless relay equipment, the second weight is a weight corresponding to the ratio of the total number of the first wireless relay equipment to the wireless relay equipment, and the first wireless relay equipment is a wireless relay equipment with the total number of the wireless relay equipment, and the first wireless relay equipment is larger than the first wireless relay equipment with the larger total number of the first wireless relay equipment being located at the edge of the target area.
- 10. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-8.
- 11. An electronic device comprising a processor and a memory for storing one or more programs, which when executed by the processor, implement the method of any of claims 1-8.
Description
Network equipment deployment scheme generation method and device, storage medium and electronic equipment Technical Field The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for generating a network device deployment scenario, a storage medium, and an electronic device. Background Intelligent agriculture is a current mainstream trend, and intelligent farms are a popular subject. The smart farm needs to control the terminal devices in the farm via a wired or wireless network, wherein the wireless network control is more suitable for farm operations. An important condition for its implementation is the need for comprehensive wireless network coverage of the farm. At present, when network coverage is carried out on a farm, the number and the installation position of network equipment are usually required to be planned manually, and the problem of low efficiency exists. Disclosure of Invention The application aims to provide a network equipment deployment scheme generation method, a network equipment deployment scheme generation device, a storage medium and electronic equipment, so as to at least partially solve the problems. In order to achieve the above object, the technical scheme adopted by the embodiment of the application is as follows: In a first aspect, an embodiment of the present application provides a method for generating a network device deployment scenario, where the method includes acquiring boundary information of a target area, acquiring current address information of a target server, and generating the network device deployment scenario based on the current address information of the target server, a network coverage radius of a wireless relay device, a communication distance between adjacent wireless relay devices, and the boundary information. According to the scheme, the number of the required wireless relay devices and the target position information (namely the installation position of the wireless relay devices) of each wireless relay device are automatically calculated based on the current address information of the target server, the network coverage radius of the wireless relay devices, the communication distance between the adjacent wireless relay devices and the boundary information, so that a network device deployment scheme is generated, dependence on a manual planning network is eliminated, and the planning efficiency is improved. Optionally, the network equipment deployment scheme is generated, and the network equipment deployment scheme comprises the steps of dividing wireless relay equipment into N levels, setting the distance between the target position information of the wireless relay equipment of the first level and the current address information of the target server to be smaller than or equal to the communication distance between the wireless relay equipment and a local server, and setting the communication distance between the target position information of the wireless relay equipment of the ith level and the target position information of at least one wireless relay equipment of the ith-1 level to be smaller than or equal to the communication distance between adjacent wireless relay equipment, wherein i is more than or equal to 2 and less than or equal to N. So that full communication coverage to the target area is achieved by a minimum number of wireless relay devices. Optionally, the generating a network device deployment scheme includes planning target location information of each wireless relay device so that the target server and communication networks of all the wireless relay devices completely communicate and cover a target area, and generating a network device deployment map based on current address information of the target server and target location information of each wireless relay device. The network device deployment map identifies target location information for each of the wireless relay devices. According to the scheme, the target position information of each wireless relay device can be displayed through the network device deployment map, so that the wireless relay device deployment method and the wireless relay device deployment device are convenient for a user to observe, are convenient to use for deploying the wireless relay devices according to the identification of the network device deployment map, and improve deployment efficiency. Optionally, the method comprises the steps of determining an uncovered area based on current address information of the target server, determined position information of the wireless relay device, network coverage radius of the target server, network coverage radius of the wireless relay device, communication distance between adjacent wireless relay devices and the boundary information, and acquiring position information of the wireless relay device to be determined based on the network coverage radius of the wireless relay device and the unc