Closed space wireless networking method and device, electronic equipment and storage medium
By constructing a measurement shared database in a confined space and optimizing the network topology, and using a hybrid networking algorithm, the problems of high cost and limited coverage of wireless networking in a confined space are solved, and efficient wireless network coverage is achieved.
Patent Information
- Application Number
- CN202510684209.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-08-22
AI Technical Summary
The prior art wireless networking cost is high in confined spaces of large building sites and has limited coverage, and cables are easily damaged, making it difficult to effectively deploy wireless networks.
By building a measurement shared database, determining the network connection topology based on communication parameters and shared signal parameters, and optimizing the topology based on the number of devices and signal strength, a hybrid networking algorithm is used to reduce the use of wireless devices.
It reduces equipment installation and maintenance costs, while achieving full coverage in confined spaces, reducing the number of wireless equipment used and reducing costs.
Smart Images

Figure CN120529318A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a confined space wireless networking method, device, electronic equipment and storage medium. Background Art
[0002] For scenarios with large building areas and widely distributed users, such as large office buildings under construction, commercial and residential buildings, hotels, guesthouses, airports, and train stations, indoor distributed wireless access points (APs) are used. These devices connect to the indoor distribution system and serve as the signal source for the WLAN system, providing comprehensive indoor WLAN signal coverage. Figure 1 The schematic diagram of indoor distributed AP equipment network deployment provided by existing technology is as follows: Figure 1 As shown, the dotted lines represent the signal coverage area of each AP device. The overall layout follows the traditional cellular mesh layout. To improve frequency reuse efficiency, the signal is evenly distributed and the overlap of each AP device's coverage area is controlled. Each AP device is connected via a network cable or optical fiber.
[0003] However, during the construction phase, network coverage and communication face great challenges. For example, the use of indoor distributed AP equipment for network deployment has high deployment and construction costs, cables are easily damaged, and the number of devices used is particularly large, resulting in limited coverage. Summary of the Invention
[0004] In view of this, it is necessary to provide a confined space wireless networking method, device, electronic device and storage medium to solve the problems of high cost and limited coverage of existing networking methods.
[0005] In order to solve the above problems, in a first aspect, the present invention provides a confined space wireless networking method, comprising: Constructing a measurement sharing database based on communication parameters between a target device and any device in a confined space, and shared signal parameters of the target device; the communication parameters are determined based on signals sent by any device; and the shared signal parameters are determined based on signals sent by multiple devices; Determining a network connection topology of the target device based on the shared database; Optimizing the network connection topology based on the number of devices connected to the target device and the signal strength to obtain an optimized topology; Wireless networking is performed in a confined space based on the optimized topology structure.
[0006] In a possible implementation, determining the network connection topology of the target device based on the shared database includes: determining a connection weight of the target device based on the shared database; Based on the connection weights, a connection matrix is constructed; the connection matrix is used to determine the connection status of the target device; Based on the connection status of the target device, a network connection topology of the target device is determined.
[0007] In a possible implementation, optimizing the network connection topology based on the number of devices connected to the target device and the signal strength to obtain the optimized topology includes: determining a type of the target device based on the number of devices and the signal strength; Determining a total weight of the target device based on the connection weight and the connection matrix; Determining, based on the total weight and the type of the target device, a connection state corresponding to the target device when the total weight is maximum; The connection state corresponding to the target device when the total weight is the largest is used as the optimized topology structure.
[0008] In a possible implementation, the connection weight is expressed as follows:
[0009] in, Indicates the normalized value of the signal strength from device i to device j. represents the normalized distance from device i to device j, represents the normalized value of the data rate from device i to device j, α, β, and γ represent weight coefficients, and α + β + γ = 1.
[0010] In a possible implementation, the total weight is expressed as follows:
[0011] in, represents the connection matrix from device i to device j, represents the connection weight from device i to device j, and n represents the number of devices.
[0012] In a possible implementation, the communication parameter includes at least one of the following: Received signal strength, signal arrival time, signal propagation distance, data rate, and relative movement speed of the device.
[0013] In a possible implementation, the shared signal parameter includes at least one of the following: Comprehensive signal strength, device connection stability and channel quality.
[0014] In a second aspect, the present invention further provides a confined space wireless networking device, comprising: a construction module, configured to construct a measurement sharing database based on communication parameters between a target device and any device in a confined space, and shared signal parameters of the target device; the communication parameters being determined based on a signal sent by any device; and the shared signal parameters being determined based on signals sent by multiple devices; a determination module, configured to determine a network connection topology of the target device based on the shared database; an optimization module, configured to optimize the network connection topology structure based on the number of devices connected to the target device and the signal strength, to obtain an optimized topology structure; The networking module is used to perform wireless networking in a confined space based on the optimized topology structure.
[0015] In a third aspect, the present invention further provides an electronic device comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the confined space wireless networking method described in any of the above implementations.
[0016] In a fourth aspect, the present invention also provides a computer-readable storage medium for storing computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the confined space wireless networking method described in any of the above-mentioned implementation methods.
[0017] The beneficial effects of the present invention are: the confined space wireless networking method, device, electronic device and storage medium provided by the present invention obtain the communication parameters between the device and the target device according to the signal sent by any device, and obtain the shared signal parameters of the target device according to the signals sent by multiple devices, and then build a measurement sharing database according to the communication parameters and the shared signal parameters. The measurement sharing database can be used for data sharing by all wireless devices, so that the network connection topology of each device in the confined space can be obtained, and the network connection topology is further optimized according to the number of devices connected to each device and the signal strength. When the signal strength of the target device is weak and the number of connected devices is large, the connection with the device with weaker signal strength can be disconnected, so that wireless networking can be performed in the confined space according to the optimized topology. Each device can select the optimal hybrid networking connection mode according to its signal, distance and rate. Only fewer wireless devices are needed to complete network coverage, which can reduce the installation and maintenance costs of the equipment, while ensuring coverage and reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 Schematic diagram of indoor distributed AP device network deployment provided by existing technology; Figure 2 This is a flow chart of an embodiment of a confined space wireless networking method provided by the present invention; Figure 3 This is a second flow chart of an embodiment of the confined space wireless networking method provided by the present invention; Figure 4 A schematic diagram of the wireless interconnected hybrid network deployment provided by the present invention; Figure 5 A schematic diagram of the hybrid network provided by the present invention; Figure 6 A schematic structural diagram of an embodiment of a confined space wireless networking device provided by the present invention; Figure 7 This is a schematic structural diagram of an embodiment of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0021] In the description of the embodiments of the present invention, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone.
[0022] The terms "first," "second," and so on, used in the embodiments of the present invention are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, technical features designated as "first" or "second" may explicitly or implicitly include at least one such feature.
[0023] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] The present invention provides a confined space wireless networking method, device, electronic device and storage medium, which are described below respectively.
[0025] Figure 2 This is a flow chart of an embodiment of the confined space wireless networking method provided by the present invention, as shown in FIG. Figure 2 As shown, the confined space wireless networking method includes: S201. Construct a measurement sharing database based on communication parameters between a target device and any device in a confined space, and shared signal parameters of the target device; the communication parameters are determined based on signals sent by any device; and the shared signal parameters are determined based on signals sent by multiple devices.
[0026] The confined space is the underground confined space of a smart construction site, and the target device is any wireless device within the confined space. After powering on, the target device searches for signals from other nearby wireless devices. Upon receiving a signal from any device, it measures the communication parameters between the device and the target device. These parameters include received signal strength, signal arrival time, signal propagation distance, data rate, and relative device movement speed.
[0027] When a target device receives signals sent by multiple devices, shared signal parameters of the target device can be calculated through the signals sent by multiple devices. The shared signal parameters may include: comprehensive signal strength, device connection stability, channel quality, etc.
[0028] The communication parameters and shared signal parameters obtained by each target device are stored as a shared data sheet and uploaded to the measurement sharing center in the network to form a measurement sharing database. The measurement sharing database can be used for data sharing by all wireless devices in the confined space.
[0029] S202: Determine the network connection topology of the target device based on the shared database.
[0030] The network connection topology of the target device can be determined based on the data in the shared database. The network connection topology includes the devices connected to the target device and the number of connected devices.
[0031] S203: Optimize the network connection topology based on the number of devices connected to the target device and the signal strength to obtain an optimized topology.
[0032] The network connection topology can be further optimized based on the number of devices connected to the target device and the signal strength to obtain an optimized topology. For example, if the signal strength of the target device is weak and there are many connected devices, the connection with the device with the weaker signal strength can be disconnected.
[0033] S204: Conduct wireless networking in a confined space based on the optimized topology structure.
[0034] After obtaining the optimized topology, wireless networking is performed in a confined space based on the optimized topology, where each device can select the optimal hybrid networking connection method based on its signal, distance, and rate.
[0035] In summary, the confined space wireless networking method provided by the embodiment of the present invention obtains the communication parameters between the device and the target device based on the signal sent by any device, and obtains the shared signal parameters of the target device based on the signals sent by multiple devices, and then constructs a measurement sharing database based on the communication parameters and the shared signal parameters. The measurement sharing database can be used for data sharing by all wireless devices, so that the network connection topology structure of each device in the confined space can be obtained, and the network connection topology structure is further optimized according to the number of devices connected to each device and the signal strength. When the signal strength of the target device is weak and the number of connected devices is large, the connection with the device with weaker signal strength can be disconnected, so that wireless networking can be performed in the confined space according to the optimized topology structure. Each device can select the optimal hybrid networking connection mode according to its signal, distance and rate. Only fewer wireless devices are needed to complete network coverage, which can reduce the installation and maintenance costs of the equipment, while ensuring coverage and reducing costs.
[0036] In some embodiments of the present invention, the communication parameter includes at least one of the following: Received signal strength, signal arrival time, signal propagation distance, data rate, and relative movement speed of the device.
[0037] In some embodiments of the present invention, the shared signal parameter includes at least one of the following: Comprehensive signal strength, device connection stability and channel quality.
[0038] The present invention provides a measurement sharing algorithm mechanism, the process is as follows: (1) According to the actual situation of the project, deploy devices 1,…,n on the project. Due to different actual project environments, different obstructions, and different floors, the project signal conditions of the devices will also be different.
[0039] (2) Therefore, after the device is powered on, the first thing it needs to do is to search for signals from other devices around it and perform necessary information measurements and calculations on the detectable devices.
[0040] (3) When the surrounding devices are found, the device signal strength RSCP, distance, estimated communication rate, data flow direction and other information can be calculated on a single machine.
[0041] (4) Share the calculated data of each device with the surrounding devices. For example, the data calculated by device 1 is shared with the nearest device 2, and the data calculated by device 2 is shared with the nearest device 1. At the same time, after device 2 obtains the measurement data list of device 1, it merges and shares it with device n. And so on, so that all devices in the network can obtain a consistent device data sharing list.
[0042] (5) The above process enables devices that are not directly connected to obtain a consistent device data sharing list for subsequent hybrid networking algorithm calculations.
[0043] In the measurement sharing algorithm, devices need to exchange and share signal measurement data to build a more accurate wireless signal coverage model and assist in optimizing inter-device connectivity strategies. The core of this mechanism is the measurement data collection, calculation, and sharing process.
[0044] The measurement sharing algorithm mechanism mainly includes: device signal measurement and processing, calculation of shared signal parameters, statistics of shared device data, storage and distribution of shared data.
[0045] (1) Equipment signal measurement and processing.
[0046] Each device i measures several key parameters when receiving a signal from device j, including: received signal strength RSSI i,j , signal arrival time T i,j , Signal propagation distance estimation d i,j , data rate r i,j , relative moving speed of the device v i,j .
[0047] The received signal strength RSSI is calculated as follows:
[0048] in, Indicates the transmit power (dBm) of the signal sent by device j. Indicates that the signal is at a distance The path loss at , denote the antenna gains of devices j and i respectively.
[0049] Path loss is usually calculated using the logarithmic distance path loss model as follows:
[0050] in, Indicates reference distance The path loss at represents the path loss index (ranging from 2 to 5 depending on the environment), represents the shadow fading term that follows a Gaussian distribution.
[0051] Signal arrival time The calculation is as follows:
[0052] in, Indicates the timestamp of the signal sent by device j, Indicates the speed at which radio waves travel through air.
[0053] Distance estimation between devices as follows:
[0054] in, Indicates the time interval for device i to receive signals.
[0055] Data rate The calculation is as follows:
[0056] in, represents the channel bandwidth (Hz), represents the signal-to-noise ratio, Represents the noise power.
[0057] Device relative speed The calculation is as follows:
[0058] in, represents the distance between devices i and j at time t and t-1, Indicates the measurement interval.
[0059] (2) Calculate the shared signal parameters.
[0060] After measuring the signals of multiple devices, each device calculates its own shared signal parameters, including:S i , device connection stability C i , channel quality Q i .
[0061] The integrated signal strength of device i is calculated as follows:
[0062] in, represents the set of neighboring devices of device i, Indicates the number of neighboring devices of device i.
[0063] The connection stability of device i is calculated as follows:
[0064] in, Indicates the connection attenuation coefficient, usually 0.1 to 0.5, Indicates the distance from device i to device j.
[0065] Channel quality The calculation is as follows:
[0066] in, represents the data rate from device i to device j, Indicates the channel bandwidth.
[0067] (3) Collect statistics of shared equipment.
[0068] The device stores the measurement data it calculates as a shared data sheet and uploads it to the measurement sharing center in the network to form a measurement database:
[0069] Where D is the measurement shared database, which records the comprehensive signal strength of all devices i S i , connection stability C i , channel quality Q i , relative speed v i,j .
[0070] (4) Storage and distribution of shared data.
[0071] The measurement shared database can be used to dynamically adjust the wireless network topology and optimize connections between devices; predict signal coverage and enhance network stability in confined spaces; provide network load balancing data and reasonably distribute data traffic; and distribute shared data to other devices through broadcast or on-demand query to achieve adaptive optimization of the network.
[0072] In some embodiments of the present invention, determining the network connection topology of the target device based on the shared database includes: determining a connection weight of the target device based on the shared database; Based on the connection weights, a connection matrix is constructed; the connection matrix is used to determine the connection status of the target device; Based on the connection status of the target device, a network connection topology of the target device is determined.
[0073] In some embodiments of the present invention, optimizing the network connection topology based on the number of devices connected to the target device and the signal strength to obtain the optimized topology includes: determining a type of the target device based on the number of devices and the signal strength; Determining a total weight of the target device based on the connection weight and the connection matrix; Determining, based on the total weight and the type of the target device, a connection state corresponding to the target device when the total weight is maximum; The connection state corresponding to the target device when the total weight is the largest is used as the optimized topology structure.
[0074] In some embodiments of the present invention, the expression of the connection weight is as follows:
[0075] in, Indicates the normalized value of the signal strength from device i to device j. represents the normalized distance from device i to device j, represents the normalized value of the data rate from device i to device j, α, β, and γ represent weight coefficients, and α + β + γ = 1.
[0076] In some embodiments of the present invention, the total weight is expressed as follows:
[0077] in, represents the connection matrix from device i to device j, represents the connection weight from device i to device j, and n represents the number of devices.
[0078] The present invention also provides an embedding algorithm mechanism, the process is as follows: (1) After each device obtains a consistent list of device measurement data, it can count the number of devices that can be connected around the device and form a rough geographical location layout map of the network devices.
[0079] (2) Due to the severe restricted obstruction in confined spaces, not every device can search for the signals of all other devices. In order to ensure that wireless devices are deployed at a low density in confined spaces, the number of devices that each device can search is generally 3 or less.
[0080] (3) In order to ensure the normal transmission of data flow, the wireless connection method of the computing device will be comprehensively calculated.
[0081] (4) After calculating the two connection modes and the connected device numbers of each device, a hybrid network can be formed to achieve a low-density wireless device networking method in a confined space.
[0082] The calculation process of the embedded algorithm mechanism includes: calculating the connection weights between devices, building the optimal connection matrix, and dynamically adjusting the topology structure.
[0083] (1) Calculate the connection weight between devices.
[0084] Connection weight Calculation, in order to determine whether a connection is established between device i and device j, define the connection weight , which is calculated as follows:
[0085] in, Indicates the normalized value of the signal strength from device i to device j, ranging from [0,1]. represents the normalized distance from device i to device j, represents the normalized value of the data rate from device i to device j, α, β, and γ represent weight coefficients, respectively, satisfying α+β+γ=1, which can be optimized through experiments.
[0086] Signal strength normalization:
[0087] in, Indicates the RSSI value (in dBm) of the signal received by device i from device j. 、 Respectively represent the maximum and minimum RSSI values in the network environment.
[0088] Distance Normalization:
[0089] Among them, represents the physical distance from device i to device j, and respectively represent the maximum and minimum distances between devices in the network.
[0090] Data rate normalization:
[0091] Among them, represents the current communication rate between device i and device j, and respectively represent the maximum and minimum communication rates in the network, (2) Construct the optimal connection matrix.
[0092] After obtaining the connection weights of all devices then, by constructing the connection matrix M, it is used to judge the actual connection status between devices:
[0093] Among them, W thres represents the connection threshold (set a reasonable value, such as 0.5), and a connection is established when the weight between devices is higher than this threshold, otherwise no connection is made.
[0094] Thus, an n×n adjacency matrix M can be formed, where M i,j = 1 indicates that device i is directly connected to device j, and M i,j = 0 indicates no connection.
[0095] (3) Dynamically adjust the topology structure.
[0096] After establishing the initial connection matrix, further optimize the topology structure to ensure load balancing and signal coverage optimization.
[0097] According to the number of connections (degree) and signal strength of the devices, determine the types of devices as follows: Core device (central node), the number of device connections is higher than the threshold dcore, and the average signal strength is higher than the threshold Score; Relay device, the number of device connections is moderate (drelay < d < dcore); Terminal device (sub-node), the number of device connections is less (d ≤ dleaf).
[0098] Calculate the total weight according to the connection weight and connection matrix, and optimize the network connection topology structure. The total weight is calculated as follows:
[0099] By adjusting the connection status of the device, the total weight L opt Maximum, which optimizes the connection mode between devices.
[0100] Optionally, if a terminal device is connected to multiple core devices, the connection with the largest weight is selected and the other connections are cut off to reduce redundancy; if the number of connections to a device is too high, some links are adjusted to other adjacent devices to achieve load balancing.
[0101] The result is an optimized topology where each device selects the optimal hybrid networking connection method based on its signal, distance, and rate.
[0102] Figure 3 The second embodiment of the flow chart of the confined space wireless networking method provided by the present invention is as follows: Figure 3 As shown, the hybrid networking algorithm strategy provided by the present invention is mainly divided into two processing mechanisms: a measurement sharing algorithm mechanism; and an embedding algorithm mechanism.
[0103] This invention solves the problem of indoor distributed AP deployment during construction. It also optimizes the design of wireless devices for the actual underground confined spaces of smart construction sites. A hybrid networking algorithm strategy has been redesigned for the underlying protocol communication networking of wireless devices. This reduces the need for a small number of wireless devices during actual project deployment. This hybrid wireless networking approach solves the problem of AP network deployment in confined spaces on construction sites and has been deployed, tested, and applied on projects.
[0104] Figure 4 The wireless interconnection hybrid network deployment diagram provided by the present invention is as follows: Figure 4 As shown in the figure, the dotted line is the signal coverage area of the wireless device. Compared with the traditional indoor distributed AP equipment, fewer wireless devices are used for deployment. On the basis of retaining the wired connection between the wireless devices, a wireless interconnection hybrid networking algorithm strategy is added. Under the premise of deploying a small number of wireless devices, network services can be provided to project personnel in a complex confined space environment, and the deployment cost of the project is reduced.
[0105] This hybrid networking algorithm can not only solve the wireless signal coverage of a single layer of space, but also solve the wireless Internet coverage between multiple layers. Figure 5 The hybrid networking diagram provided by the present invention is as follows: Figure 5 As shown in the figure, point-to-multipoint and point-to-point networks can be mixed. The networking methods are as follows: (1) From “point-to-many” to “point-to-point”; (2) From “point-to-point” to “point-to-multiple”; (3) From “point-to-multi” to “point-to-multi”; (4) “Point-to-point” to “point-to-point”; (5) From “point-to-multi” to “point-to-point” to “point-to-multi”; (6) From “point-to-point” to “point-to-multiple” to “point-to-point”.
[0106] Each wireless device can choose the network mode to use based on the actual deployment environment, thereby solving the problem of wireless network deployment in complex environments.
[0107] The advantage of this invention is that in a restricted and enclosed space environment where a large number of indoor distributed AP devices were originally required to deploy network coverage, only fewer wireless devices are now needed to complete network coverage, which can reduce the equipment, installation and maintenance costs of the project, and at the same time provide a solution for full wireless network coverage for the construction personnel on the project.
[0108] In the restricted and enclosed space environment of the construction site, the present invention uses a hybrid networking strategy of star and chain types to solve the problem of wireless signal coverage in the single-layer restricted space underground of the construction site, and can also solve the problem of wireless Internet network coverage in the restricted space between multiple layers.
[0109] In order to better implement the confined space wireless networking method in the embodiment of the present invention, based on the confined space wireless networking method, correspondingly, Figure 6 As shown, an embodiment of the present invention further provides a confined space wireless networking device, the confined space wireless networking device 600 comprising: A construction module 610 is configured to construct a measurement sharing database based on communication parameters between the target device and any device in the confined space, and shared signal parameters of the target device; the communication parameters are determined based on signals sent by any device; and the shared signal parameters are determined based on signals sent by multiple devices. a determination module 620, configured to determine a network connection topology of the target device based on the shared database; An optimization module 630 is configured to optimize the network connection topology based on the number of devices connected to the target device and the signal strength to obtain an optimized topology; The networking module 640 is configured to perform wireless networking in a confined space based on the optimized topology structure.
[0110] The confined space wireless networking device 600 provided in the above embodiment can implement the technical solution described in the above confined space wireless networking method embodiment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above confined space wireless networking method embodiment, which will not be repeated here.
[0111] like Figure 7 As shown, the present invention also provides an electronic device 700. The electronic device 700 includes a processor 701, a memory 702 and a display 703. Figure 7 Only some of the components of the electronic device 700 are shown, but it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead.
[0112] In some embodiments, the processor 701 may be a central processing unit (CPU), a microprocessor, or other data processing chip, configured to execute program codes or process data stored in the memory 702, such as the confined space wireless networking method of the present invention.
[0113] In some embodiments, the processor 701 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 701 may be local or remote. In some embodiments, the processor 701 may be implemented on a cloud platform. In some embodiments, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, multiple clouds, or any combination thereof.
[0114] In some embodiments, the memory 702 may be an internal storage unit of the electronic device 700, such as a hard disk or memory of the electronic device 700. In other embodiments, the memory 702 may also be an external storage device of the electronic device 700, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 700.
[0115] Furthermore, the memory 702 may include both an internal storage unit of the electronic device 700 and an external storage device. The memory 702 is used to store application software installed in the electronic device 700 and various data.
[0116] In some embodiments, display 703 can be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an organic light-emitting diode (OLED) touchscreen. Display 703 is used to display information on electronic device 700 and to display a visual user interface. Components 701-703 of electronic device 700 communicate with each other via a system bus.
[0117] In one embodiment, when the processor 701 executes the confined space wireless networking program in the memory 702, the following steps may be implemented: Constructing a measurement sharing database based on communication parameters between a target device and any device in a confined space, and shared signal parameters of the target device; the communication parameters are determined based on signals sent by any device; and the shared signal parameters are determined based on signals sent by multiple devices; Determining a network connection topology of the target device based on the shared database; Optimizing the network connection topology based on the number of devices connected to the target device and the signal strength to obtain an optimized topology; Wireless networking is performed in a confined space based on the optimized topology structure.
[0118] It should be understood that, when the processor 701 executes the confined space wireless networking program in the memory 702 , in addition to the above functions, it can also implement other functions. For details, please refer to the description of the corresponding method embodiment above.
[0119] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 700 mentioned. The electronic device 700 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, or the like. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with iOS, Android, Microsoft, or other operating systems. The above-mentioned portable electronic devices may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 700 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0120] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by the processor, it can implement the steps or functions of the confined space wireless networking method provided by the above-mentioned method embodiments.
[0121] Those skilled in the art will appreciate that all or part of the process flow of the above-described method embodiment can be implemented by instructing related hardware (such as a processor, controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0122] The above is a detailed introduction to the confined space wireless networking method, device, electronic device and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A confined space wireless networking method, characterized in that: include: Building a measurement sharing database based on the communication parameters between the target device and any device in the confined space and the shared signal parameters of the target device; The communication parameters are determined based on a signal sent by any one device; the shared signal parameters are determined based on signals sent by multiple devices; Determining a network connection topology of the target device based on the shared database; Optimizing the network connection topology based on the number of devices connected to the target device and the signal strength to obtain an optimized topology; Wireless networking is performed in a confined space based on the optimized topology structure.
2. The confined space wireless networking method according to claim 1, characterized in that: The determining, based on the shared database, the network connection topology of the target device includes: determining a connection weight of the target device based on the shared database; Based on the connection weights, a connection matrix is constructed; the connection matrix is used to determine the connection status of the target device; Based on the connection status of the target device, a network connection topology of the target device is determined.
3. The confined space wireless networking method according to claim 2, characterized in that: The optimizing the network connection topology structure based on the number of devices connected to the target device and the signal strength to obtain the optimized topology structure includes: determining a type of the target device based on the number of devices and the signal strength; Determining a total weight of the target device based on the connection weight and the connection matrix; Determining, based on the total weight and the type of the target device, a connection state corresponding to the target device when the total weight is maximum; The connection state corresponding to the target device when the total weight is the largest is used as the optimized topology structure.
4. The confined space wireless networking method according to claim 2, characterized in that: The expression of the connection weight is as follows: in, Indicates the normalized value of the signal strength from device i to device j. represents the normalized distance from device i to device j, represents the normalized value of the data rate from device i to device j, α, β, and γ represent weight coefficients, and α + β + γ = 1.
5. The confined space wireless networking method according to claim 3, characterized in that: The expression of the total weight is as follows: in, represents the connection matrix from device i to device j, represents the connection weight from device i to device j, and n represents the number of devices.
6. The confined space wireless networking method according to claim 1, characterized in that: The communication parameters include at least one of the following: Received signal strength, signal arrival time, signal propagation distance, data rate, and relative movement speed of the device.
7. The confined space wireless networking method according to claim 1, characterized in that: The shared signal parameter includes at least one of the following: Comprehensive signal strength, device connection stability and channel quality.
8. A confined space wireless networking device, characterized in that: include: a construction module for constructing a measurement sharing database based on communication parameters between the target device and any device in the confined space and shared signal parameters of the target device; The communication parameters are determined based on a signal sent by any one device; the shared signal parameters are determined based on signals sent by multiple devices; a determination module, configured to determine a network connection topology of the target device based on the shared database; an optimization module, configured to optimize the network connection topology structure based on the number of devices connected to the target device and the signal strength, to obtain an optimized topology structure; The networking module is used to perform wireless networking in a confined space based on the optimized topology structure.
9. An electronic device, characterized in that: comprising a memory and a processor, wherein, The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the confined space wireless networking method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps of the confined space wireless networking method described in any one of claims 1 to 7.