Transmitting power control method and device of vehicle-mounted Bluetooth device, medium and product

By obtaining Bluetooth and WI-FI scan results, adjusting the transmission power of the vehicle Bluetooth device, the problem of signal interference of vehicle Bluetooth keys in WI-FI interference environment is solved, and the effectiveness of wireless control on the vehicle is improved.

CN119012165APending Publication Date: 2024-11-22GOERTEK INC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411008969.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The signal of the vehicle-mounted Bluetooth key is susceptible to interference in an environment with a lot of WI-FI interference, resulting in a reduction in the invisible unlocking distance, affecting the effectiveness of vehicle wireless control.

Method used

By obtaining Bluetooth and WI-FI scan results, determine the electromagnetic environment assessment score, and adjust the transmission power of the on-board Bluetooth device according to the score to optimize the electromagnetic environment.

Benefits of technology

It improves the success rate of the user's mobile phone Bluetooth and the vehicle Bluetooth device, enhances the effectiveness of wireless control on the vehicle, and avoids the situation of difficulty or inability to return to the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012165A_ABST
    Figure CN119012165A_ABST
Patent Text Reader

Abstract

The invention discloses a transmitting power control method of vehicle-mounted Bluetooth equipment, equipment, a medium and a product, relates to the technical field of wireless communication, and discloses the transmitting power control method of the vehicle-mounted Bluetooth equipment, which comprises the following steps: acquiring a Bluetooth scanning result and a WI-FI scanning result; determining an electromagnetic environment evaluation score according to the Bluetooth scanning result and the WI-FI scanning result; and adjusting the transmitting power of the vehicle-mounted Bluetooth equipment to the target transmitting power corresponding to the electromagnetic environment evaluation score. According to the technical scheme, the vehicle-mounted Bluetooth device can automatically adjust the transmitting power of the Bluetooth module according to the electromagnetic environment information around the vehicle, it is ensured that mobile phone Bluetooth of a user can be connected back to the vehicle-mounted Bluetooth device better, the situation that back connection is difficult or cannot be achieved is avoided, and the effectiveness of controlling the vehicle through the vehicle-mounted Bluetooth key is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a transmission power control method, device, medium and product for an in-vehicle Bluetooth device. Background Art

[0002] The car Bluetooth key is a smart vehicle technology that uses Bluetooth wireless communication technology to identify and authenticate user devices, thereby achieving keyless entry and starting of the vehicle.

[0003] Bluetooth and most WI-FI (wireless communication technologies) operate in the 2.4GHz (radio frequency) band, and Bluetooth wireless communication is susceptible to co-frequency and adjacent frequency interference. In an environment with more WI-FI interference, the electromagnetic environment around the vehicle is complex and changeable, which interferes with the Bluetooth signal, making the distance of the in-vehicle Bluetooth key's non-sensing unlocking smaller, resulting in reduced effectiveness of wireless control of the vehicle.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a transmission power control method, device, medium and product for a vehicle-mounted Bluetooth device, aiming to solve the technical problem of low effectiveness of wireless control of a vehicle by a vehicle-mounted Bluetooth key due to signal interference.

[0006] To achieve the above purpose, the present application proposes a transmission power control method for a vehicle-mounted Bluetooth device, the method comprising:

[0007] Get Bluetooth scan results and WI-FI scan results;

[0008] Determine an electromagnetic environment assessment score according to the Bluetooth scanning result and the WI-FI scanning result;

[0009] The transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power corresponding to the electromagnetic environment evaluation score.

[0010] In one embodiment, the step of determining the electromagnetic environment evaluation score according to the Bluetooth scanning result and the WI-FI scanning result includes:

[0011] Determine a first score associated with the number of WI-FI devices in the WI-FI scan result, and a second score associated with the number of Bluetooth devices in the Bluetooth scan result;

[0012] The sum of the first score and the second score is set as the electromagnetic environment evaluation score.

[0013] In one embodiment, after the step of determining a first score associated with the number of WI-FI devices in the WI-FI scan result and a second score associated with the number of Bluetooth devices in the Bluetooth scan result, the step further includes:

[0014] Obtaining a target number of WI-FI devices having a WI-FI signal strength greater than a preset strength in the WI-FI scanning result;

[0015] determining a third score associated with the target quantity;

[0016] The sum of the first score, the second score and the third score is set as the electromagnetic environment evaluation score.

[0017] In one embodiment, the step of determining a first score associated with the number of WI-FI devices in the WI-FI scan result and a second score associated with the number of Bluetooth devices in the Bluetooth scan result comprises:

[0018] Determine a first numerical interval in which the number of WI-FI devices is located, and a second numerical interval in which the number of Bluetooth devices is located;

[0019] The first score associated with the first numerical interval and the second score associated with the second numerical interval are obtained.

[0020] In one embodiment, the step of adjusting the transmission power of the vehicle-mounted Bluetooth device to the target transmission power corresponding to the electromagnetic environment evaluation score includes:

[0021] Determine an electromagnetic environment assessment result associated with the electromagnetic environment assessment score, and obtain a mapping relationship between the electromagnetic environment assessment result and the target transmit power;

[0022] The target transmission power is selected based on the mapping relationship, and the transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power.

[0023] In one embodiment, after the step of obtaining the Bluetooth scan result and the WI-FI scan result, the method further includes:

[0024] The Bluetooth scanning result and the WI-FI scanning result are stored in the flash memory of the vehicle-mounted Bluetooth device.

[0025] In one embodiment, the step of obtaining the Bluetooth scan result and the WI-FI scan result is performed when at least one of the following conditions is met:

[0026] Reach the preset duration;

[0027] The Bluetooth device is disconnected from the Bluetooth control device.

[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle-mounted Bluetooth device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the transmission power control method of the vehicle-mounted Bluetooth device as described above.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the transmission power control method of the vehicle-mounted Bluetooth device as described above are implemented.

[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the transmission power control method of the in-vehicle Bluetooth device as described above.

[0031] One or more technical solutions proposed in this application have at least the following technical effects:

[0032] The in-vehicle Bluetooth device can automatically adjust the transmission power of the Bluetooth module according to the electromagnetic environment information around the vehicle, ensuring that the user's mobile phone Bluetooth can better connect to the in-vehicle Bluetooth device, avoiding difficulties or inability to connect, and improving the effectiveness of the in-vehicle Bluetooth key in controlling the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0035] Figure 1 This is a schematic diagram of the system architecture of the vehicle-mounted Bluetooth device in the embodiment of the present application;

[0036] Figure 2 A flowchart of a first embodiment of the transmission power control method of a vehicle-mounted Bluetooth device provided in the present application;

[0037] Figure 3 A detailed flow chart of step S20 in the first embodiment of the transmission power control method of the vehicle-mounted Bluetooth device of the present application;

[0038] Figure 4A flowchart of a second embodiment of the transmission power control method of a vehicle-mounted Bluetooth device provided in the present application;

[0039] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the transmission power control method of the vehicle-mounted Bluetooth device in the embodiment of the present application.

[0040] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0041] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0042] The main solutions of the embodiments of this application are:

[0043] Get Bluetooth scan results and WI-FI scan results;

[0044] Determine an electromagnetic environment assessment score according to the Bluetooth scanning result and the WI-FI scanning result;

[0045] The transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power corresponding to the electromagnetic environment evaluation score.

[0046] In this embodiment, for ease of description, the vehicle-mounted Bluetooth device is used as the execution subject for explanation. Specifically, the vehicle-mounted Bluetooth device can be connected to the vehicle-mounted Bluetooth key through Bluetooth to achieve control of the vehicle. The vehicle-mounted Bluetooth key can be a user's smart phone, smart watch, smart bracelet, or other smart device with wireless Bluetooth function.

[0047] In the prior art, Bluetooth wireless communication is susceptible to co-frequency and adjacent frequency interference. In an environment with more WI-FI interference, the electromagnetic environment around the vehicle is complex and changeable, which interferes with the Bluetooth signal, making the distance of the in-vehicle Bluetooth key's non-sensing unlocking smaller, resulting in reduced effectiveness of wireless control of the vehicle.

[0048] Based on this, the present application provides a solution that enables the vehicle-mounted Bluetooth device to automatically adjust the transmission power of the Bluetooth module according to the electromagnetic environment information around the vehicle, ensuring that the user's mobile phone Bluetooth can better connect back to the vehicle-mounted Bluetooth device, avoiding difficulties or inability to connect back, and improving the effectiveness of the vehicle-mounted Bluetooth key in controlling the vehicle.

[0049] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0050] In this embodiment, the system architecture of the vehicle-mounted Bluetooth device is as follows: Figure 1As shown, the main control MCU of the vehicle-mounted Bluetooth device can realize the control of the transmission power. In addition, the vehicle-mounted Bluetooth device also includes a 2.5G module for realizing the WIFI function, a BT (Bluetooth) module for realizing Bluetooth scanning, and the 2.5G module and the BT module transmit signals through antennas. Furthermore, the vehicle-mounted Bluetooth device also includes a MiC (Microphone) / speaker module for realizing user voice interaction, a FLASH module for storing information such as the scanned WI-FI and Bluetooth devices and signal strength, and a power module as a power socket that can be inserted into an AC-to-DC power adapter.

[0051] Based on this, the embodiment of the present application provides a method for controlling the transmission power of a vehicle-mounted Bluetooth device, referring to Figure 2 , Figure 2 This is a flow chart of a first embodiment of a method for controlling transmission power of an in-vehicle Bluetooth device of the present application.

[0052] In this embodiment, the transmission power control method of the vehicle-mounted Bluetooth device includes steps S10 to S20:

[0053] Step S10, obtaining Bluetooth scanning results and WI-FI scanning results;

[0054] In this embodiment, after the user leaves the vehicle, or after the vehicle-mounted Bluetooth device reaches a preset time, a WI-FI and Bluetooth scan will be performed, so as to determine whether the Bluetooth transmission power needs to be adjusted at present based on the scan results. Specifically, when the preset time is reached, the scanning process is triggered, the scanning action is executed, and the Bluetooth scanning results and WI-FI scanning results are obtained. In addition, after the user leaves the vehicle, the vehicle-mounted Bluetooth device is disconnected from the Bluetooth control device (such as the vehicle-mounted Bluetooth key), indicating that the user has left the driving seat, triggering the scanning process of the electromagnetic environment assessment, executing the scanning action, and obtaining the Bluetooth scanning results and WI-FI scanning results.

[0055] Specifically, in the process of obtaining the scanning results, the vehicle-mounted Bluetooth device starts the WI-FI scanning function and stores the scanned WI-FI scanning results, and then starts the Bluetooth scanning function and stores the scanned Bluetooth scanning results. Among them, the WI-FI scanning results include the device's BSSID (Basic Service Set Identifier), SSID (Service Set Identifier) ​​and signal (signal strength), etc., and the Bluetooth scanning results include the Bluetooth device's MAC (Media Access Control Address) address and signal. Based on the obtained WI-FI scanning results and Bluetooth scanning results, the electromagnetic environment can be effectively evaluated to improve the effectiveness and accuracy of the evaluation. Among them, when there are multiple WI-FI scanning results and Bluetooth scanning results, the Bluetooth device stores multiple scanned information in sequence.

[0056] It should be noted that after obtaining the Bluetooth scanning results and the WI-FI scanning results, the Bluetooth scanning results and the WI-FI scanning results need to be stored in the flash memory of the vehicle-mounted Bluetooth device so as to perform electromagnetic environment assessment based on the stored device information to improve the assessment accuracy.

[0057] Step S20, determining an electromagnetic environment evaluation score according to the Bluetooth scanning result and the WI-FI scanning result;

[0058] It should be noted that the electromagnetic environment evaluation score is used to indicate the Bluetooth communication quality of the current environment of the Bluetooth device after the vehicle is stationary, including signal strength, stability and fluency.

[0059] When the vehicle is stationary, the Bluetooth device of the car Bluetooth system needs to sense the current electromagnetic environment and adjust the transmission power of the Bluetooth module based on the current electromagnetic environment to avoid the situation where the car Bluetooth key cannot connect to the Bluetooth device in time or cannot respond to the control instructions of the car Bluetooth key in time when the user needs to start the vehicle due to low Bluetooth communication quality, resulting in reduced effectiveness of vehicle control and poor user experience. Therefore, it is necessary to determine the electromagnetic environment evaluation score of the car Bluetooth device based on the scanned Bluetooth scanning results and WI-FI scanning results.

[0060] In this embodiment, the electromagnetic environment evaluation score can be determined by the number information of WI-FI devices in the WI-FI scanning result scanned by the Bluetooth device, and the number information of Bluetooth devices in the Bluetooth scanning result. In addition, after obtaining the Bluetooth scanning result scanned by the Bluetooth device, the electromagnetic environment evaluation score can be determined according to the Bluetooth signal strength (RSSI) and signal quality (such as packet error rate PER) of the Bluetooth scanning result, so as to evaluate the stability and reliability of communication, or the electromagnetic environment evaluation score can be determined based on the modulation and coding method of the Bluetooth device, so as to evaluate its impact on signal quality and communication stability, etc.

[0061] As an optional implementation method for calculating the electromagnetic environment assessment score, you can analyze it based on the number of Wi-Fi devices in the Wi-Fi scan results and the number of Bluetooth devices in the Bluetooth scan results. Please refer to Figure 3 , step S20 further includes:

[0062] Step S21, determining a first score associated with the number of WI-FI devices in the WI-FI scan result, and a second score associated with the number of Bluetooth devices in the Bluetooth scan result;

[0063] Step S22: setting the sum of the first score and the second score as the electromagnetic environment assessment score.

[0064] Specifically, in the process of determining the first score and the second score, the number of WI-FI devices and the number of Bluetooth devices both correspond to the quantity-score interval, so the first numerical interval in which the number of WI-FI devices is located and the second numerical interval in which the number of Bluetooth devices is located can be determined, and then the first score associated with the first numerical interval and the second score associated with the second numerical interval can be obtained.

[0065] For example, the relationship between the number of WI-FI devices and the score is shown in Table 1 below:

[0066] Table 1

[0067] Number of WI-FI devices score 0-5 +60 6-10 +40 10+ +20

[0068] The relationship between the number of Bluetooth devices and the score is shown in Table 2 below:

[0069] Table 2

[0070] Number of Bluetooth devices score 0-20 +30 20+ -30

[0071] At this time, in the detected quantity information, the number of WI-FI devices is less than 5, and the corresponding first score is +60; the number of Bluetooth devices is less than 20, and the corresponding second score is +30. At this time, the electromagnetic environment assessment score obtained is 90 points.

[0072] Furthermore, after obtaining the electromagnetic environment evaluation score, the final evaluation result can be determined based on the evaluation score, where different scores are bound to different results, such as when the evaluation score is less than 60 points, the corresponding evaluation result is poor, the evaluation score is between 60-79 points, the corresponding evaluation result is medium, and the evaluation score is above 90 points, the corresponding evaluation result is excellent. At this time, the evaluation score corresponds to an "excellent" electromagnetic environment evaluation result.

[0073] It should be noted that Bluetooth devices have a frequency hopping mechanism that improves communication quality and anti-interference capabilities by sending data packets on different frequencies. When there are a large number of Bluetooth devices, such as a large Bluetooth mesh network, the newly selected channel of the Bluetooth device may still be used by other Bluetooth communications, that is, the quality of Bluetooth communication is unstable and conflicts may still exist. Therefore, when the number of Bluetooth devices is large, such as more than 20, the corresponding second score is -30, indicating that the current electromagnetic environment assessment score is poor.

[0074] Optionally, in addition to obtaining the electromagnetic environment evaluation score by adding the scores of the number of WI-FI devices and Bluetooth devices, a further score determination of the signal strength of the WI-FI devices can be added on the basis of the two. When there are WI-FI devices with high signal strength and a large number, the electromagnetic environment evaluation score needs to be reduced. In addition, the score can be scored only based on the number of WI-FI devices, or only based on the number of Bluetooth devices. If only the score corresponding to the number of one type of device is used as the electromagnetic environment evaluation score, the score required for the corresponding result in the electromagnetic environment evaluation result associated with the score is also different, and the specific score is not limited here.

[0075] In this embodiment, the electromagnetic environment is evaluated by the number of WI-FI devices and the number of Bluetooth devices, and the scores corresponding to the numbers, so as to obtain accurate electromagnetic environment evaluation results and improve the effectiveness of transmission power adjustment.

[0076] It should be noted that the above parameters are only used for explanation and are not intended to limit the present application.

[0077] Step S30, adjusting the transmission power of the vehicle-mounted Bluetooth device to the target transmission power corresponding to the electromagnetic environment evaluation score.

[0078] For example, if different scores in the electromagnetic environment evaluation score are associated with different transmission powers, or in different scoring rule scenarios, different evaluation score values ​​correspond to different evaluation results, and the evaluation results are associated with specific transmission powers.

[0079] Therefore, as an optional implementation method of determining the target transmission power, the electromagnetic environment evaluation result associated with the electromagnetic environment evaluation score can be determined, and a mapping relationship between the electromagnetic environment evaluation result and the target transmission power can be obtained, and then the target transmission power can be selected based on the mapping relationship. After obtaining the target transmission power, the transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power.

[0080] Exemplarily, the mapping relationship between the electromagnetic environment evaluation results associated only with the evaluation scores and the target transmission power corresponding to the evaluation results is shown in the following table:

[0081] Evaluation score Evaluation Results Strategy >80 excellent Set a low transmit power (e.g. -30dB) 60~79 medium Set the transmit power to a medium level (e.g. -20dB) <60 Difference Set a high transmit power (e.g. -10dB)

[0082] When the evaluation score is greater than 80 points, the transmission power of the car Bluetooth device can be adjusted to -30dB.

[0083] When adjusting the transmit power of the Bluetooth device, if the current transmit power of the Bluetooth device is different from the target transmit power, the transmit power is adjusted to the target transmit power; if the two are the same, there is no need to adjust the transmit power.

[0084] It should be noted that the above parameters recorded in this embodiment are only used for explanation and description, and are not intended to limit the specific electromagnetic environment assessment score, the number of devices, and the power parameters that need to be adjusted.

[0085] This embodiment provides a method for controlling the transmission power of a vehicle-mounted Bluetooth device. After obtaining the Bluetooth scanning results and the WI-FI scanning results, a scoring value associated with the number of devices is determined based on the number of WI-FI devices and the number of Bluetooth devices in the scanning results, and an electromagnetic evaluation score is determined based on the scoring value, so that the vehicle-mounted Bluetooth device adjusts the transmission power of the Bluetooth module according to the power associated with the electromagnetic environment evaluation score, ensuring that the user's mobile phone Bluetooth can better connect back to the vehicle-mounted Bluetooth device, avoiding difficulties or inability to connect back, and improving the effectiveness of the vehicle-mounted Bluetooth key in controlling the vehicle.

[0086] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 4 After step S21, the transmission power control method of the vehicle-mounted Bluetooth device further includes steps S23 to S25:

[0087] Step S23, obtaining the target number of WI-FI devices whose WI-FI signal strength is greater than a preset strength in the WI-FI scanning result;

[0088] The higher the WI-FI signal strength, the more serious the interference to Bluetooth communication. Therefore, in this embodiment, in addition to scoring the electromagnetic environment assessment by the number of WI-FI devices and the number of Bluetooth devices, in order to improve the effectiveness of the electromagnetic environment assessment score, it is also necessary to analyze and score the signal strength of the WI-FI devices, so as to optimize the electromagnetic environment assessment score.

[0089] Specifically, the more WI-FI devices with higher signal strength there are, the lower their corresponding score values. Therefore, it is necessary to obtain the target number of WI-FI devices with WI-FI signal strength greater than a preset strength such as -35dbm in the scanned WI-FI scanning results, so as to optimize the subsequent target scores based on the scores corresponding to the target number.

[0090] Step S24, determining a third score associated with the target quantity;

[0091] In this embodiment, after the target quantity is obtained, the third score associated with the target quantity can also be determined based on the numerical range in which the target quantity is located.

[0092] Step S25: setting the sum of the first score, the second score and the third score as the electromagnetic environment assessment score.

[0093] After obtaining the third score, add the first score, the second score and the third score together, and the result is the electromagnetic environment assessment score.

[0094] It can be understood that the electromagnetic environment assessment score obtained in this embodiment includes a third score. Therefore, when determining the electromagnetic environment assessment result associated with the assessment score and then selecting the target transmission power based on the assessment result, the assessment result corresponding to the assessment score is different from the result shown in the first embodiment.

[0095] This embodiment provides a method for controlling the transmission power of an in-vehicle Bluetooth device. After obtaining the first score and the second score based on the number information of WI-FI devices and Bluetooth devices, the number of devices with higher signal strength in the WI-FI scan results is further scored, thereby summarizing and comparing multiple factors affecting the quality of Bluetooth communication, and finally generating an electromagnetic environment evaluation score based on the results of the three factors, thereby improving the accuracy of the electromagnetic environment evaluation results obtained based on the electromagnetic environment evaluation score, and thereby improving the effectiveness of the in-vehicle Bluetooth device in adjusting the transmission power of the Bluetooth module. Based on this, it is ensured that the user's mobile phone Bluetooth can better connect back to the in-vehicle Bluetooth device, avoiding the situation where it is difficult or impossible to connect back, and improving the effectiveness of the in-vehicle Bluetooth key in controlling the vehicle.

[0096] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the transmission power control method of the vehicle-mounted Bluetooth device of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0097] The present application provides an in-vehicle Bluetooth device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the transmission power control method of the in-vehicle Bluetooth device in the first embodiment described above.

[0098] Reference below Figure 5 , which shows a schematic diagram of the structure of a Bluetooth device suitable for implementing the embodiment of the present application. The vehicle-mounted Bluetooth device in the embodiment of the present application may include a vehicle-mounted terminal. Figure 5 The Bluetooth device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0099] like Figure 5 As shown, the Bluetooth device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the Bluetooth device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the Bluetooth device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a Bluetooth device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0100] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0101] The Bluetooth device provided by the present application adopts the transmission power control method of the vehicle-mounted Bluetooth device in the above embodiment, which can solve the technical problem that the effectiveness of the vehicle-mounted Bluetooth key in wirelessly controlling the vehicle is low due to signal interference. Compared with the prior art, the beneficial effects of the Bluetooth device provided by the present application are the same as the beneficial effects of the transmission power control method of the vehicle-mounted Bluetooth device provided by the above embodiment, and other technical features in the Bluetooth device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0102] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0103] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0104] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the transmission power control method of the vehicle-mounted Bluetooth device in the above-mentioned embodiment.

[0105] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0106] The computer-readable storage medium may be included in the Bluetooth device; or may exist independently without being assembled into the Bluetooth device.

[0107] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the Bluetooth device:

[0108] Get Bluetooth scan results and WI-FI scan results;

[0109] Determine an electromagnetic environment assessment score according to the Bluetooth scanning result and the WI-FI scanning result;

[0110] The transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power corresponding to the electromagnetic environment evaluation score.

[0111] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0112] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0113] The modules involved in the embodiments of the present application may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0114] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for controlling the transmission power of the vehicle-mounted Bluetooth device, and can solve the technical problem that the effectiveness of the vehicle-mounted Bluetooth key in wirelessly controlling the vehicle is low due to signal interference. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the method for controlling the transmission power of the vehicle-mounted Bluetooth device provided by the above-mentioned embodiment, and will not be repeated here.

[0115] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned transmission power control method of the in-vehicle Bluetooth device when executed by a processor.

[0116] The computer program product provided by the present application can solve the technical problem that the effectiveness of the vehicle-mounted Bluetooth key in wirelessly controlling the vehicle is low due to signal interference. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the transmission power control method of the vehicle-mounted Bluetooth device provided by the above embodiment, which will not be described in detail here.

[0117] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for controlling the transmission power of a vehicle-mounted Bluetooth device, It is characterized in that The method comprises: Get Bluetooth scan results and WI-FI scan results; Determine an electromagnetic environment assessment score according to the Bluetooth scanning result and the WI-FI scanning result; The transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power corresponding to the electromagnetic environment evaluation score.

2. The method according to claim 1, It is characterized in that The step of determining the electromagnetic environment evaluation score according to the Bluetooth scanning result and the WI-FI scanning result comprises: Determine a first score associated with the number of WI-FI devices in the WI-FI scan result, and a second score associated with the number of Bluetooth devices in the Bluetooth scan result; The sum of the first score and the second score is set as the electromagnetic environment evaluation score.

3. The method according to claim 2, It is characterized in that After the step of determining a first score associated with the number of WI-FI devices in the WI-FI scan result and a second score associated with the number of Bluetooth devices in the Bluetooth scan result, the method further includes: Obtaining a target number of WI-FI devices having a WI-FI signal strength greater than a preset strength in the WI-FI scanning result; determining a third score associated with the target quantity; The sum of the first score, the second score and the third score is set as the electromagnetic environment evaluation score.

4. The method according to claim 3, It is characterized in that The step of determining a first score associated with the number of WI-FI devices in the WI-FI scan result and a second score associated with the number of Bluetooth devices in the Bluetooth scan result comprises: Determine a first numerical interval in which the number of WI-FI devices is located, and a second numerical interval in which the number of Bluetooth devices is located; The first score associated with the first numerical interval and the second score associated with the second numerical interval are obtained.

5. The method according to claim 1, It is characterized in that The step of adjusting the transmission power of the vehicle-mounted Bluetooth device to the target transmission power corresponding to the electromagnetic environment evaluation score includes: Determine an electromagnetic environment assessment result associated with the electromagnetic environment assessment score, and obtain a mapping relationship between the electromagnetic environment assessment result and the target transmit power; The target transmission power is selected based on the mapping relationship, and the transmission power of the vehicle-mounted Bluetooth device is adjusted to the target transmission power.

6. The method according to claim 1, It is characterized in that After the step of obtaining the Bluetooth scanning result and the WI-FI scanning result, the method further includes: The Bluetooth scanning result and the WI-FI scanning result are stored in the flash memory of the vehicle-mounted Bluetooth device.

7. The method according to any one of claims 1 to 6, It is characterized in that When at least one of the following conditions is met, the step of obtaining the Bluetooth scan result and the WI-FI scan result is performed: Reach the preset duration; The Bluetooth device is disconnected from the Bluetooth control device.

8. A car-mounted Bluetooth device, It is characterized in that The in-vehicle Bluetooth device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the transmission power control method of the in-vehicle Bluetooth device according to any one of claims 1 to 7.

9. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the transmission power control method of the vehicle-mounted Bluetooth device according to any one of claims 1 to 7 are implemented.

10. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for controlling the transmission power of the in-vehicle Bluetooth device according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Communication connection method and device for vehicle and digital key, equipment and storage medium

    CN119580455A