A Bluetooth anti-lost device signal sending method, system, device and storage medium thereof

By collecting and analyzing the historical distance data of the Bluetooth anti-lost device, predicting and correcting the clock error, the problem of the ranging clock error of the Bluetooth anti-lost device is solved, and the ranging accuracy and accurate judgment of the lost status of the item are improved.

CN118042407BActive Publication Date: 2024-08-23SHENZHEN XINZI UNION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410426746.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-10
Publication Date
2024-08-23
Estimated Expiration
2044-04-10

AI Technical Summary

Technical Problem

Bluetooth anti-lost devices are easily affected by clock errors during ranging, resulting in measurement errors. It is difficult to effectively reduce clock errors with existing technology.

Method used

By collecting the historical distance data between the Bluetooth anti-lost device and the user, converting it into a Bluetooth distance sequence, predicting multiple azimuth predictions, determining the Bluetooth distance-velocity vector and multi-directional deviation matrix, obtaining the response signal, and calculating the clock correction factor, Correct the measurement distance and reduce the clock error.

Benefits of technology

It effectively reduces the clock error during Bluetooth ranging, improves the ranging accuracy, and ensures accurate judgment and signal transmission of the lost status of items.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118042407B
    Figure CN118042407B
Patent Text Reader

Abstract

The present application provides a Bluetooth anti-lost device signal sending method, system, device and storage medium thereof, which obtains a Bluetooth distance sequence, determines multiple azimuth prediction quantities at the current moment according to the Bluetooth distance sequence, and determines a Bluetooth distance-speed vector according to all the azimuth prediction quantities; then determines a multi-directional deviation matrix through the Bluetooth distance-speed vector and all the azimuth prediction quantities, obtains a response signal, determines the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal, determines a clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix; performs deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment through the clock error correction factor, and then determines the item loss status at the current moment, adds the item loss status to the Bluetooth signal for sending, avoids the accumulation of clock errors, and can reduce the clock error generated during Bluetooth ranging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Bluetooth anti-lost devices, and more specifically, to a Bluetooth anti-lost device signal sending method, system, device and storage medium thereof. Background Art

[0002] A Bluetooth anti-lost device is a device that uses the signal strength during communication as a reference to determine whether an item is within the safety range preset by the user. Once the item exceeds the safety range preset by the user, the mobile phone connected to the Bluetooth anti-lost device will issue an alarm to remind the user.

[0003] Bluetooth signal transmission technology is a technology used for short-range wireless communication, generally using the 2.4GHz frequency band for wireless communication. Currently, the commonly used wireless ranging technologies are time-of-flight (TOF) and signal strength (RSSI). Among them, the signal strength method is easily affected by multiple factors such as multipath effect and external electromagnetic interference, resulting in measurement errors. The time-of-flight method is highly dependent on the clock accuracy between the transmitting device and the receiving device, and the clock error between devices is difficult to eliminate. Therefore, how to reduce the clock error generated during Bluetooth ranging has become a difficult problem faced by the industry. Summary of the invention

[0004] The present application provides a signal sending method, system, device and storage medium of a Bluetooth anti-loss device, which can reduce the clock error generated during Bluetooth ranging.

[0005] In a first aspect, the present application provides a signal sending method of a Bluetooth anti-lost device, comprising:

[0006] Collect historical data of the distance between the Bluetooth anti-lost device and the user stored in the Bluetooth anti-lost device and convert it into a Bluetooth distance sequence;

[0007] Determine multiple azimuth predictions at the current moment according to the Bluetooth distance sequence, determine a Bluetooth distance-speed vector according to all the azimuth predictions, and then determine a multi-directional deviation matrix through the Bluetooth distance-speed vector and all the azimuth predictions;

[0008] Obtain a response signal, and determine the measured distance between the Bluetooth anti-lost device and the user at the current moment according to the response signal;

[0009] Determine a clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix, and perform deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment by using the clock error correction factor to obtain an unbiased state quantity at the current moment;

[0010] The item loss state at the current moment is determined by the unbiased state quantity at the current moment, and the item loss state is added to the Bluetooth signal for transmission.

[0011] In some embodiments, determining multiple predicted position quantities at the current moment according to the Bluetooth distance sequence specifically includes:

[0012] Determine the spatial trend matrix at the current moment according to the Bluetooth distance sequence;

[0013] Multiple orientation prediction quantities at the current moment are determined through the spatial trend matrix.

[0014] In some embodiments, determining the spatial trend matrix at the current moment according to the Bluetooth distance sequence specifically includes:

[0015] Determine the distance rate corresponding to each Bluetooth distance data in the Bluetooth distance sequence;

[0016] Determine the distance-speed center point at the current moment according to the Bluetooth distance sequence and all the distance-speeds;

[0017] The spatial trend matrix at the current moment is determined according to the distance-speed center point.

[0018] In some embodiments, determining multiple orientation prediction quantities at the current moment through the spatial trend matrix specifically includes:

[0019] Determine a trend root matrix according to the spatial trend matrix;

[0020] A plurality of azimuth prediction quantities are determined according to the trend root matrix and the range-speed center point.

[0021] In some embodiments, determining the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal specifically includes:

[0022] Get the timestamp of receiving the response signal;

[0023] Get the timestamp when the Bluetooth signal corresponding to the response signal is sent;

[0024] Obtaining the transmission interval of the electronic terminal carried by the user;

[0025] The measured distance between the Bluetooth anti-loss device and the user at the current moment is determined according to the timestamp of receiving the response signal, the timestamp of when the Bluetooth signal corresponding to the response signal is sent, and the transmission interval of the electronic terminal carried by the user.

[0026] In some embodiments, the measured distance between the Bluetooth anti-lost device and the user at the current moment is corrected by the clock difference correction factor to obtain the unbiased state quantity at the current moment, specifically including:

[0027] Get the measured distance between the Bluetooth anti-lost device and the user at the current moment;

[0028] Obtain the Bluetooth distance-speed vector;

[0029] Obtaining the clock error correction factor;

[0030] Get all response spans;

[0031] The measured distance between the Bluetooth anti-loss device and the user at the current moment is corrected according to the Bluetooth distance-speed vector, the clock difference correction factor and all response spans to obtain an unbiased state quantity.

[0032] In some embodiments, after performing deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment by using the clock difference correction factor to obtain the unbiased state quantity at the current moment, the method further includes:

[0033] The unbiased distance data in the unbiased state quantity is stored in the Bluetooth anti-loss device as the Bluetooth distance data at the current moment.

[0034] In a second aspect, the present application provides a signal transmission system for a Bluetooth anti-lost device, comprising:

[0035] The acquisition module is used to collect the historical data of the distance between the Bluetooth anti-lost device and the user stored in the Bluetooth anti-lost device and convert it into a Bluetooth distance sequence;

[0036] A prediction module, used to determine multiple azimuth prediction quantities at the current moment according to the Bluetooth distance sequence, determine a Bluetooth distance-speed vector according to all azimuth prediction quantities, and further determine a multi-directional deviation matrix through the Bluetooth distance-speed vector and all azimuth prediction quantities;

[0037] A measuring module, used to obtain a response signal, and determine the measured distance between the Bluetooth anti-lost device and the user at the current moment according to the response signal;

[0038] A correction module is used to determine a clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix, and to perform deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment by using the clock error correction factor to obtain an unbiased state quantity at the current moment;

[0039] The sending module is used to determine the item loss status at the current moment based on the unbiased state quantity at the current moment, and add the item loss status to the Bluetooth signal for sending.

[0040] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned signal sending method of the Bluetooth anti-loss device.

[0041] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the signal sending method of the above-mentioned Bluetooth anti-loss device is implemented.

[0042] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:

[0043] In a signal sending method, system, device and storage medium of a Bluetooth anti-lost device provided by the present application, historical changes are determined through historical data stored in the Bluetooth anti-lost device, namely, a Bluetooth distance sequence, and then the relative displacement between the Bluetooth anti-lost device and the user that may occur in multiple directions at the current moment is predicted, namely, multiple azimuth prediction quantities, and each azimuth prediction quantity is compared with the historical data stored in the Bluetooth anti-lost device to obtain a multi-directional deviation matrix, which reflects the deviation of the azimuth prediction quantity in each direction. The multi-directional deviation matrix can be used to determine the error between the measured distance obtained at the current moment and the azimuth prediction quantities in multiple directions, and the error conditions in multiple directions are combined to obtain a clock error correction factor for correcting the measured distance. The clock error of the measured distance measured by the response signal is reduced by the clock error correction factor, and the accumulation of clock errors is avoided. A more accurate spatial distance between the Bluetooth anti-lost device and the user is determined, and the corrected spatial distance is used to determine whether the item is lost, and the judgment result is added to the signal of the Bluetooth anti-lost device for transmission, which can reduce the measurement error of the spatial distance between the Bluetooth anti-lost device and the user caused by the clock error. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is an exemplary flow chart of a signal sending method of a Bluetooth anti-lost device according to some embodiments of the present application;

[0045] Figure 2 is an exemplary flow chart of determining a spatial trend matrix at a current moment according to some embodiments of the present application;

[0046] Figure 3 It is a schematic diagram of determining the measured distance between the Bluetooth anti-lost device and the user at the current moment according to some embodiments of the present application;

[0047] Figure 4 is a schematic diagram of exemplary hardware and / or software of a signal transmission system of a Bluetooth anti-lost device according to some embodiments of the present application;

[0048] Figure 5 It is a structural diagram of a computer device for implementing a signal sending method of a Bluetooth anti-loss device according to some embodiments of the present application. DETAILED DESCRIPTION

[0049] The core of this application is to obtain a Bluetooth distance sequence, determine multiple azimuth predictions at the current moment according to the Bluetooth distance sequence, and determine a Bluetooth distance-speed vector according to all the azimuth predictions; determine a multi-directional deviation matrix according to the Bluetooth distance-speed vector and all the azimuth predictions, obtain a response signal, determine the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal, and determine a clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix; perform deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment by using the clock error correction factor, and then determine the item loss status at the current moment, add the item loss status to the Bluetooth signal and send it, thereby avoiding the accumulation of clock errors and reducing the clock errors generated during Bluetooth ranging.

[0050] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a signal sending method of a Bluetooth anti-lost device according to some embodiments of the present application. The signal sending method 100 of the Bluetooth anti-lost device mainly includes the following steps:

[0051] In step 101, historical data of the distance between the Bluetooth anti-loss device and the user stored in the Bluetooth anti-loss device is collected and converted into a Bluetooth distance sequence.

[0052] It should be noted that the Bluetooth distance sequence in this application refers to a sequence of distance data between the Bluetooth anti-loss device and the user at multiple time points from the start of the Bluetooth anti-loss device to the previous moment before the current moment. The distance data refers to the spatial distance between the Bluetooth anti-loss device and the user. In specific implementation, the Bluetooth anti-loss device stores the distance data once at a fixed storage time interval, and arranges all the distance data in chronological order to obtain the Bluetooth distance sequence.

[0053] In step 102, multiple azimuth predictions at the current moment are determined according to the Bluetooth distance sequence, a Bluetooth distance-speed vector is determined according to all the azimuth predictions, and then a multi-directional deviation matrix is ​​determined through the Bluetooth distance-speed vector and all the azimuth predictions.

[0054] In some embodiments, determining multiple predicted directions at the current moment according to the Bluetooth distance sequence may be implemented by the following steps:

[0055] Determine the spatial trend matrix at the current moment according to the Bluetooth distance sequence;

[0056] Multiple orientation prediction quantities at the current moment are determined through the spatial trend matrix.

[0057] In some embodiments, determining the spatial trend matrix at the current moment according to the Bluetooth distance sequence may be implemented by the following steps:

[0058] Determine the distance rate corresponding to each Bluetooth distance data in the Bluetooth distance sequence;

[0059] Determine the distance-speed center point at the current moment according to the Bluetooth distance sequence and all the distance-speeds;

[0060] The spatial trend matrix at the current moment is determined according to the distance-speed center point, wherein the spatial trend matrix can be determined according to the following formula:

[0061]

[0062] in, is the spatial trend matrix at the current moment, It means to find the expected matrix, for Bluetooth distance data at all times, for The rate of departure at a moment, is the distance and speed center point at the current moment, is the transposed vector of the velocity center point at the current moment, For the current moment.

[0063] It should be noted that the spatial trend matrix in this application is a matrix used to measure the time-series change trend and distribution characteristics of the Bluetooth distance sequence and all the distance rates, which will not be repeated here.

[0064] In some embodiments, determining the distance rate corresponding to each Bluetooth distance data in the Bluetooth distance sequence can be implemented by the following steps:

[0065] Get each Bluetooth distance data in the Bluetooth distance sequence;

[0066] Get the storage time interval between two adjacent Bluetooth distance data in the Bluetooth distance sequence;

[0067] Select a Bluetooth distance data in the Bluetooth distance sequence, and determine the distance rate corresponding to the Bluetooth distance data according to the difference between the Bluetooth distance data and the previous Bluetooth distance data and the storage time interval between the Bluetooth distance data and the previous Bluetooth distance data;

[0068] Continue to determine the distance rate corresponding to the remaining Bluetooth distance data in the Bluetooth distance sequence.

[0069] In specific implementation, the difference between two adjacent Bluetooth distance data may be divided by the storage time interval between two adjacent Bluetooth distance data in the Bluetooth distance sequence, and the obtained value may be used as the distance rate corresponding to the later Bluetooth distance data of the two Bluetooth distance data.

[0070] It should be noted that the moving away rate in this application refers to the rate at which the spatial distance between the user and the Bluetooth anti-loss device increases.

[0071] It should be noted that the distance-speed center point in the present application is a two-dimensional vector that reflects the center value of all Bluetooth distance data and all distance rates before the current moment. In specific implementation, the average value of all Bluetooth distance data can be used as the first element in the two-dimensional vector, and the average value of all distance rates can be used as the second element in the two-dimensional vector.

[0072] In some embodiments, determining multiple orientation prediction quantities at the current moment through the spatial trend matrix may be implemented by the following steps:

[0073] Determine a trend root matrix according to the spatial trend matrix;

[0074] A plurality of azimuth prediction quantities are determined according to the trend root matrix and the distance-speed center point, wherein the azimuth prediction quantities can be determined according to the following formula:

[0075]

[0076] in, For the A direction prediction quantity, is the distance and speed center point at the current moment, is the trend root matrix at the current moment, for Middle vectors, It is a preset direction vector cluster used to determine the direction prediction quantity in each direction through multiple directions.

[0077] It should be noted that the location prediction quantity in the present application is the vector of the Bluetooth distance data and the rate of departure at the current moment predicted from one direction.

[0078] In specific implementation, the spatial trend matrix can be decomposed into the trend root matrix by the square root method in the prior art. In other embodiments, the trend root matrix can also be determined by other prior arts, which is not limited here.

[0079] It should be noted that the trend root matrix in the present application is a matrix containing characteristic roots of multiple spatial trend matrices.

[0080] In some embodiments, determining the Bluetooth distance-speed vector based on all the orientation prediction quantities can be implemented by the following steps:

[0081] Get the distance and speed center point at the current moment;

[0082] Get the storage time interval between two adjacent Bluetooth distance data in the Bluetooth distance sequence;

[0083] Get all the predicted azimuths;

[0084] The Bluetooth distance-speed vector is determined according to the distance-speed center point at the current moment, the storage time interval between two adjacent Bluetooth distance data in the Bluetooth distance sequence, and all the azimuth prediction quantities, wherein the Bluetooth distance-speed vector can be determined according to the following formula:

[0085]

[0086] in, is the Bluetooth distance-speed vector, For the A direction prediction quantity, is the distance and speed center point at the current moment, is the storage time interval between two adjacent Bluetooth distance data in the Bluetooth distance sequence, For the current moment.

[0087] It should be noted that the Bluetooth distance-speed vector in this application refers to a set of two parameters, namely, the spatial distance between the Bluetooth anti-loss device and the user at the current moment and the relative displacement rate, predicted by historical data stored in the Bluetooth anti-loss device.

[0088] In addition, it should be noted that in this application, the Bluetooth distance sequence stored in the Bluetooth anti-loss device is used to predict the azimuth prediction in multiple directions, and then the Bluetooth distance-speed vector at the current moment is determined through the azimuth prediction in all directions. The predicted value of the spatial distance and relative displacement rate between the Bluetooth anti-loss device and the user at the current moment can be obtained, and the actual measurement value can be corrected later by the predicted value.

[0089] In some embodiments, determining a multi-directional deviation matrix using the Bluetooth distance-speed vector and all azimuth prediction quantities may be implemented by the following steps:

[0090] Get the Bluetooth distance-speed vector and the transposed vector of the Bluetooth distance-speed vector;

[0091] Obtain all azimuth prediction quantities and the transposed vector of each azimuth prediction quantity;

[0092] A multi-directional deviation matrix is ​​determined according to the Bluetooth distance-speed vector, the transposed vector of the Bluetooth distance-speed vector, all azimuth prediction quantities and the transposed vector of each azimuth prediction quantity, wherein the multi-directional deviation matrix can be determined according to the following formula:

[0093]

[0094] in, is the multi-directional deviation matrix, For the A direction prediction quantity, For the The transposed vector of the orientation prediction quantity, is the Bluetooth distance-speed vector, is the transposed vector of the Bluetooth distance-speed vector.

[0095] It should be noted that the multi-directional deviation matrix in the present application is a matrix used to measure the deviation between the Bluetooth distance-speed vector and each azimuth prediction quantity.

[0096] In step 103, a response signal is obtained, and the measured distance between the Bluetooth anti-loss device and the user at the current moment is determined by the response signal.

[0097] In specific implementation, the signal receiver on the Bluetooth anti-lost device can receive a response signal transmitted from an electronic terminal carried by the user. The electronic terminal can be a mobile phone equipped with software corresponding to the user's anti-lost device.

[0098] It should be noted that the response signal is a response signal transmitted by the user's electronic terminal to the Bluetooth anti-lost device after receiving the information of the signal transmitted by the Bluetooth anti-lost device at the previous moment and after a preset transmission interval. In specific implementation, the Bluetooth anti-lost device can transmit a string of code elements per second, and the string of code elements includes the timestamp information of the transmission time. For example, the Bluetooth anti-lost device transmits a time stamp of the transmission time at the last moment. After a string of code elements sent at a certain time is received by the electronic terminal carried by the user, it will be transmitted after a preset transmission interval. After that, the electronic terminal carried by the user transmits a series of response signals to the Bluetooth anti-lost device, and the response signal is received by the Bluetooth anti-lost device at the current moment.

[0099] In some embodiments, reference Figure 3 , which is a schematic diagram of determining the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal according to some embodiments of the present application, and is specifically described as follows:

[0100] Bluetooth anti-lost device The Bluetooth signal is transmitted to the electronic terminal carried by the user at all times, and the Bluetooth signal contains the transmission time Time information;

[0101] The electronic terminal receives the Bluetooth signal and transmits it at a preset interval. The Bluetooth anti-lost device then transmits a response signal, and the transmission interval is used for the electronic terminal to analyze the received Bluetooth signal;

[0102] Bluetooth anti-lost device Moment, that is, the response signal is received at the current moment. Since the propagation speed of the Bluetooth signal is equal to that of the response signal, the time it takes for the signal to be transmitted from the Bluetooth anti-lost device to the electronic terminal is .

[0103] In some embodiments, determining the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal can be implemented by the following steps:

[0104] Get the timestamp of receiving the response signal;

[0105] Get the timestamp when the Bluetooth signal corresponding to the response signal is sent;

[0106] Obtaining the transmission interval of the electronic terminal carried by the user;

[0107] The measured distance between the Bluetooth anti-lost device and the user at the current moment is determined according to the timestamp of receiving the response signal, the timestamp of when the Bluetooth signal corresponding to the response signal is sent, and the transmission interval of the electronic terminal carried by the user.

[0108] In specific implementation, the difference between the timestamp when the Bluetooth anti-loss device receives the response signal and the timestamp when the Bluetooth signal corresponding to the response signal is sent can be subtracted from the transmission interval preset by the electronic terminal carried by the user, and the product of half of the obtained value and the speed of light can be used as the measured distance between the Bluetooth anti-loss device and the user at the current moment.

[0109] In specific implementation, the Bluetooth signal contains the timestamp information of the transmission time, for example, The Bluetooth signal sent at all times contains The binary code corresponding to the moment can be used to determine the timestamp when the Bluetooth signal is sent.

[0110] It should be noted that the measured distance in this application refers to the spatial distance between the Bluetooth anti-loss device and the user directly determined by the response signal, and the measured distance is a value that includes the influence of clock error.

[0111] In step 104, a clock error correction factor is determined according to the measured distance between the Bluetooth anti-loss device and the user at the current moment and the multi-directional deviation matrix, and the measured distance between the Bluetooth anti-loss device and the user at the current moment is corrected by the clock error correction factor to obtain an unbiased state quantity at the current moment.

[0112] In some embodiments, determining the clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix can be implemented by the following steps:

[0113] Determine multiple response spans at the current moment according to the measured distance between the Bluetooth anti-loss device and the user at the current moment and the multi-directional deviation matrix;

[0114] Determine the clock correction factor based on the span of all responses.

[0115] In some embodiments, the following steps may be used to determine multiple response spans at the current moment according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix:

[0116] determining a response root matrix according to the multi-directional deviation matrix;

[0117] According to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the response root matrix, multiple response spans at the current moment are determined, wherein the response span can be determined according to the following formula:

[0118]

[0119] in, For the response span, is the response root matrix, for Middle vectors, is a preset direction vector cluster, used to determine multiple response spans through multiple directions. is the measured distance between the Bluetooth anti-lost device and the user at the current moment, For the current moment.

[0120] It should be noted that the response span in the present application is the possible value of the Bluetooth distance data and the moving away rate in multiple directions at the current moment predicted after correction based on the measured distance.

[0121] In some embodiments, a response root matrix is ​​determined according to the multi-directional deviation matrix, wherein the response root matrix can be implemented by the following steps:

[0122] Determine all eigenvalues ​​of the multi-directional deviation matrix and the eigenvectors corresponding to each eigenvalue;

[0123] The response root matrix is ​​determined according to all eigenvalues ​​of the multi-directional deviation matrix and the eigenvectors corresponding to each eigenvalue, wherein the response root matrix can be determined according to the following formula:

[0124]

[0125] in, is the response root matrix, is the first eigenvalue of the multidirectional deviation matrix, is the second eigenvalue of the multidirectional deviation matrix, is the eigenvector corresponding to the first eigenvalue of the multi-directional deviation matrix, is the eigenvector corresponding to the second eigenvalue of the multi-directional deviation matrix. It should be noted that the eigenvectors in the above formula are all column vectors.

[0126] It should be noted that the response root matrix in this application is a matrix containing the characteristic roots of the multi-directional deviation matrix.

[0127] In specific implementation, all eigenvalues ​​of the multi-directional deviation matrix and the eigenvectors corresponding to each eigenvalue can be determined by eigenvalue decomposition in the prior art. In other embodiments, all eigenvalues ​​of the multi-directional deviation matrix and the eigenvectors corresponding to each eigenvalue can also be determined by other prior arts, which is not limited here.

[0128] In some embodiments, determining the clock error correction factor according to all response spans may be implemented by the following steps:

[0129] determining a response deviation vector according to the response span;

[0130] A clock error correction factor is determined according to the response deviation vector.

[0131] In a specific implementation, the response deviation vector may be multiplied by the inverse matrix of the multi-directional deviation matrix, and the obtained matrix may be used as the clock error correction factor.

[0132] It should be noted that the clock error correction factor in the present application is a matrix obtained by comparing the measured distance at the current moment with the historical data stored in the Bluetooth anti-loss device, and is a matrix used to correct the clock error in the measured distance at the current moment.

[0133] In some embodiments, determining the response deviation vector according to the response span may be implemented by the following steps:

[0134] Get the response span;

[0135] Get the measured distance between the Bluetooth anti-lost device and the user at the current moment;

[0136] The response deviation vector is determined according to the response span and the measured distance between the Bluetooth anti-loss device and the user at the current moment, wherein the response deviation vector can be determined according to the following formula:

[0137]

[0138] in, is the response deviation vector, is the measured distance between the Bluetooth anti-lost device and the user at the current moment, For the response span, represents the transpose of a matrix, For the current moment.

[0139] It should be noted that the response deviation vector in the present application is a vector used to measure the degree of deviation between the measured distance measured at the current moment and the predicted distance.

[0140] In addition, it should be noted that the present application determines the clock error correction factor for correcting the clock error by comparing the Bluetooth distance-speed vector predicted based on the historical data stored in the Bluetooth anti-loss device and the measured distance between the Bluetooth anti-loss device and the user at the current moment. The clock error correction factor can be used to reduce the clock error when directly measuring the distance through the signal.

[0141] In some embodiments, the deviation correction of the measured distance between the Bluetooth anti-lost device and the user at the current moment is performed by using the clock difference correction factor to obtain the unbiased state quantity at the current moment. The following steps can be used to achieve this:

[0142] Get the measured distance between the Bluetooth anti-lost device and the user at the current moment;

[0143] Obtain the Bluetooth distance-speed vector;

[0144] Obtaining the clock error correction factor;

[0145] Get all response spans;

[0146] The measured distance between the Bluetooth anti-lost device and the user at the current moment is corrected according to the Bluetooth distance-speed vector, the clock error correction factor and all response spans to obtain an unbiased state quantity, wherein the unbiased state quantity can be determined according to the following formula:

[0147]

[0148] in, is the unbiased state quantity at the current moment, is the measured distance between the Bluetooth anti-lost device and the user at the current moment, For the response span, is the Bluetooth distance-speed vector, For the current moment, is the clock error correction factor.

[0149] In some embodiments, after the deviation of the measured distance between the Bluetooth anti-lost device and the user at the current moment is corrected by the clock difference correction factor to obtain the unbiased state quantity at the current moment, the following processing can be performed:

[0150] The unbiased distance data in the unbiased state quantity is stored in the Bluetooth anti-loss device as the distance data at the current moment.

[0151] In step 105, the item loss status at the current moment is determined based on the unbiased state quantity at the current moment, and the item loss status is added to the Bluetooth signal for transmission.

[0152] In specific implementation, the sum of all values ​​in the unbiased state quantity can be compared with a preset lost state threshold. When the sum of all values ​​in the unbiased state quantity is greater than the preset lost state threshold, it is determined that the item at the current moment is in a lost state; otherwise, it is determined that the item at the current moment is not lost.

[0153] It should be noted that the lost state threshold in this application is preset based on historical experience. In specific implementation, if the item is not lost, the spatial distance and relative displacement rate between the Bluetooth anti-loss device and the user should be very small, then the lost state threshold can be set to 1.

[0154] It should be noted that the unbiased state quantity in this application refers to a state quantity that is not offset after the clock error is eliminated by the clock error correction factor. The state quantity includes the spatial distance and relative displacement rate between the Bluetooth anti-loss device and the user at the current moment.

[0155] In specific implementation, the lost status of the item is added to the Bluetooth signal for transmission. A string of status identification codes can be reserved in the signal sent by the Bluetooth anti-lost device. For example, the 8th to 12th code elements in the Bluetooth signal sent at the current moment are the status identification code. When the lost status of the item is lost,

[0156] The 8th to 12th code elements in the Bluetooth signal sent at the current moment are 00000. When the lost state of the item is not lost, the 8th to 12th code elements in the Bluetooth signal sent at the current moment are 11111.

[0157] In addition, in another aspect of the present application, in some embodiments, the present application provides a signal transmission system of a Bluetooth anti-lost device, referring to Figure 4 , which is a schematic diagram of exemplary hardware and / or software of a signal transmission system of a Bluetooth anti-lost device according to some embodiments of the present application, the signal transmission system 400 of the Bluetooth anti-lost device includes: an acquisition module 401, a prediction module 402, a measurement module 403, a correction module 404 and a transmission module 405, which are described as follows:

[0158] Acquisition module 401, in this application, acquisition module 401 is mainly used to collect historical data of the distance between the Bluetooth anti-loss device and the user stored in the Bluetooth anti-loss device, and convert it into a Bluetooth distance sequence;

[0159] Prediction module 402, in the present application, prediction module 402 is mainly used to determine multiple azimuth predictions at the current moment according to the Bluetooth distance sequence, determine a Bluetooth distance-speed vector according to all azimuth predictions, and then determine a multi-directional deviation matrix through the Bluetooth distance-speed vector and all azimuth predictions;

[0160] The measuring module 403 in the present application is mainly used to obtain a response signal, and determine the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal;

[0161] Correction module 404, in this application, correction module 404 is mainly used to determine the clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix, and perform deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment through the clock error correction factor to obtain the unbiased state quantity at the current moment;

[0162] The sending module 405 in the present application is mainly used to determine the item loss status at the current moment based on the unbiased state quantity at the current moment, and add the item loss status to the Bluetooth signal for transmission.

[0163] In addition, the present application also provides a computer device, which includes a memory and a processor, the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned signal sending method of the Bluetooth anti-loss device.

[0164] In some embodiments, reference Figure 5 , which is a schematic diagram of the structure of a computer device for implementing a signal transmission method of a Bluetooth anti-lost device according to some embodiments of the present application. The signal transmission method of the Bluetooth anti-lost device in the above embodiment can be Figure 5 The computer device 500 shown in the figure is implemented, and the computer device 500 includes at least one processor 501, a communication bus 502, a memory 503 and at least one communication interface 504.

[0165] The processor 501 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC) or one or more processors for controlling the execution of the signal sending method of the Bluetooth anti-lost device in the present application.

[0166] Communication bus 502 may include a pathway for transmitting information between the above-mentioned components.

[0167] The memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 503 may exist independently and be connected to the processor 501 via the communication bus 502. The memory 503 may also be integrated with the processor 501.

[0168] The memory 503 is used to store the program code for executing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the program code stored in the memory 503. The program code may include one or more software modules. The signal sending method of the Bluetooth anti-lost device in the above embodiment can be implemented by the processor 501 and one or more software modules in the program code in the memory 503.

[0169] The communication interface 504 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0170] In a specific implementation, as an embodiment, a computer device may include multiple processors, each of which may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0171] The above-mentioned computer device may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.

[0172] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the signal sending method of the above-mentioned Bluetooth anti-loss device is implemented.

[0173] In summary, in a signal sending method, system, device and storage medium of a Bluetooth anti-lost device provided by the present application, the historical data stored in the Bluetooth anti-lost device, i.e., the Bluetooth distance sequence, is used to determine the historical changes, and then the relative displacement between the Bluetooth anti-lost device and the user that may occur in multiple directions at the current moment is predicted, i.e., multiple azimuth prediction quantities, and each azimuth prediction quantity is compared with the historical data stored in the Bluetooth anti-lost device to obtain a multi-directional deviation matrix, which reflects the deviation of the azimuth prediction quantity in each direction. The error between the measured distance measured at the current moment and the azimuth prediction quantities in multiple directions can be determined by the multi-directional deviation matrix, and the clock error correction factor for correcting the measured distance is obtained by combining the errors in multiple directions. The clock error of the measured distance measured by the response signal is reduced by the clock error correction factor, and the accumulation of clock errors is avoided. A more accurate spatial distance between the Bluetooth anti-lost device and the user is determined, and the corrected spatial distance is used to determine whether the item is lost, and the judgment result is added to the signal of the Bluetooth anti-lost device for transmission, which can reduce the measurement error caused by the clock error in the spatial distance between the Bluetooth anti-lost device and the user.

[0174] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0175] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A signal sending method for a Bluetooth anti-lost device, characterized in that: The steps include: Collect historical data of the distance between the Bluetooth anti-lost device and the user stored in the Bluetooth anti-lost device and convert it into a Bluetooth distance sequence; Determine multiple azimuth predictions at the current moment according to the Bluetooth distance sequence, determine a Bluetooth distance-speed vector according to all the azimuth predictions, and then determine a multi-directional deviation matrix through the Bluetooth distance-speed vector and all the azimuth predictions; Obtain a response signal, and determine the measured distance between the Bluetooth anti-lost device and the user at the current moment according to the response signal; Determine a clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix, and perform deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment by using the clock error correction factor to obtain an unbiased state quantity at the current moment; Determine the item loss state at the current moment from the unbiased state quantity at the current moment, and add the item loss state to the Bluetooth signal for transmission; The following steps are used to determine the clock error correction factor based on the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix: Determine multiple response spans at the current moment according to the measured distance between the Bluetooth anti-loss device and the user at the current moment and the multi-directional deviation matrix; Determine the clock error correction factor based on all response spans; Determining multiple response spans at the current moment according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix is ​​implemented by the following steps: determining a response root matrix according to the multi-directional deviation matrix; According to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the response root matrix, a plurality of response spans at the current moment are determined, wherein the response span is determined according to the following formula: in, For the response span, is the response root matrix, for Middle vectors, is a preset direction vector cluster, used to determine multiple response spans through multiple directions. is the measured distance between the Bluetooth anti-lost device and the user at the current moment, for the current moment; The response span is the possible values ​​of the Bluetooth distance data and the moving away rate in multiple directions at the current moment predicted after correction based on the measured distance; The response root matrix is ​​determined according to the multi-directional deviation matrix, wherein the response root matrix is ​​implemented by the following steps: Determine all eigenvalues ​​of the multi-directional deviation matrix and the eigenvectors corresponding to each eigenvalue; The response root matrix is ​​determined according to all eigenvalues ​​of the multi-directional deviation matrix and the eigenvectors corresponding to each eigenvalue, wherein the response root matrix is ​​determined according to the following formula: in, is the response root matrix, is the first eigenvalue of the multidirectional deviation matrix, is the second eigenvalue of the multidirectional deviation matrix, is the eigenvector corresponding to the first eigenvalue of the multi-directional deviation matrix, is the eigenvector corresponding to the second eigenvalue of the multi-directional deviation matrix. The eigenvectors in the above formula are all column vectors; The response root matrix is ​​a matrix containing the characteristic roots of the multi-directional deviation matrix; Determining the clock correction factor based on all response spans is accomplished using the following steps: determining a response deviation vector according to the response span; Determining a clock error correction factor according to the response deviation vector; Multiplying the response deviation vector by the inverse matrix of the multi-directional deviation matrix, and using the obtained matrix as the clock error correction factor; The clock error correction factor is a matrix obtained by comparing the measured distance at the current moment with the historical data stored in the Bluetooth anti-loss device, and is a matrix used to correct the clock error in the measured distance at the current moment; Determining the response deviation vector according to the response span is achieved by the following steps: Obtaining the response span; Get the measured distance between the Bluetooth anti-lost device and the user at the current moment; The response deviation vector is determined according to the response span and the measured distance between the Bluetooth anti-loss device and the user at the current moment, wherein the response deviation vector is determined according to the following formula: in, is the response deviation vector, is the measured distance between the Bluetooth anti-lost device and the user at the current moment, For the response span, represents the transpose of a matrix, for the current moment; The response deviation vector is a vector used to measure the degree of deviation between the measured distance measured at the current moment and the predicted distance.

2. The method according to claim 1, characterized in that Determining multiple predicted directions at the current moment according to the Bluetooth distance sequence specifically includes: Determine the spatial trend matrix at the current moment according to the Bluetooth distance sequence; Multiple orientation prediction quantities at the current moment are determined through the spatial trend matrix.

3. The method according to claim 2, characterized in that Determining the spatial trend matrix at the current moment according to the Bluetooth distance sequence specifically includes: Determine the distance rate corresponding to each Bluetooth distance data in the Bluetooth distance sequence; Determine the distance-speed center point at the current moment according to the Bluetooth distance sequence and all the distance-speeds; The spatial trend matrix at the current moment is determined according to the distance-speed center point.

4. The method according to claim 2, characterized in that Determining multiple orientation prediction quantities at the current moment through the spatial trend matrix specifically includes: Determine a trend root matrix according to the spatial trend matrix; A plurality of azimuth prediction quantities are determined according to the trend root matrix and the range-speed center point.

5. The method according to claim 1, characterized in that Determining the measured distance between the Bluetooth anti-lost device and the user at the current moment by the response signal specifically includes: Get the timestamp of receiving the response signal; Get the timestamp when the Bluetooth signal corresponding to the response signal is sent; Obtaining the transmission interval of the electronic terminal carried by the user; The measured distance between the Bluetooth anti-lost device and the user at the current moment is determined according to the timestamp of receiving the response signal, the timestamp of when the Bluetooth signal corresponding to the response signal is sent, and the transmission interval of the electronic terminal carried by the user.

6. The method according to claim 1, characterized in that The measured distance between the Bluetooth anti-lost device and the user at the current moment is corrected by the clock difference correction factor, and the unbiased state quantity at the current moment is obtained, which specifically includes: Get the measured distance between the Bluetooth anti-lost device and the user at the current moment; Obtain the Bluetooth distance-speed vector; Obtaining the clock error correction factor; Get all response spans; The measured distance between the Bluetooth anti-loss device and the user at the current moment is corrected according to the Bluetooth distance-speed vector, the clock difference correction factor and all response spans to obtain an unbiased state quantity.

7. The method according to claim 1, characterized in that After the measured distance between the Bluetooth anti-lost device and the user at the current moment is corrected by the clock difference correction factor to obtain the unbiased state quantity at the current moment, the method further includes: The unbiased distance data in the unbiased state quantity is stored in the Bluetooth anti-loss device as the Bluetooth distance data at the current moment.

8. A signal transmission system for a Bluetooth anti-lost device, characterized in that: include: The acquisition module is used to collect the historical data of the distance between the Bluetooth anti-lost device and the user stored in the Bluetooth anti-lost device and convert it into a Bluetooth distance sequence; A prediction module, used to determine multiple azimuth prediction quantities at the current moment according to the Bluetooth distance sequence, determine a Bluetooth distance-speed vector according to all azimuth prediction quantities, and further determine a multi-directional deviation matrix through the Bluetooth distance-speed vector and all azimuth prediction quantities; A measuring module, used to obtain a response signal, and determine the measured distance between the Bluetooth anti-lost device and the user at the current moment according to the response signal; A correction module is used to determine a clock error correction factor according to the measured distance between the Bluetooth anti-lost device and the user at the current moment and the multi-directional deviation matrix, and to perform deviation correction on the measured distance between the Bluetooth anti-lost device and the user at the current moment by using the clock error correction factor to obtain an unbiased state quantity at the current moment; A sending module, used to determine the item loss status at the current moment from the unbiased state quantity at the current moment, and add the item loss status to a Bluetooth signal for sending; The system executes the signal sending method of the Bluetooth anti-loss device according to any one of claims 1 to 7.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a code, and the processor is configured to obtain the code and execute the signal sending method of the Bluetooth anti-loss device according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the signal sending method of the Bluetooth anti-loss device according to any one of claims 1 to 7 is implemented.