Data transmission control method and device

By establishing physical channels with different frequencies between electronic devices and using cellular networking capabilities to adjust the networking method, the problem of poor data transmission performance of electronic devices is solved, and the performance and user experience of all scenario services are improved.

CN119854893AActive Publication Date: 2025-04-18HONOR DEVICE CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202311315192.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-11
Publication Date
2025-04-18
Estimated Expiration
2043-10-11

AI Technical Summary

Technical Problem

The data transmission performance between electronic devices is poor, especially in full-scene services such as multi-screen collaborative services, super call services and super key and mouse services, which are prone to lag and performance degradation.

Method used

By establishing physical channels of different frequencies between the first electronic device and the second electronic device, and adjusting the networking method of the second electronic device using the cellular networking capability of the first electronic device, the impact of channel switching on data transmission is reduced.

Benefits of technology

It improves data transmission performance and user experience, reduces the problem of lag in all scenario services, and enables electronic devices to process and transmit data more efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854893A_ABST
    Figure CN119854893A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission control method and device which are applied to first electronic equipment, a first channel is established between the first electronic equipment and second electronic equipment, the first electronic equipment has first capability, and the method comprises the following steps: transmitting first type data in a preset first time slice through the first channel, a second channel is established between the second electronic equipment and the first wireless access point, the second electronic equipment transmits a second type of 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 but different frequencies; a control instruction is sent to the second electronic device, the control instruction is used for instructing the second electronic device to disconnect the second channel, the second electronic device transmits the second type of data through the first capacity of the first electronic device, and the channel type corresponding to the first capacity is different from the channel type of the second channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data transmission control method and device. Background Art

[0002] Data can be transmitted between electronic devices through channels, but due to the performance limitations of the electronic devices, data transmission performance may be poor. Summary of the invention

[0003] The present application provides a data transmission control method and device to improve data transmission performance. Some embodiments of the present application provide the following technical solutions:

[0004] In a first aspect, the present application provides a data transmission control method, characterized in that it is applied to a first electronic device, a first channel is established between the first electronic device and a second electronic device, and the first electronic device has a first capability. The method includes: transmitting a first type of data through the first channel within a preset first time slice, establishing a second channel between the second electronic device and the first wireless access point, and the second electronic device transmitting a second type of data through the second channel within a preset second time slice, and the second channel and the first channel are two physical channels with the same channel type but different frequencies; sending a control instruction to the second electronic device, the control instruction (corresponding to the second control instruction described below) is used to instruct the second electronic device to disconnect the second channel, and the second electronic device uses the first capability of the first electronic device to transmit the second type of data, and 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 the second type of data and channel switching on the transmission of the first type of data, and improve data transmission performance and user experience.

[0005] For example, the scenario in which the second electronic device is located may be: the second electronic device supports DBAC, and a first channel is established between the second electronic device and the first electronic device, and a second channel is established between the second electronic device and the first wireless access point, and the two channels are the same frequency and different channels or different frequencies and different channels. In this scenario, the second electronic device can use the first capability of the first electronic device to change the networking of the second electronic device 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 may be WiFi channels, such as the second channel and the first channel may be two channels with different frequencies at 2.4 GHz, or the second channel and the first channel may be two channels with different frequencies at 5 GHz, or one of the second channel and the first channel may be a 2.4 GHz channel and the other may be a 5 GHz channel. The wireless communication module in the second electronic device may use the first channel and the second channel to transmit data, and may only transmit data on the time slices corresponding to the first channel and the second channel. After 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 first type of data occupies more time in the wireless communication module, thereby improving the WiFi performance of the second electronic device when processing the first type of data, and improving the transmission performance of the first type of data and the user experience.

[0007] In some examples, the first type of data may be full-scenario business data, which may be data exchanged between the second electronic device and the first electronic device when performing a full-scenario business. The full-scenario business may include multi-screen collaborative business, super call business, and super keyboard and mouse business, etc.; the second type of data may be wireless Internet access data, which may be data exchanged between the second electronic device and the first wireless access point.

[0008] In a possible implementation, the first capability is a cellular Internet access capability, so that the second electronic device can transmit the second type of data through the cellular network of the first electronic device. The second type of data can be transmitted from the second electronic device to the first electronic device through the first channel, and then transmitted through the cellular network of the first electronic device. When receiving feedback data of the second type of data, after the cellular network of the first electronic device receives the feedback data, it is transmitted to the second electronic device through the first channel. During the data transmission process, the second electronic device omits the channel switching link, so that the second electronic device can use more time slices to transmit the first type of data, thereby improving data transmission performance and user experience.

[0009] In a possible implementation, the method further includes: controlling the first electronic device to connect to the cellular network and turning on the hotspot of the first electronic device, encapsulating the hotspot information of the first electronic device in the control instruction, the hotspot information is used to establish a third channel between the second electronic device and the hotspot corresponding to the hotspot information, and the second electronic device transmits the second type of data through the third channel. The second electronic device transmits the second type of data to the first electronic device through the third channel, and then transmits the second type of data through the cellular network of the first electronic device. The third channel and the first channel are essentially the same physical channel, so that the second electronic device does not need to switch channels when transmitting the first type of data and the second type of data to the first electronic device, so that the second electronic device can use more time slices to transmit the first type of data, thereby improving data transmission performance and user experience.

[0010] In a possible implementation, a fourth channel is established between the first electronic device and the second wireless access point, and the first electronic device transmits the second type of 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 transmits the second type of data of the first electronic device through the cellular channel between the cellular network, so that the cellular channel can transmit both the second type of data of the first electronic device and the second type of data of the second electronic device, without adjusting the function of the mobile communication module of the first electronic device; or, maintaining the fourth channel, and the first electronic device transmits the second type of data of the first electronic device through the fourth channel, thereby the first electronic device transmits the second type of data of the first electronic device through the fourth channel and transmits the second type of data of the second electronic device through the cellular channel, thereby improving the data transmission performance of the second type of data. The second wireless access point may be the same as or different from the first wireless access point.

[0011] In a possible implementation, controlling the first electronic device to connect to the cellular network and turning on the hotspot of the first electronic device includes: controlling the first electronic device to connect to the cellular network and turning on the hotspot of the first electronic device when the cellular data of the first electronic device meets the hotspot turning-on condition. The hotspot turning-on condition may be a condition when the cellular network of the first electronic device meets the second type of data transmission, so as to effectively transmit the second type of data of the second electronic device through the cellular network of the first electronic device.

[0012] In a possible implementation, when the cellular data of the first electronic device meets the hotspot opening condition, controlling the first electronic device to connect to the cellular network and opening the hotspot of the first electronic device includes: when the signal quality of the cellular network of the first electronic device meets the hotspot opening condition, controlling the first electronic device to connect to the cellular network and opening the hotspot of the first electronic device; or, when the available Internet traffic of the first electronic device is greater than the available traffic threshold, controlling the first electronic device to connect to the cellular network and opening the hotspot of the first electronic device; or, when the hotspot switch of the first electronic device is in the on state, controlling the first electronic device to connect to the cellular network and opening the hotspot of the first electronic device. In some examples, the signal quality of the cellular network can be represented by at least one parameter of signal strength, signal to interference plus noise ratio, and reference signal reception quality, and the thresholds of these parameters are specified in the hotspot opening condition, so that when these parameters meet the threshold requirements in the hotspot opening condition, the first electronic device is connected to the cellular network and the hotspot is opened. When the signal quality meets the hotspot opening condition, the first electronic device is connected to a better cellular network to ensure the transmission of the second type of data of the second electronic device, thereby improving the data transmission performance.

[0013] In some examples, the available Internet traffic may be the free Internet traffic of the first electronic device through the cellular network, and the second type of data is transmitted through the free Internet traffic to reduce costs. In some examples, the state of the hotspot switch may be manually controlled by the user.

[0014] In a possible implementation, the method further includes: receiving a communication status of a second electronic device sent by a second electronic device, the communication status of the second electronic device including whether the second electronic device has a second capability and a channel status of the second electronic device, the channel status of the second electronic device is used to indicate whether the second electronic device has established 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 uses the two channels to transmit data in one time slice; sending a control instruction to the second electronic device includes: if the communication status 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, sending a control instruction 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 status of the second electronic device. In some examples, the second capability may be a DBDC capability.

[0015] In a possible implementation, the method further includes: if the communication status 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, then the networking of the second electronic device remains unchanged, in which case the first electronic device may not send a control instruction to the second electronic device to reduce the interaction between the two electronic devices. The first channel and the second channel being the same may mean that the first channel and the second channel have the same channel type and the same frequency, that is, the first channel and the second channel established by the second electronic device are the same frequency and the same channel.

[0016] In a possible implementation, the method further includes: receiving a first message sent by a second electronic device, the first message being used to instruct the second electronic device to use the first capability of the first electronic device to trigger sending a control instruction to the second electronic device. In this example, the second electronic device may decide whether to use the first capability of the first electronic device based on its own communication situation. When the second electronic device needs to use 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 use 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 a possible implementation, a fifth channel is established between the first electronic device and the second wireless access point, and the first electronic device transmits the second type of data through the fifth channel within a preset fourth time slice, and the fifth channel and the first channel are two physical channels of the same channel type but different frequencies, and the method further includes: using the first capability to transmit the second type of data of the first electronic device, so as to use the first capability of the first electronic device to change (or adjust) the networking of the first electronic device, reduce the impact of the second type of data of the first electronic device and channel switching on the transmission of the first type of data, and improve data transmission performance and user experience. Among them, the second wireless access point can 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 may 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, and the two channels are same-frequency different channels or different-frequency different channels. In this scenario, the first electronic device can use its first capability to change the networking of the first electronic device 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 may be WiFi channels, such as the fifth channel and the first channel may be two channels with different frequencies at 2.4 GHz, or the fifth channel and the first channel may be two channels with different frequencies at 5 GHz, or one of the fifth channel and the first channel may be a 2.4 GHz channel and the other may be a 5 GHz channel. The wireless communication module in the first electronic device may use the first channel and the fifth channel to transmit data, and may only transmit data on the time slices corresponding to the first channel and the fifth channel. After the first electronic device disconnects the fifth channel and uses the first capability to transmit the second type of data, the first type of data occupies more time in the wireless communication module, thereby improving the WiFi performance of the first electronic device when processing the first type of data, and improving the transmission performance of the first type of data and the user experience.

[0020] In a second aspect, the present application provides a data transmission control method, which is applied to a second electronic device, wherein a first channel is established between the second electronic device and the first electronic device, and the first electronic device has a first capability. The method includes: transmitting a first type of data through the first channel within a preset first time slice, establishing a second channel between the second electronic device and the first wireless access point, and the second electronic device transmitting a second type of data through the second channel within a preset second time slice, wherein the second channel and the first channel are two physical channels with the same channel type but different frequencies; receiving a control instruction sent by the first electronic device (corresponding to the second control instruction described below); in response to the control instruction, disconnecting the second channel, and transmitting the second type of data using the first capability of the first electronic device, 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 the second type of data and channel switching on the transmission of the first type of data, and improve data transmission performance and user experience.

[0021] In a possible implementation, the control instruction carries the hotspot information of the first electronic device, and the transmission of the second type of data using the first capability of the first electronic device includes: establishing a third channel between the second electronic device and the hotspot corresponding to the hotspot information, and the second electronic device transmits the second type of data through the third channel. The third channel and the first channel are essentially the same physical channel, so that the second electronic device does not need to switch channels when transmitting the first type of data and the second type of data to the first electronic device, so that the second electronic device can use more time slices to transmit the first type of data, thereby improving data transmission performance and user experience.

[0022] In one possible implementation, the method also includes: sending the communication status of the second electronic device to the first electronic device, the communication status of the second electronic device includes whether the second electronic device has the second capability and the channel status of the second electronic device, the channel status of the second electronic device is used to indicate whether the second electronic device has established 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 uses the two channels to transmit data in one time slice; when the communication status 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 a control instruction, and the two channels include a first channel and a second channel.

[0023] In a possible implementation, the method further includes: if the communication status 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, then the networking of the second electronic device remains unchanged, in which case the first electronic device may not send a control instruction to the second electronic device to reduce the interaction between the two electronic devices. The first channel and the second channel being the same may mean that the first channel and the second channel have the same channel type and the same frequency, that is, the first channel and the second channel established by the second electronic device are the same frequency and the same channel.

[0024] In a possible implementation, the method further includes: sending a first message to the first electronic device, the first message being used to instruct the second electronic device to use the first capability of the first electronic device to trigger the first electronic device to send a control instruction. In this example, the second electronic device can decide whether to use the first capability of the first electronic device based on its own communication situation. When the second electronic device needs to use 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 use 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.

[0025] In a third aspect, the present application provides an electronic device, which includes: one or more processors and a memory; the memory is used to store computer program codes, and the computer program codes include computer instructions. When one or more processors execute the computer instructions, the electronic device executes the above-mentioned data transmission control method.

[0026] In a fourth aspect, the present application provides a computer-readable storage medium, which is used to store a computer program, and the computer program implements the above-mentioned data transmission control method when executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1An example diagram of a scenario for data transmission provided in an embodiment of the present application;

[0028] Figure 2 Another example diagram of a data transmission scenario provided in an embodiment of the present application;

[0029] Figure 3 A schematic diagram of time slice division provided in an embodiment of the present application;

[0030] Figure 4 A schematic diagram of the network adjustment provided in the embodiment of the present application;

[0031] Figure 5 Another schematic diagram of the networking adjustment provided in the embodiment of the present application;

[0032] Figure 6 Another schematic diagram of the network adjustment provided in the embodiment of the present application;

[0033] Figure 7 A hardware structure diagram of an electronic device provided in an embodiment of the present application;

[0034] Figure 8 A signaling diagram of a data transmission control method provided in an embodiment of the present application;

[0035] Fig. 9 Another signaling diagram of the data transmission control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more; "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0037] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0038] The multiple involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0039] In order to more clearly illustrate the technical solution of the present application, the relevant concepts involved in the present 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.

[0041] Channel: A channel is a data transmission channel, which is composed of a transmission medium from a data sender to a data receiver. Each frequency band of WiFi is divided into multiple channels. For example, according to the IEEE 802.11 protocol, 2.4 GHz is divided into 13 overlapping channels; the 5 GHz band is divided into 201 channels. Electronic devices transmit data through at least one channel at 2.4 GHz and / or 5 GHz.

[0042] Networking: Two electronic devices have passed identity authentication and a channel has been established between them. The two electronic devices can communicate through the established channel. For example, a peer-to-peer networking (P2P) channel can be established between two electronic devices. The two electronic devices and the P2P channel form a full-scenario business system. In the full-scenario business system, the two electronic devices can perform full-scenario business. During the full-scenario business process, the two electronic devices transmit data (referred to as full-scenario business data) through the P2P channel. The channel type of the P2P channel in the full-scenario business system is a WiFi channel.

[0043] Full-scenario services: including multi-screen collaborative services, super call services, and super keyboard and mouse services, etc. Take two electronic devices, referred to as the first electronic device and the second electronic device, as an example for explanation. Multi-screen collaborative services: The display screen of the first electronic device is transferred to the second electronic device for display, and the first electronic device is operated by the second electronic device. After the first electronic device completes the operation, the display screen is transferred to the second electronic device again for display. Super call service: The first electronic device has a phone application, and the second electronic device can operate the phone application in the first electronic device to answer or make calls, and the sound is emitted on the second electronic device side. Super keyboard and mouse service: The second electronic device is connected to an external mouse, and the virtual mouse of the external mouse displayed on the second electronic device is dragged to the first electronic device, and the first electronic device is operated by the external mouse connected to the second electronic device.

[0044] In the full-scenario business system, the roles of electronic devices include: group owner (GO) and group client (GC). It can be simply understood that GO is the master device and GC is the slave device. GO and GC will form a group. In a group, there can only be one GO. A GO can establish P2P channels with multiple GCs to form a group. In the group, GC and GO can also establish WiFi channels with wireless access points (APs) that do not belong to the group.

[0045] WiFi STA mode: It can be a mode in which an electronic device connects to an AP to access the Internet and transmits data through a WiFi channel. In WiFi STA mode, the data transmitted through the WiFi channel is referred to as wireless Internet access data.

[0046] WiFi P2P mode: can be a mode in which data is transmitted between two electronic devices through a P2P channel.

[0047] Same frequency and same channel: the electronic device can run the WiFi STA mode and WiFi P2P mode in the same channel of the same frequency band, that is, the electronic device has established a WiFi channel with the AP and a P2P channel with another electronic device. These two channels are the same channels in the same frequency band, and the electronic device can work in the WiFi STA mode or WiFi P2P mode on the channel in time-sharing mode. For example, 100ms / 100ms time-sharing means that the electronic device works in the WiFi STA mode for 100ms on a channel, and then works in the WiFi P2P mode for 100ms on the channel.

[0048] Same frequency, different channels: The electronic device can run WiFi STA mode and WiFi P2P mode in different channels in the same frequency band, that is, the two channels established by the electronic device are different channels in the same frequency band, such as two 2.4GHz channels. The electronic device can switch between the working channel of WiFi STA mode (referred to as STA channel or WiFi channel, WiFi channel is used for explanation below) and the working channel of WiFi P2P mode (referred to as P2P channel) in time-sharing. For example, 100ms / 100ms time-sharing, the switching time is 20ms, which means that the electronic device switches to the P2P channel after working on the WiFi channel for 100ms, and then switches to the WiFi channel after switching to the P2P channel for 100ms. Each channel switching takes 20ms. Under the same frequency, different channels and the same frequency, the time for the electronic device to work in WiFi STA mode and WiFi P2P mode can be the same or different.

[0049] Different frequencies and channels: electronic devices can run WiFi STA mode and WiFi P2P mode in different frequency bands and channels. That is, the two channels established by the electronic device are different channels in different frequency bands. For example, the electronic device establishes a 2.4 GHz channel and a 5 GHz channel. The mode corresponding to the 2.4 GHz channel is WiFi P2P mode, and the mode corresponding to the 5 GHz channel is WiFi STA mode.

[0050] Dual Band Dual Concurrent (DBDC): The wireless communication module of an electronic device that supports DBDC includes two baseband processing modules and two radio frequency (RF) front ends. The two baseband processing modules support the electronic device to operate in the 2.4GHz band and the 5GHz band respectively, and the two RF front ends respectively select the 2.4GHz band and the 5GHz band for data transmission, which can realize dual-frequency data transmission in the same time division, so that the electronic device can use the 2.4GHz channel and the 5GHz channel to transmit data at the same time. The channels established by electronic devices that support DBDC can be different frequencies and channels.

[0051] Dual Band Adaptive Concurrent (DBAC): The wireless communication module of an electronic device that supports DBAC includes two baseband processing modules and an RF front end. The two baseband processing modules support the electronic device to operate in the 2.4GHz frequency band and the 5GHz frequency band respectively. The RF front end can select a frequency band to transmit data, such as the RF front end can choose to transmit data through a channel in the 2.4GHz frequency band, or choose to transmit data through a channel in the 5GHz frequency band. Since an electronic device that supports DBAC has only one RF front end, the electronic device can only choose to transmit one type of data on one frequency band in the same time period, thereby transmitting different types of data on different frequency bands through time division multiplexing. The two channels established by an electronic device that supports DBAC can be the same frequency and different channels or different frequencies and different channels.

[0052] In the full-scenario service system, the electronic devices in a group can support DBDC or DBAC, and the two channels established by the electronic devices can be any one of the same frequency and different channels, different frequencies and different channels, and the same frequency and the same channel. In some examples, the electronic devices in a group can only establish one P2P channel to transmit the full-scenario service data through the P2P channel. Taking the full-scenario service system including the first electronic device and the second electronic device as an example, the user experience under different scenario examples is explained:

[0053] Example of the first scenario: The first electronic device and the second electronic device only establish one P2P channel. Because the first electronic device and the second electronic device only establish one P2P channel, the transmission of full-scenario business data will not be affected by wireless Internet access data, and the user experience is good.

[0054] Second scenario example: The first electronic device and the second electronic device both support DBDC, and the two established channels are different frequencies and channels, such as Figure 1 As shown. Because both the first electronic device and the second electronic device support DBDC, when the first electronic device and the second electronic device transmit wireless Internet access data through the WiFi channel respectively, the first electronic device and the second electronic device can also transmit full-scenario business data through the P2P channel, and the transmission of full-scenario business data will not be affected by wireless Internet access data, and the user experience is good. Because the transmission of full-scenario business data will not be affected by wireless Internet access data in the first scenario example and the second scenario example, the user experience in the first scenario example and the second scenario example is the same or similar.

[0055] Example of the third scenario: The two channels established by the first electronic device and the second electronic device are of the same frequency and channel. Any of the two electronic devices can transmit full-scenario business data or wireless Internet access data on one channel, so that the two electronic devices can time-share the same channel. Because the two channels established by the first electronic device and the second electronic device are of the same frequency and channel, the two electronic devices can save the channel switching link when using the channel, and the user experience is better. However, compared with the example of the second scenario, the user experience of the third scenario example is worse than that of the second scenario example.

[0056] Example of the fourth scenario: one of the first electronic device and the second electronic device supports DBAC, and the two established channels are same-frequency and different-channels or different-frequency and different-channels. Figure 2 As shown, the first electronic device (such as a mobile phone) supports DBAC, and the two channels established are the same frequency and different channels or different frequencies and different channels, and the two channels established by the second electronic device (such as a tablet computer (PAD)) are the same frequency and the same channel.

[0057] Because the first electronic device supports DBAC, the first electronic device can only choose to transmit data on one frequency band in the same time period. Therefore, no matter whether the two channels established by the first electronic device are the same frequency and different channels or different frequencies and different channels, the first electronic device can only use one channel in a time period.

[0058] For example, in some examples, in a scenario where the first electronic device supports DBAC, data transmission is controlled by dividing time slices. Figure 3 An example of a time slice is shown, and the time slice includes: a P2P time slice, a channel switching time slice, and a STA time slice. The first electronic device uses the P2P channel to transmit full-scenario business data in the P2P time slice, the first electronic device completes the switching between the P2P channel and the WiFi channel in the channel switching time slice, and the first electronic device uses the WiFi channel to transmit wireless Internet access data in the STA time slice. The time length corresponding to the P2P time slice and the time length corresponding to the STA time slice can be the same or different. Because the first electronic device can only transmit full-scenario business data in the P2P time slice, the first electronic device and the second electronic device can only perform full-scenario business in the P2P time slice, and the user experience is poor. And the first electronic device needs to switch channels from the WiFi channel to the P2P channel. Compared with the third scenario example, the user experience of the fourth scenario example is worse than that of the third scenario example.

[0059] From the first to the fourth scenario examples, it can be seen that in the full-scenario service system, the user experience is related to whether the electronic device is connected to the AP, supports DBDC or DBAC, and the relationship between the two established channels, and the user experience is ranked from good to bad as follows: no connection to the AP, different frequencies and channels and support DBDC>same frequency and channel>different frequencies and channels and support DBAC, same frequency and channels and support DBAC. In the two scenarios of different frequencies and channels and support DBAC, and same frequency and channels and support DBAC, electronic devices can only transmit full-scenario service data in the P2P time slice, and electronic devices need to switch channels from WiFi channels to P2P channels, which will undoubtedly reduce the WiFi performance of electronic devices when processing full-scenario services, resulting in freeze problems in full-scenario services, such as freezes in the screen and out-of-sync audio and video in multi-screen collaborative services, and freezes in the sound in super call services.

[0060] Some embodiments of the present application provide a data transmission control method, which is applied to a first electronic device, a first channel (such as a P2P channel) is established between the first electronic device and the second electronic device, and the first electronic device and the second electronic device transmit a first type of data (such as full-scenario business data) through the first channel. If the communication status of the second electronic device indicates that the second electronic device is in any of the three scenarios of not connecting to an AP, different frequencies and channels and supporting DBDC, and the same frequency and channel, the second electronic device does not perform networking adjustments, so that the data transmission of the second electronic device remains unchanged. For example, when the second electronic device is in a scenario where different frequencies and channels are different and DBDC is supported, in this scenario, the second electronic device can maintain the transmission of the second type of 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 may 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 the second electronic device is in any of the two scenarios of different frequency and different channel and supporting DBAC and the same frequency and different channel and supporting DBAC, in this scenario, the second electronic device adjusts the networking mode, and the adjustment of the networking mode 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, and the third channel is different from the second channel. For example, the third channel can be a cellular channel of the second electronic device, or the first electronic device is used as a hotspot of the second electronic device, and the second electronic device is connected to the hotspot to establish the third channel using the hotspot.

[0062] The data transmission control method provided by the embodiment of the present application is described in conjunction with a scenario example. Continuing with the above scenario example, the fifth scenario example: the first electronic device and the second electronic device are both in any of the three scenarios of not connecting to an AP, different frequencies and channels and supporting DBDC, and the same frequency and channel, and the first electronic device and the second electronic device have not made any networking adjustments.

[0063] Example of the sixth scenario: one of the first electronic device and the second electronic device is in any of the three scenarios: not connected to AP, different frequencies and channels and supporting DBDC, same frequency and channel; the other electronic device is in any of the two scenarios: different frequencies and channels and supporting DBAC, same frequency and channels and supporting DBAC.

[0064] like Figure 4 As shown, in Figure 4 In (1), if the mobile phone is in any of the two scenarios, that is, different frequency and different channel and supports DBAC, or the same frequency and different channel and supports DBAC, and the PAD is in the scenario that supports DBDC, then the mobile phone can transmit full-scenario service data with the PAD through the P2P channel. The mobile phone and the PAD can transmit wireless Internet access data through their respective WiFi channels to complete wireless Internet access services through their respective WiFi channels. In addition, Figure 4 In (1), a cellular channel is established between the mobile phone and the cellular network so that the mobile phone is connected to the cellular network, and the mobile phone can also complete call services through the cellular channel.

[0065] The scene where the mobile phone is located limits the WiFi performance of the mobile phone when processing full-scene services, resulting in lag problems in full-scene services. Because the mobile phone can establish a cellular channel with the cellular network, the networking method of the mobile phone can be Figure 4 The networking mode 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 service to the cellular network to which the mobile phone is connected, and transmits the wireless Internet data through the cellular channel established between the mobile phone and the cellular network.

[0066] After the mobile phone switches the transmission of wireless Internet data to the cellular network, the wireless Internet data reduces the occupation of the mobile phone's WiFi performance. Figure 4 In the networking mode shown in (2), the mobile phone is equivalent to switching from supporting DBAC to not connecting to AP. In this way, the wireless communication module of the mobile phone can increase the transmission of full-scenario business data, increase the time that full-scenario business occupies the wireless communication module, and reduce the problems of full-scenario business such as jamming, thereby improving data transmission performance and improving user experience.

[0067] Figure 5This is another diagram of the sixth scenario example, relative to Figure 4 The difference is that the PAD is in any of the two scenarios: different frequency and different channel and supports DBAC, and the same frequency and different channel and supports DBAC, and the mobile phone is in the scenario that supports DBDC. For the changes in the networking mode of mobile phones and PADs, please refer to Figure 5 (1) and Figure 5 As shown in (2): the mobile phone disconnects the WiFi channel established between the AP and switches the mobile phone's wireless Internet access service to the cellular network to which the mobile phone is connected. The mobile phone's wireless Internet access data is transmitted through the cellular channel established between the mobile phone and the cellular network. Because the PAD does not have cellular Internet access capabilities, the mobile phone can turn on the hotspot (SoftAP). After disconnecting the WiFi channel established between the AP, the PAD connects to the mobile phone's hotspot and switches the PAD's wireless Internet access service to the mobile phone's hotspot. Figure 5 As shown in (2), the PAD transmits full-scenario business data through the P2P channel and transmits the PAD's wireless Internet data through the channel established with the mobile phone's hotspot. The P2P channel and the channel established between the PAD and the mobile phone's 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 and reduces the problems of lag in full-scenario business, thereby improving data transmission performance and user experience.

[0068] Example of the seventh scenario: PAD and mobile phone are in different frequency and different channels and support DBAC, or in the same frequency and different channels and support DBAC. Figure 6 As shown, the changes in the networking mode of mobile phones and PADs in this scenario can be seen in Figure 6 (1) and Figure 6 As shown in (2) in the figure, the networking modes of the two are different from those mentioned above. Figure 5 The same is not elaborated here.

[0069] One point that needs to be explained here is that in the sixth and seventh scenario examples, if the mobile phone does not have a hotspot turned on, the PAD does not need to make networking adjustments. Although the mobile phone does not have a hotspot turned on, the mobile phone can be connected to the cellular network, or the mobile phone is not connected to the cellular network, that is, whether the mobile phone is connected to the cellular network has nothing to do with whether the mobile phone has a hotspot turned on.

[0070] In some embodiments, any of the first electronic device and the second electronic device may be a mobile phone, a tablet computer (PAD), a desktop, a laptop, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a smart watch, or the like. In this embodiment, the structure of the electronic device may be as follows: Figure 7 As shown, the electronic device may include a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an antenna 1, an antenna 2, a mobile communication module, a wireless communication module, an audio module, a speaker, a receiver, a microphone, an earphone interface, a sensor module, a button, a motor, an indicator, a camera, a display screen, and a subscriber identity module (SIM) card interface, etc. The sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0071] It is to be 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 shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0072] The processor may include one or more processing units, for example: the processor may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. For example, in an embodiment of the present application, the processor can determine the scene in which the electronic device is located, and decide whether to perform networking adjustment according to the scene in which the electronic device is located. The purpose of the networking adjustment is to control data transmission.

[0073] The external memory interface can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor through the external memory interface to implement data storage functions. For example, music, video and other files can be saved in the external memory card.

[0074] The internal memory can be used to store computer executable program codes, which include 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 an embodiment of the present application, the processor can perform networking adjustments by executing instructions stored in the internal memory. The internal memory may include a storage program area and a storage data area. Among them, the storage program area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The storage data area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a 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 a memory provided in the processor.

[0075] The wireless communication function of the electronic device can be realized through antenna 1, antenna 2, a mobile communication module, a wireless communication module, a modulation and demodulation processor, and a 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 a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0077] The mobile communication module can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied in electronic devices. The wireless communication module can provide solutions for wireless communications including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied in electronic devices.

[0078] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module, and the antenna 2 is coupled to the wireless communication module, so that the electronic device can communicate with the network and other devices through 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 technology. 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 system (SBAS).

[0079] Electronic devices can realize shooting functions through ISP, camera, video codec, GPU, display, and application processor, etc. Electronic devices can realize audio functions through audio modules, speakers, receivers, microphones, headphone interfaces, and application processors, etc.

[0080] The data transmission control method provided in the embodiment of the present application is described below in conjunction with the accompanying drawings. In the data transmission control method, the first electronic device has cellular Internet access capability, and the second electronic device does not have cellular Internet access capability. Figure 8 A signaling diagram showing a data transmission control method may include the following steps:

[0081] S101, the second electronic device sends the communication status of the second electronic device to the first electronic device. The communication status of the second electronic device includes the WiFi capability of the second electronic device and the channel status of the second electronic device. The WiFi capability of the second electronic device can indicate whether the second electronic device supports DBDC. The channel status of the second electronic device can indicate whether the second electronic device establishes two channels and the relationship between the two channels when the two channels are established. For example, the channel status of the second electronic device can be one of the same frequency and same channel, different frequencies and different channels, the same frequency and different channels, and no connection to AP.

[0082] After the first electronic device and the second electronic device establish a P2P channel, during the capability negotiation between the first electronic device and the second electronic device through identity identification, the second electronic device sends the communication status of the second electronic device to the first electronic device to aggregate the communication status of the first electronic device and the communication status of the second electronic device to the first electronic device.

[0083] S102. The first electronic device determines that the second electronic device is in a first scenario according to the communication status of the second electronic device. The first scenario can be any one of the following three scenarios: no connection to AP, different frequencies and channels and supporting DBDC, and same frequency and channel.

[0084] S103: The first electronic device sends a first control instruction to the second electronic device.

[0085] S104, the second electronic device responds to the first control instruction and does not adjust the network. In some examples, the first electronic device ends the process when it determines that the second electronic device is in any of the three scenarios: not connected to the AP, different frequency and different channel and supports DBDC, and same frequency and same channel. Because the second electronic device does not receive the control instruction for networking sent by the first electronic device, the second electronic device may not adjust the network.

[0086] S105. The first electronic device determines that the second electronic device is in a second scenario according to the communication status of the second electronic device. The second scenario can be any one of the following scenarios: different frequencies and different channels and supporting DBAC, and same frequency and different channels and supporting DBAC.

[0087] S106. The first electronic device determines that the second electronic device needs to use the cellular Internet access capability of the first electronic device. In this embodiment, the second electronic device can inform the first electronic device that the second electronic device does not have cellular Internet access capability during the process of sending the communication status of the second electronic device. Alternatively, when the first electronic device determines that the second electronic device is in the second scenario, it asks the second electronic device whether it needs to use the cellular Internet access capability of the first electronic device. If the second electronic device feedbacks that it needs to use the cellular Internet access capability of the first electronic device, steps S107 to S111 are executed. Alternatively, when the first electronic device determines that the second electronic device is in the second scenario, regardless of whether the second electronic device has cellular Internet access capability, the first electronic device can execute steps S107 to S111.

[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, execute 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, execute step S110.

[0089] The first electronic device can be switched to the cellular network, which means that the first electronic device is connected to the cellular network, and the WiFi channel established between the first electronic device and the AP can be disconnected or maintained. Before determining whether to switch to the cellular network and turn on the hotspot, the first electronic device can be connected to the cellular network or not.

[0090] In some examples, when the signal quality of the cellular network of the first electronic device meets the preset switching conditions (also referred to as the hotspot activation conditions), the first electronic device can switch to the cellular network and turn on 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). The thresholds of these parameters are specified in the preset switching conditions so that when these parameters meet the threshold requirements in the preset switching conditions, the first electronic device switches to the cellular network and turns on the hotspot.

[0091] In some examples, when the available Internet traffic of the first electronic device is greater than the available traffic threshold, the first electronic device can switch to the cellular network and turn on the hotspot. The available Internet traffic can be the traffic of the first electronic device for free Internet access through the cellular network, and the size of the available traffic threshold is not limited in this embodiment.

[0092] In some examples, the first electronic device may be provided with a hotspot switch. When the hotspot switch is turned on, the first electronic device may switch to the cellular network and turn on the hotspot. When the hotspot switch is turned off, the first electronic device cannot turn on the hotspot. The state of the hotspot switch may be manually controlled by the user.

[0093] S108: The first electronic device sends a second control instruction to the second electronic device.

[0094] S109: The second electronic device responds to the second control instruction, 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 the hotspot, the WiFi channel established between the first electronic device and the AP can be disconnected, and the first electronic device transmits the wireless Internet access data of the first electronic device and the wireless Internet access data of the second electronic device through the cellular network. The AP connected to the first electronic device and the AP connected to the second electronic device before disconnecting the WiFi channel can be the same AP or different APs.

[0096] S110: The first electronic device sends a third control instruction to the second electronic device.

[0097] S111. The second electronic device responds to the third control instruction without performing networking adjustment.

[0098] In some examples, the second electronic device responds to the third control instruction and disconnects the WiFi channel established with the AP, which is equivalent to switching from a scenario where DBAC is supported to a scenario where no AP is connected. In this way, the P2P channel occupies a longer time of the wireless communication module, reducing problems such as freezes in all-scenario services and improving user experience.

[0099] In any of the two scenarios where the second electronic device is in different frequency and different channel and supports DBAC, or in the same frequency and different channel and supports DBAC, the first electronic device can switch to the cellular network and turn on the hotspot, and the second electronic device can disconnect the WiFi channel established with the AP and connect to the hotspot of the first electronic device to transmit wireless Internet data through the hotspot of the first electronic device. The two channels established by the second electronic device are the same physical channel, and the two channels established by the second resistance device include: a P2P channel established with the first electronic device, and a channel established with the hotspot of the first electronic device. Thus, the second electronic device is equivalent to switching to the same frequency and same channel scenario, so that the second electronic device omits the channel switching link, thereby reducing the problems of jamming in the full-scenario business, improving data transmission performance and user experience.

[0100] Fig. 9 Another signaling diagram of the data transmission control method provided in an embodiment of the present application is shown, which may include the following steps:

[0101] S201. The second electronic device determines that the second electronic device is in a first scenario according to the communication status of the second electronic device. The first scenario can be any one of the following three scenarios: no connection to AP, different frequency and different channel and supporting DBDC, and same frequency and same channel.

[0102] S202: The second electronic device does not perform networking adjustment.

[0103] S203: The second electronic device determines that the second electronic device is in a second scenario according to the communication status of the second electronic device. The second scenario can be any one of the following scenarios: different frequencies and different channels and supporting DBAC, and same frequency and different channels and supporting DBAC.

[0104] S204: The second electronic device sends a first message to the first electronic device. The first message may indicate 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, execute 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, execute step S208.

[0106] S206: The first electronic device sends a second control instruction to the second electronic device.

[0107] S207: The second electronic device responds to the second control instruction, 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 instruction to the second electronic device.

[0109] S209: The second electronic device responds to the third control instruction without performing networking adjustment.

[0110] Relative to Figure 8 The data transmission control method shown, Fig. 9 The data transmission control method shown is that the second electronic device determines the scene in which the second electronic device is located according to its own communication situation. When the second electronic device is in any of the two scenarios of different frequency and different channel and supporting DBAC, and the same frequency and different channel and supporting DBAC, the second electronic device informs the first electronic device that it needs to use the cellular Internet access capability of the first electronic device. When the first electronic device determines that it can switch to the cellular network and turn on the hotspot, the first electronic device and the second electronic device send a second control instruction. The second electronic device responds to the second control instruction, disconnects the WiFi channel established with the AP and connects to the hotspot of the first electronic device. The two channels established by the second electronic device are the same physical channel, and the two channels established by the second resistance device include: a P2P channel established with the first electronic device, and a channel established with the hotspot of the first electronic device. In this way, the second electronic device omits the channel switching link, thereby reducing the problems of jamming in the full-scene business, improving the data transmission performance and improving the user experience.

[0111] For the first electronic device with cellular Internet access capability, if the first electronic device is in any of the three scenarios of not connecting to AP, different frequency and different channel and supporting DBDC, and same frequency and same channel, the first electronic device does not make networking adjustments; if the first electronic device is in any of the two scenarios of different frequency and different channel and supporting DBAC, and same frequency and different channel and supporting DBAC, the first electronic device can disconnect the WiFi channel established with the AP and transmit the wireless Internet access data of the first electronic device through the cellular channel established with the cellular network. As a result, the wireless communication module of the first electronic device can increase the transmission of full-scenario service data, increase the time that full-scenario services occupy the wireless communication module, reduce the problems of full-scenario services such as freezes, improve data transmission performance and improve user experience.

[0112] In addition, some embodiments of the present application provide an electronic device, which includes: one or more processors and a memory; the memory is used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the above-mentioned data transmission control method.

[0113] Some embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and when the computer program is executed, the above-mentioned data transmission control method is implemented.

Claims

1. A data transmission control method, characterized in that: Applied in 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 first capability, and the method includes: The first type of data is transmitted through the first channel within a preset first time slice, a second channel is established between the second electronic device and the first wireless access point, and the second electronic device transmits the second type of data through the second channel within a preset second time slice, wherein the second channel and the first channel are two physical channels with the same channel type but different frequencies; A control instruction is sent to the second electronic device, where the control instruction is used to instruct the second electronic device to disconnect the second channel, and the second electronic device transmits the second type of data using the first capability of the first electronic device, where the channel type corresponding to the first capability is different from the channel type of the second channel.

2. The method according to claim 1, characterized in that The first capability is cellular Internet access capability.

3. The method according to claim 1 or 2, characterized in that: The method also includes: controlling the first electronic device to connect to a cellular network and turning 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 establish a third channel between the second electronic device and a hotspot corresponding to the hotspot information, and the second electronic device transmitting the second type of data through the third channel.

4. The method according to claim 3, characterized in that A fourth channel is established between the first electronic device and the second wireless access point, and the first electronic device transmits the second type of data within a preset third time slice through the fourth channel. After controlling the first electronic device to connect to the cellular network, the method further includes: disconnecting the fourth channel, and transmitting the second type of data of the first electronic device to the first electronic device through the cellular channel between the first electronic device and the cellular network; or, The fourth channel is maintained, and the first electronic device transmits the second type of data of the first electronic device through the fourth channel.

5. The method according to claim 3, characterized in that: The controlling the first electronic device to connect to the cellular network and turning on the hotspot of the first electronic device includes: controlling the first electronic device to connect to the cellular network and turning on the hotspot of the first electronic device when the cellular data of the first electronic device meets the hotspot turning on condition.

6. The method according to claim 5, characterized in that When the cellular data of the first electronic device meets the hotspot activation condition, controlling the first electronic device to connect to the cellular network and activating the hotspot of the first electronic device includes: When the signal quality of the cellular network of the first electronic device meets the hotspot activation condition, controlling the first electronic device to connect to the cellular network and activating the hotspot of the first electronic device; or, When the available Internet traffic of the first electronic device is greater than the available traffic threshold, controlling the first electronic device to connect to the cellular network and turning on the hotspot of the first electronic device; or, When the hotspot switch of the first electronic device is in the on state, the first electronic device is controlled to connect to the cellular network and the hotspot of the first electronic device is turned on.

7. The method according to any one of claims 1 to 6, characterized in that: The method further includes: receiving a communication status of the second electronic device sent by the second electronic device, the communication status of the second electronic device including whether the second electronic device has a second capability and a channel status of the second electronic device, the channel status 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 using two channels in one time slice; The sending of the control instruction to the second electronic device includes: if the communication status 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, then sending the control instruction to the second electronic device, the two channels including the first channel and the second channel.

8. The method according to claim 7, characterized in that The method also includes: if the communication status 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, then the networking of the second electronic device remains unchanged.

9. The method according to any one of claims 1 to 6, characterized in that: The method further includes: receiving a first message sent by the second electronic device, where the first message is used to instruct the second electronic device to trigger sending the control instruction to the second electronic device by using a first capability of the first electronic device.

10. The method according to any one of claims 1 to 9, characterized in that A fifth channel is established between the first electronic device and the second wireless access point, and 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 also includes: using the first capability to transmit the second type data of the first electronic device.

11. A data transmission control method, characterized in that: Applied in 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 first capability, and the method includes: The first type of data is transmitted through the first channel within a preset first time slice, a second channel is established between the second electronic device and the first wireless access point, and the second electronic device transmits the second type of data through the second channel within a preset second time slice, wherein the second channel and the first channel are two physical channels with the same channel type but different frequencies; receiving a control instruction sent by the first electronic device; In response to the control instruction, the second channel is disconnected, and the second type of data is transmitted using a first capability of the first electronic device, where a channel type corresponding to the first capability is different from a channel type of the second channel.

12. The method according to claim 11, characterized in that The control instruction carries the hotspot information of the first electronic device, and the use of the first capability of the first electronic device to transmit the second type of data includes: establishing a third channel between the second electronic device and the hotspot corresponding to the hotspot information, and the second electronic device transmitting the second type of data through the third channel.

13. The method according to claim 11 or 12, characterized in that: 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 a channel status of the second electronic device, the channel status 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 using two channels in one time slice; The first electronic device sends the control instruction when the communication status 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, and the two channels include the first channel and the second channel.

14. The method according to claim 13, characterized in that The method also includes: if the communication status 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, then the networking of the second electronic device remains unchanged.

15. The method according to claim 11 or 12, characterized in that: The method further includes: sending a first message to the first electronic device, where the first message is used to instruct the second electronic device to trigger the first electronic device to send the control instruction by using a first capability of the first electronic device.

16. An electronic device, characterized in that: The electronic device comprises: one or more processors and memory; The memory is used to store computer program codes, which include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the data transmission control method as described in any one of claims 1 to 15.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed, the data transmission control method according to any one of claims 1 to 15 is implemented.

Citation Information

Patent Citations

  • Channel adjustment method and electronic equipment

    CN112929972A

  • Multi-path transmission control method and control device

    CN113141637A

  • System and method for providing wireless internet access and electronic device

    CN113676902A

  • Data transmission method based on Wi-Fi P2P and electronic equipment

    CN115022849A

  • Multi-device cooperation method and related device

    CN115348630A