Data transmission method and device and electronic equipment
By detecting radar wave signals while transmitting data in the first channel, and switching to the second channel when the signal is not detected, the problem of low data transmission efficiency caused by the radar wave signal detection is to achieve more efficient data. transmission.
Patent Information
- Application Number
- CN202411390133.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-28
AI Technical Summary
Currently, the detection of radar wave signals takes a long time, resulting in low data transmission efficiency.
While transmitting data in the first channel, using a radar detection antenna to detect radar wave signals, if the radar wave signal is not detected within the preset period, switch to the second channel with a larger frequency width of the maximum frequency width for data transmission.
Before switching to a second channel with higher transmission efficiency, the radar wave signal is detected to eliminate interference and avoid data transmission in the empty window period, thereby improving the efficiency of data transmission.
Smart Images

Figure CN119383747A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic equipment, and specifically relates to a data transmission method, device and electronic equipment. Background Art
[0002] With the development of smart life, electronic devices store various data that are relatively important to users. With the continuous development of technology and the continuous increase in user needs, the data in electronic devices is getting larger and larger. In order to improve transmission efficiency, a larger bandwidth can be used to transmit data, which may interfere with radar wave signals. Therefore, it is necessary to detect radar wave signals.
[0003] However, the current detection of radar wave signals takes a long time, which indirectly leads to low efficiency of data transmission. It can be seen that it is necessary to provide a data transmission method to improve the efficiency of data transmission. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a data transmission method, device and electronic device, which can improve the efficiency of data transmission.
[0005] In a first aspect, an embodiment of the present application provides a data transmission method, which is performed by a first electronic device, and the method includes:
[0006] Sending a first signaling to the second electronic device, where the first signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through the first channel;
[0007] detecting radar wave signals through a radar detection antenna;
[0008] When no radar wave signal is detected within a preset time period, a second signaling is sent to a second electronic device, where the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
[0009] In a second aspect, an embodiment of the present application provides a data transmission device, belonging to a first electronic device, the device comprising:
[0010] A transmission module, used for sending a first signaling to a second electronic device, where the first signaling is used for instructing the second electronic device to establish data transmission with the first electronic device through a first channel;
[0011] A detection module, used for detecting radar wave signals through a radar detection antenna;
[0012] The transport module is also used to:
[0013] When no radar wave signal is detected within a preset time period, a second signaling is sent to a second electronic device, where the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0018] In an embodiment of the present application, the first electronic device and the second electronic device can transmit data through a first channel with a smaller maximum bandwidth, and at the same time, a radar detection antenna can be used to detect radar wave signals. If no radar wave signal is detected within a preset time period, the second channel with a larger maximum bandwidth can be switched to transmit data after eliminating interference with the radar wave signal. In this way, before switching to the second channel with higher transmission efficiency to transmit data, the radar wave signal can be detected to eliminate interference, and at the same time, during the radar wave signal detection process, data is transmitted through the first channel that does not interfere with the radar wave signal, avoiding a window period for data transmission during the radar wave signal detection process, thereby improving the efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flowchart of a data transmission method provided in an embodiment of the present application;
[0020] Figure 2 This is one of the schematic diagrams of transmitting data through a first channel provided in an embodiment of the present application;
[0021] Figure 3 It is one of the schematic diagrams of the radar detection antenna provided in the embodiment of the present application;
[0022] Figure 4This is the second schematic diagram of the radar detection antenna provided in the embodiment of the present application;
[0023] Figure 5 is a schematic diagram of transmitting data through a second channel provided in an embodiment of the present application;
[0024] Figure 6 This is the second schematic diagram of first channel data transmission provided in an embodiment of the present application;
[0025] Figure 7 This is the third schematic diagram of the radar detection antenna provided in the embodiment of the present application;
[0026] Figure 8 This is the fourth schematic diagram of the radar detection antenna provided in the embodiment of the present application;
[0027] Fig. 9 yes Figure 8 The schematic diagram of the radar detection antenna detecting radar wave signals;
[0028] Fig.10 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;
[0029] Fig.11 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0030] Fig.12 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0032] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0033] In the related art, the first electronic device and the second electronic device usually use a wireless LAN (Wireless Fidelity, WIFI) antenna to establish data transmission, and when the WIFI antenna transmits data, in order to avoid interference with radar wave signals, a channel with a smaller maximum bandwidth, such as 80MHz, is usually used to transmit data. In order to improve the efficiency of data transmission, a channel with a larger maximum bandwidth, such as 160MHz, can be opened to transmit data.
[0034] However, the applicant found that the frequency band of the 160MHz channel overlaps with the radar wave signal. In order to avoid interference with the radar wave signal, radar wave detection needs to be performed first. However, radar wave detection requires at least 60 seconds of available detection, that is, it takes at least 60 seconds for the first electronic device and the second electronic device to start transmitting data through the 160MHz channel. This waiting time also reduces the efficiency of data transmission.
[0035] Based on this, in order to solve the above technical problems, the embodiments of the present application provide a data transmission method, device and electronic device.
[0036] The data transmission method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0037] Figure 1 1 is a flow chart of a data transmission method provided in an embodiment of the present application. It is performed by a first electronic device. It can be understood that the first electronic device can be a device for sending data or a device for receiving data, which is not specifically limited here. For example, taking the scenario of data migration between a new and an old mobile phone as an example, the first electronic device can refer to a new mobile phone that receives data.
[0038] Data transfer methods may include:
[0039] Step 101: Send a first signaling to a second electronic device, where the first signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a first channel.
[0040] In step 101, the first electronic device may be a device that receives data or a device that sends data, and the first electronic device may send a first signaling to the second electronic device. After receiving the first signaling, the second electronic device may establish data transmission with the first electronic device through a first channel.
[0041] Among them, the first channel can correspond to a WIFI antenna or other transmission antennas, which is not specifically limited here. In order to facilitate understanding of the technical solution of the embodiment of the present application, the following will take the scenario of WIFI transmission as an example, that is, the first channel corresponds to the WIFI antenna as an example for explanation. It can be understood that the WIFI antenna is generally a dual antenna, that is, the WIFI antenna can include a first WIFI antenna and a second WIFI antenna. The first channel can correspond to at least one of the first WIFI antenna and the second WIFI antenna.
[0042] The frequency band of the first channel may not overlap with the frequency band of the radar wave signal, that is, the first channel will not interfere with the radar wave signal when transmitting data. For example, the first channel may be an 80 MHz channel, that is, the maximum bandwidth of the first channel may be 80 MHz. In order to facilitate understanding of the technical solution of the embodiment of the present application, the following description will be made by taking the first channel as an 80 MHz channel as an example.
[0043] In a scenario where a first electronic device and a second electronic device perform data transmission, the first electronic device may first enable an 80 MHz channel hotspot and send a first signaling to notify the second electronic device to enable the 80 MHz channel hotspot, so that the first electronic device and the second electronic device may establish data transmission through the 80 MHz channel.
[0044] Step 102: Detect radar wave signals through a radar detection antenna.
[0045] In step 102, while the first electronic device and the second electronic device can establish data transmission through the 80 MHz channel, radar wave detection can be performed through the radar detection antenna, that is, detecting whether there is a radar wave signal in the current environment.
[0046] It is understandable that the radar detection antenna can be a WIFI antenna, or other antennas capable of detecting radar wave signals, such as an N79 antenna. The radar detection antenna can be the same antenna as the antenna that transmits data in the 80MHz channel, or it can be an antenna different from the antenna that transmits data in the 80MHz channel. No specific limitation is made here.
[0047] Step 103, when no radar wave signal is detected within a preset time period, a second signaling is sent to a second electronic device, where the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
[0048] In step 103, the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel touches the frequency band of the radar wave signal, which may interfere with the radar wave signal when transmitting data. For example, the second channel may be a 160 MHz channel. In order to facilitate understanding of the technical solution of the embodiment of the present application, the following description will be made by taking the second channel as a 160 MHz channel as an example.
[0049] If no radar wave signal is detected within a preset time period, it can be considered that there is no radar wave signal in the current environment, that is, data transmission through the second channel will not interfere with the radar wave signal. For example, based on the requirement of radar wave detection available in the channel, if no radar wave signal is detected within 60 seconds, the first electronic device can turn on the 160MHz channel hotspot and send a second signaling to the second electronic device to notify the second electronic device to turn on the 160MHz channel hotspot, so that the first electronic device and the second electronic device can establish data transmission through the 160MHz channel.
[0050] In an embodiment of the present application, the first electronic device and the second electronic device can transmit data through a first channel with a smaller maximum bandwidth, and at the same time, a radar detection antenna can be used to detect radar wave signals. If no radar wave signal is detected within a preset time period, the second channel with a larger maximum bandwidth can be switched to transmit data after eliminating interference with the radar wave signal. In this way, before switching to the second channel with higher transmission efficiency to transmit data, the radar wave signal can be detected to eliminate interference, and at the same time, during the radar wave signal detection process, data is transmitted through the first channel that does not interfere with the radar wave signal, avoiding a window period for data transmission during the radar wave signal detection process, thereby improving the efficiency of data transmission.
[0051] In some embodiments, when the first channel corresponds to the first antenna, detecting the radar wave signal through the radar detection antenna includes:
[0052] The radar wave signal is detected through the receiving time slot of the first antenna.
[0053] In this embodiment, if Figure 2 As shown, taking the first antenna as a WIFI antenna as an example, when data transmission begins, the first electronic device 201 and the second electronic device 202 can transmit data through the 80MHz channel of the first WIFI antenna and the second WIFI antenna. Dual-antenna channel data transmission can improve throughput.
[0054] At this time, the first WIFI antenna and / or the second WIFI antenna can still be used to perform radar wave detection. For example, Figure 3 As shown, taking the first electronic device as a device sending data as an example, the radar wave signal can be detected through the receiving time slot 301 of the first WIFI antenna and / or the second WIFI antenna.
[0055] It is understandable that the transmission path and the receiving path of the first WIFI antenna and / or the second WIFI antenna cannot be opened at the same time, and radar wave detection can only be performed when the receiving path is opened. When using the 80MHz channel for data transmission, the first electronic device is sending signals most of the time, but there will also be a short receiving time slot to receive feedback signals and broadcast signals. This receiving time slot can be used to perform radar wave detection at the same time. In the receiving time slot, not only is the receiving path in the open state, but the original behavior of the WIFI chip working process can be reused, and there is no need to add extra time specifically for radar wave detection.
[0056] Among them, the radar wave signal is a signal with a specific pulse width and pulse frequency. The WIFI chip will receive the feedback signal and the broadcast signal in the receiving time slot, and at this time, it will detect the energy of the received WIFI frequency band signal. If the radar wave signal is received, it will not be filtered out. When it enters the WIFI chip, the WIFI chip will detect a signal with a specific pulse width and repetition frequency. If it matches the characteristic information of the built-in radar wave signal, it can be considered that the radar wave signal is detected.
[0057] For example, Figure 4 As shown, taking the first electronic device as a device receiving data as an example, since the first WIFI antenna and / or the second WIFI antenna of the first electronic device are receiving signals for a long time, the receiving time slot is longer and the radar wave detection result is more accurate.
[0058] If the receiving time slots accumulate to a preset time period, such as 60 seconds, and no radar wave signal is detected, it can be considered that there is no radar wave signal in the current environment. At this time, it can be considered that the 160MHz channel can be used to transmit data and will not interfere with the radar wave signal. Therefore, the first electronic device 501 and the second electronic device 502 can establish data transmission through the 160MHz channel of the WIFI antenna. It can be understood that the WIFI antenna can include at least one of the first WIFI antenna and the second WIFI antenna, such as Figure 5 As shown, the first electronic device 501 and the second electronic device 502 can establish data transmission through the 160 MHz channel of the first WIFI antenna and the second WIFI antenna.
[0059] In this way, the receiving time limit of the first antenna can be used to detect the radar wave signal, without adding additional detection time for radar wave detection, thereby improving the efficiency of data transmission.
[0060] In some embodiments, when the first channel corresponds to the first antenna, detecting the radar wave signal by the radar detection antenna may include:
[0061] The radar wave signal is detected by a second antenna; wherein the second antenna is different from the first antenna.
[0062] In this embodiment, the first electronic device and the second electronic device can establish data transmission through the first channel, wherein the first antenna can refer to a WIFI antenna or other transmission antenna. In the case where the first antenna is a WIFI antenna, the first antenna can be one of the dual WIFI antennas, or can include a first WIFI antenna and a second WIFI antenna.
[0063] The radar wave signal may be detected by a second antenna different from the first antenna. For example, when the first antenna is a first WIFI antenna, the radar detection antenna may be a second WIFI antenna or another antenna other than the WIFI antenna. When the first antenna includes a first WIFI antenna and a second WIFI antenna, the radar detection antenna may be another antenna other than the WIFI antenna.
[0064] In this way, before switching to the second channel with higher efficiency to transmit data, the radar wave signal can be detected through an antenna different from the data transmission to eliminate interference, thereby avoiding interference of the radar wave signal caused by data transmission and improving the efficiency of data transmission.
[0065] In some embodiments, the first antenna and the second antenna are both WIFI antennas.
[0066] In this embodiment, if Figure 6 As shown, when data transmission starts, the first electronic device 601 and the second electronic device 602 can establish data transmission through the 80 MHz channel of the first WIFI antenna.
[0067] At this time, the radar wave signal can be detected by the second WIFI antenna. The detection principle is as mentioned above and will not be repeated here.
[0068] If no radar wave signal is detected within the preset time period, it can be considered that there is no radar wave signal in the current environment, and it can be considered that the 160MHz channel can be used to transmit data without interfering with the radar wave signal. At this time, the channel can be switched, and the first electronic device and the second electronic device can establish data transmission through the 160MHz channel of the first WIFI antenna, or after there is no need for radar wave detection, establish data transmission through the 160MHz channel of the first WIFI antenna and the second WIFI antenna.
[0069] In this way, while data is transmitted through the first channel of one of the WIFI antennas, the radar wave signal can be detected through another WIFI antenna to eliminate interference, so that data transmission can be switched to a more efficient second channel based on the detection result, thereby improving the efficiency of data transmission while avoiding interference of data transmission with the radar wave signal.
[0070] In some embodiments, the second channel corresponds to a second antenna.
[0071] In this embodiment, the first channel may correspond to the first antenna, which may be the first WIFI antenna, and the second channel may correspond to the second antenna, which may be the second WIFI antenna. In other words, when switching to the 160MHz channel, the corresponding WIFI antenna may also be switched.
[0072] In some examples, the second channel may correspond to the first antenna while corresponding to the second antenna. For example, if no radar wave signal is detected within a preset time period, it can be considered that there is no radar wave signal in the current environment, and it can be considered that the 160MHz channel can be used to transmit data without interfering with the radar wave signal. At this time, it can be considered that there is no subsequent radar wave detection demand, and the first electronic device and the second electronic device can establish data transmission through the 160MHz channel of the first WIFI antenna and the second WIFI antenna.
[0073] In this way, the second antenna can also be used for data transmission after detecting the radar wave signal, effectively improving the data throughput and further improving the data transmission efficiency.
[0074] In some embodiments, the first antenna is a WIFI antenna, and the second antenna is an N79 antenna; wherein the second channel corresponds to the first antenna.
[0075] In this embodiment, if Figure 2 As shown, when data transmission starts, the first electronic device 201 and the second electronic device 202 can establish data transmission through the 80MHz channel of the first WIFI antenna and the second WIFI antenna. The dual-antenna channel data transmission can improve the throughput. The first electronic device 201 and the second electronic device 202 can also establish data transmission through the 80MHz channel of one of the dual WIFI antennas. No specific limitation is made here.
[0076] like Figure 8 As shown, the N79 antenna channel can be used for radar wave detection.
[0077] It is understandable that the N79 antenna can be used for communication in the N79 frequency band, that is, the 4800MHz to 4900MHz frequency band. The N79 frequency band is close to the frequency band of radar wave signals, and the radar wave signal is just a series of pulse repetition signals, which does not require special modulation and demodulation. Therefore, the N79 antenna in electronic equipment can be used for detection.
[0078] like Fig. 9 As shown, the radar wave signal 900 can be received by the N79 antenna 901, and the wireless radio frequency chip 902 can detect the signal received by the N79 antenna 901. If a signal with a specific pulse width and repetition frequency is detected, such as matching the characteristic information of the built-in radar wave signal, it can be considered that the radar wave signal is detected. Both the wireless radio frequency chip 902 and the WIFI chip 903 have a communication interface connected to the central processor 904. The wireless radio frequency chip 902 can send the radar wave detection result to the central processor 904, so that the central processor 904 can send the radar wave detection result to the WIFI chip 903, so that the WIFI chip 903 can determine whether to switch from the first channel to the second channel to establish data transmission according to the detection result.
[0079] In this way, when the first electronic device and the second electronic device transmit data through the first channel of the WIFI antenna, the radar wave signal can be detected through the N79 antenna to eliminate interference, so that the data can be switched to the more efficient second channel according to the detection result, thereby improving the efficiency of data transmission while avoiding interference of data transmission to the radar wave signal.
[0080] The data transmission method provided in the embodiment of the present application can be executed by a data transmission device. In the embodiment of the present application, a method for a data transmission device to execute data transmission is taken as an example to illustrate the data transmission device provided in the embodiment of the present application.
[0081] like Fig.10 As shown, the data transmission device 1000 may include:
[0082] The transmission module 1001 is used to send a first signaling to a second electronic device, where the first signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a first channel;
[0083] A detection module 1002 is used to detect radar wave signals through a radar detection antenna;
[0084] The transmission module 1001 can also be used for:
[0085] When no radar wave signal is detected within a preset time period, a second signaling is sent to a second electronic device, where the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
[0086] In an embodiment of the present application, the first electronic device and the second electronic device can transmit data through a first channel with a smaller maximum bandwidth, and at the same time, a radar detection antenna can be used to detect radar wave signals. If no radar wave signal is detected within a preset time period, the second channel with a larger maximum bandwidth can be switched to transmit data after eliminating interference with the radar wave signal. In this way, before switching to the second channel with higher transmission efficiency to transmit data, the radar wave signal can be detected to eliminate interference, and at the same time, during the radar wave signal detection process, data is transmitted through the first channel that does not interfere with the radar wave signal, avoiding a window period for data transmission during the radar wave signal detection process, thereby improving the efficiency of data transmission.
[0087] In some embodiments, when the first channel corresponds to the first antenna, the detection module 1002 may also be used to:
[0088] The radar wave signal is detected through the receiving time slot of the first antenna.
[0089] In this way, the receiving time limit of the first antenna can be used to detect the radar wave signal, without adding additional detection time for radar wave detection, thereby improving the efficiency of data transmission.
[0090] In some embodiments, when the first channel corresponds to the first antenna, the detection module 1002 may also be used to:
[0091] The radar wave signal is detected by a second antenna; wherein the second antenna is different from the first antenna.
[0092] In this way, before switching to the second channel with higher efficiency to transmit data, the radar wave signal can be detected through an antenna different from the data transmission to eliminate interference, thereby avoiding interference of the radar wave signal caused by data transmission and improving the efficiency of data transmission.
[0093] In some embodiments, the first antenna and the second antenna are both WIFI antennas.
[0094] In this way, while data is transmitted through the first channel of one of the WIFI antennas, the radar wave signal can be detected through another WIFI antenna to eliminate interference, so that data transmission can be switched to a more efficient second channel based on the detection result, thereby improving the efficiency of data transmission while avoiding interference of data transmission with the radar wave signal.
[0095] In some embodiments, the second channel corresponds to a second antenna.
[0096] In this way, the second antenna can also be used for data transmission after detecting the radar wave signal, effectively improving the data throughput and further improving the data transmission efficiency.
[0097] In some embodiments, the first antenna is a WIFI antenna, and the second antenna is an N79 antenna; wherein the second channel corresponds to the first antenna.
[0098] In this way, when the first electronic device and the second electronic device transmit data through the first channel of the WIFI antenna, the radar wave signal can be detected through the N79 antenna to eliminate interference, so that the data can be switched to the more efficient second channel according to the detection result, thereby improving the efficiency of data transmission while avoiding interference of data transmission to the radar wave signal.
[0099] The data transmission device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0100] The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0101] The data transmission device provided in the embodiment of the present application can achieve Figures 1 to 9 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0102] Alternatively, if Fig.11 As shown, an embodiment of the present application also provides an electronic device 1100, including a processor 1101 and a memory 1102, wherein the memory 1102 stores programs or instructions that can be executed on the processor 1101, and when the program or instructions are executed by the processor 1101, the various steps of the above-mentioned data transmission method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0103] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0104] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0105] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210 and other components.
[0106] Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0107] The processor 1210 may be used for:
[0108] Sending a first signaling to the second electronic device, where the first signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through the first channel;
[0109] detecting radar wave signals through a radar detection antenna;
[0110] When no radar wave signal is detected within a preset time period, a second signaling is sent to a second electronic device, where the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
[0111] In an embodiment of the present application, the first electronic device and the second electronic device can transmit data through a first channel with a smaller maximum bandwidth, and at the same time, a radar detection antenna can be used to detect radar wave signals. If no radar wave signal is detected within a preset time period, the second channel with a larger maximum bandwidth can be switched to transmit data after eliminating interference with the radar wave signal. In this way, before switching to the second channel with higher transmission efficiency to transmit data, the radar wave signal can be detected to eliminate interference, and at the same time, during the radar wave signal detection process, data is transmitted through the first channel that does not interfere with the radar wave signal, avoiding a window period for data transmission during the radar wave signal detection process, thereby improving the efficiency of data transmission.
[0112] In some embodiments, when the first channel corresponds to the first antenna, the processor 1210 may further be configured to:
[0113] The radar wave signal is detected through the receiving time slot of the first antenna.
[0114] In this way, the receiving time limit of the first antenna can be used to detect the radar wave signal, without adding additional detection time for radar wave detection, thereby improving the efficiency of data transmission.
[0115] In some embodiments, when the first channel corresponds to the first antenna, the processor 1210 may further be configured to:
[0116] The radar wave signal is detected by a second antenna; wherein the second antenna is different from the first antenna.
[0117] In this way, before switching to the second channel with higher efficiency to transmit data, the radar wave signal can be detected through an antenna different from the data transmission to eliminate interference, thereby avoiding interference of the radar wave signal caused by data transmission and improving the efficiency of data transmission.
[0118] In some embodiments, the first antenna and the second antenna are both WIFI antennas.
[0119] In this way, while data is transmitted through the first channel of one of the WIFI antennas, the radar wave signal can be detected through another WIFI antenna to eliminate interference, so that data transmission can be switched to a more efficient second channel based on the detection result, thereby improving the efficiency of data transmission while avoiding interference of data transmission with the radar wave signal.
[0120] In some embodiments, the second channel corresponds to a second antenna.
[0121] In this way, the second antenna can also be used for data transmission after detecting the radar wave signal, effectively improving the data throughput and further improving the data transmission efficiency.
[0122] In some embodiments, the first antenna is a WIFI antenna, and the second antenna is an N79 antenna; wherein the second channel corresponds to the first antenna.
[0123] In this way, when the first electronic device and the second electronic device transmit data through the first channel of the WIFI antenna, the radar wave signal can be detected through the N79 antenna to eliminate interference, so that the data can be switched to the more efficient second channel according to the detection result, thereby improving the efficiency of data transmission while avoiding interference of data transmission to the radar wave signal.
[0124] It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0125] The memory 1209 can be used to store software programs and various data. The memory 1209 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1209 may include a volatile memory or a non-volatile memory, or the memory 1209 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1209 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0126] The processor 1210 may include one or more processing units; optionally, the processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1210.
[0127] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data transmission method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0128] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0129] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0130] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0131] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned data transmission method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0132] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0134] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A data transmission method, characterized in that: The method is performed by a first electronic device and includes: Sending a first signaling to a second electronic device, where the first signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a first channel; detecting radar wave signals through a radar detection antenna; When the radar wave signal is not detected within a preset time period, a second signaling is sent to a second electronic device, wherein the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
2. The method according to claim 1, characterized in that: In a case where the first channel corresponds to the first antenna, the detecting the radar wave signal by using the radar detection antenna includes: The radar wave signal is detected through the receiving time slot of the first antenna.
3. The method according to claim 1, characterized in that In a case where the first channel corresponds to the first antenna, the detecting the radar wave signal by using the radar detection antenna includes: The radar wave signal is detected by a second antenna; wherein the second antenna is different from the first antenna.
4. The method according to claim 3, characterized in that The first antenna and the second antenna are both WIFI antennas.
5. The method according to claim 4, characterized in that The second channel corresponds to the second antenna.
6. The method according to claim 3, characterized in that The first antenna is a WIFI antenna, and the second antenna is an N79 antenna; wherein the second channel corresponds to the first antenna.
7. A data transmission device, characterized in that: The device comprises: A transmission module, used for sending a first signaling to a second electronic device, wherein the first signaling is used for instructing the second electronic device to establish data transmission with the first electronic device through a first channel; A detection module, used for detecting radar wave signals through a radar detection antenna; The transmission module is also used for: When the radar wave signal is not detected within a preset time period, a second signaling is sent to a second electronic device, wherein the second signaling is used to instruct the second electronic device to establish data transmission with the first electronic device through a second channel, wherein the maximum bandwidth of the second channel is greater than the maximum bandwidth of the first channel, and the frequency band of the second channel at least partially overlaps with the frequency band of the radar wave signal.
8. The device according to claim 7, characterized in that In a case where the first channel corresponds to the first antenna, the detection module is further configured to: The radar wave signal is detected through the receiving time slot of the first antenna.
9. The device according to claim 7, characterized in that In a case where the first channel corresponds to the first antenna, the detection module is further configured to: The radar wave signal is detected by a second antenna; wherein the second antenna is different from the first antenna.
10. The device according to claim 9, characterized in that The first antenna is a WIFI antenna, and the second antenna is an N79 antenna; wherein the second channel corresponds to the first antenna.
11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.