CN115243389B - Data analysis system based on Bluetooth data transmission - Google Patents

Data analysis system based on Bluetooth data transmission Download PDF

Info

Publication number
CN115243389B
CN115243389B CN202210841669.8A CN202210841669A CN115243389B CN 115243389 B CN115243389 B CN 115243389B CN 202210841669 A CN202210841669 A CN 202210841669A CN 115243389 B CN115243389 B CN 115243389B
Authority
CN
China
Prior art keywords
data
module
transmission
data transmission
bluetooth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210841669.8A
Other languages
Chinese (zh)
Other versions
CN115243389A (en
Inventor
李非
肖杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sicun Communication Technology Co ltd
Original Assignee
Beijing Sicun Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sicun Communication Technology Co ltd filed Critical Beijing Sicun Communication Technology Co ltd
Priority to CN202210841669.8A priority Critical patent/CN115243389B/en
Publication of CN115243389A publication Critical patent/CN115243389A/en
Application granted granted Critical
Publication of CN115243389B publication Critical patent/CN115243389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1221Wireless traffic scheduling based on age of data to be sent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/67Risk-dependent, e.g. selecting a security level depending on risk profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a data analysis system based on Bluetooth data transmission, in particular to the technical field of wireless communication, which comprises a pairing module, a data analysis module and a data analysis module, wherein the pairing module is used for pairing a terminal and Bluetooth equipment; the acquisition module is used for acquiring the data volume transmitted by the terminal and the Bluetooth equipment in real time and is connected with the pairing module; the test module is used for testing the Bluetooth equipment connected with the terminal and is connected with the acquisition module; the analysis module is used for carrying out data analysis on the test result and is connected with the test module; the monitoring module is used for monitoring the transmission data of the terminal and the Bluetooth equipment in real time and is connected with the analysis module; the storage module is used for storing the equipment ID of the Bluetooth equipment successfully matched with the terminal and also used for storing the monitoring data of the Bluetooth equipment, and is connected with the matching module, the acquisition module, the test module, the analysis module and the monitoring module. The invention effectively improves the efficiency of Bluetooth data transmission.

Description

Data analysis system based on Bluetooth data transmission
Technical Field
The invention relates to the technical field of wireless communication, in particular to a data analysis system based on Bluetooth data transmission.
Background
Bluetooth is an open global specification for wireless data and voice communications, and is a special short-range wireless technology connection that establishes a communication environment for fixed and mobile devices based on a low-cost short-range wireless connection. Bluetooth enables some current portable mobile and computer devices to connect to the internet without a cable and have wireless access to the internet.
Chinese patent publication No.: CN104301097A. The invention discloses a method for enhancing Bluetooth data transmission security, which mainly adopts a method for enhancing Bluetooth data transmission security, wherein before connection, bluetooth equipment carries out authentication connection through complicated processing on PIN codes and generates a 128-bit initial encryption key, and after connection is successful, the transmitted data is encrypted by adopting an improved IDEA encryption algorithm; in the scheme, although the transmission safety is improved through encryption, the scheme does not consider the real-time change of the data volume and the influence of the transmission distance on the transmission efficiency in the transmission process, so that the problem of low data transmission efficiency is caused.
Disclosure of Invention
Therefore, the invention provides a data analysis system based on Bluetooth data transmission, which is used for solving the problem of low data transmission efficiency caused by the fact that the Bluetooth data transmission process cannot be accurately controlled in the prior art.
To achieve the above objects, the present invention provides a data analysis system based on bluetooth data transmission, comprising,
the pairing module is used for pairing the terminal and the Bluetooth equipment;
the acquisition module is used for acquiring the data volume transmitted by the terminal and the Bluetooth equipment in real time and is connected with the pairing module;
the test module is used for testing the Bluetooth equipment connected with the terminal, is connected with the acquisition module, and is also used for setting a test period and setting the transmission frequency transmitted to the Bluetooth equipment by the terminal after the test period according to the average data volume A0 transmitted to the Bluetooth equipment by the terminal in the test period;
the analysis module is used for carrying out data analysis on a test result, is connected with the test module, and is also used for adjusting the transmission frequency Fi set by the test module according to the data transmission difference value delta A in the test period and correcting the adjusted transmission frequency Fi' according to the minimum signal strength Rmin of the Bluetooth equipment in the test period;
the monitoring module is used for monitoring the transmission data of the terminal and the Bluetooth equipment in real time and is connected with the analysis module, the monitoring module is also used for calculating a safe transmission coefficient M in real time, carrying out safe judgment on the data transmission state in real time according to the safe transmission coefficient M, carrying out real-time adjustment on the data transmission state according to the safe judgment result of the data transmission state, if the judgment result is that low risk exists, adjusting the data transmission state by changing the data transmission frequency of the terminal, if the judgment result is that high risk exists, blocking data transmission and carrying out safe prompt, and limiting the data amount of single transmission when the Bluetooth equipment is connected again;
the storage module is used for storing the equipment ID of the Bluetooth equipment successfully matched with the terminal and also used for storing the monitoring data of the Bluetooth equipment, and is connected with the matching module, the acquisition module, the test module, the analysis module and the monitoring module.
Further, when the test module tests the bluetooth device connected with the terminal, when the connected bluetooth device is connected for the first time, the test module sets the test period to T1, when the connected bluetooth device is not connected for the first time, the test module sets the test period to T2, where T1 > T2, the test module acquires a data volume a transmitted by the terminal to the bluetooth device for a single time in the test period, the data volume is a size of a data packet transmitted by the terminal to the bluetooth device, and acquires a data transmission number N of the terminal to the bluetooth device in the test period, the test module calculates an average data volume A0 transmitted by the terminal to the bluetooth device in the test period, sets A0= Am/N, am is a total data volume transmitted by the terminal to the bluetooth device in the test period, the test module compares the average data volume A0 transmitted by the terminal to the bluetooth device in the test period with each preset average data volume, and sets a transmission frequency transmitted by the terminal to the bluetooth device according to the comparison result, where,
when A0 is less than or equal to A1, the test module takes F1 as the transmission frequency of Bluetooth data transmission;
when A1 is larger than A0 and is smaller than or equal to A2, the test module takes F2 as the transmission frequency of Bluetooth data transmission;
when A2 is less than A0, the test module takes F3 as the transmission frequency of the Bluetooth data transmission;
wherein, A1 is a first preset average data amount, A2 is a second preset average data amount, A1 is less than A2, F1 is a first preset transmission frequency, F2 is a second preset transmission frequency, F3 is a third preset transmission frequency, and F1 is less than F2 and less than F3.
Further, when the analysis module adjusts the transmission frequency Fi, i =1,2,3 is set, the analysis module calculates a data transmission difference Δ a in the test period, sets Δ a = Amax-A0, amax is a maximum data amount of a single transmission from the terminal to the bluetooth device in the test period, the analysis module compares the calculated data transmission difference Δ a with a preset data transmission difference Δ A0, and adjusts the determined transmission frequency Fi according to a comparison result, wherein,
when the delta A is less than or equal to the delta A0, the analysis module judges that the difference value meets the requirement, and adjustment is not performed;
when Δ a > Δa0, the analysis module adjusts the transmission frequency to Fi ', setting Fi' = Fi + Fi × (Δa- Δ A0)/Δa.
Further, when the analysis module corrects the adjusted transmission frequency, the analysis module acquires and obtains the minimum signal intensity Rmin of the bluetooth device when the terminal transmits data to the bluetooth device in the test period, compares the minimum signal intensity Rmin with the preset signal intensity R0, and corrects the adjusted transmission frequency according to the comparison result, wherein,
when Rmin is larger than or equal to R0, the analysis module judges that the signal intensity meets the requirement and does not perform correction;
when Rmin < R0, the analysis module modifies the transmission frequency to Fi ", setting Fi" = Fi '-Fi' × (R0-Rmin)/R0.
Further, when the monitoring module performs safety judgment on the data transmission state, the monitoring module calculates a safety transmission coefficient M according to transmission data monitored in real time, and sets M =0.5 xAs/A0 +0.5 xR 0/Rs, wherein As is a single transmission data amount monitored in real time by the monitoring module, rs is signal intensity of the Bluetooth device monitored in real time by the monitoring module, the monitoring module compares the calculated safety transmission coefficient M with each preset safety transmission coefficient, and performs safety judgment on the data transmission state according to a comparison result, wherein,
when M is less than or equal to M1, the monitoring module judges that the data transmission state is safe;
when M1 is larger than M and is not larger than M2, the monitoring module judges that the data transmission state has low risk;
when M2 is less than M, the monitoring module judges that the data transmission state has high risk;
wherein M1 is a first preset safe transmission coefficient, M2 is a second preset safe transmission coefficient, and M1 is more than 1 and more than M2.
Further, the monitoring module adjusts the data transmission state by adjusting the data transmission frequency of the terminal when determining that the data transmission state has a low risk, wherein,
when As/A0 is larger than or equal to R0/Rs, the monitoring module increases the data transmission frequency of the terminal to Fa1, and Fa1= Fi '+ 0.5 XFi' × (M-M1)/M is set;
when As/A0 < R0/Rs, the monitoring module reduces the data transmission frequency of the terminal to Fa2, and sets Fa2= Fi "-0.5 × Fi" × (M-M1)/M.
Further, after the data transmission frequency of the terminal is adjusted, when the monitoring module calculates the safe transmission coefficient again, the monitoring module compensates the safe transmission coefficient to M ', sets M ' = M- (Ma-M1), and Ma is the safe transmission coefficient during the adjustment of the data transmission frequency, and the monitoring module performs real-time safety judgment on the adjusted data transmission state according to the compensated safe transmission coefficient M ' so as to monitor the data transmission state of the terminal to the bluetooth device.
Further, when the monitoring module judges that the data transmission state has high risk, the monitoring module blocks the data transmission in time and carries out safety prompt, wherein,
when As/A0 is larger than or equal to R0/Rs, the monitoring module prompts that the data volume of single transmission exceeds a standard range, and virus risks exist;
when As/A0 is less than R0/Rs, the monitoring module prompts that the distance between the Bluetooth device and the terminal is long, and the risk of data loss exists.
Further, after the monitoring module performs the safety prompt, the monitoring module obtains the historical safety prompt times P of data transmission between the terminal and the Bluetooth device, compares the historical safety prompt times P with the preset safety prompt times P0, and limits the single transmission data volume when the Bluetooth device is connected again according to the comparison result, wherein,
when P is less than or equal to P0, the monitoring module limits the single transmission data volume of the Bluetooth device to Amin which is a preset minimum single transmission data volume;
when P is more than P0, the monitoring module prohibits the terminal from transmitting data to the Bluetooth device permanently.
Further, when the pairing module performs bluetooth device pairing on the terminal, the pairing module retrieves device IDs of all bluetooth devices in a pairing range, if the pairing module does not retrieve a bluetooth device, it is prompted that no connectable bluetooth device exists, if the pairing module retrieves a bluetooth device, the pairing module matches the retrieved device ID of the bluetooth device with a stored device ID, if the retrieved device ID exists in the bluetooth device, the bluetooth device with the closest connection time is connected, and if the retrieved device ID does not exist in the bluetooth device, it is prompted that a user selects a connectable device for bluetooth connection.
Compared with the prior art, the method has the advantages that when the pairing module is paired, the device IDs of the Bluetooth devices in the pairing range are acquired for pairing, if the stored device IDs exist, the Bluetooth devices corresponding to the stored device IDs are preferentially paired, the Bluetooth devices closest to the connection time are connected, the connection priority is set, the safety and the data transmission efficiency of Bluetooth data transmission can be effectively guaranteed, when the testing module tests the Bluetooth devices connected with the terminal, different testing periods are set for the historically connected Bluetooth devices and the firstly connected Bluetooth devices, the testing period for the first connection is longer, the accuracy of a testing result is improved, the testing module collects the data quantity A transmitted from the terminal to the Bluetooth devices once in the testing period, calculates the average data quantity A0 transmitted from the terminal to the Bluetooth devices, compares the average data quantity A0 with a preset value, determines the transmission frequency of the Bluetooth data transmission according to the range of the average data quantity A0, the transmission frequency affects the quality of the Bluetooth data transmission, the transmission distance of the transmission frequency is longer, the transmission rate is larger, the transmission rate is increased, the use efficiency of the data transmission rate is improved according to the requirement of the average data transmission rate, and the data transmission rate is improved.
Particularly, after the test module determines the transmission frequency from the terminal to the bluetooth device, the analysis module calculates a data transmission difference value Δ a in the test period by obtaining a maximum data amount Amax of single transmission from the terminal to the bluetooth device in the period, and compares the data transmission difference value Δ a with a preset value, if the data transmission difference value is within the preset value, the maximum data amount Amax of single transmission in the test period is proved to be within a reasonable range without adjusting the transmission frequency, if the data transmission difference value is greater than the preset value, the maximum data amount Amax of single transmission is proved to exceed the reasonable range, at this time, the transmission frequency needs to be increased to ensure the accuracy of the transmission frequency setting, thereby avoiding the loss during data transmission to improve the data transmission efficiency, and when the analysis module sets the adjusted transmission frequency, the adjusted transmission frequency is set according to the difference value between Δ a and the preset value, thereby further ensuring the accuracy of the set transmission frequency, and further improving the efficiency of data transmission; meanwhile, the analysis module also acquires the minimum signal strength Rmin of the Bluetooth device during data transmission from the terminal to the Bluetooth device in the test period, the distance between the Bluetooth device and the terminal can be effectively reflected through the signal strength, the analysis module can further ensure the accuracy of the set transmission frequency by correcting the transmission frequency according to the minimum signal strength Rmin, the analysis module compares the minimum signal strength Rmin with a preset value, if the minimum signal strength Rmin is above the preset value, the requirement is met, if the minimum signal strength Rmin is less than the preset value, the fact that the distance between the Bluetooth device and the terminal is far is proved, at the moment, the transmission frequency needs to be reduced, the data transmission distance is increased, and the data transmission efficiency is further ensured.
Particularly, after the set transmission frequency is corrected by the analysis module, the monitoring module monitors data transmitted to the bluetooth device by the terminal after a test period in real time and calculates a safe transmission coefficient M, wherein the safe transmission coefficient M is a self-defined parameter and is used for representing the safe state of data transmission, a calculation factor of the safe transmission coefficient M comprises single transmission data volume and signal intensity of the bluetooth device, the single transmission data volume and the signal intensity of the bluetooth device effectively reflect the data transmission state, the monitoring module compares the calculated safe transmission coefficient M with preset values to judge the safe state of data transmission, each preset value is greater than 1, when the safe transmission coefficient M is in different ranges, the data transmission is judged to be in different safe states, and the safe state judgment is carried out, and the data transmission state is adjusted in time, so that the safety and the efficiency of data transmission are improved.
Particularly, when the monitoring module determines that the data transmission state has a low risk, there are two possibilities, one is that the single data transmission amount is large, and the other is that the signal intensity of the bluetooth device is weak, the monitoring module compares two calculation factors of the safe transmission coefficient to determine the cause of the risk, when the single data transmission amount is large, the monitoring module increases the transmission frequency to improve the data transmission rate to improve the data transmission efficiency, when the signal intensity of the bluetooth device is weak, the monitoring module decreases the transmission frequency to increase the transmission distance to improve the data transmission efficiency, after the monitoring module finishes adjusting the data transmission frequency of the terminal, when the adjusted safe transmission coefficient is calculated, the monitoring module compensates the adjusted safe transmission coefficient to improve the accuracy of subsequent safe state determination, so as to further improve the data transmission efficiency.
Especially, when the monitoring module judges that the data transmission state has a high risk, the reason is that the single data transmission quantity is too large or the signal intensity of the Bluetooth device is too weak, the monitoring module improves the data transmission efficiency by blocking the data transmission in time, and simultaneously, the monitoring module carries out different safety prompts by comparing two calculation factors of a safety transmission coefficient so as to improve the data transmission safety, and simultaneously, after the monitoring module carries out the safety prompt, the monitoring module limits the single transmission data quantity when the Bluetooth device is connected again according to the historical safety prompt times P, and ensures the safety and the efficiency of the data transmission by limiting the single transmission data quantity.
Drawings
Fig. 1 is a schematic structural diagram of a data analysis system based on bluetooth data transmission according to this embodiment.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Please refer to fig. 1, which is a schematic structural diagram of a data analysis system based on bluetooth data transmission in the present embodiment, the system includes,
the pairing module is used for pairing the terminal and the Bluetooth equipment;
the acquisition module is used for acquiring the data volume transmitted by the terminal and the Bluetooth equipment in real time and is connected with the pairing module;
the test module is used for testing the Bluetooth equipment connected with the terminal, is connected with the acquisition module, and is also used for setting a test period and setting the transmission frequency transmitted to the Bluetooth equipment by the terminal after the test period according to the average data volume A0 transmitted to the Bluetooth equipment by the terminal in the test period;
the analysis module is used for carrying out data analysis on a test result, is connected with the test module, and is also used for adjusting the transmission frequency Fi set by the test module according to a data transmission difference value delta A in a test period and correcting the adjusted transmission frequency Fi' according to the minimum signal strength Rmin of the Bluetooth equipment in the test period;
the monitoring module is used for monitoring the transmission data of the terminal and the Bluetooth equipment in real time and is connected with the analysis module, the monitoring module is also used for calculating a safe transmission coefficient M in real time, carrying out safe judgment on the data transmission state in real time according to the safe transmission coefficient M, carrying out real-time adjustment on the data transmission state according to the safe judgment result of the data transmission state, if the judgment result is that low risk exists, adjusting the data transmission state by changing the data transmission frequency of the terminal, if the judgment result is that high risk exists, blocking data transmission and carrying out safe prompt, and limiting the data amount of single transmission when the Bluetooth equipment is connected again;
the storage module is used for storing the equipment ID of the Bluetooth equipment successfully matched with the terminal and also used for storing the monitoring data of the Bluetooth equipment, and is connected with the matching module, the acquisition module, the test module, the analysis module and the monitoring module.
Specifically, the system in this embodiment is applied to a terminal to monitor a data transmission process of a bluetooth device connected to the terminal, the terminal is a data output end, the bluetooth device is a data receiving end, and when a risk exists, the connection of the bluetooth device is blocked in time, so as to improve the security and transmission efficiency of data transmission between the bluetooth device and the terminal.
Specifically, when the pairing module performs bluetooth device pairing on a terminal, the pairing module retrieves device IDs of all bluetooth devices in a pairing range, if the pairing module does not retrieve a bluetooth device, it is prompted that no connectable bluetooth device exists, if the pairing module retrieves a bluetooth device, the pairing module matches the retrieved device ID of the bluetooth device with a stored device ID, if the retrieved bluetooth device has a stored device ID, it is connected with the bluetooth device with the closest connection time, and if the retrieved bluetooth device has no stored device ID, it is prompted that a user selects a connectable device for bluetooth connection.
Specifically, when the pairing module is paired, the pairing module performs pairing by acquiring the device ID of each bluetooth device in the pairing range, and if the stored device ID exists, preferentially performs pairing with the bluetooth device corresponding to the stored device ID, connects to the bluetooth device with the closest connection time, and sets the priority of connection, thereby effectively ensuring the security and data transmission efficiency of bluetooth data transmission.
Specifically, the test module is used for testing a bluetooth device connected with a terminal, the test module is internally provided with a test period, when the connected bluetooth device is connected for the first time, the test module sets the test period as T1, when the connected bluetooth device is not connected for the first time, the test module sets the test period as T2, wherein T1 is more than T2, the test module acquires data volume A transmitted by the terminal to the bluetooth device in the test period for a single time, the data volume is the size of a data packet transmitted by the terminal to the bluetooth device, and acquires data transmission time N transmitted by the terminal to the bluetooth device in the test period, the test module calculates average data volume A0 transmitted by the terminal to the bluetooth device in the test period, sets A0= Am/N, am is the total data volume transmitted by the terminal to the bluetooth device in the test period, compares the average data volume A0 transmitted by the terminal to the bluetooth device in the test period with each preset average data volume, and sets transmission frequency transmitted by the terminal to the bluetooth device according to the comparison result, wherein,
when A0 is not more than A1, the test module takes F1 as the transmission frequency of the Bluetooth data transmission;
when A1 is larger than A0 and is smaller than or equal to A2, the test module takes F2 as the transmission frequency of Bluetooth data transmission;
when A2 is less than A0, the test module takes F3 as the transmission frequency of the Bluetooth data transmission;
wherein, A1 is a first preset average data amount, A2 is a second preset average data amount, A1 is less than A2, F1 is a first preset transmission frequency, F2 is a second preset transmission frequency, F3 is a third preset transmission frequency, and F1 is less than F2 and less than F3.
Specifically, in this embodiment, when the test module tests a bluetooth device connected to a terminal, different test periods are set for the bluetooth device that has been connected historically and the bluetooth device that is connected for the first time, the test period that is connected for the first time is set to be longer, so as to increase the accuracy of the test result, the test module calculates an average data amount A0 that the terminal transmits to the bluetooth device in a single time by collecting a data amount a that the terminal transmits to the bluetooth device in the test period, compares the average data amount A0 with a preset value, and determines a transmission frequency of bluetooth data transmission according to a range of the average data amount A0, where the transmission frequency affects quality of bluetooth data transmission, and the larger the transmission frequency is, the shorter the transmission distance is the larger the transmission frequency is, and the larger the transmission rate is, so that the transmission frequency needs to be set comprehensively to meet usage requirements and improve data transmission efficiency, and the test module sets the transmission frequency according to the transmission data amount in the test period, and the larger the average data amount A0 is the larger the transmission frequency is set, so as to improve data transmission efficiency by improving the transmission rate. It can be understood that, in this embodiment, only the transmission data amount from the terminal to the bluetooth device is collected, and the transmission frequency after the test period is determined accordingly, a person skilled in the art can also collect the data receiving amount of the terminal, and comprehensively set the transmission frequency according to the data sending amount and the receiving amount of the terminal, so as to improve the accuracy of setting the transmission frequency, thereby avoiding data loss and improving the data transmission security.
Specifically, after determining the transmission frequency Fi, the test module sets i =1,2,3, the analysis module calculates a data transmission difference value Δ a in a test period, sets Δ a = Amax-A0, amax is a maximum data amount of a single transmission from a terminal to a bluetooth device in the test period, the analysis module compares the calculated data transmission difference value Δ a with a preset data transmission difference value Δ A0, and adjusts the determined transmission frequency Fi according to a comparison result, wherein,
when the delta A is less than or equal to the delta A0, the analysis module judges that the difference value meets the requirement, and adjustment is not performed;
when Δ a > Δa0, the analysis module adjusts the transmission frequency to Fi ', setting Fi' = Fi + Fi × (Δa- Δ A0)/Δa.
Specifically, after the analysis module finishes adjusting the transmission frequency, the analysis module acquires and obtains the minimum signal intensity Rmin of the bluetooth device during data transmission from the terminal to the bluetooth device in the test period, compares the minimum signal intensity Rmin with the preset signal intensity R0, and corrects the adjusted transmission frequency according to the comparison result, wherein,
when Rmin is larger than or equal to R0, the analysis module judges that the signal intensity meets the requirement and does not carry out correction;
when Rmin < R0, the analysis module corrects the transmission frequency to Fi ", sets Fi" = Fi '-Fi' × (R0-Rmin)/R0.
Specifically, in this embodiment, after the test module determines the transmission frequency from the terminal to the bluetooth device, the analysis module calculates a data transmission difference Δ a in the test period by obtaining a maximum data amount Amax of a single transmission from the terminal to the bluetooth device in the period, and compares the data transmission difference Δ a with a preset value, if the data transmission difference is within the preset value, it is verified that the maximum data amount Amax of the single transmission in the test period is within a reasonable range, and the transmission frequency does not need to be adjusted, and if the data transmission difference is greater than the preset value, it is verified that the maximum data amount Amax of the single transmission exceeds the reasonable range, and at this time, the transmission frequency needs to be increased to ensure the accuracy of the transmission frequency setting, so as to avoid loss during data transmission and improve the efficiency of data transmission; meanwhile, the analysis module also acquires the minimum signal strength Rmin of the Bluetooth device during data transmission from the terminal to the Bluetooth device in the test period, the distance between the Bluetooth device and the terminal can be effectively reflected through the signal strength, the analysis module can further ensure the accuracy of the set transmission frequency by correcting the transmission frequency according to the minimum signal strength Rmin, the analysis module compares the minimum signal strength Rmin with a preset value, if the minimum signal strength Rmin is above the preset value, the requirement is met, if the minimum signal strength Rmin is less than the preset value, the fact that the distance between the Bluetooth device and the terminal is far is proved, at the moment, the transmission frequency needs to be reduced, the data transmission distance is increased, and the data transmission efficiency is further ensured. It can be understood that, a person skilled in the art can further improve the data transmission efficiency by setting the minimum transmission frequency Fmin and the maximum transmission frequency Fmax to avoid the problems of too large or too small transmission frequency after adjustment or correction.
Specifically, after the analysis module finishes correcting the transmission frequency, the monitoring module calculates a safe transmission coefficient M according to transmission data monitored in real time, and sets M =0.5 xAs/A0 +0.5 xR 0/Rs, wherein As is a single transmission data amount monitored by the monitoring module in real time, rs is a signal intensity of the Bluetooth device monitored by the monitoring module in real time, the monitoring module compares the calculated safe transmission coefficient M with each preset safe transmission coefficient, and performs safe judgment on a data transmission state according to a comparison result, wherein,
when M is less than or equal to M1, the monitoring module judges that the data transmission state is safe;
when M1 is larger than M and is smaller than or equal to M2, the monitoring module judges that the data transmission state has low risk;
when M2 is less than M, the monitoring module judges that the data transmission state has high risk;
wherein M1 is a first preset safe transmission coefficient, M2 is a second preset safe transmission coefficient, and M1 is more than 1 and M2 is more than 1.
Specifically, in this embodiment, after the analysis module finishes correcting the set transmission frequency, the monitoring module monitors data transmitted by the terminal to the bluetooth device after a test period in real time, and calculates a safe transmission coefficient M, where the safe transmission coefficient M is a self-defined parameter and is used to represent a safe state of data transmission, a calculation factor of the safe transmission coefficient M includes a single transmission data amount and a signal intensity of the bluetooth device, and the two effectively reflect the data transmission state, the monitoring module compares the calculated safe transmission coefficient M with preset values to determine the safe state of data transmission, where each preset value is greater than 1, and when the safe transmission coefficient M is in different ranges, it determines that the data transmission is in different safe states, and determines the safe state, and adjusts the data transmission state in time, thereby improving the safety and efficiency of data transmission.
Specifically, the monitoring module adjusts the data transmission state by adjusting the data transmission frequency of the terminal when determining that the data transmission state has a low risk, wherein,
when As/A0 is larger than or equal to R0/Rs, the monitoring module increases the data transmission frequency of the terminal to Fa1, and Fa1= Fi '+ 0.5 XFi' × (M-M1)/M is set;
when As/A0 < R0/Rs, the monitoring module reduces the data transmission frequency of the terminal to Fa2, and sets Fa2= Fi "-0.5 × Fi" × (M-M1)/M.
Specifically, after the data transmission frequency of the terminal is adjusted, the monitoring module compensates the safe transmission coefficient to M ' when calculating the safe transmission coefficient again, sets M ' = M- (Ma-M1), and Ma is the safe transmission coefficient when adjusting the data transmission frequency, and the monitoring module performs real-time safety judgment on the adjusted data transmission state according to the compensated safe transmission coefficient M ' to monitor the data transmission state of the terminal to the bluetooth device.
Specifically, in this embodiment, when the monitoring module determines that the data transmission state has a low risk, there are two possibilities, one is that the single data transmission amount is relatively large, and the other is that the signal intensity of the bluetooth device is relatively weak, the monitoring module compares two calculation factors of the safe transmission coefficient to determine a cause of the risk, when the single data transmission amount is relatively large, the monitoring module increases the transmission frequency to increase the data transmission rate to improve the data transmission efficiency, and when the signal intensity of the bluetooth device is relatively weak, the monitoring module increases the transmission distance to improve the data transmission efficiency by decreasing the transmission frequency, after the monitoring module completes adjustment of the data transmission frequency of the terminal, when the adjusted safe transmission coefficient is calculated, the monitoring module compensates the adjusted safe transmission coefficient to improve the accuracy of subsequent safety state determination, so as to further improve the data transmission efficiency.
Specifically, when the monitoring module determines that the data transmission state has a high risk, the monitoring module blocks the data transmission in time and carries out safety prompt, wherein,
when As/A0 is larger than or equal to R0/Rs, the monitoring module prompts that the data volume of single transmission exceeds a standard range, and virus risks exist;
when As/A0 is less than R0/Rs, the monitoring module prompts that the distance between the Bluetooth device and the terminal is long, and the risk of data loss exists.
Specifically, after the monitoring module performs the safety prompt, the monitoring module obtains the historical safety prompt times P of data transmission between the terminal and the bluetooth device, compares the historical safety prompt times P with the preset safety prompt times P0, and limits the single transmission data volume when the bluetooth device is connected again according to the comparison result, wherein,
when the P is less than or equal to P0, the monitoring module limits the single transmission data volume of the Bluetooth device to Amin, and the Amin is a preset minimum single transmission data volume;
when P is more than P0, the monitoring module prohibits the terminal from transmitting data to the Bluetooth device permanently.
Specifically, in this embodiment, when the monitoring module determines that there is a high risk in the data transmission state, the reason is that the single data transmission amount is too large or the signal intensity of the bluetooth device is too weak, the monitoring module improves the data transmission efficiency by blocking the data transmission in time, and meanwhile, the monitoring module performs different safety prompts by comparing two calculation factors of the safety transmission coefficient, so as to improve the data transmission safety.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (9)

1. A data analysis system based on Bluetooth data transmission is characterized by comprising,
the pairing module is used for pairing the terminal and the Bluetooth equipment;
the acquisition module is used for acquiring the data volume transmitted by the terminal and the Bluetooth equipment in real time and is connected with the pairing module;
the test module is used for testing the Bluetooth equipment connected with the terminal, is connected with the acquisition module, and is also used for setting a test period and setting the transmission frequency transmitted by the terminal to the Bluetooth equipment after the test period according to the average data volume A0 transmitted by the terminal to the Bluetooth equipment in the test period;
the analysis module is used for carrying out data analysis on a test result, is connected with the test module, and is also used for adjusting the transmission frequency Fi set by the test module according to a data transmission difference value delta A in a test period and correcting the adjusted transmission frequency Fi' according to the minimum signal strength Rmin of the Bluetooth equipment in the test period;
the monitoring module is used for monitoring the transmission data of the terminal and the Bluetooth equipment in real time and is connected with the analysis module, the monitoring module is also used for calculating a safe transmission coefficient M in real time, carrying out safe judgment on the data transmission state in real time according to the safe transmission coefficient M, carrying out real-time adjustment on the data transmission state according to the safe judgment result of the data transmission state, if the judgment result is that low risk exists, adjusting the data transmission state by changing the data transmission frequency of the terminal, if the judgment result is that high risk exists, blocking data transmission and carrying out safe prompt, and limiting the data amount of single transmission when the Bluetooth equipment is connected again;
the storage module is used for storing the equipment ID of the Bluetooth equipment successfully matched with the terminal and also used for storing the monitoring data of the Bluetooth equipment, and is connected with the matching module, the acquisition module, the test module, the analysis module and the monitoring module;
the test module is used for testing the Bluetooth device connected with the terminal, setting a test period to be T1 when the connected Bluetooth device is connected for the first time, setting the test period to be T2 when the connected Bluetooth device is not connected for the first time, wherein T1 is more than T2, acquiring a data volume A transmitted to the Bluetooth device by the terminal in the test period in a single time, wherein the data volume is the size of a data packet transmitted to the Bluetooth device by the terminal, acquiring the data transmission times N transmitted to the Bluetooth device by the terminal in the test period, calculating an average data volume A0 transmitted to the Bluetooth device by the terminal in the test period by the test module, setting A0= Am/N, am is the total data volume transmitted to the Bluetooth device by the terminal in the test period, comparing the average data volume A0 transmitted to the Bluetooth device by the terminal in the test period with each preset average data volume, and setting the transmission frequency transmitted to the Bluetooth device by the terminal according to the comparison result, wherein,
when A0 is not more than A1, the test module takes F1 as the transmission frequency of the Bluetooth data transmission;
when A1 is larger than A0 and is not larger than A2, the test module takes F2 as the transmission frequency of the Bluetooth data transmission;
when A2 is less than A0, the test module takes F3 as the transmission frequency of the Bluetooth data transmission;
the method comprises the steps that A1 is a first preset average data volume, A2 is a second preset average data volume, A1 is smaller than A2, F1 is a first preset transmission frequency, F2 is a second preset transmission frequency, F3 is a third preset transmission frequency, and F1 is smaller than F2 and smaller than F3.
2. The data analysis system based on bluetooth data transmission according to claim 1, wherein the analysis module sets i =1,2,3 when adjusting the transmission frequency Fi, calculates a data transmission difference Δ a within a test period, sets Δ a = Amax-A0, amax is a maximum data amount of a single transmission from a terminal to a bluetooth device within the test period, compares the calculated data transmission difference Δ a with a preset data transmission difference Δ A0, and adjusts the determined transmission frequency Fi according to a comparison result, wherein,
when the delta A is less than or equal to the delta A0, the analysis module judges that the difference value meets the requirement, and adjustment is not performed;
when Δ a > Δa0, the analysis module adjusts the transmission frequency to Fi ', setting Fi' = Fi + Fi × (Δa- Δ A0)/Δa.
3. The data analysis system based on Bluetooth data transmission according to claim 2, wherein when the analysis module corrects the adjusted transmission frequency, the analysis module acquires and obtains a minimum signal strength Rmin of the Bluetooth device during data transmission from the terminal to the Bluetooth device in the test period, compares the minimum signal strength Rmin with a preset signal strength R0, and corrects the adjusted transmission frequency according to the comparison result, wherein,
when Rmin is larger than or equal to R0, the analysis module judges that the signal intensity meets the requirement and does not perform correction;
when Rmin < R0, the analysis module corrects the transmission frequency to Fi ", sets Fi" = Fi '-Fi' × (R0-Rmin)/R0.
4. The data analysis system based on bluetooth data transmission according to claim 1, wherein the monitoring module calculates a safe transmission coefficient M according to the transmission data monitored in real time when making a safe determination on the data transmission status, and sets M =0.5 x As/A0+0.5 x R0/Rs, where As is the single transmission data amount monitored in real time by the monitoring module, rs is the signal intensity of the bluetooth device monitored in real time by the monitoring module, the monitoring module compares the calculated safe transmission coefficient M with each preset safe transmission coefficient and makes a safe determination on the data transmission status according to the comparison result, wherein,
when M is less than or equal to M1, the monitoring module judges that the data transmission state is safe;
when M1 is larger than M and is not larger than M2, the monitoring module judges that the data transmission state has low risk;
when M2 is less than M, the monitoring module judges that the data transmission state has high risk;
wherein M1 is a first preset safe transmission coefficient, M2 is a second preset safe transmission coefficient, and M1 is more than 1 and more than M2.
5. The data analysis system based on Bluetooth data transmission according to claim 4, wherein the monitoring module adjusts the data transmission state by adjusting the data transmission frequency of the terminal when determining that there is a low risk in the data transmission state, wherein,
when As/A0 is larger than or equal to R0/Rs, the monitoring module increases the data transmission frequency of the terminal to Fa1, and Fa1= Fi '+ 0.5 XFi' × (M-M1)/M is set;
when As/A0 < R0/Rs, the monitoring module reduces the data transmission frequency of the terminal to Fa2, and sets Fa2= Fi "-0.5 × Fi" × (M-M1)/M.
6. The system of claim 5, wherein the monitoring module compensates the security transmission coefficient to M ' when recalculating the security transmission coefficient after adjusting the data transmission frequency of the terminal, and sets M ' = M- (Ma-M1), where Ma is the security transmission coefficient during adjusting the data transmission frequency, and the monitoring module performs real-time security determination on the adjusted data transmission state according to the compensated security transmission coefficient M ' to monitor the data transmission state of the terminal to the bluetooth device.
7. The data analysis system based on Bluetooth data transmission as claimed in claim 4, wherein the monitoring module blocks data transmission in time and performs safety prompt when determining that there is high risk in the data transmission state,
when As/A0 is larger than or equal to R0/Rs, the monitoring module prompts that the data volume of single transmission exceeds a standard range, and virus risks exist;
when As/A0 is less than R0/Rs, the monitoring module prompts that the distance between the Bluetooth device and the terminal is long, and the risk of data loss exists.
8. The data analysis system based on Bluetooth data transmission according to claim 7, wherein the monitoring module obtains historical safety prompt times P of data transmission between the terminal and the Bluetooth device after performing the safety prompt, compares the historical safety prompt times P with preset safety prompt times P0, and limits the single transmission data amount when the Bluetooth device is reconnected according to the comparison result, wherein,
when the P is less than or equal to P0, the monitoring module limits the single transmission data volume of the Bluetooth device to Amin, and the Amin is a preset minimum single transmission data volume;
when P is more than P0, the monitoring module forbids the data transmission from the terminal to the Bluetooth device permanently.
9. The data analysis system based on bluetooth data transmission according to claim 1, wherein the pairing module retrieves device IDs of all bluetooth devices in a pairing range when performing bluetooth device pairing on the terminal, if the pairing module does not retrieve a bluetooth device, it is prompted that there is no connectable bluetooth device, if the pairing module retrieves a bluetooth device, the pairing module matches the retrieved device ID of the bluetooth device with a stored device ID, if there is a stored device ID in the retrieved bluetooth device, it is connected to the bluetooth device with the closest connection time, and if there is no stored device ID in the retrieved bluetooth device, it is prompted that the user selects a connectable device for bluetooth connection.
CN202210841669.8A 2022-07-18 2022-07-18 Data analysis system based on Bluetooth data transmission Active CN115243389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210841669.8A CN115243389B (en) 2022-07-18 2022-07-18 Data analysis system based on Bluetooth data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210841669.8A CN115243389B (en) 2022-07-18 2022-07-18 Data analysis system based on Bluetooth data transmission

Publications (2)

Publication Number Publication Date
CN115243389A CN115243389A (en) 2022-10-25
CN115243389B true CN115243389B (en) 2023-03-03

Family

ID=83672952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210841669.8A Active CN115243389B (en) 2022-07-18 2022-07-18 Data analysis system based on Bluetooth data transmission

Country Status (1)

Country Link
CN (1) CN115243389B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827367A (en) * 2016-05-06 2016-08-03 深圳市国华光电研究院 Wireless data transmission method and system
CN110392367A (en) * 2018-04-16 2019-10-29 深圳Tcl新技术有限公司 A kind of Bluetooth transmission control method, system and storage medium
CN112135287A (en) * 2020-10-30 2020-12-25 展讯半导体(成都)有限公司 Bluetooth data transmission rate test method, system, electronic device and storage medium
WO2022047968A1 (en) * 2020-09-04 2022-03-10 歌尔股份有限公司 Bluetooth device pairing method, device, and storage medium
CN114726648A (en) * 2022-05-12 2022-07-08 北京国信网联科技有限公司 Terminal security cloud control system based on Internet of things

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535494B (en) * 2019-10-17 2021-04-13 四川九州电子科技股份有限公司 Automatic testing method for Bluetooth equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827367A (en) * 2016-05-06 2016-08-03 深圳市国华光电研究院 Wireless data transmission method and system
CN110392367A (en) * 2018-04-16 2019-10-29 深圳Tcl新技术有限公司 A kind of Bluetooth transmission control method, system and storage medium
WO2022047968A1 (en) * 2020-09-04 2022-03-10 歌尔股份有限公司 Bluetooth device pairing method, device, and storage medium
CN112135287A (en) * 2020-10-30 2020-12-25 展讯半导体(成都)有限公司 Bluetooth data transmission rate test method, system, electronic device and storage medium
CN114726648A (en) * 2022-05-12 2022-07-08 北京国信网联科技有限公司 Terminal security cloud control system based on Internet of things

Also Published As

Publication number Publication date
CN115243389A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN111246440B (en) Method and system for safety communication of Bluetooth equipment
US9420549B2 (en) Vehicle-mounted device and congestion control method
CN110574080B (en) Method for operating an authentication system and authentication system for a vehicle
TWI466564B (en) Apparatus and method for adjusting transmission power of communication system
JP7109391B2 (en) Unauthorized communication detection device and unauthorized communication detection program
CN103945409B (en) A kind of detection method and device of radio link quality
US20130100848A1 (en) Method for filtering and processing data in a packet-switched communication network
JP2014212603A (en) Communication device, control method, and program
CN107682879A (en) A kind of frequency adjustment method and mobile terminal based on antenna received signal strength
EP3162153A1 (en) Clear channel assessment threshold configuration
JP2020041845A (en) Radio wave monitoring system, radio wave monitoring processor, radio wave monitoring method, and program
CN115243389B (en) Data analysis system based on Bluetooth data transmission
CN113839712B (en) Optical module-based signal transmission monitoring method, equipment, storage medium and device
CN114726648B (en) Terminal security cloud control system based on Internet of things
CN111182621A (en) Method for dynamically adjusting AP (access point) transmission power and AP for dynamically adjusting transmission power
JP4160493B2 (en) Packet communication monitoring apparatus and packet communication monitoring method
US10924379B1 (en) Method and device for controlling transmission rate of a device under test
CN113796028A (en) Interference processing method, interference processing device and control equipment
CN115038113B (en) Broadcast television program transmission system
US10757001B2 (en) Methods for dynamic sensitivity control in wireless networks
CN101959297B (en) Transmission power regulating method and device for communication system
CN117499980B (en) Data communication method, electronic equipment and storage medium
KR20200019484A (en) System and method for total isotropic sensitivity test
US9509446B2 (en) Signal transmission system, signal receiving device, signal sending device, signal receiving device control program, and signal transmission method
US9325459B2 (en) Radio frequency communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Data Analysis System Based on Bluetooth Data Transmission

Effective date of registration: 20230407

Granted publication date: 20230303

Pledgee: Haidian Beijing science and technology enterprise financing Company limited by guarantee

Pledgor: BEIJING SICUN COMMUNICATION TECHNOLOGY CO.,LTD.

Registration number: Y2023110000153

PE01 Entry into force of the registration of the contract for pledge of patent right