A wireless short transmission device and method
By using polynomial fitting and interference evaluation technology to select the optimal channel for wireless short transmission in the downhole environment of the oil industry, the problem of unstable information transmission in the downhole environment is solved and the transmission stability is improved.
Patent Information
- Application Number
- CN202411103261.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-13
AI Technical Summary
In the downhole environment of the oil industry, the complex electromagnetic environment and the use of high-energy equipment lead to unstable information transmission of wireless short-transmission devices, and it is difficult for the prior art to accurately select the channel with the least interference.
By transmitting data points in the polynomial through multiple channels, linearly fitting, calculate the degree of interference of each channel, and combine the similarity and influence of the fitted information to select the channel with the least interference for wireless short transmission.
The channel selection accuracy and information transmission stability of wireless short transmission are improved, and the problem of limited signal strength is avoided.
Smart Images

Figure CN118647012B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and more specifically, to a wireless short transmission device and method. Background Art
[0002] In the field of logging while drilling technology in the oil industry, the measurement while drilling system is mainly used to provide the geological guidance system with wellbore orientation data and geological parameters of the wellbore surrounding rock, so that the drilling wellbore trajectory meets the engineering design requirements; and in the downhole data transmission operation of the logging while drilling instrument, since the screw drill bit near the drill bit cannot pass through the cable, a wireless short transmission device is usually used to transmit the collected wellbore orientation data and geological parameters of the wellbore surrounding rock.
[0003] In the related technology, for example, the Chinese patent document with the authorization announcement number CN108691534B discloses a downhole electromagnetic wireless communication system and method, which relates to the field of underground resource exploration and development technology. The system includes downhole tools, logging while drilling instruments, drill bits, measurement while drilling systems, and a first wireless electromagnetic communication device and a second wireless electromagnetic communication device respectively arranged at both ends of the downhole tools; the first wireless electromagnetic communication device and the second wireless electromagnetic communication device both include an electromagnetic antenna coil structure, a wireless transmitting unit structure, a wireless receiving unit structure, and a universal signal interface; the electromagnetic antenna coil structure can generate an axial alternating current along the drill pipe direction through an electric antenna and generate an alternating current loop around the drill pipe through a magnetic antenna; the electromagnetic antenna coil structures of the first wireless electromagnetic communication device and the second wireless electromagnetic communication device perform electromagnetic wireless data communication across the downhole tool through electromagnetic signals. This invention can realize short-distance data transmission suitable for complex downhole environments with different dielectric properties.
[0004] In the downhole environment where logging while drilling is performed, the complex electromagnetic environment and the use of high-energy equipment will interfere with the surrounding wireless short transmission, resulting in unstable information transmission. Therefore, a wireless short transmission device and method with good performance are needed. Summary of the invention
[0005] In order to solve the technical problem that in the downhole environment where the above-mentioned logging while drilling is located, the complex electromagnetic environment and the use of high-energy equipment will interfere with the surrounding wireless short transmission, resulting in unstable information transmission, and therefore a good-performance wireless short transmission device and method are needed, the present invention provides solutions in the following multiple aspects.
[0006] In a first aspect, the present invention provides a wireless short transmission method, comprising: transmitting a plurality of first information through a plurality of channels, wherein the first information is a different data point in a first polynomial, and the highest degree of the first polynomial is equal to a preset number; selecting n+1 second information from the second information received from each channel for linear fitting, and using the obtained second polynomial as fitting information, wherein n represents a preset number, and the highest degree of the second polynomial is equal to the preset number; calculating the similarity of each two fitting information; for the second information received from any channel, dividing all the fitting information into fitting information obtained by the participation of the second information and fitting information obtained without the participation of the second information; calculating a first interference degree of a channel corresponding to the second information according to a first similarity between each two fitting information obtained by the participation of the second information and a second similarity between the fitting information obtained by the participation of the second information and the fitting information obtained without the participation of the second information; calculating an abnormal score of each fitting information according to the similarity; calculating a second interference degree of the channel corresponding to the second information according to the difference between the abnormal score of all fitting information obtained by the participation of the second information and the abnormal score of all fitting information obtained without the participation of the second information; taking a channel having the smallest sum of the first interference degree and the second interference degree as a target channel, so as to facilitate wireless short transmission.
[0007] Compared with determining a channel with less interference through energy detection, in which signal strength can only provide limited information, the present invention uses different data points in the first polynomial as first information and transmits them through different channels, and determines the first interference degree and the second interference degree of the channel corresponding to each second information according to the result of linear fitting of multiple second information in the second information received from each channel, that is, fitting information. By combining the first interference degree and the second interference degree, a comprehensive evaluation and selection of the target channel with the least interference degree are performed to facilitate wireless short transmission, thereby improving the accuracy of determining the target channel and further improving the stability of information transmitted by wireless short transmission.
[0008] Preferably, the calculating the similarity of every two fitting information includes: for any two fitting information among all the fitting information, calculating the Euclidean distance of the coefficients of the second polynomial contained in the two fitting information, and taking the normalized result of the Euclidean distance as the similarity of the two fitting information; the normalized result of the Euclidean distance is inversely proportional to the Euclidean distance.
[0009] Preferably, the calculating the similarity of every two fitting information includes: for any two fitting information among all the fitting information, calculating the Manhattan distance of the coefficients of the second polynomial contained in the two fitting information, and taking the normalized result of the Manhattan distance as the similarity of the two fitting information; the normalized result of the Manhattan distance is inversely proportional to the Manhattan distance.
[0010] The calculation method of Manhattan distance is more consistent with the geometric characteristics of the polynomial coefficient space. Each coefficient can be regarded as a dimension in the space. Manhattan distance directly measures the sum of differences in each dimension, which more naturally reflects the differences between polynomials. Therefore, the similarity of each two fitting information calculated is more accurate.
[0011] Preferably, according to the similarity, the dividing of all the fitting information into the fitting information obtained with the participation of the second information and the fitting information obtained without the participation of the second information includes: for any fitting information, recording a set consisting of n+1 second information used in fitting the fitting information as a reference information set of the fitting information; in response to the presence of the fitting information in the reference information set of the fitting information, recording the fitting information as the fitting information obtained with the participation of the second information; in response to the absence of the fitting information in the reference information set of the fitting information, recording the fitting information as the fitting information obtained without the participation of the second information.
[0012] Preferably, the calculating the first interference degree of the channel corresponding to the second information includes: calculating the influence degree of the second information on the fitting information according to the second similarity between the fitting information obtained with the participation of the second information and the fitting information obtained without the participation of the second information; then the first interference degree of the channel corresponding to the second information satisfies the expression: ; Wherein, G1 represents the first interference degree of the channel corresponding to the second information, D represents the influence degree of the second information on the fitting information, N1 represents the number of fitting information obtained by the second information, and N2 represents the number of fitting information obtained without the second information. It represents the first similarity between the i-th fitting information obtained with the participation of the second information and the k-th fitting information obtained with the participation of the second information.
[0013] For the fitting information obtained with the participation of the second information, the first similarity between the fitting information represents the difference between the fitting information obtained with the participation of the second information and the first polynomial, which can reflect the difference between the second information and the first information transmitted by the channel corresponding to the second information, and further reflects the degree of interference suffered by the channel corresponding to the second information during the transmission process; at the same time, the credibility of the first degree of interference of the channel corresponding to the second information calculated by the first similarity between the fitting information is judged according to the influence of the second information on the fitting information, therefore, using the influence of the second information on the fitting information as a weight to calculate the first degree of interference of the channel corresponding to the second information can more accurately reflect the degree of interference of the channel corresponding to the second information.
[0014] Preferably, the calculation of the influence of the second information on the fitting information includes: calculating the mean of all the second similarities obtained, and taking the normalized result of the mean as the influence of the second information on the fitting information; the normalized result of the mean is inversely proportional to the mean.
[0015] Preferably, the calculating the influence degree of the second information on the fitting information includes: the influence degree of the second information on the fitting information satisfies the expression: ; In the formula, represents the size of the intersection of the reference information set of the i-th fitting information obtained by the second information and the reference information set of the j-th fitting information obtained without the second information, n represents the preset number of times, represents the second similarity between the i-th fitting information obtained with the participation of the second information and the j-th fitting information obtained without the participation of the second information, Represents the normalization function.
[0016] The size of the intersection of the reference information set of the i-th fitting information obtained by the second information and the reference information set of the j-th fitting information obtained by the second information without the second information representing the number of different second information among other second information participating in fitting the two fitting information can accurately reflect whether the second similarity is mainly affected by the second information or other second information, and further accurately reflects the credibility of calculating the degree of influence of the second information on the fitting information through the second similarities of the two fitting information, so that the degree of influence of the obtained second information on the fitting information is more accurate.
[0017] Preferably, the calculating the anomaly score of each fitting information according to the similarity includes: inputting the similarity of every two fitting information in all the fitting information as samples into the isolation forest anomaly detection algorithm to obtain the anomaly score of each fitting information, wherein, when constructing the isolation tree, by randomly selecting a fitting information and randomly setting a similarity threshold, the other fitting information is divided into two categories according to the similarity between the other fitting information and the fitting information and the size relationship of the similarity threshold, and the isolation tree is obtained by continuously dividing until the stop condition is reached.
[0018] Preferably, the second interference degree of the channel corresponding to the second information satisfies the expression: ; In the formula, represents a second interference degree of the channel corresponding to the second information, Indicates the rth quartile of the abnormality scores of all fitted information obtained by the participation of the second information, Indicates the rth quartile of the anomaly scores of all fitted information obtained without the participation of the second information.
[0019] The difference between the abnormality score of the fitting information obtained with the participation of the second information and the abnormality score of the fitting information obtained without the participation of the second information reflects that the fitting information obtained with the participation of the second information is more abnormal, and further reflects the difference between the second information used to fit the fitting information and the first information transmitted by the channel corresponding to the second information, and the difference is caused by the interference received by the channel corresponding to the second information during the transmission process. The difference between the abnormality score of the fitting information obtained with the participation of the second information and the abnormality score of the fitting information obtained without the participation of the second information can more accurately evaluate the degree of interference to the channel corresponding to the second information.
[0020] In a second aspect, the present invention provides a wireless short transmission device, which adopts the following technical solution:
[0021] A wireless short transmission device comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned wireless short transmission method is implemented.
[0022] By adopting the above technical solution, the above-mentioned wireless short transmission method is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby making a terminal device based on the memory and the processor for easy use.
[0023] The beneficial effects of the present invention are:
[0024] Compared with determining a channel with less interference through energy detection, in which signal strength can only provide limited information, the present invention uses different data points in the first polynomial as first information and transmits them through different channels, and determines the first interference degree and the second interference degree of the channel corresponding to each second information according to the result of linear fitting of multiple second information in the second information received from each channel, that is, fitting information. By combining the first interference degree and the second interference degree, a comprehensive evaluation and selection of the target channel with the least interference degree are performed to facilitate wireless short transmission, thereby improving the accuracy of determining the target channel and further improving the stability of information transmitted by wireless short transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below through the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0026] Figure 1 The figure is a flow chart schematically showing a wireless short transmission method in the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0028] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0029] Logging While Drilling (LWD) is a technology performed during the drilling process. It uses sensors to measure various physical parameters such as formation structure, resistivity, density, etc. underground to help engineers understand the underground conditions in real time. In this process, the sensors and equipment used in the LWD process usually generate electromagnetic radiation. These radiations may operate in the wireless communication frequency band (such as Wi-Fi, Bluetooth, etc.). If they are not properly shielded or isolated, they may interfere with nearby wireless communication devices. At the same time, some LWD equipment may need to use higher power or work in high frequency bands. These devices may interfere with surrounding wireless communication equipment. The underground environment is usually a complex metal structure. These metal structures can reflect, scatter or absorb wireless signals, thereby affecting the stability and quality of communication.
[0030] ZigBee (ZigBee Protocol) is a common anti-interference method in wireless communications. ZigBee with a frequency band of 2.4G can use a total of 16 channels, ranging from 2405MHZ to 2480MHZ. MHZ (Megahertz) is one of the units of fluctuating frequency. ZigBee usually uses a fixed channel. When interfered by other signals, it will automatically select another channel with less interference to use.
[0031] When the above process determines the channel with less interference, the device can perform energy detection to measure the signal strength level of each possible channel. Energy detection mainly focuses on the signal strength received by the device; however, signal strength can only provide limited information and may not accurately reflect the interference situation of the entire channel. For example, sometimes, even if the signal strength is high, there may be other forms of interference (such as narrowband interference), which may not be captured by the energy detection method. Therefore, it is not accurate to determine the channel with less interference through energy detection.
[0032] The embodiment of the present invention discloses a wireless short transmission method, referring to Figure 1 , comprising steps S1 to S6:
[0033] S1. Transmit multiple first information through multiple channels.
[0034] Specifically, for the sender, N different data points are randomly selected from all data points of the first polynomial as the first information, and the highest degree of the first polynomial is equal to the preset degree; the N first information are allocated to N channels, and each first information is transmitted through each channel, N represents the number of channels, and ZigBee can use a total of 16 channels.
[0035] Among them, the first polynomial includes each degree term and its coefficient, so the first polynomial is , where n represents the preset number of times, , , , They represent the coefficients of the n-order term, n-1-order term, 2-order term, and 1-order term, respectively. , , , , They represent the nth-order term, n-1th-order term, second-order term, first-order term and constant term respectively, where the coefficients and constant term can be any natural constants.
[0036] Among them, the preset number of times can be set according to the actual application scenario and requirements, and the value range of the preset number of times is required to be [1, N-2]. The present invention sets the preset number of times to 2.
[0037] S2. Obtain multiple fitting information according to the linear fitting results of the second information received by each channel.
[0038] It should be noted that during the transmission process, for each channel, when the channel is subject to greater interference, the difference between the received second information and the first information actually transmitted by the channel is relatively large. The second information will cause the fitted second polynomial to be relatively different from the first polynomial. Therefore, the degree of interference of the channel can be judged by the difference between the second polynomial fitted by the second information and the first polynomial.
[0039] It should be further explained that, for the first polynomial whose highest degree is equal to the preset degree, as long as the preset degree plus 1 different data point is obtained, the first polynomial can be fitted based on these data points; therefore, the present invention selects n+1 second information from all the second information for linear fitting to obtain the second polynomial.
[0040] Specifically, for the receiving party, the information received from each channel is recorded as the second information corresponding to each channel; n+1 second information is selected from all the second information for linear fitting, n represents a preset number of times, and the highest number of the second polynomials obtained by fitting is required to be equal to the preset number of times, and the obtained second polynomials are used as fitting information, and a total of different second polynomials, so the amount of fitted information is equal to .
[0041] For any piece of fitting information, a set consisting of n+1 pieces of second information used in fitting the fitting information is recorded as a reference information set of the fitting information.
[0042] S3. Calculate the similarity between every two pieces of fitting information.
[0043] In one embodiment, for any two pieces of fitting information among all the fitting information, the Euclidean distance of the coefficients of the second polynomial contained in the two pieces of fitting information is calculated, and the normalized result of the Euclidean distance is used as the similarity of the two pieces of fitting information; the normalized result of the Euclidean distance is inversely proportional to the Euclidean distance. For example, the normalized function or The Euclidean distance is normalized, wherein exp() represents an exponential function with a natural constant as the base, Tanh() represents a hyperbolic tangent function, x represents input, and y represents output.
[0044] It should be noted that, the larger the Euclidean distance between the coefficients of the second polynomials included in the two fitting information is, the larger the difference between the coefficients of the second polynomials included in the two fitting information is, and the smaller the similarity between the two fitting information is.
[0045] It should be further explained that the calculation method of Manhattan distance is more in line with the geometric characteristics of the polynomial coefficient space. Each coefficient can be regarded as a dimension in the space, and Manhattan distance directly measures the sum of the differences in each dimension, which mathematically more naturally reflects the differences between polynomials.
[0046] In another embodiment, for any two pieces of fitting information among all the fitting information, the Manhattan distance of the coefficients of the second polynomial contained in the two pieces of fitting information is calculated, and the normalized result of the Manhattan distance is used as the similarity of the two pieces of fitting information; the normalized result of the Manhattan distance is inversely proportional to the Manhattan distance, and illustratively, the normalized function or The Manhattan distance is normalized, where exp() represents an exponential function with a natural constant as the base, Tanh() represents a hyperbolic tangent function, x represents input, and y represents output.
[0047] It should be noted that, the larger the Manhattan distance between the coefficients of the second polynomials contained in the two fitting information is, the larger the difference between the coefficients of the second polynomials contained in the two fitting information is, and the smaller the similarity between the two fitting information is.
[0048] It should be further explained that the calculation method of Manhattan distance is more consistent with the geometric characteristics in the polynomial coefficient space and more naturally reflects the differences between polynomials. Therefore, the similarity of each two fitting information calculated is more accurate.
[0049] S4. Calculate a first interference degree of the channel corresponding to the second information according to a first similarity between every two pieces of fitting information obtained with the participation of the second information and a second similarity between the fitting information obtained with the participation of the second information and the fitting information obtained without the participation of the second information.
[0050] Specifically, for the second information received from any channel, all fitting information is divided into fitting information obtained with the participation of the second information and fitting information obtained without the participation of the second information. In response to the existence of the fitting information in the reference information set of the fitting information, the fitting information is recorded as fitting information obtained with the participation of the second information. In response to the absence of the fitting information in the reference information set of the fitting information, the fitting information is recorded as fitting information obtained without the participation of the second information.
[0051] Further, according to the first similarity between every two pieces of fitting information obtained by the second information and the second similarity between the fitting information obtained by the second information and the fitting information not obtained by the second information, calculating the first interference degree of the channel corresponding to the second information includes: calculating the influence of the second information on the fitting information according to the second similarity between the fitting information obtained by the second information and the fitting information not obtained by the second information; calculating the first interference degree of the channel corresponding to the second information according to the influence of the second information on the fitting information and the first similarity between every two pieces of fitting information obtained by the second information, and the first interference degree of the channel corresponding to the second information satisfies the expression:
[0052] ;
[0053] In the formula, G1 represents the first interference degree of the channel corresponding to the second information, D represents the influence degree of the second information on the fitting information, N1 represents the amount of fitting information obtained by the second information, It represents the first similarity between the i-th fitting information obtained with the participation of the second information and the k-th fitting information obtained with the participation of the second information.
[0054] It should be noted that, for the fitting information obtained by the participation of the second information, the greater the first similarity between the fitting information, the more consistent and closer to the first polynomial the fitting information obtained by the participation of the second information, and further, the closer the second information is to the first information transmitted by the channel corresponding to the second information, the less interference the channel corresponding to the second information receives during the transmission process, and therefore, the smaller the first interference degree of the channel corresponding to the second information is; the greater the influence of the second information on the fitting information, the greater the credibility of judging the first interference degree of the channel corresponding to the second information by the first similarity between the fitting information, and therefore, the influence of the second information on the fitting information is used as a weight, Weighting is performed, and the weighted result is used as the first interference degree of the channel corresponding to the second information. The greater the influence of the second information on the fitting information, the greater the first interference degree of the channel corresponding to the second information.
[0055] It should be further explained that, for the fitting information obtained with the participation of the second information, the first similarity between the fitting information represents the difference between the fitting information obtained with the participation of the second information and the first polynomial, which can reflect the difference between the second information and the first information transmitted by the channel corresponding to the second information, and further reflects the degree of interference received by the channel corresponding to the second information during the transmission process; at the same time, the credibility of the first degree of interference of the channel corresponding to the second information calculated by the first similarity between the fitting information is judged through the degree of influence of the second information on the fitting information, and therefore, using the degree of influence of the second information on the fitting information as a weight to calculate the first degree of interference of the channel corresponding to the second information can more accurately reflect the degree of interference of the channel corresponding to the second information.
[0056] In one embodiment, the second similarity between the fitting information obtained by the participation of the second information and the fitting information obtained without the participation of the second information, calculating the influence of the second information on the fitting information, includes: calculating the mean of all the second similarities obtained, and taking the normalized result of the mean as the influence of the second information on the fitting information; the normalized result of the mean is inversely proportional to the mean, and exemplarily, can be obtained by normalizing the function or The mean is normalized, where exp() represents an exponential function with a natural constant as the base, Tanh() represents a hyperbolic tangent function, x represents input, and y represents output.
[0057] It should be noted that, for the fitting information obtained with the participation of the second information and the fitting information obtained without the participation of the second information, the smaller the second similarity of the two fitting information, the more significant the difference in the information captured by the two fitting information. At this time, it means that the second information does provide useful information when obtaining the fitting information, making the fitting result, i.e., the fitting information, more accurate. Therefore, the second information has a greater impact on the fitting information.
[0058] In another embodiment, the second similarity between the fitting information obtained by the participation of the second information and the fitting information obtained without the participation of the second information is used to calculate the influence of the second information on the fitting information, and the influence of the second information on the fitting information satisfies the expression:
[0059] ;
[0060] Where D represents the influence of the second information on the fitting information, N1 represents the number of fitting information obtained by the second information, and N2 represents the number of fitting information obtained without the second information. represents the size of the intersection of the reference information set of the i-th fitting information obtained by the second information and the reference information set of the j-th fitting information obtained without the second information, n represents the preset number of times, represents the second similarity between the i-th fitting information obtained with the participation of the second information and the j-th fitting information obtained without the participation of the second information, Represents the normalization function.
[0061] Wherein, the normalization function includes but is not limited to or , exp() represents the exponential function with a natural constant as the base, Tanh() represents the hyperbolic tangent function, x represents the input, and y represents the output.
[0062] It should be noted that, for the fitting information obtained with the participation of the second information and the fitting information obtained without the participation of the second information, the smaller the second similarity of the two fitting information, the more significant the difference in the information captured by the two fitting information. At this time, it means that the second information does provide useful information when obtaining the fitting information, making the fitting result, i.e., the fitting information, more accurate, and the second information has a greater impact on the fitting information.
[0063] It should be further explained that, the larger the size of the intersection of the reference information set of the i-th fitting information obtained by the second information participating in the acquisition and the reference information set of the j-th fitting information obtained by the second information not participating in the acquisition, the more different second information in other second information participating in fitting the two fitting information, and at this time, it is more difficult to determine which second information mainly affects the second similarity. Therefore, the lower the credibility of calculating the degree of influence of the second information on the fitting information through the second similarities of the two fitting information, and therefore, the larger the size of the intersection of the reference information set of the i-th fitting information obtained by the second information participating in the acquisition and the reference information set of the j-th fitting information obtained by the second information not participating in the acquisition, the smaller the influence of the second information on the fitting information.
[0064] It should be noted that the size of the intersection of the reference information set of the i-th fitting information obtained by the second information and the reference information set of the j-th fitting information obtained by the second information not participating in representing the number of different second information in other second information participating in fitting the two fitting information, which can accurately reflect whether the second similarity is mainly affected by the second information or other second information, and further accurately reflects the credibility of calculating the degree of influence of the second information on the fitting information through the second similarities of the two fitting information, so that the degree of influence of the obtained second information on the fitting information is more accurate.
[0065] S5. Calculate an anomaly score of each piece of fitting information according to the similarity between each pair of fitting information; and calculate a second interference degree of the channel corresponding to the second information according to a difference between anomaly scores of all fitting information obtained with the participation of the second information and anomaly scores of all fitting information obtained without the participation of the second information.
[0066] Specifically, the method calculates the anomaly score of each fitting information according to the similarity between each two fitting information, including: inputting the similarity between each two fitting information in all the fitting information as a sample into the isolation forest anomaly detection algorithm to obtain the anomaly score of each fitting information, wherein, when constructing the isolation tree, by randomly selecting a fitting information and randomly setting a similarity threshold, according to the relationship between the similarity between other fitting information and the fitting information and the size relationship of the similarity threshold, the other fitting information is divided into two categories, and the isolation tree is obtained by continuously dividing until the stop condition is reached.
[0067] It should be noted that the isolation forest anomaly detection algorithm is a well-known technology and will not be described in detail here.
[0068] Further, the second interference degree of the channel corresponding to the second information satisfies the expression:
[0069] ;
[0070] In the formula, represents a second interference degree of the channel corresponding to the second information, Indicates the rth quartile of the abnormality scores of all fitted information obtained by the participation of the second information, Indicates the rth quartile of the anomaly scores of all fitted information obtained without the participation of the second information.
[0071] Among them, the first quartile is also called the "smaller quartile", which is equal to the 25th% abnormal score after the abnormal scores of all the fitting information obtained with the participation of the second information are arranged from small to large; the second quartile is also called the "median", which is equal to the 50th% abnormal score after the abnormal scores of all the fitting information obtained with the participation of the second information are arranged from small to large; the third quartile is also called the "larger quartile", which is equal to the 75th% abnormal score after the abnormal scores of all the fitting information obtained with the participation of the second information are arranged from small to large.
[0072] It should be noted that, the greater the difference between the abnormality score of the fitting information obtained with the participation of the second information and the abnormality score of the fitting information obtained without the participation of the second information, the more abnormal the fitting information obtained with the participation of the second information, and the greater the difference between the second information used to fit the fitting information and the first information transmitted by the channel corresponding to the second information. The difference is caused by the interference received by the channel corresponding to the second information during the transmission process. The greater the difference, the greater the degree of interference received by the channel corresponding to the second information during the transmission process. Therefore, the greater the difference between the abnormality score of the fitting information obtained with the participation of the second information and the abnormality score of the fitting information obtained without the participation of the second information, the greater the second degree of interference of the channel corresponding to the second information.
[0073] It should be further explained that the difference between the abnormality score of the fitting information obtained with the participation of the second information and the abnormality score of the fitting information obtained without the participation of the second information reflects that the more abnormal the fitting information obtained with the participation of the second information is, and further reflects the difference between the second information used to fit the fitting information and the first information transmitted by the channel corresponding to the second information, and the difference is caused by the interference to the channel corresponding to the second information during the transmission process. The difference between the abnormality score of the fitting information obtained with the participation of the second information and the abnormality score of the fitting information obtained without the participation of the second information can more accurately evaluate the degree of interference to the channel corresponding to the second information.
[0074] S6. The channel with the smallest sum of the first interference degree and the second interference degree is selected as the target channel to facilitate wireless short transmission.
[0075] Specifically, the sum of the first interference degree of the channel corresponding to each second information and the second interference degree of the channel corresponding to each second information is used as the comprehensive interference degree of each channel; the channel with the smallest comprehensive interference degree is used as the target channel to facilitate wireless short transmission.
[0076] It should be noted that compared with determining the channel with less interference through energy detection, the signal strength can only provide limited information. The present invention uses different data points in the first polynomial as the first information and transmits them through different channels. According to the result of linear fitting of multiple second information in the second information received from each channel, that is, the fitting information, the first interference degree and the second interference degree of the channel corresponding to each second information are determined. By combining the first interference degree and the second interference degree, a comprehensive evaluation and selection of the target channel with the least interference degree are performed to facilitate wireless short transmission, thereby improving the accuracy of determining the target channel and further improving the stability of information transmitted by wireless short transmission.
[0077] The embodiment of the present invention further discloses a wireless short transmission device, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a wireless short transmission method according to the present invention is implemented.
[0078] The above-mentioned device also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, whose configuration and functions are known in the art and thus will not be described in detail here.
[0079] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0080] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in practicing the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
Claims
1. A wireless short transmission method, characterized in that: include: Transmitting a plurality of first information through a plurality of channels, wherein the first information is different data points in a first polynomial, and the highest degree of the first polynomial is equal to a preset degree; Select n+1 second information from the second information received from each channel for linear fitting, and use the obtained second polynomial as fitting information, where n represents a preset number, and the highest number of the second polynomial is equal to the preset number; Calculate the similarity between each two fitting information; For second information received from any channel, all fitting information is divided into fitting information obtained by the second information and fitting information obtained without the second information; and according to a first similarity between every two fitting information obtained by the second information and a second similarity between the fitting information obtained by the second information and the fitting information obtained by the second information and the fitting information obtained without the second information, a first interference degree of the channel corresponding to the second information is calculated, including: Calculating the influence of the second information on the fitting information according to the second similarity between the fitting information obtained by the participation of the second information and the fitting information obtained without the participation of the second information; Then the first interference degree of the channel corresponding to the second information satisfies the expression: Wherein, G1 represents the first interference degree of the channel corresponding to the second information, D represents the influence degree of the second information on the fitting information, N1 represents the amount of fitting information obtained by the second information, represents a first similarity between the i-th fitting information obtained by the second information and the k-th fitting information obtained by the second information; According to the similarity of each two fitting information, the anomaly score of each fitting information is calculated; according to the difference between the anomaly score of all fitting information obtained with the participation of the second information and the anomaly score of all fitting information obtained without the participation of the second information, the second interference degree of the channel corresponding to the second information is calculated, satisfying the expression: ; In the formula, represents a second interference degree of the channel corresponding to the second information, Indicates the rth quartile of the abnormality scores of all fitted information obtained by the participation of the second information, The rth quartile of the abnormality scores of all fitted information obtained without the participation of the second information; The channel with the smallest sum of the first interference degree and the second interference degree is used as the target channel to facilitate wireless short transmission.
2. The wireless short transmission method according to claim 1, characterized in that: The calculating the similarity between each two pieces of fitting information includes: For any two pieces of fitting information among all the fitting information, the Euclidean distance of the coefficients of the second polynomial contained in the two pieces of fitting information is calculated, and the normalized result of the Euclidean distance is used as the similarity of the two pieces of fitting information; the normalized result of the Euclidean distance is inversely proportional to the Euclidean distance.
3. The wireless short transmission method according to claim 1, characterized in that: The calculating the similarity between each two pieces of fitting information includes: For any two pieces of fitting information among all the fitting information, the Manhattan distance of the coefficients of the second polynomial contained in the two pieces of fitting information is calculated, and the normalized result of the Manhattan distance is used as the similarity of the two pieces of fitting information; the normalized result of the Manhattan distance is inversely proportional to the Manhattan distance.
4. The wireless short transmission method according to claim 1, characterized in that: According to the similarity, dividing all the fitting information into the fitting information obtained with the participation of the second information and the fitting information obtained without the participation of the second information includes: For any fitting information, a set consisting of n+1 second information used in fitting the fitting information is recorded as a reference information set of the fitting information; In response to the fitting information existing in the reference information set of the fitting information, the fitting information is recorded as the fitting information obtained with the participation of the second information; in response to the fitting information not existing in the reference information set of the fitting information, the fitting information is recorded as the fitting information not obtained with the participation of the second information.
5. The wireless short transmission method according to claim 1, characterized in that: The calculating the influence degree of the second information on the fitting information includes: The mean of all the obtained second similarities is calculated, and the normalized result of the mean is used as the influence degree of the second information on the fitting information; the normalized result of the mean is inversely proportional to the mean.
6. The wireless short transmission method according to claim 1, characterized in that: The calculating the influence degree of the second information on the fitting information includes: The influence degree of the second information on the fitting information satisfies the expression: ; Where D represents the influence of the second information on the fitting information, N1 represents the number of fitting information obtained by the second information, and N2 represents the number of fitting information obtained without the second information. represents the size of the intersection of the reference information set of the i-th fitting information obtained by the second information and the reference information set of the j-th fitting information obtained without the second information, n represents the preset number of times, represents the second similarity between the i-th fitting information obtained with the participation of the second information and the j-th fitting information obtained without the participation of the second information, Represents the normalization function.
7. The wireless short transmission method according to claim 1, characterized in that: The calculating the abnormality score of each piece of fitting information according to the similarity between each two pieces of fitting information includes: The similarity between every two fitting information in all the fitting information is input as a sample into the isolation forest anomaly detection algorithm to obtain the anomaly score of each fitting information. When constructing the isolated tree, a fitting information is randomly selected and a similarity threshold is randomly set. According to the similarity between other fitting information and the fitting information and the size relationship of the similarity threshold, the other fitting information is divided into two categories. By continuously dividing until the stopping condition is reached, an isolated tree is obtained.
8. A wireless short transmission device, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a wireless short transmission method according to any one of claims 1 to 7 is implemented.
