Data transmission control method and apparatus
By establishing same-frequency or different-frequency channels between electronic devices and adjusting the network topology using cellular networks, the problem of limited data transmission performance between electronic devices is solved, improving data transmission performance and user experience, and reducing stuttering caused by channel switching.
Patent Information
- Application Number
- CN202311315192.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-11
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-10-11
AI Technical Summary
Data transmission performance between electronic devices is limited by device performance, resulting in poor transmission performance and a poor user experience.
By establishing co-frequency or inter-frequency channels between the first and second electronic devices, the networking of the second electronic device can be adjusted using the cellular network capabilities of the first electronic device, unnecessary channels can be disconnected, and data transmission performance and user experience can be improved.
It reduces the impact of channel switching, improves data transmission performance and user experience, and especially reduces lag issues in full-scenario business systems.
Smart Images

Figure CN119854893B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data transmission control method and apparatus. Background Technology
[0002] Electronic devices can transmit data through channels, but due to limitations in the performance of these devices, data transmission performance may be poor. Summary of the Invention
[0003] This application provides a data transmission control method and apparatus to improve data transmission performance. Some embodiments of this application provide the following technical solutions:
[0004] In a first aspect, this application provides a data transmission control method, characterized in that it is applied to a first electronic device, wherein a first channel is established between the first electronic device and a second electronic device, the first electronic device having a first capability, and the method includes: transmitting first type data through the first channel within a preset first time slice; establishing a second channel between the second electronic device and a first wireless access point; the second electronic device transmitting second type data through the second channel within a preset second time slice; the second channel and the first channel are two physical channels with the same channel type but different frequencies; sending a control command to the second electronic device, the control command (corresponding to the second control command below) instructing the second electronic device to disconnect the second channel, and the second electronic device using the first capability of the first electronic device to transmit second type data, wherein the channel type corresponding to the first capability is different from the channel type of the second channel, so as to use the first capability of the first electronic device to change (or adjust) the networking of the second electronic device, reduce the impact of second type data and channel switching on the transmission of first type data, and improve data transmission performance and user experience.
[0005] For example, the scenario in which the second electronic device is located could be: the second electronic device supports DBAC, and the second electronic device establishes a first channel with the first electronic device and a second channel with the first wireless access point. These two channels are either co-frequency or different-frequency channels. In this scenario, the second electronic device can utilize the first capability of the first electronic device to change the networking of the second electronic device in order to improve the transmission performance of the first type of data and improve the user experience.
[0006] In some examples, the second channel and the first channel can be WiFi channels. For instance, the second channel and the first channel can be two channels with different frequencies at 2.4 GHz, or two channels with different frequencies at 5 GHz, or one of the second channel and the other can be a 2.4 GHz channel and the other a 5 GHz channel. The wireless communication module in the second electronic device can use the first channel and the second channel to transmit data, and can only transmit data in the time slices corresponding to the first channel and the second channel, respectively. When the second electronic device disconnects the second channel and uses the first capability of the first electronic device to transmit the second type of data, the time occupied by the first type of data in the wireless communication module increases, thereby improving the WiFi performance of the second electronic device when processing the first type of data, improving the transmission performance of the first type of data and the user experience.
[0007] In some examples, the first type of data can be full-scenario business data, which can be the data exchanged between the second electronic device and the first electronic device when performing full-scenario business. Full-scenario business can include multi-screen collaboration business, super call business, and super keyboard and mouse business, etc.; the second type of data can be wireless Internet access data, which can be the data exchanged between the second electronic device and the first wireless access point.
[0008] In one possible implementation, the first capability is cellular internet access, enabling a second electronic device to transmit a second type of data via the cellular network of the first electronic device. Specifically, the second type of data can be transmitted from the second electronic device to the first electronic device via a first channel, and then transmitted via the first electronic device's cellular network. When receiving feedback data for the second type of data, the first electronic device's cellular network receives the feedback data and transmits it to the second electronic device via the first channel. During data transmission, the second electronic device avoids channel switching, allowing it to utilize more time slices to transmit the first type of data, thus improving data transmission performance and user experience.
[0009] In one possible implementation, the method further includes: controlling a first electronic device to connect to a cellular network and activate its hotspot; encapsulating the hotspot information of the first electronic device in a control command; using the hotspot information to establish a third channel between a second electronic device and the corresponding hotspot; and transmitting second-type data through the third channel. Specifically, the second electronic device transmits second-type data to the first electronic device via the third channel, and then transmits the second-type data through the first electronic device's cellular network. Since the third channel and the first channel are essentially the same physical channel, the second electronic device does not need to switch channels when transmitting first-type and second-type data to the first electronic device. This allows the second electronic device to utilize more time slices to transmit first-type data, improving data transmission performance and user experience.
[0010] In one possible implementation, a fourth channel is established between the first electronic device and the second wireless access point. The first electronic device transmits second-type data through the fourth channel within a preset third time slice. After controlling the first electronic device to connect to the cellular network, the method further includes: disconnecting the fourth channel, and the first electronic device transmitting its second-type data through a cellular channel connected to the cellular network. This allows the cellular channel to transmit both the second-type data of the first and second electronic devices without requiring adjustments to the functionality of the mobile communication module of the first electronic device. Alternatively, the fourth channel is maintained, and the first electronic device transmits its second-type data through the fourth channel. This allows the first electronic device to transmit its second-type data through the fourth channel and the second electronic device through the cellular channel, improving the data transmission performance of the second-type data. The second wireless access point may be the same as or different from the first wireless access point.
[0011] In one possible implementation, controlling the first electronic device to connect to the cellular network and activate its hotspot includes: when the cellular data of the first electronic device meets the hotspot activation conditions, controlling the first electronic device to connect to the cellular network and activate its hotspot. The hotspot activation conditions may be conditions for the cellular network of the first electronic device to meet the requirements for second-type data transmission, so as to effectively transmit the second-type data of the second electronic device through the cellular network of the first electronic device.
[0012] In one possible implementation, controlling the first electronic device to connect to the cellular network and activate its hotspot when the cellular data of the first electronic device meets the hotspot activation conditions includes: controlling the first electronic device to connect to the cellular network and activate its hotspot when the signal quality of the cellular network of the first electronic device meets the hotspot activation conditions; or, controlling the first electronic device to connect to the cellular network and activate its hotspot when the available internet traffic of the first electronic device is greater than an available traffic threshold; or, controlling the first electronic device to connect to the cellular network and activate its hotspot when the hotspot switch of the first electronic device is in the on state. In some examples, the signal quality of the cellular network can be represented by at least one parameter among signal strength, signal-to-interference-plus-noise ratio, and reference signal reception quality. Thresholds for these parameters are specified in the hotspot activation conditions so that the first electronic device connects to the cellular network and activates its hotspot when these parameters meet the threshold requirements in the hotspot activation conditions. When the signal quality meets the hotspot activation conditions, the first electronic device connects to a better cellular network, ensuring the transmission of the second type of data of the second electronic device, thereby improving data transmission performance.
[0013] In some examples, available internet traffic could be the free internet access traffic of a first electronic device via a cellular network, used to transmit the second type of data, thus reducing costs. In some examples, the hotspot switch status could be manually controlled by the user.
[0014] In one possible implementation, the method further includes: receiving communication information of the second electronic device sent by the second electronic device, the communication information of the second electronic device including whether the second electronic device possesses a second capability and the channel information of the second electronic device, the channel information of the second electronic device indicating whether the second electronic device establishes two channels and the relationship between the two channels when establishing the two channels, the second capability indicating that the second electronic device uses two channels to transmit data in a time slice; sending control commands to the second electronic device includes: if the communication information of the second electronic device indicates that the second electronic device does not possess a second capability and the two channels established by the second electronic device are different, then sending control commands to the second electronic device, the two channels including a first channel and a second channel, so that the first electronic device can control the networking of the second electronic device through the communication information of the second electronic device. In some examples, the second capability may be a DBDC capability.
[0015] In one possible implementation, the method further includes: if the communication status of the second electronic device indicates that the second electronic device possesses a second capability, or if the second electronic device only establishes a first channel, or if the first channel and the second channel established by the second electronic device are the same, then the networking configuration of the second electronic device remains unchanged. In this case, the first electronic device may not send control commands to the second electronic device to reduce interaction between the two electronic devices. The first channel and the second channel being the same can mean that the first channel and the second channel have the same channel type and frequency, i.e., the first channel and the second channel established by the second electronic device are on the same frequency and on the same channel.
[0016] In one possible implementation, the method further includes: receiving a first message sent by a second electronic device, the first message instructing the second electronic device to utilize a first capability of the first electronic device to trigger the sending of a control command to the second electronic device. In this example, the second electronic device can decide whether to utilize the first capability of the first electronic device based on its own communication situation. When the second electronic device needs to utilize the first capability of the first electronic device, the second electronic device sends the first message to the first electronic device; if the second electronic device does not need to utilize the first capability of the first electronic device, the second electronic device may not send the first message to the first electronic device, thereby reducing the interaction between the two electronic devices.
[0017] In one possible implementation, a fifth channel is established between the first electronic device and the second wireless access point. The first electronic device transmits second-type data through the fifth channel within a preset fourth time slice. The fifth channel and the first channel are two physical channels with the same channel type but different frequencies. The method further includes: utilizing a first capability to transmit the second-type data of the first electronic device, thereby using the first capability of the first electronic device to change (or adjust) the network configuration of the first electronic device, reducing the impact of the second-type data transmission and channel switching on the transmission of first-type data, and improving data transmission performance and user experience. The second wireless access point may be the same as or different from the first wireless access point.
[0018] For example, the scenario in which the first electronic device is located could be: the first electronic device supports DBAC, and a first channel is established between the first electronic device and the second electronic device, and a fifth channel is established between the first electronic device and the second wireless access point. These two channels are either co-frequency or different-frequency channels. In this scenario, the first electronic device can use its own first capabilities to change the networking of the first electronic device in order to improve the transmission performance of the first type of data and improve the user experience.
[0019] In some examples, the fifth channel and the first channel can be WiFi channels. For instance, the fifth channel and the first channel can be two channels with different frequencies at 2.4 GHz, or two channels with different frequencies at 5 GHz, or one of the fifth channel and the other can be a 2.4 GHz channel and the other a 5 GHz channel. The wireless communication module in the first electronic device can use the first channel and the fifth channel to transmit data, and can only transmit data in the time slices corresponding to the first channel and the fifth channel, respectively. After the first electronic device disconnects the fifth channel and uses the first capability to transmit the second type of data, the time occupied by the first type of data in the wireless communication module increases, thereby improving the WiFi performance of the first electronic device when processing the first type of data, improving the transmission performance of the first type of data and the user experience.
[0020] Secondly, this application provides a data transmission control method applied to a second electronic device. A first channel is established between the second electronic device and a first electronic device. The first electronic device possesses a first capability. The method includes: transmitting first-type data through the first channel within a preset first time slice; establishing a second channel between the second electronic device and a first wireless access point; transmitting second-type data through the second channel within a preset second time slice; the second channel and the first channel are two physical channels with the same channel type but different frequencies; receiving a control command sent by the first electronic device (corresponding to the second control command described below); responding to the control command, disconnecting the second channel, and transmitting second-type data using the first capability of the first electronic device. The channel type corresponding to the first capability is different from the channel type of the second channel, so as to utilize the first capability of the first electronic device to change (or adjust) the networking of the second electronic device, reduce the impact of second-type data and channel switching on the transmission of first-type data, and improve data transmission performance and user experience.
[0021] In one possible implementation, the control command carries hotspot information of the first electronic device. Transmitting the second type of data using the first electronic device's first capability includes: establishing a third channel between the second electronic device and the hotspot corresponding to the hotspot information; the second electronic device then transmits the second type of data through the third channel. The third channel and the first channel are essentially the same physical channel. This eliminates the need for the second electronic device to switch channels when transmitting both the first and second type of data to the first electronic device, allowing the second electronic device to utilize more time slices for transmitting the first type of data, thus improving data transmission performance and user experience.
[0022] In one possible implementation, the method further includes: sending the communication status of the second electronic device to the first electronic device, the communication status of the second electronic device including whether the second electronic device has a second capability and the channel status of the second electronic device, the channel status of the second electronic device being used to indicate whether the second electronic device establishes two channels and the relationship between the two channels when establishing the two channels, the second capability being used to indicate that the second electronic device uses the two channels to transmit data in a time slice; if the communication status of the second electronic device indicates that the second electronic device does not have a second capability and the two channels established by the second electronic device are different, the first electronic device sends a control command, the two channels including a first channel and a second channel.
[0023] In one possible implementation, the method further includes: if the communication status of the second electronic device indicates that the second electronic device possesses a second capability, or if the second electronic device only establishes a first channel, or if the first channel and the second channel established by the second electronic device are the same, then the networking configuration of the second electronic device remains unchanged. In this case, the first electronic device may not send control commands to the second electronic device to reduce interaction between the two electronic devices. The first channel and the second channel being the same can mean that the first channel and the second channel have the same channel type and frequency, i.e., the first channel and the second channel established by the second electronic device are on the same frequency and on the same channel.
[0024] In one possible implementation, the method further includes sending a first message to a first electronic device, the first message instructing a second electronic device to utilize a first capability of the first electronic device to trigger the first electronic device to send a control command. In this example, the second electronic device can decide whether to utilize the first capability of the first electronic device based on its own communication situation. When the second electronic device needs to utilize the first capability of the first electronic device, the second electronic device sends a first message to the first electronic device; if the second electronic device does not need to utilize the first capability of the first electronic device, the second electronic device may not send a first message to the first electronic device, thereby reducing the interaction between the two electronic devices.
[0025] Thirdly, this application provides an electronic device, which includes one or more processors and a memory; the memory is used to store computer program code, which includes computer instructions, and when one or more processors execute the computer instructions, the electronic device performs the above-described data transmission control method.
[0026] Fourthly, this application provides a computer-readable storage medium for storing a computer program, which, when executed, implements the aforementioned data transmission control method. Attached Figure Description
[0027] Figure 1An example diagram illustrating a data transmission scenario provided in an embodiment of this application;
[0028] Figure 2 Another example diagram illustrating data transmission as provided in the embodiments of this application;
[0029] Figure 3 A schematic diagram of time slice division provided for embodiments of this application;
[0030] Figure 4 A schematic diagram illustrating network adjustment provided in an embodiment of this application;
[0031] Figure 5 Another schematic diagram illustrating network adjustment provided in this application embodiment;
[0032] Figure 6 Another schematic diagram illustrating network adjustment provided in an embodiment of this application;
[0033] Figure 7 A hardware structure diagram of the electronic device provided in the embodiments of this application;
[0034] Figure 8 A signaling diagram for the data transmission control method provided in the embodiments of this application;
[0035] Figure 9 Another signaling diagram for the data transmission control method provided in the embodiments of this application. Detailed Implementation
[0036] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. The terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions "a," "an," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the embodiments of this application, "one or more" refers to one, two, or more; "and / or" describes the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0037] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0038] In this application, "multiple" refers to two or more embodiments. It should be noted that in the description of the embodiments of this application, terms such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance, nor as indicating or implying order.
[0039] To more clearly illustrate the technical solution of this application, the relevant concepts involved in this application are explained below.
[0040] Frequency band: In the field of communications, a frequency band can be the frequency or frequency range of electromagnetic waves. The frequency bands of wireless fidelity (WiFi) include 2.4 GHz and 5 GHz, etc.
[0041] Channel: A channel is a pathway for transmitting data, consisting of the transmission medium through which data travels from the data sender to the data receiver. Each frequency band of WiFi is divided into multiple channels. For example, according to the IEEE 802.11 protocol, the 2.4 GHz band is divided into 13 overlapping channels; the 5 GHz band is divided into 201 channels. Electronic devices transmit data through at least one channel in the 2.4 GHz and / or 5 GHz bands.
[0042] Networking: Two electronic devices have completed authentication and established a channel between them, enabling communication. For example, two electronic devices can establish a peer-to-peer (P2P) networking channel. These two devices and the P2P channel constitute a full-scenario service system. Within this system, the two devices can perform various services. During this process, they transmit data (referred to as full-scenario service data) through the P2P channel. The P2P channel in this full-scenario service system is a WiFi channel.
[0043] Full-scenario services include multi-screen collaboration, super calling, and super keyboard and mouse services. Let's take two electronic devices, designated as the first and second electronic devices, as an example: Multi-screen collaboration: The display screen of the first electronic device is transferred to the second electronic device for display. The second electronic device can then operate the first electronic device, and the display screen of the first electronic device after the operation is completed is then transferred back to the second electronic device for display. Super calling: The first electronic device has a telephone application. The second electronic device can operate the telephone application on the first electronic device to answer or make calls, with sound emitted from the second electronic device. Super keyboard and mouse: The second electronic device is connected to an external mouse. The virtual mouse cursor of this external mouse, displayed on the second electronic device, can be dragged onto the first electronic device, allowing operation of the first electronic device through the external mouse connected to the second electronic device.
[0044] In a full-scenario business system, electronic devices play the roles of Group Owner (GO) and Group Client (GC). Simply put, the GO is the master device, and the GC is the slave device. GO and GC together form a group. Only one GO can exist within a group, and a GO can establish P2P channels with multiple GCs to form a group. Within this group, GC and GO can also establish WiFi channels with wireless access points (APs) that are not part of the group.
[0045] WiFi STA mode: This mode allows electronic devices to connect to the access point (AP) and transmit data via the WiFi channel. In WiFi STA mode, the data transmitted via the WiFi channel is simply referred to as wireless internet data.
[0046] WiFi P2P mode: This can be a mode in which two electronic devices transmit data through a P2P channel.
[0047] Same frequency, same channel: This refers to electronic devices operating in WiFi STA mode and WiFi P2P mode on the same channel within the same frequency band. Specifically, an electronic device establishes a WiFi channel with an access point (AP) and a P2P channel with another electronic device. These two channels are identical channels within the same frequency band, allowing the electronic device to operate in either WiFi STA or WiFi P2P mode on that channel in a time-sharing manner. For example, 100ms / 100ms time-sharing means that the electronic device operates in WiFi STA mode for 100ms on one channel, then in WiFi P2P mode for 100ms on the same channel.
[0048] Same frequency, different channels: This refers to an electronic device operating in WiFi STA mode and WiFi P2P mode on different channels within the same frequency band. In other words, the two channels established by the electronic device are different channels within the same frequency band, such as two channels in 2.4GHz. The electronic device can switch between the working channel in WiFi STA mode (referred to as STA channel or WiFi channel, hereinafter referred to as WiFi channel) and the working channel in WiFi P2P mode (referred to as P2P channel) in a time-division multiplexing manner. For example, a 100ms / 100ms time-division multiplexing with a switching time of 20ms means that the electronic device works on the WiFi channel for 100ms, then switches to the P2P channel, works on the P2P channel for 100ms, and then switches back to the WiFi channel, with each channel switch taking 20ms. In both same frequency, different channels and same frequency, same channel scenarios, the time the electronic device spends operating in WiFi STA mode and WiFi P2P mode can be the same or different.
[0049] Inter-frequency and inter-channel: This can refer to electronic devices operating in WiFi STA mode and WiFi P2P mode on different frequency bands and channels. That is, the two channels established by the electronic device are different channels on different frequency bands. For example, the electronic device establishes a 2.4GHz channel and a 5GHz channel. The mode corresponding to the 2.4GHz channel is WiFi P2P mode, and the mode corresponding to the 5GHz channel is WiFi STA mode.
[0050] Dual Band Dual Concurrent (DBDC): The wireless communication module of an electronic device supporting DBDC includes two baseband processing modules and two radio frequency (RF) front-ends. The two baseband processing modules support operation on the 2.4 GHz and 5 GHz frequency bands respectively, and the two RF front-ends select to transmit data on the 2.4 GHz and 5 GHz bands respectively. This enables simultaneous time-division dual-band data transmission, allowing the electronic device to transmit data using both the 2.4 GHz and 5 GHz channels at the same time. The channels established by DBDC-supporting electronic devices can be different frequencies and different channels.
[0051] Dual Band Adaptive Concurrent (DBAC): The wireless communication module of an electronic device supporting DBAC includes two baseband processing modules and one RF front-end. The two baseband processing modules support operation on the 2.4 GHz and 5 GHz frequency bands respectively. The RF front-end can choose one frequency band to transmit data; for example, it can choose to transmit data through a channel in the 2.4 GHz band or through a channel in the 5 GHz band. Since an electronic device supporting DBAC has only one RF front-end, it can only transmit one type of data on one frequency band at a time. Therefore, time-division multiplexing is used to transmit different types of data on different frequency bands. The two channels established by an electronic device supporting DBAC can be either co-frequency / different channels or different frequency / different channels.
[0052] In a full-scenario service system, electronic devices within a group can support DBDC or DBAC. The two channels established by these electronic devices can be any of the following: same-frequency different-channel, different-frequency different-channel, or same-frequency same-channel. In some examples, electronic devices in a group can establish only one P2P channel to transmit full-scenario service data. Taking a full-scenario service system including a first electronic device and a second electronic device as an example, the user experience under different scenario examples is illustrated below:
[0053] Example of the first scenario: Both the first and second electronic devices establish only one P2P channel. Because both devices only establish one P2P channel, the transmission of service data throughout the entire scenario will not be affected by wireless internet data, resulting in a good user experience.
[0054] Example of the second scenario: Both the first and second electronic devices support DBDC, and the two established channels are different frequencies and different channels, such as... Figure 1 As shown. Because both the first and second electronic devices support DBDC, when transmitting wireless internet data via the WiFi channel, they can also transmit full-scenario service data via the P2P channel. The transmission of full-scenario service data is unaffected by the wireless internet data, resulting in a good user experience. Since the transmission of full-scenario service data is unaffected by the wireless internet data in both the first and second scenario examples, the user experience in both scenarios is the same or similar.
[0055] The third scenario example: The two channels established by the first and second electronic devices are on the same frequency and channel. Either electronic device can transmit full-scenario service data or wireless internet data on one channel, allowing the two electronic devices to time-division multiplex the same channel. Because the two channels established by the first and second electronic devices are on the same frequency and channel, the two electronic devices eliminate the channel switching step when using the channel, resulting in a better user experience. However, compared to the second scenario example, the user experience in the third scenario example is worse.
[0056] Example of the fourth scenario: One of the first and second electronic devices supports DBAC, and the two established channels are either co-channels or inter-channels. For example... Figure 2 As shown, the first electronic device (such as a mobile phone) supports DBAC and establishes two channels that are either same frequency but different channels or different frequency but different channels. The second electronic device (such as a tablet computer (PAD)) establishes two channels that are same frequency and same channel.
[0057] Because the first electronic device supports DBAC, it can only select one frequency band for data transmission within the same time period. Therefore, regardless of whether the two channels established by the first electronic device are on the same frequency but different channels or different frequencies but different channels, the first electronic device can only use one channel within a time period.
[0058] In some examples, such as scenarios where the first electronic device supports DBAC, data transmission is controlled by dividing the data into time slices. Figure 3 An example of a time slice is shown, comprising a P2P time slice, a channel switching time slice, and a STA time slice. A first electronic device transmits full-scenario service data using the P2P channel during the P2P time slice. During the channel switching time slice, the first electronic device switches between the P2P channel and the WiFi channel. During the STA time slice, the first electronic device transmits wireless internet data using the WiFi channel. The duration of the P2P time slice and the duration of the STA time slice can be the same or different. Because the first electronic device can only transmit full-scenario service data during the P2P time slice, both the first and second electronic devices can only perform full-scenario services during the P2P time slice, resulting in a poor user experience. Furthermore, the first electronic device needs to switch channels from the WiFi channel to the P2P channel. Compared to the third scenario example, the user experience in the fourth scenario example is worse.
[0059] From the first to the fourth scenario examples, it can be seen that in a full-scenario service system, user experience is related to whether the electronic device is connected to an AP, whether it supports DBDC or DBAC, and the relationship between the two established channels. The user experience, ranked from best to worst, is: no AP connection, different frequency and channel with DBDC support > same frequency and channel > different frequency and channel with DBAC support, same frequency and channel with DBAC support. In the scenarios of different frequency and channel with DBAC support and same frequency and channel with DBAC support, the electronic device can only transmit full-scenario service data during P2P time slices. Furthermore, the electronic device needs to switch channels from the WiFi channel to the P2P channel, which undoubtedly reduces the WiFi performance of the electronic device when processing full-scenario services, leading to stuttering issues. For example, in multi-screen collaboration services, there may be screen stuttering and audio-visual asynchrony; in super call services, there may be audio stuttering.
[0060] Some embodiments of this application provide a data transmission control method applied to a first electronic device. A first channel (such as a P2P channel) is established between the first and second electronic devices, and the first and second electronic devices transmit first type data (such as full-scenario service data) through the first channel. If the communication status of the second electronic device indicates that it is in any of the following scenarios: no AP connection, different frequency and channel but supporting DBDC, or same frequency and channel, the second electronic device does not perform network adjustments, so that the data transmission of the second electronic device remains unchanged. For example, in the scenario where the second electronic device is in the scenario of different frequency and channel but supporting DBDC, the second electronic device can maintain the transmission of second type data through the second channel. The second type of data is different from the first type of data. For example, the second type of data can be wireless Internet access data, which is transmitted through the WiFi channel established between the second electronic device and the AP.
[0061] If the communication status of the second electronic device indicates that it is in either a different frequency and channel scenario supporting DBAC, or a same frequency and different channel scenario supporting DBAC, then the second electronic device adjusts its networking method. This adjustment includes disconnecting the second channel established with the AP and establishing a third channel to switch the transmission of the second type of data from the second channel to the third channel, which is different from the second channel. For example, the third channel could be the cellular channel of the second electronic device, or the first electronic device could be used as a hotspot for the second electronic device, which connects to this hotspot to establish the third channel.
[0062] The data transmission control method provided in this application embodiment will be described with reference to scenario examples. Continuing with the above scenario examples, the fifth scenario example is as follows: both the first electronic device and the second electronic device are in any of the three scenarios: no connection to the AP, different frequency and channel but supporting DBDC, and same frequency and same channel. Neither the first electronic device nor the second electronic device has made any network adjustments.
[0063] Example of the sixth scenario: One of the first electronic devices and the second electronic device is in any of the three scenarios: no AP connection, different frequency and channel but supporting DBDC, and same frequency and channel. The other electronic device is in any of the two scenarios: different frequency and channel but supporting DBAC, and same frequency and channel but supporting DBAC.
[0064] like Figure 4 As shown, in Figure 4 In scenario (1), if the mobile phone is in either the inter-frequency, inter-channel scenario and supports DBAC, or the same-frequency, inter-channel scenario and supports DBAC, and the PAD is in the DBDC-supporting scenario, then the mobile phone can transmit full-scenario service data to the PAD via the P2P channel. The mobile phone and PAD can each transmit wireless internet data via their respective WiFi channels to complete wireless internet access services through their respective WiFi channels. Furthermore, in Figure 4 In (1), a cellular channel is established between the mobile phone and the cellular network so that the mobile phone can connect to the cellular network and can also complete call services through the cellular channel.
[0065] The specific environment in which a mobile phone operates limits its WiFi performance when handling various tasks, leading to lag and stuttering issues across all scenarios. Because mobile phones can establish cellular channels with cellular networks, their networking methods can vary. Figure 4 The networking method shown in (1) is adjusted to Figure 4 In the networking mode shown in (2), the mobile phone disconnects the WiFi channel established between the mobile phone and the AP, switches the wireless Internet access service to the cellular network connected to the mobile phone, and transmits wireless Internet access data through the cellular channel established between the mobile phone and the cellular network.
[0066] After a mobile phone switches its wireless data transmission to the cellular network, the wireless data usage on the phone's WiFi performance is reduced. Figure 4 In the networking mode shown in (2), the mobile phone is equivalent to switching from a scenario that supports DBAC to one that does not connect to AP. This allows the mobile phone's wireless communication module to increase the transmission of data for all scenarios, increasing the time that all scenarios occupy the wireless communication module, reducing the occurrence of lag and other problems in all scenarios, thereby improving data transmission performance and enhancing user experience.
[0067] Figure 5This is another illustration of the sixth scene example, relative to... Figure 4 The difference lies in the scenario where the PAD operates in either a different frequency / channel configuration and supports DBAC, or a same frequency / different channel configuration and supports DBAC, while the mobile phone operates in a scenario that supports DBDC. For details on the changes in networking methods for mobile phones and PADs, please refer to [link to relevant documentation]. Figure 5 (1) and Figure 5 As shown in (2): The mobile phone disconnects the WiFi channel established with the AP, switches the mobile phone's wireless internet access service to the cellular network to which the mobile phone is connected, and transmits the mobile phone's wireless internet access data through the cellular channel established between the mobile phone and the cellular network. Because the PAD does not have cellular internet access capability, the mobile phone can turn on a hotspot (SoftAP). After the PAD disconnects the WiFi channel established with the AP, it connects to the mobile phone's hotspot, switching the PAD's wireless internet access service to the mobile phone's hotspot. Figure 5 As shown in (2), the PAD transmits full-scenario service data through the P2P channel and transmits wireless Internet access data through the channel established with the mobile phone hotspot. The P2P channel and the channel established by the PAD and the mobile phone hotspot are a physical channel, which is equivalent to the PAD switching to the same frequency and channel scenario. In this way, the PAD saves the channel switching link, reduces the problem of lag in full-scenario services, thereby improving data transmission performance and improving user experience.
[0068] Example of the seventh scenario: Both the PAD and the mobile phone are in either the same frequency and channel and support DBAC, or they are in the same frequency and channel and support DBAC. Figure 6 As shown, the changes in the networking method between the mobile phone and the PAD in this scenario example can be found in [link to example]. Figure 6 (1) and Figure 6 As shown in (2) above, the network configuration of the two changes compared to the above. Figure 5 The same applies, so it will not be elaborated here.
[0069] One point to note here is that in the sixth and seventh scenario examples, if the phone does not have its hotspot enabled, the PAD does not need to make network adjustments. Even if the phone does not have its hotspot enabled, it can still connect to the cellular network, or it may not be connected to the cellular network at all. In other words, whether the phone is connected to the cellular network or not is unrelated to whether its hotspot is enabled.
[0070] In some embodiments, either the first electronic device or the second electronic device can be a mobile phone, tablet computer (PAD), desktop computer, laptop computer, notebook computer, ultra-mobile personal computer (UMPC), handheld computer, netbook, personal digital assistant (PDA), wearable electronic device, smartwatch, etc. In this embodiment, the structure of the electronic device can be as follows: Figure 7 As shown, the electronic device may include a processor, external memory interface, internal memory, universal serial bus (USB) interface, charging management module, power management module, battery, antenna 1, antenna 2, mobile communication module, wireless communication module, audio module, speaker, receiver, microphone, headphone jack, sensor module, buttons, motor, indicator, camera, display screen, and subscriber identity module (SIM) card interface, etc. The sensor module may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0071] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0072] A processor may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. For example, in an embodiment of this application, the processor may determine the scenario in which the electronic device is located and decide whether to perform network adjustments based on the scenario. The purpose of network adjustments is to control data transmission.
[0073] An external storage interface (ESI) can be used to connect external memory cards, such as Micro SD cards, to expand the storage capacity of electronic devices. The external memory card communicates with the processor through the ESI to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0074] Internal memory can be used to store executable program code, which includes instructions. The processor executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory. For example, in this embodiment, the processor can perform network adjustments by executing instructions stored in the internal memory. The internal memory may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, the internal memory may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The processor executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory and / or instructions stored in memory disposed within the processor.
[0075] The wireless communication function of electronic devices can be implemented through antenna 1, antenna 2, mobile communication module, wireless communication module, modem processor, and baseband processor.
[0076] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0077] Mobile communication modules can provide wireless communication solutions for electronic devices, including 2G / 3G / 4G / 5G. Wireless communication modules can provide wireless communication solutions for electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies.
[0078] In some embodiments, antenna 1 of the electronic device is coupled to a mobile communication module, and antenna 2 is coupled to a wireless communication module, enabling the electronic device to communicate with a network and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).
[0079] Electronic devices can achieve shooting functions through ISPs, cameras, video codecs, GPUs, displays, and application processors. Electronic devices can achieve audio functions through audio modules, speakers, receivers, microphones, headphone jacks, and application processors.
[0080] The data transmission control method provided in the embodiments of this application will be described below with reference to the accompanying drawings. In the data transmission control method, the first electronic device has cellular internet access capability, while the second electronic device does not have cellular internet access capability. Figure 8 A signaling diagram illustrating a data transmission control method is shown, which may include the following steps:
[0081] S101, The second electronic device sends its communication status to the first electronic device. The communication status of the second electronic device includes its WiFi capability and channel status. The WiFi capability indicates whether the second electronic device supports DBDC, and the channel status indicates whether the second electronic device has established two channels and the relationship between the two channels when they are established. For example, the channel status of the second electronic device can be one of the following: same frequency and same channel, different frequency and different channel, same frequency and different channel, or no AP connection.
[0082] After the first electronic device and the second electronic device establish a P2P channel, during the capability negotiation process between the first electronic device and the second electronic device through identity identifiers, the second electronic device sends its communication status to the first electronic device in order to aggregate the communication status of the first electronic device and the second electronic device into the first electronic device.
[0083] S102. The first electronic device determines that the second electronic device is in a first scenario based on the communication status of the second electronic device. The first scenario can be any one of the following three scenarios: no AP connection, different frequency and channel but supporting DBDC, and same frequency and channel.
[0084] S103, The first electronic device sends a first control command to the second electronic device.
[0085] S104. The second electronic device responds to the first control command without performing network adjustments. In some examples, the first electronic device terminates the process after determining that the second electronic device is in any of the following scenarios: no AP connection, different frequency and channel but supporting DBDC, or same frequency and channel. Because the second electronic device has not received the network control command sent by the first electronic device, the second electronic device may not perform network adjustments.
[0086] S105. The first electronic device determines that the second electronic device is in a second scenario based on the communication status of the second electronic device. The second scenario can be either a scenario with different frequency and channel and supporting DBAC or a scenario with the same frequency and different channel and supporting DBAC.
[0087] S106. The first electronic device determines that the second electronic device needs to utilize the cellular internet access capability of the first electronic device. In this embodiment, the second electronic device may inform the first electronic device that it does not have cellular internet access capability during the process of sending communication information about the second electronic device. Alternatively, the first electronic device, upon determining that the second electronic device is in the second scenario, may inquire whether the second electronic device needs to utilize the cellular internet access capability of the first electronic device. If the second electronic device responds that it needs to utilize the cellular internet access capability of the first electronic device, then steps S107 to S111 are executed. Alternatively, the first electronic device, upon determining that the second electronic device is in the second scenario, may execute steps S107 to S111 regardless of whether the second electronic device has cellular internet access capability.
[0088] S107. The first electronic device determines whether it can switch to the cellular network and turn on the hotspot. If the first electronic device can switch to the cellular network and turn on the hotspot, proceed to step S108. If the first electronic device cannot switch to the cellular network or switches to the cellular network but does not turn on the hotspot, proceed to step S110.
[0089] In this context, the first electronic device can switch to a cellular network if it is already connected to one, and the WiFi channel established between the first electronic device and the access point (AP) can be either disconnected or maintained. Before determining whether to switch to a cellular network and activate the hotspot, the first electronic device may or may not be connected to a cellular network.
[0090] In some examples, when the signal quality of the cellular network meets preset handover conditions (also known as hotspot activation conditions), the first electronic device can switch to the cellular network and activate the hotspot. The signal quality can be represented by at least one parameter among signal strength, signal to interference plus noise ratio (SINR), and reference signal receiving quality (RSRQ). Thresholds for these parameters are specified in the preset handover conditions so that the first electronic device switches to the cellular network and activates the hotspot when these parameters meet the threshold requirements in the preset handover conditions.
[0091] In some examples, when the available internet traffic exceeds a certain threshold, the first electronic device can switch to cellular network and activate its hotspot. The available internet traffic can be the free internet access traffic obtained by the first electronic device via cellular network, and the size of the available traffic threshold is not limited in this embodiment.
[0092] In some examples, the first electronic device can be configured with a hotspot switch. When the hotspot switch is on, the first electronic device can switch to cellular network and activate the hotspot; when the hotspot switch is off, the first electronic device cannot activate the hotspot. The state of the hotspot switch can be manually controlled by the user.
[0093] S108, The first electronic device sends a second control command to the second electronic device.
[0094] S109. The second electronic device responds to the second control command, disconnects the WiFi channel established with the AP, and connects to the hotspot of the first electronic device.
[0095] In some examples, if the first electronic device turns on a hotspot, the WiFi channel established between the first electronic device and the access point (AP) can be disconnected. The first electronic device then transmits its own wireless internet access data and that of the second electronic device via the cellular network. The AP connected to the first electronic device and the AP connected to the second electronic device before the WiFi channel was disconnected can be the same AP or different APs.
[0096] S110, the first electronic device sends a third control command to the second electronic device.
[0097] S111, The second electronic device responds to the third control command without making network adjustments.
[0098] In some examples, the second electronic device responds to a third control command and disconnects the WiFi channel established with the AP, which is equivalent to switching from a DBAC-supported scenario to a scenario without an AP connection. This increases the time that the P2P channel occupies the wireless communication module, reducing issues such as lag in services across the entire scenario and improving the user experience.
[0099] In either of the following scenarios—different frequency and channel with DBAC support, or same frequency and different channel with DBAC support—the first electronic device can switch to the cellular network and activate its hotspot. The second electronic device can then disconnect the established WiFi channel with the access point (AP) and connect to the hotspot of the first electronic device to transmit wireless internet data. The two channels established by the second electronic device are the same physical channel: a P2P channel with the first electronic device and a channel with the first electronic device's hotspot. This effectively switches the second electronic device to a same frequency and channel scenario, eliminating the need for channel switching and reducing overall service lag, thus improving data transmission performance and user experience.
[0100] Figure 9 This illustration shows another signaling diagram of the data transmission control method provided in an embodiment of this application, which may include the following steps:
[0101] S201. The second electronic device determines that it is in the first scenario based on its communication status. The first scenario can be any one of the following three scenarios: no connection to AP, different frequency and channel but supporting DBDC, and same frequency and channel.
[0102] S202, The second electronic device does not require network adjustments.
[0103] S203. The second electronic device determines that it is in a second scenario based on its communication status. The second scenario can be either a scenario with different frequency and channel and supporting DBAC or a scenario with the same frequency and different channel and supporting DBAC.
[0104] S204. The second electronic device sends a first message to the first electronic device, the first message indicating that the second electronic device needs to use the cellular internet access capability of the first electronic device.
[0105] S205. The first electronic device determines whether it can switch to the cellular network and turn on the hotspot. If the first electronic device can switch to the cellular network and turn on the hotspot, proceed to step S206. If the first electronic device cannot switch to the cellular network or switches to the cellular network but does not turn on the hotspot, proceed to step S208.
[0106] S206, The first electronic device sends a second control command to the second electronic device.
[0107] S207. The second electronic device responds to the second control command, disconnects the WiFi channel established with the AP, and connects to the hotspot of the first electronic device.
[0108] S208, The first electronic device sends a third control command to the second electronic device.
[0109] S209. The second electronic device responds to the third control command without making network adjustments.
[0110] Compared to Figure 8 The data transmission control method shown is as follows: Figure 9 The data transmission control method described herein involves the second electronic device determining its current scenario based on its own communication status. When the second electronic device is in either a different frequency / channel scenario supporting DBAC or a same frequency / different channel scenario supporting DBAC, it informs the first electronic device that it needs to utilize the first electronic device's cellular internet access capability. Once the first electronic device determines that it can switch to the cellular network and activate its hotspot, it sends a second control command to both the first and second electronic devices. The second electronic device responds to the second control command by disconnecting the established WiFi channel with the access point (AP) and connecting to the first electronic device's hotspot. The two channels established by the second electronic device are the same physical channel: a P2P channel with the first electronic device and a channel with the first electronic device's hotspot. This eliminates the need for channel switching, reducing the likelihood of lag or other issues across all scenarios, improving data transmission performance, and enhancing the user experience.
[0111] For a first electronic device with cellular internet access capabilities, if it is in any of the following scenarios: no access point (AP), different frequency and channel but supporting DBDC, or same frequency and channel, the first electronic device does not need to adjust its network configuration. If it is in either of the following scenarios: different frequency and channel but supporting DBAC, or same frequency and channel but supporting DBAC, the first electronic device can disconnect the WiFi channel established with the AP and transmit its wireless internet data through the cellular channel established with the cellular network. Therefore, the wireless communication module of the first electronic device can increase the transmission of service data across all scenarios, increasing the time that all scenarios require to utilize the wireless communication module, reducing issues such as lag in all scenarios, improving data transmission performance, and enhancing user experience.
[0112] Furthermore, some embodiments of this application provide an electronic device, which includes one or more processors and a memory; the memory is used to store computer program code, which includes computer instructions, and when one or more processors execute the computer instructions, the electronic device performs the above-described data transmission control method.
[0113] Some embodiments of this application provide a computer-readable storage medium for storing a computer program that, when executed, implements the above-described data transmission control method.
Claims
1. A data transmission control method characterized by comprising: Applied to a first electronic device, a first channel is established between the first electronic device and a second electronic device, the first electronic device has a cellular network access capability, and the second electronic device supports dual-band adaptive concurrent DBAC, and the method comprises: transmitting first type data in a preset first time slice through the first channel, establishing a second channel between the second electronic device and a first wireless access point, and transmitting second type data in a preset second time slice through the second channel by the second electronic device, wherein the second channel and the first channel are two physical channels of the same channel type; sending a control instruction to the second electronic device, the control instruction being used to instruct the second electronic device to disconnect the second channel; controlling the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device, encapsulating hotspot information of the first electronic device in the control instruction, the hotspot information being used to enable the second electronic device to establish a third channel with a hotspot corresponding to the hotspot information, and the second electronic device to transmit the second type data through the third channel and the cellular network access capability of the first electronic device, wherein the channel type corresponding to the cellular network access capability is different from the channel type of the second channel.
2. The method of claim 1, wherein, establishing a fourth channel between the first electronic device and a second wireless access point, and transmitting second type data in a preset third time slice through the fourth channel by the first electronic device, and after controlling the first electronic device to connect to a cellular network, the method further comprises: disconnecting the fourth channel, and the first electronic device transmits the second type data of the first electronic device through a cellular channel between the first electronic device and the cellular network; or, maintaining the fourth channel, and the first electronic device transmits the second type data of the first electronic device through the fourth channel.
3. The method of claim 1, wherein, The control of the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device comprises: in the case that cellular data of the first electronic device meets a hotspot turning-on condition, controlling the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device.
4. The method of claim 3, wherein, The control of the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device in the case that cellular data of the first electronic device meets a hotspot turning-on condition comprises: controlling the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device in the case that signal quality of the cellular network of the first electronic device meets the hotspot turning-on condition; or, controlling the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device in the case that available network traffic of the first electronic device is greater than an available traffic threshold; or, controlling the first electronic device to connect to a cellular network and turn on a hotspot of the first electronic device in the case that a hotspot switch of the first electronic device is in an on state.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: receiving the communication condition of the second electronic device sent by the second electronic device, wherein the communication condition of the second electronic device comprises whether the second electronic device has the second capability and a channel condition of the second electronic device, the channel condition of the second electronic device is used to indicate whether the second electronic device establishes two channels and the relationship between the two channels when the two channels are established, and the second capability is used to indicate that the second electronic device transmits data by using two channels in one time slice. The method further comprises: if the communication condition of the second electronic device indicates that the second electronic device does not have the second capability and the two channels established by the second electronic device are different, the control instruction is sent to the second electronic device, and the two channels comprise the first channel and the second channel.
6. The method of claim 5, wherein, The method further comprises: if the communication condition of the second electronic device indicates that the second electronic device has the second capability, or the second electronic device only establishes the first channel, or the first channel and the second channel established by the second electronic device are the same, the networking of the second electronic device is unchanged.
7. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: receiving a first message sent by the second electronic device, wherein the first message is used to indicate that the second electronic device uses the cellular network access capability of the first electronic device to trigger the sending of the control instruction to the second electronic device.
8. The method according to any one of claims 1 to 4, characterized in that, The fifth channel is established between the first electronic device and the second wireless access point, the first electronic device transmits the second type data in a preset fourth time slice through the fifth channel, the fifth channel and the first channel are two physical channels with the same channel type but different frequencies, and the method further comprises: transmitting the second type data of the first electronic device by using the cellular network access capability.
9. A data transmission control method characterized by comprising: The method is applied to a second electronic device, a first channel is established between the second electronic device and a first electronic device, the first electronic device has a cellular network access capability, the second electronic device supports dual-band adaptive concurrency (DBAC), and the method comprises: transmitting first type data in a preset first time slice through the first channel, a second channel is established between the second electronic device and a first wireless access point, the second electronic device transmits second type data in a preset second time slice through the second channel, and the second channel and the first channel are two physical channels with the same channel type; receiving a control instruction sent by the first electronic device; in response to the control instruction, disconnecting the second channel, establishing a third channel between the second electronic device and a hotspot corresponding to hotspot information, the hotspot information being the hotspot information of the first electronic device carried in the control instruction; transmitting the second type data to the first electronic device through the third channel, and then transmitting the second type data by using the cellular network access capability of the first electronic device, wherein the channel type corresponding to the cellular network access capability is different from the channel type of the second channel.
10. The method of claim 9, wherein, The method further includes: sending, to the first electronic device, a communication condition of the second electronic device, the communication condition of the second electronic device including whether the second electronic device has a second capability and a channel condition of the second electronic device, the channel condition of the second electronic device indicating whether the second electronic device establishes two channels and a relationship between the two channels when the two channels are established, and the second capability indicating that the second electronic device transmits data by using two channels in one time slice; in a case where the communication condition of the second electronic device indicates that the second electronic device does not have the second capability and the two channels established by the second electronic device are different, the first electronic device sends the control instruction, and the two channels include the first channel and the second channel.
11. The method of claim 10, wherein, The method further includes: in a case where the communication condition of the second electronic device indicates that the second electronic device has the second capability, or the second electronic device establishes only the first channel, or the first channel and the second channel established by the second electronic device are the same, the networking of the second electronic device is unchanged.
12. The method of claim 9, wherein, The method further includes: sending, to the first electronic device, a first message, the first message indicating that the second electronic device uses a cellular network access capability of the first electronic device to trigger the first electronic device to send the control instruction.
13. An electronic device, comprising: The electronic device includes: one or more processors and a memory; the memory is configured to store computer program code including computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs the data transmission control method according to any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that, The computer readable storage medium is configured to store a computer program, and the computer program is executed to implement the data transmission control method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Channel adjustment method and electronic equipment
CN112929972A
Data transmission method based on Wi-Fi P2P and electronic equipment
CN115022849A