Smart space equipment data transmission bus arrangement method and equipment
By dividing the space into a three-dimensional grid and combining it with multi-dimensional signal characteristics to evaluate link quality, the problem of imprecise link selection in existing technologies is solved, and more efficient data transmission and anti-interference capabilities are achieved.
Patent Information
- Application Number
- CN202511309188.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-15
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2045-09-15
AI Technical Summary
Existing technologies fail to combine spatial modeling and path occupancy characteristics for dynamic evaluation in smart space data transmission, resulting in insufficiently refined link selection, which can easily lead to reduced throughput or data packet loss. The single-signal dimension indicators are difficult to resist multi-source interference in complex environments.
By collecting and preprocessing equipment data, dividing it into three-dimensional meshes, calculating the grid occupancy probability, and combining path occupancy indicators, direct acoustic energy ratio, vibration coupling energy, and radio frequency signal characteristics, a comprehensive link quality is generated, effective links are screened, and data packets are encapsulated and transmitted.
It improves the rationality of link selection and the reliability of transmission, enhances the anti-interference ability in complex environments, and improves the stability and throughput of data transmission.
Smart Images

Figure CN121150846A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of intelligent space wireless communication technology, in particular to an intelligent space device data transmission bus arrangement method and device. BACKGROUND
[0002] With the rapid development of intelligent space, intelligent building and Internet of Things technology, efficient and stable data transmission between devices has become an important foundation for realizing intelligent sensing and collaborative control. Ultra-wideband, wireless radio frequency (RF), acoustic signal processing and multi-source sensor fusion technology are widely used in indoor positioning, device interconnection and environmental perception. Researchers have proposed a grid space partitioning method to realize mapping and path planning of devices within the intelligent space through three-dimensional grid indexing, thereby providing a reference for managing data transmission paths.
[0003] The prior art has the following disadvantages in intelligent space data transmission. Most methods fail to dynamically evaluate link transmission quality in combination with space modeling and path occupancy characteristics. There is a lack of accurate depiction of three-dimensional space environment and obstacle distribution. Single signal dimension indicators (such as radio frequency power or acoustic energy ratio) are difficult to resist multi-source interference in complex environments, resulting in insufficiently fine link selection and easy reduction of throughput or data packet loss. SUMMARY
[0004] In view of the above existing problems, the present application is proposed.
[0005] Therefore, the present application provides an intelligent space device data transmission bus arrangement method and device, which solves the problem that most methods fail to dynamically evaluate link transmission quality in combination with space modeling and path occupancy characteristics, lack accurate depiction of three-dimensional space environment and obstacle distribution, and single signal dimension indicators (such as radio frequency power or acoustic energy ratio) are difficult to resist multi-source interference in complex environments, resulting in insufficiently fine link selection and easy reduction of throughput or data packet loss.
[0006] To solve the above technical problems, the present application provides the following technical solutions: In a first aspect, the present application provides an intelligent space device data transmission bus arrangement method, which comprises, Collecting device data and preprocessing, setting a target function to calculate device positions, dividing the intelligent space into three-dimensional grids, assigning an index to each grid, mapping device coordinates to grid indexes, calculating grid occupancy probability, and generating path occupancy flags; Respectively calculating the number of direct sound window samples and the number of reverberation window samples, dividing the direct sound energy by the reverberation sound energy, calculating the linear DRR, calculating the mean square vibration energy of the device, combining the path occupancy probability and the average vibration energy to calculate the vibration coupling energy, and converting the received signal strength to linear power and linear signal-to-noise ratio based on the received signal strength; The radio frequency signal is subjected to fast Fourier transform, the effective bandwidth is calculated, the linear signal-to-noise ratio and the effective bandwidth are combined, the theoretical maximum throughput is calculated, the comprehensive link quality is generated, the device pairs are screened, the effective link set is generated, the number of data packets allocated to each link is calculated, the data packet encapsulation is carried out, the formatted data packet is generated, and the transmission and reception are carried out.
[0007] As a preferred scheme of the intelligent space device data transmission bus arrangement method, wherein: the device coordinates are mapped to the grid index, the grid occupancy probability is calculated, and the path occupancy flag is generated, comprising: Based on the UWB pulse signal, the distance between devices is calculated, the target function is set through the multidimensional scaling analysis algorithm, and the device position is obtained by using gradient descent; Based on the device position, the three-dimensional range of the intelligent space is obtained, and is divided into a three-dimensional grid, each grid is assigned an index, and the occupancy grid matrix is initialized, all grids are marked as "free"; The device coordinates are mapped to the grid index, and the Brezenham three-dimensional straight line algorithm is used to generate the grid sequence; For each grid in the path grid sequence, the center coordinates are calculated, the obstacle coordinates are obtained through the architectural design drawing, and if the center coordinates are within the range of the obstacle coordinates, the grid is marked as "occupied"; Based on the point cloud data, the grid occupancy probability is calculated, the grid occupancy probability is accumulated, the path occupancy probability is generated, the probability threshold is set using statistical analysis method, the grid corresponding to the probability index greater than the probability threshold is marked as "occupied", otherwise it is marked as "free", and the path occupancy flag is generated.
[0008] As a preferred scheme of the intelligent space device data transmission bus arrangement method, wherein: the number of direct sound window samples and the number of reverberation window samples are calculated respectively, the direct sound energy is divided by the reverberation sound energy, and the linear DRR is calculated, comprising: The time average of the acoustic signal is calculated as a reference signal, and the acoustic impulse response is generated by cross-correlation of the acoustic signal and the reference signal; The direct sound window and the reverberation window are defined respectively using the fixed time window division method, and the number of direct sound window samples and the number of reverberation window samples are calculated respectively; Based on the acoustic impulse response, the direct sound window and the reverberation window, the energy of the direct sound and the reverberation sound is calculated respectively; The direct sound energy is divided by the reverberation sound energy, and the linear DRR is calculated.
[0009] As a preferred scheme of the intelligent space device data transmission bus arrangement method, wherein: the vibration coupling energy is calculated by combining the path occupation probability and the average vibration energy; the received signal strength is calculated based on the received power, and the linear power is converted based on the received signal strength; and the linear signal-to-noise ratio is calculated based on the mean-smoothed received signal strength. Based on the three-axis acceleration data, the mean square vibration energy of the device is calculated, and the average vibration energy is generated; The vibration coupling energy is calculated by combining the path occupation probability and the average vibration energy; The received signal strength is calculated based on the received power, and the linear power is converted based on the received signal strength; and the linear signal-to-noise ratio is calculated based on the mean-smoothed received signal strength.
[0010] As a preferred scheme of the intelligent space device data transmission bus arrangement method, wherein: the effective bandwidth is calculated by performing fast Fourier transform on the radio frequency signal; the theoretical maximum throughput is calculated by combining the linear signal-to-noise ratio and the effective bandwidth; and the DRR utilization factor is calculated based on the linear DRR. The channel impulse response is calculated by performing fast Fourier transform on the radio frequency signal; the power delay spectrum is calculated based on the channel impulse response; the autocorrelation function of the power delay spectrum is calculated; the delay at which the autocorrelation function first drops is calculated to obtain the coherence bandwidth; and the effective bandwidth is calculated based on the coherence bandwidth. The theoretical maximum throughput is calculated by combining the linear signal-to-noise ratio and the effective bandwidth. The DRR utilization factor is calculated based on the linear DRR.
[0011] As a preferred scheme of the intelligent space device data transmission bus arrangement method, wherein: the effective link set is generated; the number of data packets allocated to each link is calculated; the data packets are encapsulated; the formatted data packets are generated; and the transmission and reception are performed. The comprehensive link quality is calculated by combining the normalized linear power, the vibration coupling energy, the path occupation probability, the theoretical maximum throughput, and the DRR utilization factor. Based on the comprehensive link quality, the path occupation flag, and the received signal strength, each pair of devices (i, j) is screened to generate an effective link set. The comprehensive link quality of the effective link is extracted; the normalized link quality is calculated; and the priority score of the effective link is converted. The links are sorted in descending order of priority score; the top M links with the highest priority are selected; the number of data packets allocated to each link is calculated; a timestamp is added to each data packet; the data packets are encapsulated; and the formatted data packets are generated. The formatted data packets are transmitted using the transmission protocol IEEE 802.11, and the receiving end receives the transmitted formatted data packets.
[0012] As a preferred scheme of the intelligent space device data transmission bus arrangement method, wherein: the device data is collected and preprocessed, including: Collecting device data and performing time synchronization, denoising and normalization processing; The device data includes device coordinates, UWB pulse signals, received power, acoustic signals, radio frequency signals and three-axis acceleration data.
[0013] In a second aspect, the present application provides an intelligent space device data transmission bus arrangement device, comprising, A data preprocessing module for acquiring multi-source device data and preprocessing; A grid path module for dividing the intelligent space into a three-dimensional grid, mapping device coordinates to the grid, tracking the path between devices, combining architectural obstacles and point cloud data to generate path occupancy flags; An energy analysis module for calculating the linear direct sound and reverberation sound ratio, combining three-axis acceleration data and path occupancy probability to derive the theoretical maximum throughput; A quality selection module for calculating the comprehensive link quality and filtering effective links, allocating packet quantities according to link priority, performing encapsulation and transmission.
[0014] In a third aspect, the present application provides a computer device comprising a memory and a processor, the memory storing a computer program, wherein: the computer program is executed by the processor to implement any step of the intelligent space device data transmission bus arrangement method according to the first aspect of the present application.
[0015] In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein: the computer program is executed by the processor to implement any step of the intelligent space device data transmission bus arrangement method according to the first aspect of the present application.
[0016] The present application has the following advantages: the present application improves the accuracy of effective bandwidth estimation by fast Fourier transform combined with power delay spectrum calculation, improves the rationality of link filtering by path occupancy probability combined with DRR utilization factor, and enhances the consideration of structural characteristics for link modeling by vibration energy combined with path probability. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0018] Figure 1 A flow chart of a smart space device data transmission bus arrangement method of embodiment 1.
[0019] Figure 2 A schematic diagram of a smart space device data transmission bus arrangement device of embodiment 1. DETAILED DESCRIPTION
[0020] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0021] In the following description, a large number of specific details are set forth in order to facilitate a thorough understanding of the present application, but the present application can also be implemented in other ways different from those described herein, and those skilled in the art can make similar generalizations without departing from the connotation of the present application, therefore the present application is not limited by the specific embodiments disclosed below.
[0022] Secondly, the "one embodiment" or "embodiment" referred to herein means that the specific features, structures or characteristics can be included in at least one implementation of the present application. "In one embodiment" appearing in different places in the specification does not mean the same embodiment, nor is it an embodiment that is independent or alternative to other embodiments.
[0023] Embodiment 1, reference Figure 1 and Figure 2 , the first embodiment of the present application, the embodiment provides a smart space device data transmission bus arrangement method, comprising the following steps: S1, collecting device data and preprocessing, setting target function to calculate device position, dividing smart space into three-dimensional grid, assigning index to each grid, mapping device coordinates to grid index, calculating grid occupancy probability, generating path occupancy flag; Specifically, collecting device data and preprocessing, including: Collecting device data and performing time synchronization, denoising and normalization processing; The device data includes device coordinates, UWB pulse signal, received power, acoustic signal, radio frequency signal and three-axis acceleration data.
[0024] Time synchronization ensures that multi-source data is processed under the same time reference, avoiding calculation errors caused by time delay differences; denoising effectively suppresses the influence of environmental noise and measurement jitter on signal quality, improving the robustness of the data; normalization puts different dimensional and different scale data in a unified calculation interval, avoiding target function deviation caused by numerical imbalance.
[0025] Furthermore, the device coordinates are mapped to the grid index, the grid occupancy probability is calculated, and a path occupancy flag is generated, including: The distance between devices is calculated based on UWB pulse signals using the following formula: , in Let c be the distance between devices i and j, where i and j are device identifiers, and c is the speed of light. Round trip time, Processing delay time for the equipment; The objective function is defined using a multidimensional scaling analysis algorithm, and the formula is as follows: , Where J is the value of the MDS objective function. , as well as Let i be the coordinates of device i. , as well as Let j be the coordinates of device j. The device location is obtained by using gradient descent. The three-dimensional extent of the smart space is obtained based on the device location and divided into a three-dimensional grid. Each grid cell is assigned an index (k, l, m), as follows: , , , Where k is the grid index along the x-axis, representing the position of the k-th cell in the x-direction. , where l is the grid index along the y-axis, representing the position of the l-th cell in the y-direction. , where m is the grid index along the z-axis, representing the position of the m-th cell in the z-direction. , , as well as These represent the number of grid cells along the x, y, and z axes, respectively. For grid size, , , , , as well as This represents the spatial boundary. Initialize the occupied grid matrix and mark all cells as "free" (0 represents free, 1 represents occupied); Mapping device coordinates to the grid index is done using the following formula: , , where and are the grid indices of devices i and j, respectively; Using the Breseham 3D line algorithm, the path from to is tracked to generate a sequence of grids; For each grid in the sequence of path grids, the center coordinates are calculated using the formula: , where are the x, y, and z components of the grid center coordinates, is the grid center offset factor; Obstacle coordinates are obtained from architectural design drawings. If the center coordinates are within the range of obstacle coordinates, the grid is marked as "occupied"; Based on point cloud data, the grid occupancy probability is calculated using the formula: , where is the grid occupancy probability, is the number of point clouds in the grid, is the maximum point cloud density threshold, which is set using statistical analysis; The grid occupancy probabilities are accumulated to generate the path occupancy probability using the formula: , where is the path occupancy probability sum, is the sequence of grids passed through by the path (i, j); A probability threshold is set using statistical analysis. Grids with probability indicators greater than the probability threshold are marked as "occupied", otherwise they are marked as "free", generating the path occupancy flag.
[0026] The UWB signal has the characteristics of wide bandwidth and high time delay resolution, and can realize centimeter-level precision positioning in a complex indoor environment. The MDS method can reconstruct the global coordinate layout of the device only relying on the relative distance information between devices in an unknown coordinate system, and the gradient descent method ensures the convergence and stability of the calculation process. This method avoids the cumulative amplification effect of single-point error on the overall positioning, and the three-dimensional grid processing can discretize the continuous space, which is convenient for the algorithm to calculate and model the complex space. Through index mapping, the spatial position corresponding to any device or path can be quickly located, which significantly improves the data processing efficiency. The Brezenham algorithm is an efficient integer operation algorithm that can quickly generate the lattice sequence passed by the three-dimensional straight line path, avoiding the precision loss caused by floating point operation. The architectural drawings provide static structural information, while the point cloud data reflects the dynamic scene characteristics, and their combination can realize high-precision modeling of space obstacles. Through the center coordinate matching method, the geometric accuracy of obstacle judgment is ensured. Unlike binary occupancy, probabilistic modeling can reflect uncertainty and environmental dynamics, improving the description accuracy of space usage. The accumulation of path occupancy probability not only reflects the state of single-point lattice, but also reflects the overall availability of the path. Through threshold setting, the "available" and "unavailable" of the path can be quickly distinguished, ensuring the reliability of data transmission.
[0027] S2, respectively calculate the number of direct sound window samples and the number of reverberation window samples, divide the direct sound energy by the reverberation sound energy, calculate the linear DRR, calculate the mean square vibration energy of the device, combine the path occupancy probability and the average vibration energy, calculate the vibration coupling energy, convert the received signal strength to linear power and linear signal-to-noise ratio based on the received signal strength; Specifically, the number of direct sound window samples and the number of reverberation window samples are calculated, the direct sound energy is divided by the reverberation sound energy, and the linear DRR is calculated, including: The time average of the acoustic signal is calculated as a reference signal, and the acoustic impulse response is generated by the cross-correlation of the acoustic signal and the reference signal, and the formula is: , Wherein is the acoustic impulse response, is the received acoustic signal, is the reference acoustic signal, n and b are discrete time indexes, is the length of the acoustic signal sequence; Based on the distance between devices, the direct arrival time is calculated, and the formula is: , Wherein is the direct arrival time; The direct arrival time is converted to a sampling index, and the formula is: , wherein is the sample index of the direct sound arrival, is the acoustic sampling rate, is a rounding function; The direct sound window and the reverberation window are respectively defined using the fixed time window division method, and the number of direct sound window samples and the number of reverberation window samples are respectively calculated, and the formula is: , , wherein and are the number of direct sound window samples and the number of reverberation window samples, and are the direct sound window duration and the reverberation window duration; Based on the acoustic impulse response, the direct sound window and the reverberation window, the energy of the direct sound and the reverberation sound are respectively calculated, and the formula is: , , , wherein and are the energy of the direct sound and the energy of the reverberation sound, is the starting index of the reverberation window, is the direct sound arrival time, is the starting offset time of the reverberation window; The linear DRR is calculated by dividing the direct sound energy by the reverberation sound energy.
[0028] The cross-correlation method can extract the impulse response characteristics of the system from the mixed signal in the complex acoustic environment, so as to identify the direct sound and the reverberation sound component, and through the geometric model and the sampling rate conversion, the accurate positioning of the acoustic signal can be realized, the accuracy of the direct sound and the reverberation sound window division is ensured, and the window overlap or misplacement is avoided. The fixed window method is simple and efficient, and can ensure comparability under different environmental conditions; through energy integration, the distribution characteristics of acoustic energy in time can be intuitively reflected, and the linear DRR avoids the nonlinear distortion caused by logarithmic calculation, which is more conducive to subsequent coupling calculation with vibration energy and power and other physical quantities; as an acoustic clarity index, DRR can reflect the energy contrast relationship between direct sound and reverberation sound, so as to measure the speech intelligibility and information fidelity of the space transmission link.
[0029] Further, the vibration coupling energy is calculated by combining the path occupation probability and the average vibration energy, and is converted into linear power and linear signal-to-noise ratio based on the received signal strength, including: Based on the triaxial acceleration data, the mean square vibration energy of the device is calculated, and the formula is: , Where is the mean square vibration energy of device i, is the length of the acceleration sequence, , and is the triaxial acceleration of the nth sample; The average vibration energy is generated, and the formula is: , Where is the average vibration energy of device pair (i, j), is the mean square vibration energy of device j; The vibration coupling energy is calculated by combining the path occupancy probability and the average vibration energy, and the formula is: , Where is the vibration coupling energy; Based on the received power, the received signal strength is calculated and mean value smoothing is performed, and the formula is: , Where is the received signal strength of device i to j in the u-th measurement, u is the sampling index, is the u-th received power, is the reference power, is the decibel conversion factor; Based on the received signal strength, it is converted to linear power and normalized, and the formula is: , , Where is the linear power of the u-th measurement, is the logarithmic base, is the average linear power, is the linear power variance, is the normalized linear power; Based on the mean value smoothed received signal strength, the signal-to-noise ratio is calculated and converted to linear signal-to-noise ratio, and the formula is: , , Where is the signal-to-noise ratio of device pair (i, j), is the mean value smoothed received signal strength, For the receiving end noise, use spectrum analysis to set, Linear signal-to-noise ratio of device pair (i, j).
[0030] Three-axis acceleration can comprehensively characterize the motion characteristics of the device in three-dimensional space, and the mean square energy index can smooth out the randomness of instantaneous vibration and more accurately reflect the overall vibration level of the device; Compared with single-axis analysis, multi-dimensional calculation can improve the robustness of modeling, combine spatial occupancy probability with vibration characteristics, consider the transmission path obstruction, and reflect the dynamic stability of the device itself; Vibration coupling energy can reveal the decline trend of link quality under vibration environment, provide quantitative indicators for communication robustness optimization in complex scenarios, and value smoothing can effectively suppress the influence of short-time interference and random noise on received intensity, thus more truly reflecting the long-term trend of communication link; This processing method improves the stability of signal strength estimation, linearization processing facilitates unified modeling with physical quantities such as acoustic energy and vibration energy, avoids bias caused by inconsistent quantity dimensions, and signal-to-noise ratio as an important indicator of communication quality can intuitively reflect the reliability of the link under noise interference; Using linear signal-to-noise ratio form, it can be convenient for comprehensive modeling with DRR and vibration coupling energy, supporting unified optimization of multi-physical domain data.
[0031] S3, perform fast Fourier transform on the radio frequency signal, calculate the effective bandwidth, combine the linear signal-to-noise ratio and the effective bandwidth, calculate the theoretical maximum throughput, generate a comprehensive link quality, and select the device pair to generate an effective link set, calculate the number of data packets allocated to each link, and perform data packet encapsulation to generate formatted data packets, and perform transmission and reception Specifically, perform fast Fourier transform on the radio frequency signal, calculate the effective bandwidth, combine the linear signal-to-noise ratio and the effective bandwidth, calculate the theoretical maximum throughput, including: Perform fast Fourier transform on the radio frequency signal, calculate the channel impulse response, the formula is: , Wherein is the channel impulse response, is the received radio frequency signal sequence, is the reference radio frequency signal sequence, FFT and IFFT are fast Fourier transform and inverse transform respectively, and q is the discrete time index; Based on the channel impulse response, calculate the power delay spectrum, the formula is: , Wherein is the power delay spectrum; Calculate the autocorrelation function of the power delay spectrum, the formula is: , Wherein is an autocorrelation function of the power delay profile, is a number of sampling points of the discrete time sequence, is a delay index; a delay at which the autocorrelation function first drops, a coherence bandwidth is calculated, and the formula is: , , wherein is the coherence bandwidth, is a coherence time, is the delay index at which the first drop occurs, is a radio frequency sampling rate; based on the coherence bandwidth, an effective bandwidth is calculated, and the formula is: , wherein is the effective bandwidth, is a system bandwidth; combining the linear signal-to-noise ratio and the effective bandwidth, a theoretical maximum throughput is calculated, and the formula is: , wherein is the theoretical maximum throughput; based on the linear DRR, a DRR utilization factor is calculated, and the formula is: , wherein is the DRR utilization factor of the device pair (i, j), is the linear DRR of the device pair (i, j).
[0032] The channel impulse response can reflect the fading characteristics and multipath effects of the wireless channel in the time domain, and provides data support for subsequent calculation of the power delay profile. By calculating the autocorrelation function of the power delay profile, the channel correlation characteristics can be obtained, so as to evaluate the frequency selective fading characteristics of the signal. The size of the coherence bandwidth determines whether a single modulation scheme can be used for efficient transmission within a certain bandwidth. If the bandwidth is greater than the coherence bandwidth, a multi-carrier modulation must be introduced to avoid the performance loss caused by the frequency selective fading, and to avoid some frequency subbands that are severely interfered or deeply faded, so as to improve the effective throughput capacity of the system. The present application calculates the theoretical maximum throughput by using the extended form of the Shannon formula. The theoretical maximum throughput can provide a performance upper limit reference for the system, and is an important index for link optimization. The transmission capacity between different device pairs can be quantitatively compared, so as to provide accurate decision basis for subsequent data packet allocation and link selection. The DRR reflects the capacity difference of different device pairs in data transmission rate, and the DRR utilization factor measures the actual degree of exertion of the capacity under the current channel condition.
[0033] Further, an effective link set is generated, the number of data packets allocated to each link is calculated, and data packet encapsulation is performed to generate formatted data packets and perform transmission and reception, including: The comprehensive link quality is calculated based on the normalized linear power, vibration coupling energy, path occupation probability, theoretical maximum throughput, and DRR utilization factor, and the formula is: , wherein is the comprehensive link quality; Based on the comprehensive link quality, path occupation flag, and received signal strength, each device pair (i, j) is screened, and the formula is: , wherein is the link validity flag of the device pair (i, j), is the path occupation flag of the device pair (i, j); An effective link set is generated ; wherein is the effective link set; The comprehensive link quality of the effective link is extracted, the normalized link quality is calculated, and the formula is: , wherein is the normalized link quality, is the comprehensive link quality of the effective link, is the maximum link quality in the effective link; The priority score of the effective link is converted, and the formula is: , wherein is the priority score of the effective link, is the maximum distance in the effective link; The links are sorted in descending order of priority score, the top M links with the highest priority are selected, the number of data packets allocated to each link is calculated, a timestamp is added to each data packet, and data packet encapsulation is performed to generate formatted data packets, and the formula is: , , wherein is the total number of data packets, is the fixed size of a single data packet, W is the size of the data to be transmitted, and M is the number of selected links, is the data packet data allocated to the u-th link; The formatted data packets are transmitted using a transmission protocol IEEE 802.11, and a receiving end receives the transmitted formatted data packets.
[0034] The path occupation flag and the received signal strength are combined during screening, path conflicts and resource waste are avoided, the priority score is related to the link quality, and a link distance factor is introduced, so that the coverage range and transmission reliability of the link are considered, the allocation share of each link is calculated through the total number of data packets and the link priority score, a timestamp is added to each data packet before encapsulation, the data packets can be reassembled in order at the receiving end, and the out-of-order problem is avoided; the basis for subsequent error code detection and link delay analysis is provided, the synchronization and stability of data under multi-link parallel transmission are enhanced, the data distribution and link optimization mechanism of the application can significantly improve the throughput and anti-interference ability while ensuring the standardization of the protocol, new parameters such as vibration coupling energy and path occupation probability are introduced, so that the link quality evaluation is closer to the complex application scene, on the basis of traditional throughput calculation, the dynamic optimization of resource allocation is realized by combining the DRR utilization factor and the link priority score, the reliability and controllability of multi-link parallel transmission are improved through the data packet timestamp and the formatted encapsulation.
[0035] The embodiment also provides a smart space device data transmission bus arrangement device, comprising: A data preprocessing module is configured to acquire multi-source device data and perform preprocessing; A grid path module is configured to divide the smart space into a three-dimensional grid, realize mapping of device coordinates to the grid, track paths between devices, and generate a path occupation flag in combination with building obstacles and point cloud data; An energy analysis module is configured to calculate a linear direct sound and reverberation sound ratio, derive a theoretical maximum throughput in combination with three-axis acceleration data and a path occupation probability; A quality selection module is configured to calculate a comprehensive link quality, select effective links, and distribute the number of data packets according to link priority, perform encapsulation, and perform transmission.
[0036] The embodiment also provides a computer device suitable for the smart space device data transmission bus arrangement method, comprising a memory and a processor; the memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions to realize the smart space device data transmission bus arrangement method proposed in the above embodiment.
[0037] The computer device can be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be achieved by WIFI, an operator network, NFC (Near Field Communication) or other technologies. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0038] The embodiment also provides a storage medium having a computer program stored thereon, the program being executed by a processor to implement the method for arranging a smart space device data transmission bus as described above. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.
[0039] To sum up, the application improves the accuracy of effective bandwidth estimation by combining fast Fourier transform with power delay spectrum calculation, improves the rationality of link screening by combining path occupation probability with a DRR utilization factor, and enhances the consideration of structural characteristics for link modeling by combining vibration energy with path probability.
[0040] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present application rather than limiting the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application can be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application, and all modifications or replacements should be covered in the scope of the claims of the present application.
Claims
1. A method for arranging a smart space device data transmission bus, characterized by: comprising, Collecting device data and preprocessing, setting target function, calculating device position, dividing wisdom space into three-dimensional grid, assigning index to each grid, mapping device coordinates to grid index, calculating grid occupancy probability, generating path occupancy flag; Respectively calculating the number of direct sound window samples and the number of reverberation window samples, dividing the direct sound energy by the reverberation sound energy, calculating the linear DRR, calculating the mean square vibration energy of the device, combining the path occupancy probability and the average vibration energy, calculating the vibration coupling energy, converting to linear power and linear signal-to-noise ratio based on received signal strength; Performing fast Fourier transform on the radio frequency signal, calculating the effective bandwidth, combining the linear signal-to-noise ratio and the effective bandwidth, calculating the theoretical maximum throughput, generating the comprehensive link quality, and screening the device pairs to generate the effective link set, calculating the number of data packets allocated to each link, and performing data packet encapsulation to generate formatted data packets and transmitting and receiving.
2. The smart space device data transfer bus arrangement method of claim 1, wherein: The device coordinates are mapped to the grid index, the grid occupancy probability is calculated, and the path occupancy flag is generated, comprising: Based on the UWB pulse signal, the distance between devices is calculated, the target function is set by multidimensional scaling analysis algorithm, and the device position is obtained by using gradient descent; Based on the device position, the three-dimensional range of the wisdom space is obtained, and is divided into three-dimensional grid, each grid is assigned an index, and the occupancy grid matrix is initialized, all grids are marked as "free"; The device coordinates are mapped to the grid index, and the grid sequence is generated using the Brezenham three-dimensional straight line algorithm; wherein and are the grid indices of devices i and j, respectively; For each grid in the path grid sequence, the center coordinates are calculated, the obstacle coordinates are obtained through the architectural design drawing, and if the center coordinates are within the obstacle coordinate range, the grid is marked as "occupied"; Based on the point cloud data, the grid occupancy probability is calculated, the grid occupancy probability is accumulated, the path occupancy probability is generated, the probability threshold is set using statistical analysis method, the grid corresponding to the probability index greater than the probability threshold is marked as "occupied", otherwise it is marked as "free", and the path occupancy flag is generated.
3. The smart space device data transfer bus arrangement method of claim 2, wherein: The number of direct sound window samples and the number of reverberation window samples are calculated respectively, the direct sound energy is divided by the reverberation sound energy, and the linear DRR is calculated, comprising: The time average of the acoustic signal is calculated as a reference signal, and the acoustic impulse response is generated by cross-correlation of the acoustic signal and the reference signal; The direct sound window and the reverberation window are defined respectively using fixed time window division method, and the number of direct sound window samples and the number of reverberation window samples are calculated respectively; Based on the acoustic impulse response, the direct sound window and the reverberation window, the energy of the direct sound and the reverberation sound is calculated respectively; The direct sound energy is divided by the reverberation sound energy to calculate the linear DRR.
4. The smart space device data transfer bus arrangement method of claim 3, wherein: Based on the three-axis acceleration data, the mean square vibration energy of the device is calculated, and the average vibration energy is generated; Combining the path occupancy probability and the average vibration energy, the vibration coupling energy is calculated; Based on the received power, the received signal strength is calculated and mean smoothing processing is performed, based on the received signal strength, linear power is converted and normalization processing is performed, based on the mean smoothed received signal strength, the signal-to-noise ratio is calculated and converted to linear signal-to-noise ratio.
5. The smart space device data transfer bus arrangement method of claim 4, wherein: The radio frequency signal is subjected to fast Fourier transform, the effective bandwidth is calculated, the linear signal-to-noise ratio and the effective bandwidth are combined, and the theoretical maximum throughput is calculated, including: The radio frequency signal is subjected to fast Fourier transform, the channel impulse response is calculated, based on the channel impulse response, the power delay profile is calculated, the autocorrelation function of the power delay profile is calculated, the delay at which the autocorrelation function first drops is calculated, the coherence bandwidth is calculated, and based on the coherence bandwidth, the effective bandwidth is calculated; The linear signal-to-noise ratio and the effective bandwidth are combined to calculate the theoretical maximum throughput; Based on the linear DRR, the DRR utilization factor is calculated.
6. The smart space device data transfer bus arrangement method of claim 5, wherein: The effective link set is generated, the number of data packets allocated to each link is calculated, and the data packet encapsulation is performed to generate the formatted data packet, and the transmission and reception are performed, including: The normalized linear power, the vibration coupling energy, the path occupancy probability, the theoretical maximum throughput, and the DRR utilization factor are combined to calculate the comprehensive link quality; Based on the comprehensive link quality, the path occupancy flag, and the received signal strength, each pair of devices (i, j) is screened to generate an effective link set; The comprehensive link quality of the effective link is extracted, the normalized link quality is calculated, and the priority score of the effective link is converted; The links are sorted in descending order of priority score, the top M links with the highest priority are selected, the number of data packets allocated to each link is calculated, a timestamp is added to each data packet, and the data packet encapsulation is performed to generate the formatted data packet; The formatted data packet is transmitted using the transmission protocol IEEE 802.11, and the receiving end receives the transmitted formatted data packet.
7. The smart space device data transfer bus arrangement method of claim 1, wherein: The device data is collected and preprocessed, including: The device data is collected and preprocessed, including time synchronization, denoising, and normalization processing; The device data includes device coordinates, UWB pulse signals, received power, acoustic signals, radio frequency signals, and three-axis acceleration data.
8. A smart space device data transmission bus arrangement device based on the smart space device data transmission bus arrangement method according to any one of claims 1 to 7, characterized by: It includes, A data preprocessing module for obtaining multi-source device data and performing preprocessing; A grid path module for dividing the smart space into a three-dimensional grid, mapping device coordinates to the grid, tracking the path between devices, and generating a path occupancy flag in combination with building obstacles and point cloud data; An energy analysis module for calculating the linear direct sound and reverberation sound ratio, combining three-axis acceleration data and path occupancy probability, and deriving the theoretical maximum throughput; A quality selection module for calculating the comprehensive link quality and screening the effective link, allocating the number of data packets according to the link priority, performing encapsulation, and transmitting. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is characterized in that: The processor executes the computer program to implement the steps of the smart space device data transmission bus arrangement method of any one of claims 1-7.
10. A computer readable storage medium having stored thereon a computer program, characterized in that: The computer program is executed by the processor to implement the steps of the smart space device data transmission bus arrangement method of any one of claims 1-7.
Citation Information
Patent Citations
Low-power-consumption alarm method and system based on hybrid positioning
CN120091293A
Low-altitude flight safety management method under multi-source data monitoring
CN120472719A
Reception power estimation device and reception power estimation method
JP2014241574A
