CN113645601A - Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium - Google Patents
Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium Download PDFInfo
- Publication number
- CN113645601A CN113645601A CN202110948214.1A CN202110948214A CN113645601A CN 113645601 A CN113645601 A CN 113645601A CN 202110948214 A CN202110948214 A CN 202110948214A CN 113645601 A CN113645601 A CN 113645601A
- Authority
- CN
- China
- Prior art keywords
- frequency hopping
- vehicle
- bluetooth
- points
- point set
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
- H04B2001/7152—Interference-related aspects with means for suppressing interference
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a vehicle-mounted Bluetooth communication method, a vehicle-mounted Bluetooth communication device, a vehicle and a storage medium. The method comprises the following steps: acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set, and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices; screening the candidate hopping frequency points in each candidate hopping frequency point set to obtain an available hopping frequency point set corresponding to each vehicle-mounted Bluetooth device; and respectively selecting target hopping frequency points from the available hopping frequency point sets, and controlling the vehicle-mounted Bluetooth devices to carry out Bluetooth communication based on the corresponding target hopping frequency points. The invention effectively reduces the problem of mutual interference when a plurality of Bluetooth devices communicate simultaneously, improves the Bluetooth communication quality and improves the experience of users.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a vehicle-mounted Bluetooth communication method, a vehicle-mounted Bluetooth communication device, a vehicle and a storage medium.
Background
At present, more and more functions can be realized by using Bluetooth communication in a vehicle machine system. Common have user's cell-phone, earphone bluetooth and vehicle connection to dial the phone or play music etc. many vehicles also can use the bluetooth key to unblock, and some vehicles still dispose devices such as wifi module, TBOX and vehicle event data recorder, and vehicle system can support a plurality of bluetooth to connect in addition, satisfies a plurality of users and dials the demand of phone and listening music through the bluetooth simultaneously. When a plurality of bluetooth devices concentrate simultaneous use, although can promote the interference killing feature through the design of antenna and the optimization of hardware, mutual interference is still serious, appears the problem that the sound card is pause, unclear, makes a plurality of users use the experience of bluetooth simultaneously feel to descend.
Disclosure of Invention
The invention provides a vehicle-mounted Bluetooth communication method, a vehicle-mounted Bluetooth communication device, a vehicle and a storage medium, which are used for reducing interference generated when a plurality of Bluetooth devices communicate simultaneously and improving communication quality.
In a first aspect, an embodiment of the present invention provides a vehicle-mounted bluetooth communication method, including:
acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set, and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices;
screening the candidate hopping frequency points in each candidate hopping frequency point set to obtain an available hopping frequency point set corresponding to each vehicle-mounted Bluetooth device;
and respectively selecting target hopping frequency points from the available hopping frequency point sets, and controlling the vehicle-mounted Bluetooth devices to carry out Bluetooth communication based on the corresponding target hopping frequency points.
Optionally, the dividing the initial hopping frequency points in the bluetooth hopping frequency point set to determine candidate hopping frequency point sets corresponding to different vehicle-mounted bluetooth devices includes:
dividing initial hop frequency points in the Bluetooth hop frequency point set into public hop frequency points and non-public hop frequency points;
adding the public frequency hopping points to a candidate frequency hopping point set corresponding to each vehicle-mounted Bluetooth device;
and adding the non-public frequency hopping point into a candidate frequency hopping point set corresponding to the appointed vehicle-mounted Bluetooth device.
Optionally, the adding the non-common frequency hopping point to the candidate frequency hopping point set corresponding to the specified vehicle-mounted bluetooth device includes:
acquiring the Bluetooth number of the vehicle-mounted Bluetooth device, and dividing the non-public frequency hopping points into the Bluetooth number group non-public frequency hopping point set;
establishing one-to-one mapping incidence relation between each non-public frequency hopping point set and each vehicle-mounted Bluetooth device;
and adding the non-public frequency hopping points in the non-public frequency hopping point set to the candidate frequency hopping point set of the corresponding vehicle-mounted Bluetooth device.
Optionally, the screening the candidate frequency hopping points in each candidate frequency hopping point set includes:
and deleting the candidate frequency hopping points meeting the preset screening conditions from the candidate frequency hopping point set aiming at each candidate frequency hopping point set.
Optionally, the preset screening condition at least includes one of the following:
the channel quality is lower than a preset channel quality threshold;
within a bluetooth low energy BLE broadcast channel range;
remove in the preset within range of signal channel center frequency point of focus wifi in the car, wifi includes on-vehicle wifi and the mobile device wifi in the car.
Optionally, the method further includes:
acquiring a preset updating period, and updating the available frequency hopping points in the available frequency hopping point set based on the updating period; or,
and receiving an updating instruction, and updating the available frequency hopping points in the available frequency hopping point set based on the updating instruction.
In a second aspect, an embodiment of the present invention further provides a vehicle-mounted bluetooth communication apparatus, where the apparatus includes:
the system comprises a frequency hopping point dividing module, a Bluetooth frequency hopping point selecting module and a Bluetooth frequency hopping point selecting module, wherein the frequency hopping point dividing module is used for acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices;
the frequency hopping point screening module is used for screening the candidate frequency hopping points in each candidate frequency hopping point set to obtain an available frequency hopping point set corresponding to each vehicle-mounted Bluetooth device;
and the Bluetooth communication module is used for selecting target hopping points in each available hopping point set respectively and controlling each vehicle-mounted Bluetooth device to carry out Bluetooth communication based on the corresponding target hopping points.
In a third aspect, an embodiment of the present invention further provides a vehicle, including:
one or more processors;
a memory for storing one or more programs;
the vehicle-mounted Bluetooth devices are used for communicating with Bluetooth equipment of a user;
when the one or more programs are executed by the one or more processors, the one or more processors implement the vehicle bluetooth communication method according to any embodiment of the present invention.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the vehicle bluetooth communication method according to any of the embodiments of the present invention.
According to the method and the device, the Bluetooth hop frequency point set is obtained, the initial hop frequency points in the Bluetooth hop frequency point set are divided, the candidate hop frequency point sets corresponding to different vehicle-mounted Bluetooth devices are determined, the candidate hop frequency points in each candidate hop frequency point set are screened, the available hop frequency point sets corresponding to each vehicle-mounted Bluetooth device are obtained, the target hop frequency points are selected from each available hop frequency point set respectively, and each vehicle-mounted Bluetooth device is controlled to carry out Bluetooth communication based on the corresponding target hop frequency points, so that the problem of mutual interference when a plurality of Bluetooth devices communicate simultaneously is effectively reduced, the Bluetooth communication quality is improved, and the experience of users is improved.
Drawings
Fig. 1 is a flowchart of a vehicle-mounted bluetooth communication method according to an embodiment of the present invention;
fig. 2 is a block diagram of a vehicle-mounted bluetooth communication apparatus according to a second embodiment of the present invention;
fig. 3 is a block diagram of a vehicle according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only a part of the structures related to the present invention, not all of the structures, are shown in the drawings, and furthermore, embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
Example one
Fig. 1 is a flowchart of a vehicle-mounted bluetooth communication method according to an embodiment of the present invention, where the embodiment is applicable to reducing interference generated when multiple bluetooth devices communicate simultaneously, and the method may be executed by a vehicle-mounted bluetooth communication device, and the device may be implemented by software and/or hardware.
As shown in fig. 1, the method specifically includes the following steps:
and 110, acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set, and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices.
In practical application, the bluetooth transmission uses a frequency hopping technique, and during signal transmission, data is divided into a plurality of data packets, and the data packets are transmitted through a designated bluetooth channel, for example, the conventional bluetooth has 79 channels, each channel has 1MHz, the bluetooth low energy has only 40 channels, and each channel has a bandwidth of 2 MHz.
In this embodiment, one bluetooth channel may be referred to as one hop point. The initial frequency hopping points can be understood as any channel supporting Bluetooth communication, and all the initial frequency hopping points can form a Bluetooth frequency hopping point set.
Specifically, a bluetooth frequency hopping point set can be obtained, a frequency hopping point which allows a certain vehicle-mounted bluetooth device to use is selected from each initial frequency hopping point in the bluetooth frequency hopping point set, and the selected frequency hopping points form a candidate frequency hopping point set corresponding to the vehicle-mounted bluetooth device. Because the vehicle is provided with the plurality of vehicle-mounted Bluetooth devices, in order to reduce mutual interference of the vehicle-mounted Bluetooth devices, different vehicle-mounted Bluetooth devices can be distinguished when candidate hopping points in the candidate hopping point set are determined, so that the candidate hopping points in the candidate hopping point set corresponding to different vehicle-mounted Bluetooth devices are not identical, and communication interference among the vehicle-mounted Bluetooth devices is effectively reduced.
Optionally, step 110 may be specifically implemented by the following steps:
step 1101, acquiring a Bluetooth frequency hopping point set, and dividing initial frequency hopping points in the Bluetooth frequency hopping point set into public frequency hopping points and non-public frequency hopping points.
The public frequency hopping points can be understood as frequency hopping points available to all vehicle-mounted Bluetooth devices, and the non-public frequency hopping points can be understood as frequency hopping points available to a specific vehicle-mounted Bluetooth device.
Specifically, the initial hopping points in the bluetooth hopping point set can be divided into two hopping points, namely a public hopping point and a non-public hopping point, in practical application, the initial hopping points can be divided according to a proportion, the number of the non-public hopping points can also be determined, and after the non-public hopping points are divided from the initial hopping points, the rest of the initial hopping points except the public hopping points are determined as the public hopping points. For example, the number of the initial hopping frequency points is 79, and the number of the vehicle-mounted bluetooth devices is 4, then 20 non-public hopping frequency points can be taken, and the remaining 59 initial hopping frequency points except the 20 non-public hopping frequency points are determined as the public hopping frequency points.
Step 1102, adding the public frequency hopping points to a candidate frequency hopping point set corresponding to each vehicle-mounted Bluetooth device.
Specifically, the common frequency hopping point is available for all the vehicle-mounted bluetooth devices, so that the common frequency hopping point can be added to the candidate frequency hopping point set corresponding to each vehicle-mounted bluetooth device.
Step 1103, adding the non-public frequency hopping points to a candidate frequency hopping point set corresponding to the specified vehicle-mounted Bluetooth device.
Specifically, the non-common frequency hopping point is a frequency hopping point available to a specific vehicle-mounted bluetooth device, so that the non-common frequency hopping point can be added to a candidate frequency hopping point set corresponding to a specific vehicle-mounted bluetooth device.
Further, step 1103 may be specifically implemented by the following steps:
and 11031, acquiring the Bluetooth number of the vehicle-mounted Bluetooth device, and averagely dividing the non-public frequency hopping points into a Bluetooth number group non-public frequency hopping point set.
And step 11032, establishing one-to-one mapping incidence relation between each non-public frequency hopping point set and each vehicle-mounted Bluetooth device.
And 11033, adding the non-public frequency hopping points in the non-public frequency hopping point set to the candidate frequency hopping point set of the corresponding vehicle-mounted Bluetooth device.
For example, 79 initial hopping points can be selected, 60-79 initial hopping points can be taken as non-public hopping points, the first 59 initial hopping points are taken as public hopping points, and a, B, C and D four vehicle-mounted Bluetooth devices are assumed, so that 20 non-public hopping points can be equally divided into 4 non-public hopping point sets A, B, C, D, that is, the non-public hopping point set A contains 1-5 non-public hopping points, namely 60-64 initial hopping points, the non-public hopping point set B contains 6-10 non-public hopping points, namely 65-69 initial hopping points, the non-public hopping point set C contains 11-15 non-public hopping points, namely 70-74 initial hopping points, and the non-public hopping point set D contains 16-20 non-public hopping points, namely 75-79 initial hopping points. The vehicle-mounted Bluetooth device a can establish a mapping relation with a non-public frequency hopping point set A, the vehicle-mounted Bluetooth device B establishes a mapping relation with a non-public frequency hopping point set B, the vehicle-mounted Bluetooth device C establishes a mapping relation with a non-public frequency hopping point set C, the vehicle-mounted Bluetooth device D establishes a mapping relation with a non-public frequency hopping point set D, non-public frequency hopping points in the non-public frequency hopping point set are respectively added into candidate frequency hopping point sets of the corresponding vehicle-mounted Bluetooth devices, then, the candidate frequency hopping point set of the vehicle-mounted Bluetooth device a comprises 1 st to 59 th and 60 th to 64 th frequency hopping points, the candidate frequency hopping point set of the vehicle-mounted Bluetooth device b comprises 1 st to 59 th and 65 th to 69 th frequency hopping points, the candidate frequency hopping point set of the vehicle-mounted Bluetooth device c comprises 1 st to 59 th and 70 th to 74 th frequency hopping points, and the candidate frequency hopping point set of the vehicle-mounted Bluetooth device d comprises 1 st to 59 th and 75 th to 79 th frequency hopping points.
And 120, screening the candidate frequency hopping points in each candidate frequency hopping point set to obtain an available frequency hopping point set corresponding to each vehicle-mounted Bluetooth device.
The available frequency hopping points can be understood as frequency hopping points remaining after frequency hopping points which do not accord with preset communication conditions are filtered from the candidate frequency hopping point set, namely the frequency hopping points which can be used by the vehicle-mounted Bluetooth device.
Specifically, other communication devices are arranged on the vehicle, and interference may be generated on the vehicle-mounted bluetooth, so that channels affected by interference or channels with poor quality can be filtered, and channels with better quality are reserved for bluetooth communication.
Optionally, step 120 may be specifically implemented by the following method: and deleting the candidate frequency hopping points meeting the preset screening conditions from the candidate frequency hopping point set aiming at each candidate frequency hopping point set.
Further, the preset screening conditions at least comprise one of the following conditions: the channel quality is lower than a preset channel quality threshold; within a bluetooth low energy BLE broadcast channel range; in the preset range of the channel center frequency point of the mobile hotspot wifi in the vehicle, the wifi in the vehicle comprises vehicle-mounted wifi and mobile equipment wifi in the vehicle.
Specifically, the channel measurement of bluetooth may be enabled, a channel with channel quality lower than a preset channel quality threshold is determined as a channel with poor quality, a frequency hopping point with poor channel quality is determined as a frequency hopping point with poor quality, and the frequency hopping point with poor quality is automatically filtered, wherein when the channel quality is poor, the channel transmission failure rate may be higher than a failure rate threshold, or the channel with interference degree higher than an interference threshold; frequency hopping points in the range of the Bluetooth low energy BLE broadcast channel can be removed to avoid broadcast packets of various intelligent devices; the channel center frequency point of the vehicle-mounted wifi or the vehicle-mounted mobile device wifi can be further determined, and the frequency hopping point falling in the preset range with the channel center frequency point as the center is removed, wherein the preset range can be preset, can be set to be a channel range of 10MHz, and can also be set to be a channel range of 20 MHz. In addition, when the vehicle-mounted mobile hotspot wifi is a 2.4G channel, the vehicle-mounted mobile hotspot wifi can be controlled to preferentially select a 5G frequency point, or the transmission priority of the vehicle-mounted Bluetooth device is improved.
Optionally, the vehicle-mounted bluetooth communication method provided in this embodiment may further include: acquiring a preset updating period, and updating the available frequency hopping points in the available frequency hopping point set based on the updating period; or receiving an updating instruction, and updating the available frequency hopping points in the available frequency hopping point set based on the updating instruction.
In practical application, various wireless communication devices change at any time, so that the available frequency hopping points in the available frequency hopping point set can be updated based on an update period or an update instruction, the Bluetooth communication frequency points can be dynamically adjusted, and the Bluetooth communication quality is ensured.
And step 130, selecting target hopping points from the available hopping point sets respectively, and controlling each vehicle-mounted Bluetooth device to perform Bluetooth communication based on the corresponding target hopping points.
Specifically, the available hopping points in the available hopping point set are the hopping points that can be used by the vehicle-mounted bluetooth device, so that the target hopping points can be selected from the available hopping point set, and the vehicle-mounted bluetooth device is controlled to perform bluetooth communication.
In the embodiment, the frequency hopping points used by the vehicle-mounted Bluetooth devices are different as much as possible, so that the interference among the vehicle-mounted Bluetooth devices is reduced, and meanwhile, channels possibly interfered by other wireless communication equipment are removed, so that the Bluetooth communication quality is effectively improved.
According to the technical scheme, the Bluetooth frequency hopping point set is acquired, initial frequency hopping points in the Bluetooth frequency hopping point set are divided, candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices are determined, the candidate frequency hopping points in each candidate frequency hopping point set are screened, available frequency hopping point sets corresponding to each vehicle-mounted Bluetooth device are obtained, target frequency hopping points are selected in each available frequency hopping point set respectively, each vehicle-mounted Bluetooth device is controlled to carry out Bluetooth communication based on the corresponding target frequency hopping points, the problem of mutual interference when multiple Bluetooth devices communicate simultaneously is effectively reduced, the Bluetooth communication quality is improved, and the experience of users is improved.
Example two
The vehicle-mounted Bluetooth communication device provided by the embodiment of the invention can execute the vehicle-mounted Bluetooth communication method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. Fig. 2 is a block diagram of a vehicle-mounted bluetooth communication apparatus according to a second embodiment of the present invention, and as shown in fig. 2, the apparatus includes: a hop-dividing module 210, a hop-screening module 220, and a bluetooth communication module 230.
The frequency hopping point dividing module 210 is configured to acquire a bluetooth frequency hopping point set, divide initial frequency hopping points in the bluetooth frequency hopping point set, and determine candidate frequency hopping point sets corresponding to different vehicle-mounted bluetooth devices.
And a frequency hopping point screening module 220, configured to screen candidate frequency hopping points in each candidate frequency hopping point set, so as to obtain an available frequency hopping point set corresponding to each vehicle-mounted bluetooth device.
And the bluetooth communication module 230 is configured to select a target frequency hopping point from each set of available frequency hopping points, and control each vehicle-mounted bluetooth device to perform bluetooth communication based on the corresponding target frequency hopping point.
According to the technical scheme, the Bluetooth frequency hopping point set is acquired, initial frequency hopping points in the Bluetooth frequency hopping point set are divided, candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices are determined, the candidate frequency hopping points in each candidate frequency hopping point set are screened, available frequency hopping point sets corresponding to each vehicle-mounted Bluetooth device are obtained, target frequency hopping points are selected in each available frequency hopping point set respectively, each vehicle-mounted Bluetooth device is controlled to carry out Bluetooth communication based on the corresponding target frequency hopping points, the problem of mutual interference when multiple Bluetooth devices communicate simultaneously is effectively reduced, the Bluetooth communication quality is improved, and the experience of users is improved.
Optionally, the frequency hopping point dividing module 210 includes:
the Bluetooth frequency hopping point function distinguishing unit is used for acquiring a Bluetooth frequency hopping point set and dividing initial frequency hopping points in the Bluetooth frequency hopping point set into public frequency hopping points and non-public frequency hopping points;
the first frequency hopping point dividing unit is used for adding the public frequency hopping points to a candidate frequency hopping point set corresponding to each vehicle-mounted Bluetooth device;
a second frequency hopping point dividing unit, configured to add the non-common frequency hopping point to a candidate frequency hopping point set corresponding to the specified vehicle-mounted bluetooth device
Optionally, the second frequency hopping point dividing unit is specifically configured to:
acquiring the Bluetooth number of the vehicle-mounted Bluetooth device, and dividing the non-public frequency hopping points into the Bluetooth number group non-public frequency hopping point set;
establishing one-to-one mapping incidence relation between each non-public frequency hopping point set and each vehicle-mounted Bluetooth device;
and adding the non-public frequency hopping points in the non-public frequency hopping point set to the candidate frequency hopping point set of the corresponding vehicle-mounted Bluetooth device.
Optionally, the frequency hopping point screening module 220 is specifically configured to:
and deleting the candidate hopping frequency points meeting the preset screening conditions from the candidate hopping frequency point set aiming at each candidate hopping frequency point set to obtain an available hopping frequency point set corresponding to each vehicle-mounted Bluetooth device.
Optionally, the preset screening condition at least includes one of the following:
the channel quality is lower than a preset channel quality threshold;
within a bluetooth low energy BLE broadcast channel range;
remove in the preset within range of signal channel center frequency point of focus wifi in the car, wifi includes on-vehicle wifi and the mobile device wifi in the car.
Optionally, the apparatus further includes a hop update module, configured to:
acquiring a preset updating period, and updating the available frequency hopping points in the available frequency hopping point set based on the updating period; or,
and receiving an updating instruction, and updating the available frequency hopping points in the available frequency hopping point set based on the updating instruction.
According to the technical scheme, the Bluetooth frequency hopping point set is acquired, initial frequency hopping points in the Bluetooth frequency hopping point set are divided, candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices are determined, the candidate frequency hopping points in the candidate frequency hopping point sets are screened, available frequency hopping point sets corresponding to the vehicle-mounted Bluetooth devices are obtained, target frequency hopping points are selected in the available frequency hopping point sets respectively, the vehicle-mounted Bluetooth devices are controlled to carry out Bluetooth communication based on the corresponding target frequency hopping points, the problem of mutual interference when the plurality of Bluetooth devices communicate simultaneously is effectively reduced, the Bluetooth communication quality is improved, and the experience of users is improved. In addition, a preset updating period can be acquired or an updating instruction can be received, the available frequency hopping points in the available frequency hopping point set are updated based on the updating period or the updating instruction, the Bluetooth communication frequency points are dynamically adjusted, and the Bluetooth communication quality is guaranteed.
EXAMPLE III
Fig. 3 is a block diagram of a bluetooth communication module according to a third embodiment of the present invention, as shown in fig. 3, the bluetooth communication module includes a processor 310, a memory 320, and at least two vehicle-mounted bluetooth devices 330; the number of the processors 310 in the bluetooth communication module may be one or more, and one processor 310 is taken as an example in fig. 3; the processor 310, the memory 320 and the at least two onboard bluetooth devices 330 in the bluetooth communication module may be connected by a bus or other means, and fig. 3 illustrates the connection by the bus as an example.
The memory 320 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the vehicle-mounted bluetooth communication method in the embodiment of the present invention (for example, the hop division module 210, the hop screening module 220, and the bluetooth communication module 230 in the vehicle-mounted bluetooth communication apparatus). The processor 310 executes various functional applications and data processing of the bluetooth communication module by running software programs, instructions and modules stored in the memory 320, that is, implements the vehicle-mounted bluetooth communication method described above.
The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 320 may further include memory located remotely from the processor 310, which may be connected to the bluetooth communication module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The bluetooth car apparatus 330 may be used to connect and communicate with a bluetooth device of a user.
Example four
A fourth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a vehicle-mounted bluetooth communication method, where the method includes:
acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set, and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices;
screening the candidate hopping frequency points in each candidate hopping frequency point set to obtain an available hopping frequency point set corresponding to each vehicle-mounted Bluetooth device;
and respectively selecting target hopping frequency points from the available hopping frequency point sets, and controlling the vehicle-mounted Bluetooth devices to carry out Bluetooth communication based on the corresponding target hopping frequency points.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the vehicle-mounted bluetooth communication method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the vehicle-mounted bluetooth communication apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A vehicle-mounted Bluetooth communication method is characterized by comprising the following steps:
acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set, and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices;
screening the candidate hopping frequency points in each candidate hopping frequency point set to obtain an available hopping frequency point set corresponding to each vehicle-mounted Bluetooth device;
and respectively selecting target hopping frequency points from the available hopping frequency point sets, and controlling the vehicle-mounted Bluetooth devices to carry out Bluetooth communication based on the corresponding target hopping frequency points.
2. The vehicle-mounted Bluetooth communication method according to claim 1, wherein the dividing the initial frequency hopping points in the Bluetooth frequency hopping point set to determine candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices comprises:
dividing initial hop frequency points in the Bluetooth hop frequency point set into public hop frequency points and non-public hop frequency points;
adding the public frequency hopping points to a candidate frequency hopping point set corresponding to each vehicle-mounted Bluetooth device;
and adding the non-public frequency hopping point into a candidate frequency hopping point set corresponding to the appointed vehicle-mounted Bluetooth device.
3. The vehicle-mounted Bluetooth communication method according to claim 2, wherein the adding the non-common hopping point to a candidate hopping point set corresponding to a specified vehicle-mounted Bluetooth device includes:
acquiring the Bluetooth number of the vehicle-mounted Bluetooth device, and dividing the non-public frequency hopping points into the Bluetooth number group non-public frequency hopping point set;
establishing one-to-one mapping incidence relation between each non-public frequency hopping point set and each vehicle-mounted Bluetooth device;
and adding the non-public frequency hopping points in the non-public frequency hopping point set to the candidate frequency hopping point set of the corresponding vehicle-mounted Bluetooth device.
4. The vehicle-mounted bluetooth communication method according to claim 1, wherein the screening of the candidate frequency hopping points in each of the candidate frequency hopping point sets comprises:
and deleting the candidate frequency hopping points meeting the preset screening conditions from the candidate frequency hopping point set aiming at each candidate frequency hopping point set.
5. The vehicle-mounted Bluetooth communication method according to claim 4, wherein the preset filtering condition at least comprises one of:
the channel quality is lower than a preset channel quality threshold;
within a bluetooth low energy BLE broadcast channel range;
remove in the preset within range of signal channel center frequency point of focus wifi in the car, wifi includes on-vehicle wifi and the mobile device wifi in the car.
6. The vehicular bluetooth communication method according to claim 1, further comprising:
acquiring a preset updating period, and updating the available frequency hopping points in the available frequency hopping point set based on the updating period; or,
and receiving an updating instruction, and updating the available frequency hopping points in the available frequency hopping point set based on the updating instruction.
7. An in-vehicle bluetooth communication apparatus, comprising:
the system comprises a frequency hopping point dividing module, a Bluetooth frequency hopping point selecting module and a Bluetooth frequency hopping point selecting module, wherein the frequency hopping point dividing module is used for acquiring a Bluetooth frequency hopping point set, dividing initial frequency hopping points in the Bluetooth frequency hopping point set and determining candidate frequency hopping point sets corresponding to different vehicle-mounted Bluetooth devices;
the frequency hopping point screening module is used for screening the candidate frequency hopping points in each candidate frequency hopping point set to obtain an available frequency hopping point set corresponding to each vehicle-mounted Bluetooth device;
and the Bluetooth communication module is used for selecting target hopping points in each available hopping point set respectively and controlling each vehicle-mounted Bluetooth device to carry out Bluetooth communication based on the corresponding target hopping points.
8. The vehicular bluetooth communication apparatus according to claim 7, wherein the hop-dividing module comprises:
the Bluetooth frequency hopping point function distinguishing unit is used for acquiring a Bluetooth frequency hopping point set and dividing initial frequency hopping points in the Bluetooth frequency hopping point set into public frequency hopping points and non-public frequency hopping points;
the first frequency hopping point dividing unit is used for adding the public frequency hopping points to a candidate frequency hopping point set corresponding to each vehicle-mounted Bluetooth device;
and the second frequency hopping point dividing unit is used for adding the non-public frequency hopping points to a candidate frequency hopping point set corresponding to the specified vehicle-mounted Bluetooth device.
9. A vehicle, characterized in that the vehicle comprises:
one or more processors;
a memory for storing one or more programs;
the vehicle-mounted Bluetooth devices are used for communicating with Bluetooth equipment of a user;
when executed by the one or more processors, cause the one or more processors to implement the vehicular bluetooth communication method of any one of claims 1-6.
10. A storage medium containing computer-executable instructions for performing the bluetooth car communication method of any one of claims 1 to 6 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110948214.1A CN113645601A (en) | 2021-08-18 | 2021-08-18 | Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110948214.1A CN113645601A (en) | 2021-08-18 | 2021-08-18 | Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113645601A true CN113645601A (en) | 2021-11-12 |
Family
ID=78422637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110948214.1A Pending CN113645601A (en) | 2021-08-18 | 2021-08-18 | Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113645601A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286323A (en) * | 2021-12-28 | 2022-04-05 | 紫光展锐(重庆)科技有限公司 | Frequency point determination method and device |
CN114710769A (en) * | 2022-03-31 | 2022-07-05 | 哲库科技(上海)有限公司 | Bluetooth communication method and device, device, processor, baseband, medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1617464A (en) * | 2003-11-14 | 2005-05-18 | 华为技术有限公司 | Frequency hopping sequence generating method for realizing blue tooth cellural organized net |
CN1937439A (en) * | 2005-06-10 | 2007-03-28 | 美国博通公司 | Method and system for frequency distribution |
CN111970669A (en) * | 2020-08-17 | 2020-11-20 | 立讯电子科技(昆山)有限公司 | Bluetooth connection method and device and Bluetooth equipment |
CN112332931A (en) * | 2020-11-06 | 2021-02-05 | 维沃移动通信有限公司 | Bluetooth interference avoiding method and electronic equipment |
-
2021
- 2021-08-18 CN CN202110948214.1A patent/CN113645601A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1617464A (en) * | 2003-11-14 | 2005-05-18 | 华为技术有限公司 | Frequency hopping sequence generating method for realizing blue tooth cellural organized net |
CN1937439A (en) * | 2005-06-10 | 2007-03-28 | 美国博通公司 | Method and system for frequency distribution |
CN111970669A (en) * | 2020-08-17 | 2020-11-20 | 立讯电子科技(昆山)有限公司 | Bluetooth connection method and device and Bluetooth equipment |
CN112332931A (en) * | 2020-11-06 | 2021-02-05 | 维沃移动通信有限公司 | Bluetooth interference avoiding method and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286323A (en) * | 2021-12-28 | 2022-04-05 | 紫光展锐(重庆)科技有限公司 | Frequency point determination method and device |
CN114710769A (en) * | 2022-03-31 | 2022-07-05 | 哲库科技(上海)有限公司 | Bluetooth communication method and device, device, processor, baseband, medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11889473B2 (en) | Resource switching method, and resource allocation method, apparatus, device and system | |
CN111865736B (en) | Equipment control method and device | |
US20180192396A1 (en) | Method for bluetooth data forwarding, electronic device, bluetooth device, and bluetooth system | |
CN113645601A (en) | Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium | |
US20160094982A1 (en) | Call Management Method and Apparatus for Multi-SIM Multi-Active Terminal | |
EP2083590A3 (en) | Communication systems | |
AU2019382495B9 (en) | Method and device for transmitting V2X message and system | |
CN109358905B (en) | Data synchronization method and device for vehicle | |
KR101920893B1 (en) | Resource allocation method and user equipment | |
CN105491667A (en) | VDC resource request method, user equipment and base station | |
CN110856086A (en) | Method and device for controlling sound system and readable storage medium | |
CN109905147B (en) | Vehicle-mounted unmanned aerial vehicle communication method and system | |
CN112153684B (en) | LoRa networking communication method, gateway, node, database and system | |
CN110996325B (en) | AP network resource allocation method, device, equipment, system and storage medium | |
CN107306397B (en) | Terminal equipment network access method and device based on wireless communication technology | |
US20230189248A1 (en) | Method and device for communication | |
EP3706481B1 (en) | Data transmission method in internet of vehicles and terminal | |
CN112367654B (en) | TWS equipment team forming method and device, electronic equipment and storage medium | |
EP4465572A1 (en) | Information reporting method and apparatus, information receiving method and apparatus, device, and storage medium | |
CN105264828A (en) | Channel scan method and apparatus | |
US20230199703A1 (en) | Terminal positioning method, server, and storage medium | |
CN115102804A (en) | Data routing method and device for vehicle-mounted gateway, vehicle-mounted gateway and storage medium | |
JPH07123461A (en) | Channel assigning system and radio communications system provided with the same | |
CN113411796A (en) | Audio transmission system, method and storage medium for group-by-group Bluetooth device | |
CN112655171A (en) | Reference signal transmission method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211112 |
|
RJ01 | Rejection of invention patent application after publication |