Data transmission method based on Bluetooth shared network

With no WiFi coverage, the Bluetooth module uses multiple radio frequencies to transmit data by scanning the interference frequency band and determining available channels, solving the problem of inconvenience in the use of equipment, improving the Bluetooth transmission speed, and realizing network sharing.

CN119095018AInactive Publication Date: 2024-12-06SHENZHEN CORE CLOUD TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411109276.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

There is no WiFi coverage in some places, and not all devices support hotspot sharing networks, which makes it inconvenient to use electronic devices that do not have a network.

Method used

Connect the master and slave devices through the Bluetooth module, scan the interference frequency band and interference degree in the environment, determine the available channels, and use multiple radio frequencies for data transmission in the case of multiple available channels, thereby improving the data transmission speed.

Benefits of technology

It realizes network sharing without WiFi coverage, improves Bluetooth transmission speed, and solves the problem of inconvenience in device use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095018A_ABST
    Figure CN119095018A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method based on a Bluetooth shared network, the method is applied to a master device and a slave device which are connected through Bluetooth, the master device and the slave device each comprise a Bluetooth module, and the Bluetooth module comprises a plurality of radio frequencies; the data transmission method based on the Bluetooth shared network comprises the following steps: connecting the master device with the slave device through Bluetooth, and sharing the network of the master device with the slave device through Bluetooth connection; scanning an interference frequency band and an interference degree in an environment through a controller of the Bluetooth module; determining an available channel based on the interference frequency band and the interference degree; and if the available channels are multiple, the radio frequency is used for transmitting the modulation data to be sent through the available channels, so that the problem that the electronic equipment without a network is inconvenient to use due to the fact that some existing places are not covered by WiFi and not all equipment supports network sharing through a hotspot can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a data transmission method based on a Bluetooth shared network. Background Art

[0002] Bluetooth is a radio technology that supports short-range communication between devices. It can exchange wireless information between a wide range of devices, including mobile phones, wireless headsets, laptops, and related peripherals. Bluetooth technology can effectively simplify the communication between mobile communication terminal devices, making data transmission faster and more efficient.

[0003] When using electronic devices, some electronic devices do not have a network. These electronic devices usually access the Internet through WiFi connections or hotspots. However, some places do not have WiFi coverage, and not all devices support sharing the network through hotspots, which makes it inconvenient to use such electronic devices. Summary of the invention

[0004] The embodiment of the present application provides a data transmission method based on a Bluetooth shared network, which can solve the problem that some existing places do not have WiFi coverage and not all devices support sharing the network through hotspots, thereby causing inconvenience in using electronic devices without network.

[0005] In a first aspect, the present application provides a data transmission method based on a Bluetooth shared network, which is applied to a master device and a slave device connected using Bluetooth, wherein both the master device and the slave device include a Bluetooth module, and the Bluetooth module includes multiple radio frequencies;

[0006] The data transmission method based on the Bluetooth shared network includes:

[0007] Connecting the master device to the slave device via Bluetooth, and sharing the network of the master device with the slave device via Bluetooth connection;

[0008] Scanning interference frequency bands and interference levels in the environment through the controller of the Bluetooth module;

[0009] Determine an available channel based on the interference frequency band and the interference degree;

[0010] If there are multiple available channels, the radio frequency is used to transmit the modulated data to be sent through the multiple available channels.

[0011] In some embodiments, if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes:

[0012] Get the data to be sent;

[0013] Channel coding the data to be sent to obtain coded data to be sent;

[0014] Performing quadrature amplitude modulation on the coded data to be sent to obtain the modulated data to be sent;

[0015] If there are multiple available channels, the modulated data to be sent is transmitted through the multiple available channels using the radio frequency.

[0016] In some embodiments, the obtaining of the data to be sent further includes:

[0017] Based on the amount of the data to be sent, the connection event interval between the master device and the slave device is increased or decreased.

[0018] In some embodiments, the obtaining of the data to be sent further includes:

[0019] Based on the amount of data to be sent, increase or decrease the slave device latency of the slave device.

[0020] In some embodiments, if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes:

[0021] If there are multiple available channels, obtaining the number of the available channels;

[0022] Dividing the modulated data to be sent into a plurality of sub-modulated data to be sent based on the number of available channels and the number of radio frequencies;

[0023] The sub-modulated data to be sent are transmitted through a plurality of the available channels using a plurality of the radio frequencies.

[0024] In some embodiments, dividing the to-be-sent modulated data into a plurality of sub-modulated data to be sent based on the number of the available channels and the number of the radio frequencies comprises:

[0025] If the number of available channels is greater than or equal to the number of radio frequencies, dividing the to-be-sent modulated data into a plurality of sub-modulated data to-be-sent based on the number of radio frequencies;

[0026] If the number of the available channels is less than the number of the radio frequencies, the to-be-transmitted modulated data is divided into a plurality of sub-modulated data to-be-transmitted based on the number of the available channels.

[0027] In some embodiments, the obtaining the data to be sent includes:

[0028] Get the original data to be sent;

[0029] Obtaining the network address of the master device;

[0030] The network address of the master device and the original data to be sent are concatenated to obtain the data to be sent.

[0031] In some embodiments, the data transmission method based on the Bluetooth shared network further includes:

[0032] Obtaining a destination address of the data to be sent;

[0033] If the destination address is the master device or the slave device, encrypting the modulated data to be sent using the Bluetooth encryption algorithm of the Bluetooth module;

[0034] If the destination address is an external device, the Bluetooth encryption algorithms of the Bluetooth modules of the master device and the slave device are turned off.

[0035] In a second aspect, the present application provides a data transmission system based on a Bluetooth shared network, which is applied to a master device and a slave device connected using Bluetooth, wherein both the master device and the slave device include a Bluetooth module, and the Bluetooth module includes multiple radio frequencies;

[0036] The data transmission system based on the Bluetooth shared network includes:

[0037] A connection module, used to connect the master device to the slave device via Bluetooth, and share the network of the master device with the slave device via Bluetooth connection;

[0038] A scanning module, used to scan the interference frequency band and interference degree in the environment through the controller of the Bluetooth module; and determine the available channel based on the interference frequency band and the interference degree;

[0039] A transmission module is used to transmit the modulated data to be sent through the multiple available channels using the radio frequency if there are multiple available channels.

[0040] In a third aspect, the present application provides an electronic device, comprising the data transmission system based on the Bluetooth shared network described in the second aspect.

[0041] The present application provides a data transmission method based on a Bluetooth shared network, which is applied to a master device and a slave device connected using Bluetooth, wherein the master device and the slave device both include a Bluetooth module, and the Bluetooth module includes multiple radio frequencies; the data transmission method based on a Bluetooth shared network includes: connecting the master device and the slave device via Bluetooth, and sharing the network of the master device with the slave device via Bluetooth connection; scanning interference frequency bands and interference levels in an environment through a controller of the Bluetooth module; determining available channels based on the interference frequency bands and interference levels; if there are multiple available channels, using the radio frequencies to transmit modulated data to be sent through multiple available channels, which can solve the problem that some existing places do not have WiFi coverage and not all devices support sharing networks through hotspots, thereby causing inconvenience in using electronic devices without networks, and can achieve network sharing through Bluetooth and improve Bluetooth transmission speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0043] Figure 1 is a flow chart of a data transmission method based on a Bluetooth shared network provided by an embodiment of the present application;

[0044] Figure 2 It is a schematic diagram of a data transmission system based on a Bluetooth shared network provided in one embodiment of the present application. DETAILED DESCRIPTION

[0045] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0046] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0047] Bluetooth is a radio technology that supports short-range communication between devices (generally within 10 meters). It can exchange wireless information between a wide range of devices, including mobile phones, wireless headsets, laptops, and related peripherals. Bluetooth technology can effectively simplify the communication between mobile communication terminal devices, and can also successfully simplify the communication between devices and the Internet, making data transmission faster and more efficient, broadening the path for wireless communication.

[0048] As a short-range wireless connection technology, Bluetooth can realize convenient, fast, flexible, secure, low-cost, and low-power data and voice communications between devices. Therefore, it is one of the mainstream technologies for realizing wireless personal area network communications. Currently, almost all electronic devices support Bluetooth communication.

[0049] When using electronic devices, some electronic devices do not have a network. These electronic devices usually access the Internet through WiFi connections or hotspots. However, some places do not have WiFi coverage, and not all devices support sharing the network through hotspots, which makes it inconvenient to use such electronic devices.

[0050] First, as Figure 1 As shown, in view of the above technical problems, an embodiment of the present application provides a data transmission method based on a Bluetooth shared network, characterized in that it is applied to a master device and a slave device connected using Bluetooth, the master device and the slave device both include a Bluetooth module, and the Bluetooth module includes multiple radio frequencies;

[0051] The data transmission method based on the Bluetooth shared network includes:

[0052] S101: connecting the master device to the slave device via Bluetooth, and sharing the network of the master device with the slave device via Bluetooth connection;

[0053] It should be noted that the master device can be a mobile phone, and the slave device can be a tablet computer, or a laptop computer without WiFi or wired network, etc. Generally, electronic devices support Bluetooth connection. By connecting the master device and the slave device via Bluetooth and sharing the network of the master device with the slave device, the slave device can use the network of the master device to access the Internet.

[0054] S102: Scanning interference frequency bands and interference levels in the environment through the controller of the Bluetooth module;

[0055] S103: Determine an available channel based on the interference frequency band and the interference degree;

[0056] It should be noted that the determination of the available channel based on the interference frequency band and the interference degree is specifically: when the RSSI (Received Signal Strength Indicator) received in a certain frequency band is greater than the first strength threshold, this frequency band is judged to be an interference frequency band. After determining the interference frequency band in the surrounding environment, the available channel can be determined.

[0057] S104: If there are multiple available channels, use the radio frequency to transmit the modulated data to be sent through the multiple available channels.

[0058] It should be noted that when the slave device uses the network of the master device to access the Internet, the master device is connected to the external device through the network, and the master device is connected to the slave device through Bluetooth. The speed of Bluetooth data transmission is usually much slower than the speed of network data transmission. Therefore, the Bluetooth transmission speed between the slave device and the master device is the main factor limiting the network speed of the slave device. Therefore, it is necessary to increase the Bluetooth transmission speed between the slave device and the master device.

[0059] It should be noted that Bluetooth data transmission usually uses the 2.4 GHz ISM (Industrial Scientific Media Bnad) frequency band with a frequency range of 2.4 GHz-2.4835 GHz. Usually, the 2.4 GHz ISM (Industrial Scientific Media Bnad) frequency band is divided into 40 channels for use by wireless networks such as WiFi and Bluetooth. Usually, Bluetooth uses one of the channels to transmit data, and Bluetooth uses frequency hopping technology to automatically select idle channels for data transmission, thereby avoiding interference during transmission. However, since the Bluetooth transmission frequency is fixed and the number of channels used remains unchanged, the transmission speed is also unchanged. However, there is usually less electromagnetic interference in a personal environment, and the number of available channels in the environment is usually more than one. At this time, the modulated data to be sent can be transmitted through multiple available channels by using multiple radio frequencies at the same time, thereby increasing the data transmission speed.

[0060] In some embodiments, if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes:

[0061] Get the data to be sent;

[0062] Channel coding the data to be sent to obtain coded data to be sent;

[0063] Performing quadrature amplitude modulation on the coded data to be sent to obtain the modulated data to be sent;

[0064] If there are multiple available channels, the modulated data to be sent is transmitted through the multiple available channels using the radio frequency.

[0065] It should be noted that channel coding of the data to be sent can be achieved through the baseband of the Bluetooth module. By performing channel coding on the data to be sent, the anti-interference capability and bit error rate in the data transmission process can be improved; by performing orthogonal amplitude modulation on the coded data to be sent, the amplitude and phase of the carrier can be modulated, so that the carrier can carry more information and the transmission rate can be improved.

[0066] In some embodiments, the obtaining of the data to be sent further includes:

[0067] Based on the amount of the data to be sent, the connection event interval between the master device and the slave device is increased or decreased.

[0068] It should be noted that a connection event refers to the process of sending data packets between the master device and the slave device. In a connection event, the master device will send a data packet to the slave device in each connection event. However, the connection event must always be carried out at a frequency because each data packet is sent after the previous data packet is sent. The connection event interval determines the interaction interval between the master device and the slave device, that is, the time distance between the beginning of two consecutive connection events, which can be any value between 7.5ms and 4s, but must be a multiple of 1.25ms. Therefore, the data transmission speed between the master device and the slave device can be adjusted by increasing or decreasing the connection event interval.

[0069] It should be noted that the increasing or decreasing the connection event interval between the master device and the slave device based on the amount of data to be sent is specifically: when the amount of data to be sent is greater than a first quantity threshold, the connection event interval between the master device and the slave device is increased, thereby increasing the data transmission speed and shortening the data transmission time; when the amount of data to be sent is less than a second quantity threshold, the connection event interval between the master device and the slave device is decreased, thereby reducing the power consumption of the master device and the slave device.

[0070] In some embodiments, the obtaining of the data to be sent further includes:

[0071] Based on the amount of data to be sent, increase or decrease the slave device latency of the slave device.

[0072] It should be noted that the slave device delay refers to allowing the slave device to skip a certain number of connection events when there is no data to send, and it is not necessary to reply to the packets of the master device in these connection events, thereby reducing power consumption. The slave device delay of the slave device is increased or decreased based on the amount of data to be sent, specifically: when the amount of data to be sent is greater than a first quantity threshold, the slave device delay of the slave device is reduced, thereby increasing the data transmission speed; when the amount of data to be sent is less than a second quantity threshold, the slave device delay of the slave device is increased, thereby reducing power consumption.

[0073] It should be noted that in actual use, the connection event interval and the slave device delay can be adjusted simultaneously, so as to adjust the transmission speed and power consumption between the master device and the slave device faster and to a greater extent.

[0074] In some embodiments, if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes:

[0075] If there are multiple available channels, obtaining the number of the available channels;

[0076] Dividing the modulated data to be sent into a plurality of sub-modulated data to be sent based on the number of available channels and the number of radio frequencies;

[0077] The sub-modulated data to be sent are transmitted through a plurality of the available channels using a plurality of the radio frequencies.

[0078] In some embodiments, dividing the to-be-sent modulated data into a plurality of sub-modulated data to be sent based on the number of the available channels and the number of the radio frequencies comprises:

[0079] If the number of available channels is greater than or equal to the number of radio frequencies, dividing the to-be-sent modulated data into a plurality of sub-modulated data to-be-sent based on the number of radio frequencies;

[0080] If the number of the available channels is less than the number of the radio frequencies, the to-be-transmitted modulated data is divided into a plurality of sub-modulated data to-be-transmitted based on the number of the available channels.

[0081] It should be noted that when using multiple radio frequencies to transmit data through multiple available channels, the radio frequencies usually correspond to the available channels one by one, and the modulated data to be sent needs to be allocated to different radio frequencies for transmission, thereby increasing the data transmission speed.

[0082] In some embodiments, the obtaining the data to be sent includes:

[0083] Get the original data to be sent;

[0084] Obtaining the network address of the master device;

[0085] The network address of the master device and the original data to be sent are concatenated to obtain the data to be sent.

[0086] It should be noted that the slave device uses the network of the master device to access the Internet. When data is transmitted in the network, the address used is the network address of the master device. When Bluetooth communication is performed between the master device and the slave device, the master device and the slave device use their own addresses respectively. As a result, the data sent by the slave device needs to be added or modified when it reaches the master device. This operation wastes a certain amount of time, thereby reducing the data transmission speed. Therefore, the network address of the master device can be directly added to the header or other location of the original data to be sent at the slave device end, so that the data to be sent does not need to be processed again when it reaches the master device end and can be directly forwarded over the network.

[0087] In some embodiments, the data transmission method based on the Bluetooth shared network further includes:

[0088] Obtaining a destination address of the data to be sent;

[0089] If the destination address is the master device or the slave device, encrypting the modulated data to be sent using the Bluetooth encryption algorithm of the Bluetooth module;

[0090] If the destination address is an external device, the Bluetooth encryption algorithms of the Bluetooth modules of the master device and the slave device are turned off.

[0091] It should be noted that there are usually two situations for data transmission between the master device and the slave device. One is that data is only transmitted between the master device and the slave device, and no network data transmission is performed at this time. The modulated data to be sent can be encrypted by the Bluetooth encryption algorithm to ensure the security of Bluetooth transmission; the other is that the modulated data to be sent of the slave device is forwarded to the external network by the master device. At this time, the application that sends the modulated data to be sent will use its own encryption algorithm to encrypt the modulated data to be sent, and there is no need to encrypt it through the Bluetooth encryption algorithm. Therefore, the Bluetooth encryption algorithm of the Bluetooth module can be turned off, thereby reducing power consumption and increasing data transmission speed.

[0092] In summary, the present application provides a data transmission method based on a Bluetooth shared network, which is applied to a master device and a slave device connected using Bluetooth, wherein the master device and the slave device both include a Bluetooth module, and the Bluetooth module includes multiple radio frequencies; the data transmission method based on a Bluetooth shared network includes: connecting the master device and the slave device via Bluetooth, and sharing the network of the master device to the slave device via Bluetooth connection; scanning the interference frequency band and the degree of interference in the environment through the controller of the Bluetooth module; determining an available channel based on the interference frequency band and the degree of interference; if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through multiple available channels, which can solve the problem that some existing places do not have WiFi coverage and not all devices support sharing the network through hotspots, thereby causing inconvenience in using electronic devices without a network, and can achieve network sharing through Bluetooth and improve Bluetooth transmission speed.

[0093] Second, as Figure 2 As shown, an embodiment of the present application provides a data transmission system based on a Bluetooth shared network, which is applied to a master device and a slave device connected using Bluetooth, wherein both the master device and the slave device include a Bluetooth module, and the Bluetooth module includes multiple radio frequencies;

[0094] The data transmission system based on the Bluetooth shared network includes:

[0095] A connection module 210, configured to connect the master device to the slave device via Bluetooth, and share the network of the master device with the slave device via Bluetooth connection;

[0096] The scanning module 220 is used to scan the interference frequency band and the interference degree in the environment through the controller of the Bluetooth module; and determine the available channel based on the interference frequency band and the interference degree;

[0097] The transmission module 230 is configured to transmit the modulated data to be sent through the plurality of available channels using the radio frequency if there are a plurality of available channels.

[0098] In some embodiments, if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes:

[0099] Get the data to be sent;

[0100] Channel coding the data to be sent to obtain coded data to be sent;

[0101] Performing quadrature amplitude modulation on the coded data to be sent to obtain the modulated data to be sent;

[0102] If there are multiple available channels, the modulated data to be sent is transmitted through the multiple available channels using the radio frequency.

[0103] In some embodiments, the obtaining of the data to be sent further includes:

[0104] Based on the amount of the data to be sent, the connection event interval between the master device and the slave device is increased or decreased.

[0105] In some embodiments, the obtaining of the data to be sent further includes:

[0106] Based on the amount of data to be sent, increase or decrease the slave device latency of the slave device.

[0107] In some embodiments, if there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes:

[0108] If there are multiple available channels, obtaining the number of the available channels;

[0109] Dividing the modulated data to be sent into a plurality of sub-modulated data to be sent based on the number of available channels and the number of radio frequencies;

[0110] The sub-modulated data to be sent are transmitted through a plurality of the available channels using a plurality of the radio frequencies.

[0111] In some embodiments, dividing the to-be-sent modulated data into a plurality of sub-modulated data to be sent based on the number of the available channels and the number of the radio frequencies comprises:

[0112] If the number of available channels is greater than or equal to the number of radio frequencies, dividing the to-be-sent modulated data into a plurality of sub-modulated data to-be-sent based on the number of radio frequencies;

[0113] If the number of the available channels is less than the number of the radio frequencies, the to-be-transmitted modulated data is divided into a plurality of sub-modulated data to-be-transmitted based on the number of the available channels.

[0114] In some embodiments, the obtaining the data to be sent includes:

[0115] Get the original data to be sent;

[0116] Obtaining the network address of the master device;

[0117] The network address of the master device and the original data to be sent are concatenated to obtain the data to be sent.

[0118] In some embodiments, the transmission module 230 is further configured to:

[0119] Obtaining a destination address of the data to be sent;

[0120] If the destination address is the master device or the slave device, encrypting the modulated data to be sent using the Bluetooth encryption algorithm of the Bluetooth module;

[0121] If the destination address is an external device, the Bluetooth encryption algorithms of the Bluetooth modules of the master device and the slave device are turned off.

[0122] In a third aspect, the present application provides an electronic device, comprising a data transmission system based on a Bluetooth shared network as described in the second aspect.

[0123] In addition to the above-mentioned methods, devices and systems, the embodiments of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method provided by any embodiment of the present application.

[0124] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0125] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the anti-oxidation palladium copper wire rewinding detection method provided in any embodiment of the present application.

[0126] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.

[0127] It should be noted that the terms used in this application are only for describing specific embodiments, rather than limiting the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements.

[0128] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0129] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.

[0130] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.

[0131] The methods, devices and systems provided in the embodiments of the present application are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the methods and core ideas of the present application. At the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present application.

Claims

1. A data transmission method based on a Bluetooth shared network, characterized in that: Applicable to a master device and a slave device connected using Bluetooth, the master device and the slave device each comprising a Bluetooth module, the Bluetooth module comprising a plurality of radio frequencies; The data transmission method based on the Bluetooth shared network includes: Connecting the master device to the slave device via Bluetooth, and sharing the network of the master device with the slave device via Bluetooth connection; Scanning interference frequency bands and interference levels in the environment through the controller of the Bluetooth module; Determine an available channel based on the interference frequency band and the interference degree; If there are multiple available channels, the radio frequency is used to transmit the modulated data to be sent through the multiple available channels.

2. The data transmission method based on Bluetooth shared network according to claim 1, characterized in that: If there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes: Get the data to be sent; Channel coding the data to be sent to obtain coded data to be sent; Performing quadrature amplitude modulation on the coded data to be sent to obtain the modulated data to be sent; If there are multiple available channels, the modulated data to be sent is transmitted through the multiple available channels using the radio frequency.

3. The data transmission method based on Bluetooth shared network according to claim 2, characterized in that: The obtaining of the data to be sent also includes: Based on the amount of the data to be sent, the connection event interval between the master device and the slave device is increased or decreased.

4. The data transmission method based on Bluetooth shared network according to claim 2, characterized in that: The obtaining of the data to be sent also includes: Based on the amount of data to be sent, increase or decrease the slave device latency of the slave device.

5. The data transmission method based on Bluetooth shared network according to claim 2, characterized in that: If there are multiple available channels, using the radio frequency to transmit the modulated data to be sent through the multiple available channels includes: If there are multiple available channels, obtaining the number of the available channels; Dividing the modulated data to be sent into a plurality of sub-modulated data to be sent based on the number of available channels and the number of radio frequencies; The sub-modulated data to be sent are transmitted through a plurality of the available channels using a plurality of the radio frequencies.

6. The data transmission method based on Bluetooth shared network according to claim 3, characterized in that: The step of dividing the modulated data to be sent into a plurality of sub-modulated data to be sent based on the number of available channels and the number of radio frequencies includes: If the number of available channels is greater than or equal to the number of radio frequencies, dividing the to-be-sent modulated data into a plurality of sub-modulated data to-be-sent based on the number of radio frequencies; If the number of the available channels is less than the number of the radio frequencies, the to-be-transmitted modulated data is divided into a plurality of sub-modulated data to-be-transmitted based on the number of the available channels.

7. The data transmission method based on a Bluetooth shared network according to any one of claims 2 to 6, characterized in that: The step of obtaining the data to be sent includes: Get the original data to be sent; Obtaining the network address of the master device; The network address of the master device and the original data to be sent are concatenated to obtain the data to be sent.

8. The data transmission method based on Bluetooth shared network according to claim 7, characterized in that: Also includes: Obtaining a destination address of the data to be sent; If the destination address is the master device or the slave device, encrypting the modulated data to be sent using the Bluetooth encryption algorithm of the Bluetooth module; If the destination address is an external device, the Bluetooth encryption algorithms of the Bluetooth modules of the master device and the slave device are turned off.

9. A data transmission system based on a Bluetooth shared network, characterized in that: Applicable to a master device and a slave device connected using Bluetooth, the master device and the slave device each comprising a Bluetooth module, the Bluetooth module comprising a plurality of radio frequencies; The data transmission system based on the Bluetooth shared network includes: A connection module, used to connect the master device to the slave device via Bluetooth, and share the network of the master device with the slave device via Bluetooth connection; A scanning module, used to scan the interference frequency band and interference degree in the environment through the controller of the Bluetooth module; and determine the available channel based on the interference frequency band and the interference degree; A transmission module is used to transmit the modulated data to be sent through the multiple available channels using the radio frequency if there are multiple available channels.

10. An electronic device, characterized in that: It comprises a data transmission system based on a Bluetooth shared network as claimed in claim 9.

Citation Information

Cited By

  • Unmanned aerial vehicle signal wireless transmission method and unmanned aerial vehicle

    CN120321620A