Communication method, terminal, and chip system
By enabling service data interaction and cellular network traffic sharing across different frequency channels, the problem of service interruption caused by low communication performance and insufficient traffic in DBSC terminals has been solved, achieving efficient and low-cost data transmission.
Patent Information
- Application Number
- PCT/CN2025/092013
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-12
- Filing Date
- 2025-04-29
- Publication Date
- 2026-02-19
AI Technical Summary
In existing technologies, when terminals supporting DBSC dynamically switch between the 2.4GHz and 5GHz frequency bands, their communication performance decreases, and when the remaining bandwidth is insufficient, it can easily lead to service interruption and excessive data transmission costs.
By exchanging service data on different frequency channels, using terminals that support DBDC to perform data conversion with the help of third terminals, or sharing traffic through cellular networks, service interruptions can be avoided, and users can be reminded to choose to continue or stop data transmission when traffic is insufficient.
It improved the terminal's communication performance, reduced data transmission costs, avoided service interruptions, and enhanced the user experience.
Smart Images

Figure CN2025092013_19022026_PF_FP_ABST
Abstract
Description
Communication method, terminal and chip system
[0001] The present application claims priority to the Chinese patent application No. 202411102637.1, filed on August 12, 2024, and entitled "A communication method, terminal and chip system", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of wireless communication, in particular to a communication method, terminal and chip system. BACKGROUND
[0003] Terminals can transmit data based on a wireless fidelity (Wi-Fi) peer-to-peer (P2P) connection. The working frequency bands of the terminals transmitting data based on the Wi-Fi P2P connection include a 2.4 GHz frequency band and a 5 GHz frequency band.
[0004] According to the working frequency bands supported by the terminal and whether the terminal supports concurrent data transmission, the terminal data transmission mode can be divided into the following types: single band single concurrent (SBSC), dual band single concurrent (DBSC), and dual band dual concurrent (DBDC). The terminal supporting SBSC integrates one set of baseband processing module and one set of radio frequency (RF) front end. The baseband processing module includes a medium access control layer and a physical layer. The terminal supporting SBSC supports only one working frequency band, which is generally the 2.4 GHz frequency band. The terminal supporting DBSC integrates two sets of baseband processing modules and one set of RF front end. The terminal can switch between the 2.4 GHz frequency band and the 5 GHz frequency band, and cannot support two working frequency bands at the same time. The terminal supporting DBDC integrates two sets of baseband processing modules and two sets of RF front end. The terminal supports the 2.4 GHz frequency band and the 5 GHz frequency band at the same time, and can work in the 2.4 GHz frequency band and the 5 GHz frequency band at the same time.
[0005] In the related art, the terminal supporting DBSC can dynamically switch between the 2.4 GHz frequency band and the 5 GHz frequency band, and realize time division multiplexing for different channels of the two working frequency bands. This mode is called dual band adaptive concurrent (DBAC). The terminal works in the communication mode of DBAC, which reduces the communication performance of the terminal. SUMMARY
[0006] The embodiment of the present application aims to provide a communication method, a terminal and a chip system to improve the communication performance of the terminal. The specific technical solutions are as follows.
[0007] In a first aspect, to achieve the above-mentioned purpose, the embodiment of the present application provides a communication method, which is applied to a first terminal, and the first terminal has established a connection with a second terminal; the second terminal does not support DBDC (dual-band dual-transmit).
[0008] The method comprises:
[0009] In the case that the first channel and the second channel are different frequency channels, the first terminal performs first service data interaction with the second terminal through the first channel, and the target communication terminal corresponding to the first service data performs the first service data interaction; wherein the first channel is a channel used by the first terminal and the second terminal to perform second service data interaction; the second channel is a channel used by the second terminal and a third terminal to perform the first service data interaction.
[0010] The first terminal performs the first service data interaction with the target communication terminal corresponding to the first service data, comprising:
[0011] In the case that the first terminal supports DBDC, the first terminal performs the first service data interaction with the third terminal through a third channel, so as to perform the first service data interaction with the target communication terminal corresponding to the first service data by means of the third terminal; wherein the third channel and the first channel are different frequency channels.
[0012] As can be seen from the above, the technical solution provided by the embodiment is that the first channel used by the second terminal and the first terminal to perform second service data interaction and the second channel used by the second terminal and the third terminal to perform first service data interaction are different frequency channels, and the second terminal does not support DBDC, which indicates that the second terminal adopts the DBAC communication mode to perform service data interaction with the first terminal and the third terminal respectively, then the second terminal stops performing the first service data interaction with the third terminal, and the first terminal performs the first service data interaction with the second terminal through the first channel. Correspondingly, when the first terminal supports DBDC, the first terminal performs the first service data interaction with the third terminal through the third channel, which can convert the DBAC communication mode of the second terminal into the DBDC communication mode of the first terminal, improve the efficiency of service data interaction, and improve the communication performance of the terminal.
[0013] In an embodiment of the present application, the first terminal performs the first service data interaction with the target communication terminal corresponding to the first service data, further comprising:
[0014] In a case that the first terminal does not support the DBDC, if the residual traffic of the first terminal satisfies the network sharing condition, the first terminal performs the first service data interaction with the target communication terminal corresponding to the first service data through the cellular network.
[0015] As can be seen from the above, the technical solution provided by the embodiment converts the communication mode of the DBAC of the second terminal into the communication mode through the cellular network of the first terminal when the first terminal does not support the DBDC and the residual traffic of the first terminal satisfies the network sharing condition, thereby improving the efficiency of the service data interaction and improving the communication performance of the terminal.
[0016] In an embodiment of the present application, the method further comprises:
[0017] In a case that the first terminal does not support the DBDC, if the residual traffic of the first terminal does not satisfy the network sharing condition, the first terminal sends a first feedback message to the second terminal, so that the second terminal establishes a connection with the third terminal after receiving the first feedback message and performs the first service data interaction with the third terminal through the second channel.
[0018] As can be seen from the above, the technical solution provided by the embodiment cannot make the second terminal perform the first service data interaction with the target communication terminal by means of the first terminal when the first terminal does not support the DBDC and the residual traffic of the first terminal does not satisfy the network sharing condition, and the second terminal re-performs the first service data interaction with the third terminal through the second channel, thereby avoiding service interruption.
[0019] In an embodiment of the present application, the network sharing condition is that the residual traffic of the first terminal is greater than a first threshold value, or the residual traffic of the first terminal is less than the residual traffic of the first terminal when the first terminal transmits the first service data at a first rate through the cellular network within a preset time period.
[0020] As can be seen from the above, the technical solution provided by the embodiment determines whether the network sharing condition is satisfied by the residual traffic of the first terminal, thereby avoiding that the traffic used for the first terminal to perform the first service data interaction with the target communication terminal exceeds the residual traffic of the first terminal, and reducing the cost of data transmission.
[0021] In an embodiment of the present application, after the first terminal performs the data interaction with the communication terminal corresponding to the first service data through the cellular network, the method further comprises:
[0022] when the network sharing condition is that the remaining traffic of the first terminal is greater than a first threshold value, in the process of data interaction between the first terminal and the target communication terminal through the cellular network, if the remaining traffic of the first terminal is less than a second threshold value, the first terminal displays a first interface; wherein the first interface comprises a reminder message of the remaining traffic of the first terminal, and a preset operation option of whether to continue transmission.
[0023] when the network sharing condition is that the traffic required for the first terminal to transmit the first service data at a first rate through the cellular network within a preset time period is less than the remaining traffic of the first terminal, in the process of data interaction between the first terminal and the target communication terminal through the cellular network, if the remaining traffic of the first terminal is less than a third threshold value, the first terminal displays the first interface; wherein the third threshold value is less than the second threshold value.
[0024] As can be seen from the above, the technical scheme provided by the embodiment avoids the use of traffic exceeding the remaining traffic of the first terminal, reduces the cost of data transmission, and improves the user experience.
[0025] In an embodiment of the present application, after the first interface is displayed, the method further comprises:
[0026] in response to a first operation of the user on the preset operation option in the first interface, the first terminal continues data interaction with the target communication terminal through the cellular network;
[0027] in response to a second operation of the user on the preset operation option in the first interface, the first terminal stops data interaction with the target communication terminal through the cellular network.
[0028] As can be seen from the above, the technical scheme provided by the embodiment determines whether to continue data interaction with the target communication terminal through the cellular network according to the user's selection when the remaining traffic of the first terminal is less, which can meet different needs of users and improve the user experience.
[0029] In an embodiment of the present application, after the stopping of data interaction with the target communication terminal through the cellular network, the method further comprises:
[0030] sending a second feedback message to the second terminal, so that the second terminal establishes a connection with the third terminal after receiving the second feedback message, and performs the first service data interaction with the third terminal through the second channel.
[0031] As can be seen from the above, the technical scheme provided by the embodiment can avoid service interruption by re-performing the first service data interaction between the second terminal and the third terminal through the second channel after the first terminal stops performing the first service data interaction with the target communication terminal through the cellular network.
[0032] In an embodiment of the present application, the performing of the first service data interaction by the target communication terminal corresponding to the first service data comprises:
[0033] When the first service data sent by the second terminal is received, the first service data is forwarded to the target communication terminal corresponding to the first service data according to the destination identifier of the first service data.
[0034] As can be seen from the above, the technical scheme provided by the embodiment can avoid service interruption by re-performing the first service data interaction between the second terminal and the third terminal through the second channel after the first terminal stops performing the first service data interaction with the target communication terminal through the cellular network.
[0035] In an embodiment of the present application, the performing of the first service data interaction by the target communication terminal corresponding to the first service data further comprises:
[0036] In the case that the first terminal does not support DBDC, if the fourth channel through which the first terminal performs the service data interaction with the fourth terminal is the same as the first channel, the first terminal performs the first service data interaction with the fourth terminal through the fourth channel, so as to perform the interaction with the target communication terminal of the first service data by means of the fourth terminal.
[0037] As can be seen from the above, the technical scheme provided by the embodiment can improve the efficiency of performing the service data interaction and improve the communication performance of the terminal by performing the first service data interaction with the first terminal and the fourth terminal through the same channel respectively when the first terminal does not support DBDC.
[0038] In a second aspect, to achieve the above object, the embodiments of the present application provide a communication method, which is applied to a second terminal, wherein the second terminal does not support DBDC; the second terminal has established a connection with a first terminal and a third terminal respectively;
[0039] The method comprises:
[0040] In the case that the first channel and the second channel are different frequency channels, the established connection with the third terminal is disconnected, so as to stop the first service data interaction with the third terminal, and the first service data interaction with the first terminal is performed through the first channel;
[0041] The first channel is a channel used by the second terminal to interact with the first terminal for second service data; and the second channel is a channel used by the second terminal to interact with a third terminal for the first service data.
[0042] The first service data interaction between the first terminal and the second terminal through the first channel comprises:
[0043] The first service data interaction between the first terminal and the second terminal through the first channel, in a case where the first terminal supports DBDC, the first terminal interacts with the third terminal for the first service data through a third channel, so as to interact with a target communication terminal corresponding to the first service data through the third terminal; and the third channel is different from the first channel.
[0044] As can be seen from the above, the first channel used by the second terminal to interact with the first terminal for second service data and the second channel used by the second terminal to interact with the third terminal for the first service data are different frequency channels, and the second terminal does not support DBDC, which indicates that the second terminal adopts a DBAC communication mode to interact with the first terminal and the third terminal for service data, and then the second terminal stops interacting with the third terminal for the first service data, and the first terminal interacts with the second terminal for the first service data through the first channel. Accordingly, in a case where the first terminal supports DBDC, the first terminal interacts with the third terminal for the first service data through a third channel, so as to convert the DBAC communication mode of the second terminal into the DBDC communication mode of the first terminal, improve the efficiency of service data interaction, and improve the communication performance of the terminal.
[0045] In an embodiment of the present application, the first service data interaction between the first terminal and the second terminal through the first channel further comprises:
[0046] The first service data interaction between the first terminal and the second terminal through the first channel, in a case where the first terminal does not support DBDC, if the remaining traffic of the first terminal meets a network sharing condition, the first terminal interacts with a target communication terminal corresponding to the first service data for the first service data through a cellular network.
[0047] As can be seen from the above, the first service data interaction between the first terminal and the second terminal through the first channel, in a case where the first terminal does not support DBDC, if the remaining traffic of the first terminal meets a network sharing condition, the first terminal interacts with a target communication terminal corresponding to the first service data for the first service data through a cellular network.
[0048] In one embodiment of the present application, the first service data interaction with the first terminal through the first channel further comprises:
[0049] In the case that the first terminal does not support DBDC, if the fourth channel through which the first terminal and the fourth terminal interact with each other is the same as the first channel, the first terminal interacts with the fourth terminal through the fourth channel to interact with the target communication terminal of the first service data through the fourth terminal.
[0050] As can be seen from the above, the technical solution provided by the present embodiment improves the efficiency of service data interaction and the communication performance of the terminal by using the first terminal to interact with the first terminal and the fourth terminal through the same channel in the case that the first terminal does not support DBDC.
[0051] In one embodiment of the present application, in the case that the first channel and the second channel are different frequency channels, the established connection with the third terminal is disconnected to stop the first service data interaction with the third terminal, which comprises:
[0052] In the case that the first channel and the second channel are different frequency channels, the working capability information of the first terminal is acquired.
[0053] In the case that the working capability information meets the service transfer condition, the established connection with the third terminal is disconnected to stop the first service data interaction with the third terminal.
[0054] As can be seen from the above, in the case that the working capability information of the first terminal meets the service transfer condition, it is determined that the first terminal can interact with the target communication terminal, and thus the second terminal can avoid the service interruption caused by the disconnection of the connection with the third terminal in the case that the first terminal cannot perform service transfer.
[0055] In one embodiment of the present application, the working capability information comprises whether the first terminal supports DBDC, whether the first terminal uses a cellular network, and a fourth channel through which the first terminal and the fourth terminal interact with each other; and the working capability information meeting the service transfer condition comprises at least one of the following: the first terminal supports DBDC, the first terminal uses a cellular network, and the fourth channel through which the first terminal and the fourth terminal interact with each other is the same as the first channel.
[0056] Or,
[0057] The working capability information includes whether the first terminal supports DBDC, residual traffic of the first terminal, and a fourth channel used for the first terminal to interact with a fourth terminal; and the working capability information satisfying the service transfer condition includes at least one of the following: the first terminal supports DBDC, the residual traffic of the first terminal satisfies a network sharing condition, and the fourth channel used for the first terminal to interact with the fourth terminal is the same as the first channel.
[0058] As can be seen from the above, the technical solution provided by the embodiment can determine whether the first terminal satisfies the service transfer condition through the working capability information, and then determine whether the first terminal can interact with the target communication terminal, so that the second terminal can avoid disconnecting from the third terminal and causing service interruption when the first terminal cannot perform service transfer.
[0059] In an embodiment of the present application, after the first terminal interacts with the first terminal through the first channel, the method further includes:
[0060] receiving a first feedback message sent by the first terminal, wherein the first feedback message indicates that the first terminal does not support DBDC and the residual traffic of the first terminal does not satisfy the network sharing condition;
[0061] establishing a connection with the third terminal and interacting with the third terminal through the second channel.
[0062] As can be seen from the above, the technical solution provided by the embodiment can determine whether the first terminal satisfies the service transfer condition through the working capability information, and then determine whether the first terminal can interact with the target communication terminal, so that the second terminal can avoid disconnecting from the third terminal and causing service interruption when the first terminal cannot perform service transfer.
[0063] In an embodiment of the present application, after the first terminal interacts with the first terminal through the first channel, the method further includes:
[0064] receiving a second feedback message sent by the first terminal, wherein the second feedback message indicates that the first terminal stops interacting with the communication terminal corresponding to the first service data through the cellular network during the process of the first terminal interacting with the target communication terminal through the cellular network;
[0065] establishing a connection with the third terminal and interacting with the third terminal through the second channel.
[0066] As can be seen from the above, the technical scheme provided by the embodiment can avoid service interruption after the first terminal stops the first service data interaction with the target communication terminal through the cellular network, and the second terminal re-performs the first service data interaction with the third terminal through the second channel.
[0067] In a third aspect, the embodiment of the present application further provides a terminal, comprising:
[0068] one or more processors and a memory;
[0069] The memory is coupled to the one or more processors, and the memory is configured to store computer program codes, the computer program codes comprising computer instructions, and the one or more processors are configured to invoke the computer instructions to enable the terminal to perform the communication method according to any one of the above.
[0070] In a fourth aspect, the embodiment of the present application further provides a computer readable storage medium, comprising a computer program, when the computer program is executed on a terminal, the computer program enables the terminal to perform the communication method according to any one of the above.
[0071] In a fifth aspect, the embodiment of the present application further provides a computer program product, the computer program product comprises executable instructions, when the executable instructions are executed on a terminal, the executable instructions enable the terminal to perform the communication method according to any one of the above.
[0072] In a sixth aspect, the embodiment of the present application further provides a chip system, the chip system is applied to a terminal, and the chip system comprises one or more processors, and the processor is configured to invoke computer instructions to enable the terminal to perform the communication method according to any one of the above.
[0073] The beneficial effects of the schemes provided by the embodiments of the above second aspect, third aspect, fourth aspect, fifth aspect and sixth aspect can refer to the beneficial effects of the schemes provided by the embodiments of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0074] In order to more clearly illustrate the technical scheme of the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0075] FIG. 1 is a structural diagram of a terminal provided by the embodiment of the present application;
[0076] FIG. 2 is a software structure block diagram of a terminal provided by the embodiment of the present application;
[0077] FIG. 3 is a schematic diagram of a first application scenario of the communication method provided by the embodiments of the present application;
[0078] FIG. 4 is a schematic diagram of a communication mode of a DBAC provided by the embodiments of the present application;
[0079] FIG. 5 is a flowchart of a first communication method provided by the embodiments of the present application;
[0080] FIG. 6 is a schematic diagram of a second application scenario of the communication method provided by the embodiments of the present application;
[0081] FIG. 7 is a flowchart of a second communication method provided by the embodiments of the present application;
[0082] FIG. 8 is a schematic diagram of a third application scenario of the communication method provided by the embodiments of the present application;
[0083] FIG. 9 is a schematic diagram of a fourth application scenario of the communication method provided by the embodiments of the present application;
[0084] FIG. 10 is a schematic diagram of a fifth application scenario of the communication method provided by the embodiments of the present application;
[0085] FIG. 11 is a schematic diagram of a first application scenario of the communication method provided by the embodiments of the present application applied to FIG. 8;
[0086] FIG. 12 is a schematic diagram of a first application scenario of the communication method provided by the embodiments of the present application applied to FIG. 9;
[0087] FIG. 13 is a schematic diagram of a first application scenario of the communication method provided by the embodiments of the present application applied to FIG. 10;
[0088] FIG. 14 is a schematic diagram of a second application scenario of the communication method provided by the embodiments of the present application applied to FIG. 8;
[0089] FIG. 15 is a schematic diagram of a second application scenario of the communication method provided by the embodiments of the present application applied to FIG. 9;
[0090] FIG. 16 is a schematic diagram of a second application scenario of the communication method provided by the embodiments of the present application applied to FIG. 10;
[0091] FIG. 17 is a schematic diagram of a third application scenario of the communication method provided by the embodiments of the present application applied to FIG. 8;
[0092] FIG. 18 is a schematic diagram of a third application scenario of the communication method provided by the embodiments of the present application applied to FIG. 9;
[0093] FIG. 19 is a schematic diagram of a third application scenario of the communication method provided by the embodiments of the present application applied to FIG. 10;
[0094] FIG. 20 is a schematic diagram of a first interface according to an embodiment of the present application;
[0095] FIG. 21 is a schematic diagram of a second interface according to an embodiment of the present application;
[0096] FIG. 22 is a schematic diagram of a first user performing a first operation in the first interface according to an embodiment of the present application;
[0097] FIG. 23 is a schematic diagram of a second user performing the first operation in the first interface according to an embodiment of the present application;
[0098] FIG. 24 is a schematic diagram of the first user performing a second operation in the first interface according to an embodiment of the present application;
[0099] FIG. 25 is a schematic diagram of the second user performing the second operation in the first interface according to an embodiment of the present application;
[0100] FIG. 26 is a flowchart of a method for establishing a trust relationship according to an embodiment of the present application;
[0101] FIG. 27 is a structural diagram of a chip system according to an embodiment of the present application. DETAILED DESCRIPTION
[0102] In order to better understand the technical solutions of the present application, the embodiments of the present application are described in detail below with reference to the drawings.
[0103] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using "first", "second", etc. For example, the first instruction and the second instruction are used to distinguish different user instructions, and the order is not limited. Those skilled in the art can understand that "first", "second", etc. do not limit the number and execution order, and "first", "second", etc. do not necessarily mean different.
[0104] It should be noted that in the present application, the words "exemplarily" or "for example" are used to represent an example, illustration or description. Any embodiment or design scheme described as "exemplarily" or "for example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. In fact, the words "exemplarily" or "for example" are used to present the relevant concept in a specific way.
[0105] The communication method provided in the embodiments of the present application is applied to a terminal. The terminal can be a mobile phone, a tablet computer, a personal digital assistant (PDA), a smart watch, a wearable terminal, an augmented reality (AR) device, a virtual reality (VR) device, a robot, smart glasses, or the like. In this way, the terminal can perform efficient data transmission with other terminals according to the method provided in the embodiments of the present application, and improve the communication performance of the terminal.
[0106] For example, FIG. 1 shows a structural diagram of a terminal 100. The terminal 100 can include a processor 110, a display screen 120, a camera 130, an internal memory 140, a subscriber identification module (SIM) card interface 150, a universal serial bus (USB) interface 160, a charging management module 170, a battery management module 171, a battery 172 with a battery core and a battery protection device, a sensor module 180, a mobile communication module 190, a wireless communication module 200, an antenna 1 and an antenna 2, and the like. The sensor module 180 can include a pressure sensor 180A, a fingerprint sensor 180B, a touch sensor 180C, an ambient light sensor 180D, and the like.
[0107] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, the terminal 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0108] The processor 110 can include one or more processing units, e.g., the processor 110 can include a central processing unit (CPU), 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), etc. Different processing units can be independent components or integrated in one or more processors. In some embodiments, the terminal 100 can also include one or more processors 110. Among them, the controller can generate operation control signals according to instruction operation codes and timing signals, complete the control of fetching instructions and executing instructions. In other embodiments, the processor 110 can also be provided with a memory for storing instructions and data. Exemplarily, the memory in the processor 110 can be a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can be directly called from the memory. In this way, repeated access is avoided, the waiting time of the processor 110 is reduced, and thus the efficiency of the terminal 100 in processing data or executing instructions is improved.
[0109] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include Inter-Integrated Circuit (I2C) interfaces, Inter-Integrated Circuit Sound (I2S) interfaces, Pulse Code Modulation (PCM) interfaces, Universal Asynchronous Receiver / Transmitter (UART) interfaces, Mobile Industry Processor Interface (MIPI), General-Purpose Input / Output (GPIO) interfaces, SIM card interfaces, and / or USB interfaces, etc. The USB interface 160 is an interface that conforms to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 160 can be used to connect a charger to charge the terminal 100, and can also be used to transmit data between the terminal 100 and a peripheral device. The USB interface 160 can also be used to connect a headset to play audio through the headset.
[0110] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is used for illustrative description, and does not constitute a structural limitation of the terminal 100. In some other embodiments of the present application, the terminal 100 can also use different interface connection modes or combinations of multiple interface connection modes in the above embodiments.
[0111] The wireless communication function of the terminal 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 190, the wireless communication module 200, the modem processor, and the baseband processor, etc.
[0112] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas can be used in combination with tuning switches.
[0113] The terminal 100 realizes the display function through the GPU, the display screen 120, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 120 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.
[0114] The display screen 120 is configured to display images, videos, and the like. The display screen 120 includes a display panel. The display panel can be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an Active-Matrix Organic Light Emitting Diode (AMOLED), a Flex Light-Emitting Diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a Quantum Dot Light Emitting Diodes (QLED), or the like. In some embodiments, the terminal 100 can include one or more display screens 120.
[0115] In some embodiments of the present application, when the display panel is made of OLED, AMOLED, FLED, or the like, the display screen 120 in FIG. 1 can be bent. Here, the display screen 120 can be bent at any part to any angle and can be kept at the angle, for example, the display screen 120 can be folded left and right from the middle. It can also be folded up and down from the middle.
[0116] The display screen 120 of the terminal 100 can be a flexible screen. At present, the flexible screen is attracting much attention due to its unique characteristics and great potential. Compared with the traditional screen, the flexible screen has the characteristics of strong flexibility and bendability, can provide a new interaction mode based on the bendable characteristics for users, and can meet more needs of users for the terminal. For the terminal with a foldable display screen, the foldable display screen on the terminal can be switched between the small screen in the folded form and the large screen in the unfolded form at any time. Therefore, the user uses the split screen function on the terminal with the foldable display screen more and more frequently.
[0117] The terminal 100 can realize the photographing function through an ISP, a camera 130, a video codec, a GPU, a display screen 120, and an application processor, and the like, wherein the camera 130 includes a front camera and a rear camera.
[0118] ISP is used to process the data feedback from the camera 130. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and is converted into an image visible to the naked eye. ISP can optimize the noise, brightness and color of the image through algorithm. ISP can also optimize the exposure and color temperature of the shooting scene and other parameters. In some embodiments, ISP can be arranged in the camera 130.
[0119] The camera 130 is used to take photos or videos. Objects generate optical images through lenses and project them onto photosensitive elements. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard Red Green Blue (RGB), YUV, etc. format image signal. In some embodiments, the terminal 100 can include one or N cameras 130, where N is a positive integer greater than 1.
[0120] The digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0121] The video codec is used to compress or decompress digital video. The terminal 100 can support one or more video codecs. In this way, the terminal 100 can play or record videos in multiple encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, and MPEG 4.
[0122] NPU is a neural network (Neural-Network, NN) computing processor, which is based on the structure of biological neural network, such as the transmission mode between human brain neurons, and can quickly process input information and continuously self-learn. Through NPU, the terminal 100 can realize intelligent cognition and other applications, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0123] The internal memory 140 can be used to store one or more computer programs including instructions. The processor 110 can cause the terminal 100 to perform the communication method provided in some embodiments of the present application, various applications and data processing, etc. by running the above-mentioned instructions stored in the internal memory 140. The internal memory 140 can include a program storage area and a data storage area. The program storage area can store an operating system, and can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data created during the use of the terminal 100 (such as photos, contacts, etc.). In addition, the internal memory 140 can include a high-speed random access memory, and can also include a non-volatile memory such as one or more disk storage components, flash memory components, Universal Flash Storage (UFS), etc. In some embodiments, the processor 110 can cause the terminal 100 to perform the communication method provided in the embodiments of the present application, and other applications and data processing by running the instructions stored in the internal memory 140 and / or the instructions stored in the memory disposed in the processor 110.
[0124] The internal memory 140 can be used to store the related programs of the communication method provided in the embodiments of the present application, and the processor 110 can be used to call the related programs of the communication method stored in the internal memory 140 when displaying information, and execute the communication method of the embodiments of the present application.
[0125] The sensor module 180 can include a pressure sensor 180A, a fingerprint sensor 180B, a touch sensor 180C, an ambient light sensor 180D, etc.
[0126] The pressure sensor 180A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display 120. The pressure sensor 180A can be of various types, such as a resistive pressure sensor, an inductive pressure sensor, or a capacitive pressure sensor. The capacitive pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes, and the terminal 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display 120, the terminal 100 detects the touch operation based on the pressure sensor 180A. The terminal 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view a short message is executed; when a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
[0127] The fingerprint sensor 180B is configured to acquire a fingerprint. The terminal 100 can use the acquired fingerprint characteristics to implement functions such as unlocking, accessing an application lock, taking a photograph, and answering an incoming call.
[0128] The touch sensor 180C is also referred to as a touch device. The touch sensor 180C can be disposed on the display 120, and the touch sensor 180C and the display 120 together form a touch screen, which is also referred to as a touch screen. The touch sensor 180C is configured to detect a touch operation applied to or near the touch sensor 180C. The touch sensor 180C can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display 120. In other embodiments, the touch sensor 180C can also be disposed on the surface of the terminal 100 and disposed at a position different from the display 120.
[0129] The ambient light sensor 180D is configured to sense the brightness of ambient light. The terminal 100 can adaptively adjust the brightness of the display 120 based on the sensed brightness of the ambient light. The ambient light sensor 180D can also be used to automatically adjust the white balance when photographing. The ambient light sensor 180D can also transmit information about the environment in which the device is located to the GPU.
[0130] The ambient light sensor 180D is also configured to obtain the brightness, light ratio, color temperature, and the like of the acquisition environment of the image acquired by the camera 130.
[0131] FIG. 2 is a software structure block diagram of a terminal to which embodiments of the present application are applicable. The software system of the terminal can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The layered architecture divides the software system of the terminal into a plurality of layers, each of which has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the software system can be divided into three layers, namely, an application layer, an application framework layer, and a hardware abstract layer (HAL).
[0132] The application layer can include a series of application packages, and the application layer runs the applications by calling application programming interfaces (APIs) provided by the application framework layer. As shown in FIG. 2, the application packages can include a plurality of applications, such as a camera, a clock, a browser, and music, etc. It can be understood that each of the above-mentioned application ports can be used to receive data.
[0133] The application framework layer provides APIs and programming frameworks for the applications of the application layer. The application framework layer includes a plurality of pre-defined functions. As shown in FIG. 2, the application framework layer can include a window manager, a content provider, a view system, a resource manager, a notification manager, and a Dynamic Host Configuration Protocol (DHCP) module, etc.
[0134] The driver layer is a layer between hardware and software, and is used to drive the hardware to work. A plurality of drivers for driving the hardware to work can be installed in the driver layer. For example, a camera driver, a display driver, an audio driver, and a sensor driver, etc.
[0135] In addition, the terminal also includes a hardware layer, which can include a camera, a speaker, a display screen, a battery, etc. The hardware layer is connected with the driver layer.
[0136] The problems of the prior art will be described below in combination with a specific application scenario. FIG. 3 is only used to illustrate by way of example, and does not limit the communication method provided by the embodiments of the present application to the application scenario shown in FIG. 3.
[0137] Referring to FIG. 3, a personal computer (PC) is used as a station (STA) and is connected with a router, and transmits service data with other terminals (such as a PC, a mobile phone, etc.) through the router. The PC and the router use a 2.4 GHz frequency channel to transmit service data.
[0138] And, the PC and the mobile phone transmit service data of full-scene service. The PC and the mobile phone transmit service data using a channel of 5GHz frequency band. The full-scene service between the PC and the mobile phone refers to service based on Wi-Fi P2P connection between the mobile phone and the PC. For example, the mobile phone screens to the PC, the mobile phone shares data to the PC, and the super terminal service between the PC and the mobile phone. For example, the super terminal service includes the super keyboard and mouse service in which the PC and the mobile phone share using a keyboard and a mouse, the super application connection service in which the PC and the mobile phone share content and use state of an application program, and the super call service in which the PC and the mobile phone share a call, etc.
[0139] Since the PC does not support DBDC, and the PC transmits service data with the router, and the PC transmits service data with the mobile phone using different channels of different working frequency bands (i.e. different frequency and different channel), the PC transmits service data according to the communication mode of DBAC.
[0140] The communication mode of DBAC refers to that the PC uses time division multiplexing to dynamically switch between 2.4GHz frequency band and 5GHz frequency band. For example, referring to FIG. 4, service data transmitted between the PC and the router is referred to as data 1, and service data transmitted between the PC and the mobile phone is referred to as data 2. The PC works in 2.4GHz frequency band in the first time interval, at this time, the PC transmits data 1 with the router; the PC works in 5GHz frequency band in the second time interval, at this time, the PC transmits data 2 with the mobile phone; the PC works in 2.4GHz frequency band in the third time interval, at this time, the PC transmits data 1 with the router; the PC works in 5GHz frequency band in the fourth time interval, at this time, the PC transmits data 2 with the mobile phone.
[0141] The above process, the PC uses time division multiplexing to dynamically switch between 2.4GHz frequency band and 5GHz frequency band, which can cause low efficiency of transmitting service data between the PC and the router, and low efficiency of transmitting service data between the PC and the mobile phone, and reduce the communication performance of the PC.
[0142] The communication method provided in the embodiments of the present application, the first channel used by the PC and the mobile phone for the second service data interaction, and the second channel used by the PC and the router for the first service data interaction are different frequency channels, and the PC does not support DBDC, which indicates that the PC uses the DBAC communication mode to respectively perform service data interaction with the mobile phone and the router, then the PC stops the first service data interaction with the router, and performs the first service data interaction with the mobile phone through the first channel. Correspondingly, in the case that the mobile phone supports DBDC, the mobile phone performs the first service data interaction with the third terminal through the third channel, that is, the DBAC communication mode of the PC is converted into a communication mode of interacting with the target communication terminal corresponding to the first service data by means of the DBDC capability of the mobile phone, and the transmission efficiency of the DBDC communication mode is higher than that of the DBAC communication mode, so that the communication performance of the terminal can be improved.
[0143] Next, the communication method provided in the embodiments of the present application is described in detail through specific embodiments.
[0144] Referring to FIG. 5, FIG. 5 is a flowchart of a communication method provided in the embodiments of the present application, which can include the following steps:
[0145] S501: The terminal A performs STA service, and the terminal A has no DBDC capability.
[0146] In this step, the terminal A (i.e., the second terminal) establishes STA connection with the router (i.e., the third terminal), and performs service data interaction with the mobile phone (the target communication terminal) through the router. The terminal A and the router perform service data interaction using the second channel.
[0147] For example, referring to FIG. 6, the terminal A is the PC in FIG. 6, the PC establishes STA connection with the router 1, and performs social application service with the mobile phone 2 through the router 1. The second channel used by the PC and the router 1 for social application data interaction is a channel of the 2.4 GHz frequency band.
[0148] S502: The terminal A and the terminal B initiate full-scene service.
[0149] In this step, the terminal B (i.e., the first terminal) and the terminal A perform full-scene service, and the terminal A and the terminal B perform full-scene service data interaction using the first channel.
[0150] For example, in FIG. 6, the terminal B is the mobile phone 1, the mobile phone 1 establishes Wi-Fi P2P connection with the PC, and performs data uploading service (such as uploading the image shot by the mobile phone 1 to the PC). The first channel used by the mobile phone 1 for uploading data to the PC is a channel of the 5 GHz frequency band.
[0151] S503: The terminal A judges whether the channels used by the full-scene service and the STA service are consistent. If yes, step S504 is executed. If no, step S505 is executed.
[0152] In this step, the terminal A judges whether the channels used by the full-scene service and the STA service are consistent, that is, judges whether the first channel and the second channel are consistent, to determine whether the terminal A appears the DBAC scene.
[0153] As shown in FIG. 6, the PC judges whether the second channel used by the social application service with the router 1 and the first channel used by the data uploading service with the mobile phone 1 are consistent, to determine whether the PC appears the DBAC scene.
[0154] S504: End.
[0155] In this step, the channels used by the full-scene service and the STA service of the terminal A are consistent, so the terminal A does not need to switch the working channel and does not appear the DBAC scene, and the terminal A can not be processed.
[0156] S505: The terminal A judges whether the terminal B has the DBDC capability. If yes, step S506 is executed. If no, step S510 is executed.
[0157] In this step, the channels used by the full-scene service and the STA service of the terminal A are inconsistent, so the terminal A appears the DBAC scene, and then the terminal A judges whether the terminal B has the DBDC capability.
[0158] As shown in FIG. 6, the PC uses the second channel of the 2.4 GHz frequency band for the social application service with the router 1, and uses the first channel of the 5 GHz frequency band for the data uploading service with the mobile phone 1, the first channel and the second channel are inconsistent, it is determined that the PC appears the DBAC scene, and then the PC judges whether the mobile phone 1 has the DBDC capability.
[0159] S506: The terminal B performs the DBDC, the DBAC of the terminal A is eliminated, and the efficient service is performed: the P2P connection is successfully established, and the STA data packet passes through the P2P link.
[0160] In this step, when the terminal B has the DBDC capability, the terminal A efficiently performs the STA service by means of the DBDC capability of the terminal B, and the DBAC scene of the terminal A can be eliminated. Specifically, after the terminal A and the terminal B successfully establish the Wi-Fi P2P connection, the terminal A sends the STA data packet to the terminal B through the P2P link.
[0161] As shown in FIG. 6, the PC sends the social application data originally sent to the router 1 to the mobile phone 1.
[0162] S507: The terminal A disconnects the connection with the router.
[0163] In this step, terminal A determines to perform STA service by means of DBDC capability of terminal B, and terminal A disconnects the connection with the router and stops sending STA service data to the router.
[0164] As shown in FIG. 6, the PC disconnects the connection with the router 1 and stops sending social application data to the router 1.
[0165] S508: Identifying data packets and full-scene data packets on the P2P link.
[0166] Terminal A needs to identify data packets transmitted on the P2P link, and the transmitted data packets include STA service data packets and full-scene service data packets, wherein the data packets mentioned in the above step S508 are STA service data packets, and the full-scene data packets are full-scene service data packets.
[0167] In this step, when terminal A sends STA data packets to terminal B through the P2P link, the destination identifier of the data packets is encapsulated in the data packets, so as to distinguish the STA service data packets from the full-scene service data packets sent by terminal A.
[0168] S509: Distributing according to the destination identified by the data packets.
[0169] In this step, after terminal B receives the data packets sent by terminal A, the destination identifier of the data packets is parsed, and the STA service data packets are sent to the router according to the destination identifier of the data packets, and the full-scene service data packets are determined as the data packets received by terminal B according to the destination identifier of the data packets.
[0170] As shown in FIG. 6, after the mobile phone 1 receives the social application data sent by the PC, it is determined that the destination of the social application data is the mobile phone 2, and then the mobile phone 1 sends the social application data to the router 1 according to the link 1, and the router 1 sends the social application data to the mobile phone 2. After the mobile phone 2 receives the social application data sent by the router 1, it responds, and then the mobile phone 2 returns the social application data generated in response to the router 1 according to the link 1, and then the router 1 sends the social application data received from the mobile phone 2 to the mobile phone 1, the mobile phone 1 sends the social application data received from the router 1 to the PC, and the process is repeated until the service is completed.
[0171] S510: Determining whether the channel used by the STA service of terminal B is consistent with the channel used by the full-scene service, if yes, performing step S511, and if no, performing step S512.
[0172] In this step, terminal B does not support DBDC, and terminal A cannot use the DBDC capability of terminal B to perform the STA service. Terminal B performs the full-scene service with terminal A and performs the STA service with another router (i.e., the fourth terminal), and it is detected whether the first channel on which terminal B performs the full-scene service with terminal A and the fourth channel on which terminal B performs the STA service with another router are consistent.
[0173] As shown in FIG. 6, when the mobile phone 1 performs the data uploading service with the PC through the first channel of the 5 GHz frequency band, the mobile phone 1 performs other services (such as the downloading service) with the router 2, and it is detected whether the fourth channel on which the mobile phone 1 performs the other services with the router 2 is the same as the first channel on which the mobile phone 1 performs the data uploading service with the PC.
[0174] S511: When the two terminals are not DBDC, terminal B performs the full-scene service and the STA service of terminal A on the same channel.
[0175] In this step, when neither terminal A nor terminal B supports DBDC, the first channel on which terminal B performs the full-scene service with terminal A and the fourth channel on which terminal B performs the STA service with another router are consistent, and terminal B can perform the full-scene service and the STA service of terminal A on the same channel. Specifically, after the Wi-Fi P2P connection between terminal A and terminal B is successfully established, terminal A sends the STA data packet to terminal B through the P2P link, and terminal B performs the first service data interaction with the target communication terminal.
[0176] As shown in FIG. 6, the fourth channel on which the mobile phone 1 performs the other services with the router 2 is the channel of the 5 GHz frequency band, and is the same as the first channel on which the mobile phone 1 performs the data uploading service with the PC, and then the PC disconnects the connection with the router 1, stops sending the social application data to the router 1, and sends the social application data originally sent to the router 1 to the mobile phone 1.
[0177] After the mobile phone 1 receives the social application data sent by the PC, it is determined that the destination of the social application data is the mobile phone 2, and then the mobile phone 1 sends the social application data to the router 2 according to the link ③, and the router 2 sends the social application data to the mobile phone 2. After the mobile phone 2 receives the social application data sent by the router 2, it responds, and then the mobile phone 2 returns the social application data generated in response to the router 2 according to the link ③, and the router 2 sends the social application data received from the mobile phone 2 to the mobile phone 1, the mobile phone 1 sends the social application data received from the router 2 to the PC, and the process is repeated until the service is completed.
[0178] S512: It is determined whether terminal B has excess traffic and is more, such as the remaining amount of the current month's package exceeding 20 GB, and if so, step S513 is performed, and if not, step S515 is performed.
[0179] In this step, when terminal B does not support DBDC, and terminal B cannot perform full-scene service and STA service of terminal A on the same channel, if the traffic of terminal B (i.e. the remaining traffic) is large, for example, the remaining amount of the monthly package of terminal B exceeds 20 GB (i.e. the first threshold), terminal A can share the cellular network of terminal B.
[0180] S513: When terminal A and terminal B are not DBDC, network sharing is adopted, i.e. the STA data of terminal A is sent by terminal B through the cellular network.
[0181] In this step, when terminal A and terminal B are not DBDC, and the traffic of terminal B is large, network sharing is adopted, i.e. the STA data of terminal A is sent by terminal B through the cellular network.
[0182] As shown in FIG. 6, the mobile phone 1 sends the social application data of the PC to the mobile phone 2 according to the link ②. After receiving the social application data sent by the mobile phone 1, the mobile phone 2 responds, and then the mobile phone 2 returns the social application data generated in response to the mobile phone 1 according to the link ②, and the mobile phone 1 sends the social application data received from the mobile phone 2 to the PC.
[0183] S514: When the traffic is less than 20 GB, the user is prompted to make a selection.
[0184] In this step, during the process of sending the STA data of terminal A by terminal B through the cellular network, if the traffic of terminal B is less than 20 GB, terminal B prompts the user to make a selection of whether to continue to use the cellular network for the STA service of terminal A, and determines whether to continue to use the cellular network for the STA service of terminal A according to the selection of the user.
[0185] If the user selects to continue to use the cellular network for the STA service of terminal A, terminal B continues to use the cellular network for the STA service of terminal A. If the user selects to stop using the cellular network for the STA service of terminal A, terminal B stops using the cellular network for the STA service of terminal A.
[0186] S515: When the traffic flow rate of terminal A is low, whether the traffic of terminal B will be exhausted within 20 hours, if yes, step S516 is executed.
[0187] In this step, when terminal B does not support DBDC, if the remaining traffic of terminal B is small, for example, the remaining amount of the monthly package of terminal B is less than 20 GB, it is continuously determined whether the traffic of terminal B will be exhausted within 20 hours (a preset time length) when the traffic flow rate (i.e. the first rate) of terminal A is low, and terminal B uses the cellular network for the STA service of terminal A.
[0188] S516: When the terminal A is a double-end non-DBDC, the network sharing mode is adopted: the STA data of the terminal A is transmitted through the cellular network of the terminal B.
[0189] In this step, when the service flow rate of the terminal A is low, the terminal B transmits the STA data of the terminal A through the cellular network, and the traffic of the terminal B will not be exhausted within 20 hours, the cellular network of the terminal B can be shared. The network sharing mode is adopted, that is, the terminal B transmits the STA data of the terminal A through the cellular network.
[0190] As shown in FIG. 6, the mobile phone 1 transmits the social application data of the PC to the mobile phone 2 according to the link ②. After the mobile phone 2 receives the social application data transmitted by the mobile phone 1, the mobile phone 2 responds, and then the mobile phone 2 returns the social application data generated by the response to the mobile phone 1 according to the link ②, and the mobile phone 1 transmits the social application data received from the mobile phone 2 to the PC.
[0191] S517: The traffic is lower than 10 GB in the service, and the user selects.
[0192] In this step, if the traffic of the terminal B is lower than 10 GB (i.e., the third threshold) during the process that the terminal B transmits the STA data of the terminal A through the cellular network, the user is reminded, so that the user selects whether to continue to transmit the data through the cellular network, and whether to continue to use the cellular network for the STA service of the terminal A is determined according to the selection of the user.
[0193] If the user selects to continue to use the cellular network for the STA service of the terminal A, the terminal B continues to use the cellular network for the STA service of the terminal A. If the user selects to stop using the cellular network for the STA service of the terminal A, the terminal B stops using the cellular network for the STA service of the terminal A.
[0194] S518: End.
[0195] From the above, the technical scheme provided by the embodiment shows that the first channel used by the second terminal and the first terminal for the second service data interaction and the second channel used by the second terminal and the third terminal for the first service data interaction are different frequency channels, and the second terminal does not support DBDC, which indicates that the second terminal adopts the DBAC communication mode to respectively perform the service data interaction with the first terminal and the third terminal, and the second terminal stops the first service data interaction with the third terminal. Correspondingly, when the first terminal supports DBDC, the DBAC communication mode of the second terminal can be converted into the DBDC communication mode of the first terminal, the efficiency of the service data interaction is improved, and the communication performance of the terminal is improved. When the first terminal does not support DBDC and the first channel is the same as the fourth channel, the DBAC communication mode of the second terminal is converted into the communication mode of the first terminal for different service data interactions on the same channel, the efficiency of the service data interaction is improved, and the communication performance of the terminal is improved. When the first terminal does not support DBDC and the remaining traffic of the first terminal meets the network sharing condition, the DBAC communication mode of the second terminal is converted into the communication mode of the first terminal through the cellular network, the efficiency of the service data interaction is improved, and the communication performance of the terminal is improved.
[0196] In an embodiment of the present application, referring to FIG. 7, FIG. 7 is a flowchart of a communication method provided by an embodiment of the present application, the method is applied to a communication system, and the communication system includes a first terminal and a second terminal; the second terminal does not support DBDC; the first terminal has established a connection with the second terminal; and the second terminal has established a connection with a third terminal.
[0197] The method can include the following steps:
[0198] S701: In a case where the first channel and the second channel are different frequency channels, the second terminal disconnects the established connection with the third terminal to stop the first service data interaction with the third terminal.
[0199] The first channel is a channel used by the first terminal and the second terminal for the second service data interaction; and the second channel is a channel used by the second terminal and the third terminal for the first service data interaction.
[0200] S702: The first terminal performs the first service data interaction with the second terminal through the first channel.
[0201] S703: In a case where the first terminal supports DBDC, the first terminal performs the first service data interaction with the third terminal through a third channel to perform the first service data interaction with a target communication terminal corresponding to the first service data through the third terminal.
[0202] The third channel is different from the first channel in frequency.
[0203] From the above, the technical solution provided by the embodiment is that the first channel used by the second terminal and the first terminal for the second service data interaction and the second channel used by the second terminal and the third terminal for the first service data interaction are different frequency channels, and the second terminal does not support DBDC, which indicates that the second terminal adopts the DBAC communication mode to respectively perform the service data interaction with the first terminal and the third terminal, the second terminal and the third terminal stop the first service data interaction, and the first terminal performs the first service data interaction with the second terminal through the first channel. Correspondingly, when the first terminal supports DBDC, the first terminal performs the first service data interaction with the third terminal through the third channel, the DBAC communication mode of the second terminal can be converted into the DBDC communication mode of the first terminal, the efficiency of the service data interaction is improved, and the communication performance of the terminal is improved.
[0204] For step S701, the second terminal does not support DBDC. For example, the second terminal can be a mobile phone, a PC, a tablet computer, etc. supporting SBSC. Alternatively, the second terminal can also be a mobile phone, a PC, a tablet computer, etc. supporting DBSC.
[0205] The first terminal supports DBDC, and / or the second terminal can use traffic. For example, the first terminal is a mobile phone, a PC, a tablet computer, etc. integrating two sets of baseband processing modules and two sets of RF front ends. Alternatively, the first terminal is a mobile phone, a PC, and a tablet computer, etc. using traffic. The tablet computer can use traffic when a SIM card is inserted. The PC can use traffic when a network card is inserted.
[0206] The first terminal and the second terminal establish a Wi-Fi P2P connection therebetween to perform the second service data interaction. The second service data refers to the data of the second service performed by the first terminal and the second terminal.
[0207] The third terminal can be a router. The third terminal can also be a mobile phone, a PC, a tablet computer, etc. The second terminal and the third terminal have established a connection to perform the first service data interaction. The second terminal and the third terminal can be a Wi-Fi P2P connection, or the second terminal and the third terminal can also be a STA connection.
[0208] The first service data refers to the data of the first service performed by the second terminal and the third terminal. Subsequently, the first terminal and the second terminal perform the first service data interaction, and the first terminal and the third terminal perform the first service data interaction, which refers to the data interaction generated by the first service, but the specific data of the interaction is different data generated by the first service.
[0209] The first terminal and the second terminal perform the second service data interaction, and the second terminal and the third terminal perform the first service data are exemplarily described below.
[0210] Example 1
[0211] Referring to FIG. 8, the second terminal is a PC which does not support DBDC. The first terminal is a mobile phone 1. The PC and the mobile phone 1 perform a screen projection service through the established Wi-Fi P2P connection, i.e., the mobile phone 1 transmits screen projection data (i.e., second service data) to the PC.
[0212] The third terminal is a router. The PC performs a voice call service with the mobile phone 2 (i.e., a target communication terminal) through the router. The PC and the router establish an STA connection. The PC transmits voice call data (i.e., first service data) to the router, and the router transmits the voice call data to the mobile phone 2. After the mobile phone 2 receives the voice call data transmitted from the router, it responds, and then the mobile phone 2 transmits the voice call data generated in response to the router. The router transmits the voice call data received from the mobile phone 2 to the PC.
[0213] Example 2
[0214] Referring to FIG. 9, the second terminal is a tablet which does not support DBDC. The first terminal is a PC. The tablet and the PC perform a data upload service through the established Wi-Fi P2P connection, i.e., the tablet uploads data (i.e., second service data) to the PC, for example, the tablet uploads an image taken to the PC.
[0215] The third terminal is a mobile phone 1. The tablet and the mobile phone 1 (i.e., a target communication terminal) perform a super call service through the established Wi-Fi P2P connection. The super call service means that a user can make a call to the mobile phone 2 through another device (e.g., a tablet) which establishes a Wi-Fi P2P connection with the mobile phone 1 when the user is not convenient to use the mobile phone 1.
[0216] That is, the tablet transmits voice call data (i.e., first service data) to the mobile phone 1, and the mobile phone 1 transmits the voice call data to the mobile phone 2. After the mobile phone 2 receives the voice call data transmitted from the mobile phone 1, it responds, and then the mobile phone 2 transmits the voice call data generated in response to the mobile phone 1. The mobile phone 1 transmits the voice call data received from the mobile phone 2 to the tablet.
[0217] Example 3
[0218] Referring to FIG. 10, the second terminal is a mobile phone which does not support DBDC. The first terminal is a tablet. The mobile phone and the tablet perform a data upload service through the established Wi-Fi P2P connection, i.e., the mobile phone uploads data (i.e., second service data) to the tablet.
[0219] The third terminal is a PC. The mobile phone and the PC (i.e., a target communication terminal) perform a screen projection service through the established Wi-Fi P2P connection, i.e., the mobile phone transmits screen projection data (i.e., first service data) to the PC.
[0220] In some embodiments, the target communication terminal is the third terminal. For example, in FIG. 9, the third terminal is the mobile phone 1, and the target communication terminal is also the mobile phone 1, i.e., the target communication terminal and the third terminal are the same terminal. In FIG. 10, the third terminal is the PC, and the target communication terminal is the PC that interacts with the mobile phone to cast data, i.e., the target communication terminal and the third terminal are the same terminal.
[0221] Alternatively,
[0222] The target communication terminal is a terminal that interacts with the second terminal to perform the first service data through the third terminal. In FIG. 8, the third terminal is the router, and the target communication terminal is the mobile phone 2 that interacts with the PC to perform voice call data through the router.
[0223] FIGS. 8, 9, and 10 are only illustrative and do not limit the first terminal and the second terminal to interact to perform the second service data, the second terminal and the third terminal to interact to perform the first service data, and the target communication terminal to only include the above three scenarios in the communication method provided by the embodiments of the present application.
[0224] The first channel and the second channel are further described below.
[0225] The first terminal and the second terminal interact to perform the second service data using the first channel. The second terminal and the third terminal interact to perform the first service data using the second channel.
[0226] The first channel and the second channel are different frequency channels, which means that the center frequency of the first channel is different from the center frequency of the second channel. Specifically, the first channel and the second channel are the same frequency different channels, and the first channel and the second channel are different frequency different channels.
[0227] The case where the first channel and the second channel are different frequency channels is described below.
[0228] The 2.4 GHz frequency band includes 14 channels, and the center frequencies of the channels are different. Except that the center frequencies of the 13th channel and the 14th channel are spaced apart by 12 MHz, the center frequencies of every two adjacent channels are spaced apart by 5 MHz. The effective bandwidth for transmitting data of each channel is 20 MHz, and in addition, there is a mandatory isolation bandwidth of 2 MHz for reducing interference. The channels of the 5 GHz frequency band can be divided into high-frequency channels of the 5 GHz frequency band and low-frequency channels of the 5 GHz frequency band, and the channels of the 5 GHz frequency band include more than 200 channels, and the center frequencies of the channels are different.
[0229] If the first channel and the second channel are different, they can be the same frequency different channels or different frequency different channels.
[0230] For example, in FIG. 8, the PC uses the first channel of the 5 GHz frequency band for the screen projection service with the mobile phone 1. The PC uses the second channel of the 2.4 GHz frequency band for the voice call service with the router. In this case, the first channel and the second channel are different frequency channels.
[0231] In FIG. 9, the tablet uses the first channel of the 5 GHz frequency band for the data upload service with the PC. The mobile phone 1 is a mobile phone that can only work in the 2.4 GHz frequency band. The tablet uses the second channel of the 2.4 GHz frequency band for the super call service with the mobile phone 1. In this case, the first channel and the second channel are different frequency channels.
[0232] In FIG. 10, the mobile phone uses the first channel of the 5 GHz frequency band for the data upload service with the tablet. The mobile phone uses the second channel of the 5 GHz frequency band for the screen projection service with the PC. If the first channel and the second channel are different channels in the 5 GHz frequency band, in this case, the first channel and the second channel are different frequency channels.
[0233] If the second terminal does not support DBDC, the second terminal can only work in one channel of one frequency band at the same time. If the first channel and the second channel are different frequency channels, it indicates that the second terminal uses the DBAC communication mode to respectively perform data interaction with the first terminal and the third terminal, and the communication performance is poor.
[0234] Correspondingly, the second terminal disconnects the connection with the third terminal and stops the first service data interaction with the third terminal.
[0235] For example, for the embodiment in FIG. 8, the PC disconnects the established STA connection between the PC and the router, stops sending voice call data to the router, and stops receiving voice call data sent by the router.
[0236] For the embodiment in FIG. 9, the tablet disconnects the Wi-Fi P2P connection with the mobile phone 1, stops sending voice call data to the mobile phone 1, and stops receiving voice call data sent by the mobile phone 1.
[0237] For the embodiment in FIG. 10, the mobile phone disconnects the Wi-Fi P2P connection with the PC, and stops sending screen projection data to the PC.
[0238] In some embodiments, the step S701 can include the following steps: in the case that the first channel and the second channel are different frequency channels, the second terminal obtains the working capability information of the first terminal. When the working capability information meets the service transfer condition, the second terminal disconnects the established connection with the third terminal to stop the first service data interaction with the third terminal.
[0239] Before disconnecting the connection with the third terminal, after determining to use different channels to respectively interact with the first terminal and the third terminal, the second terminal acquires the working capability information of the first terminal to determine whether the first terminal meets the service transfer condition, that is, to determine whether the first terminal can be used to interact with the target communication terminal. When the first terminal meets the service transfer condition, the second terminal determines that the first terminal can be used to interact with the target communication terminal, and then the second terminal disconnects the connection with the third terminal, so as to avoid the situation that the connection with the third terminal is disconnected and the service is interrupted when the first terminal cannot perform service transfer. The manner in which the second terminal acquires the working capability information of the first terminal is described in the subsequent embodiments.
[0240] In some embodiments, determining whether the first terminal meets the service transfer condition includes the following two manners:
[0241] Manner 1:
[0242] The working capability information includes whether the first terminal supports DBDC, whether the first terminal uses a cellular network, and a fourth channel used by the first terminal to interact with the fourth terminal.
[0243] The working capability information meeting the service transfer condition includes at least one of the following: the first terminal supporting DBDC, the first terminal using a cellular network, and the fourth channel used by the first terminal to interact with the fourth terminal being the same as the first channel.
[0244] When the first terminal supports DBDC, it indicates that the second terminal can interact with the target communication terminal by using the DBDC capability of the first terminal, and then the second terminal determines that the working capability information of the first terminal meets the service transfer condition.
[0245] When the first terminal uses a cellular network, it indicates that the second terminal can interact with the target communication terminal by using the cellular network of the first terminal, and then the second terminal determines that the working capability information of the first terminal meets the service transfer condition.
[0246] When the fourth channel used by the first terminal to interact with the fourth terminal is the same as the first channel, it indicates that the first terminal can interact with the second terminal and the fourth terminal on the same channel, and then the second terminal can interact with the target communication terminal by using the first terminal, and then the second terminal determines that the working capability information of the first terminal meets the service transfer condition.
[0247] Manner 2:
[0248] The working capability information includes whether the first terminal supports DBDC, the remaining traffic of the first terminal, and a fourth channel used by the first terminal to interact with the fourth terminal.
[0249] The working capability information satisfying the service transfer condition comprises at least one of the following: the first terminal supporting DBDC, the residual traffic of the first terminal satisfying a network sharing condition, and a fourth channel used by the first terminal to interact with the fourth terminal being the same as the first channel.
[0250] When the first terminal supports DBDC, it indicates that the second terminal can interact with the target communication terminal by means of the DBDC capability of the first terminal, and the second terminal determines that the working capability information of the first terminal satisfies the service transfer condition.
[0251] When the residual traffic of the first terminal satisfies the network sharing condition, it indicates that the second terminal can interact with the target communication terminal by means of the cellular network of the first terminal, and the second terminal determines that the working capability information of the first terminal satisfies the service transfer condition. The manner of determining whether the residual traffic of the first terminal satisfies the network sharing condition is described in subsequent embodiments.
[0252] When the fourth channel used by the first terminal to interact with the fourth terminal is the same as the first channel, it indicates that the first terminal can interact with the second terminal and the fourth terminal on the same channel respectively, and the second terminal can interact with the target communication terminal by means of the first terminal, and the second terminal determines that the working capability information of the first terminal satisfies the service transfer condition.
[0253] As can be seen from the above, the technical scheme provided by the embodiment can determine whether the first terminal satisfies the service transfer condition by the working capability information of the second terminal, and then determine whether the second terminal can interact with the target communication terminal by means of the first terminal, which can avoid the situation that the second terminal disconnects from the third terminal and causes service interruption when the first terminal cannot perform service transfer.
[0254] For steps S702 and S703, after the second terminal stops interacting with the third terminal for the first service data, in order to ensure that the first service of the second terminal and the target communication terminal is carried out normally and avoid service interruption, the first terminal interacts with the second terminal for the first service data through the first channel.
[0255] Correspondingly, when the first terminal and the second terminal have a trust relationship, the first terminal interacts with the target communication terminal corresponding to the first service data for the first service data. The manner of establishing the trust relationship between the first terminal and the second terminal is described in subsequent embodiments.
[0256] In some embodiments, the first terminal interacts with the target communication terminal for the first service data in different manners according to whether the first terminal supports DBDC.
[0257] Manner 1,
[0258] In the case that the first terminal supports DBDC, the first terminal performs first service data interaction with the third terminal through the third channel, so as to perform first service data interaction with the target communication terminal corresponding to the first service data through the third terminal. The third channel is different from the first channel.
[0259] In the case that the first terminal supports DBDC, the first terminal can work in different channels simultaneously in a frequency division multiplexing manner, and the DBAC scenario does not occur. Accordingly, the first terminal can perform first service data interaction with the third terminal through the third channel while performing second service data interaction with the first terminal through the first channel.
[0260] In the case that the third terminal is the target communication terminal, the first terminal performs first service data interaction with the third terminal through the third channel, that is, performs interaction with the target communication terminal corresponding to the first service data.
[0261] In the case that the third terminal is not the target communication terminal, the first terminal performs first service data interaction with the third terminal through the third channel, and performs interaction with the target communication terminal corresponding to the first service data through the third terminal.
[0262] For example, the second terminal sends the first service data originally sent to the third terminal to the first terminal through the first channel. When the first terminal receives the first service data sent by the second terminal, the first terminal forwards the first service data to the third terminal according to the destination identifier of the first service data, and the third terminal sends the first service data to the target communication terminal. After the target communication terminal receives the first service data sent by the third terminal, the target communication terminal responds. Subsequently, the target communication terminal returns the first service data generated in response to the third terminal. After the third terminal receives the first service data sent by the target communication terminal, the third terminal forwards the received first service data to the first terminal. The first terminal forwards the first service data received from the third terminal to the second terminal. The destination identifier can be an address of the target communication terminal.
[0263] The following describes the manner in which the first terminal interacts with the target communication terminal in the case that the first terminal supports DBDC by way of example.
[0264] Example 1:
[0265] Based on the communication method provided in the embodiments of the present application, the communication manner shown in FIG. 8 can be converted into the communication manner shown in FIG. 11.
[0266] The second terminal is a PC that does not support DBDC. The first terminal is a mobile phone 1 that supports DBDC. The PC and the mobile phone 1 establish a Wi-Fi P2P connection, and the mobile phone 1 sends screen projection data to the PC through the first channel of the 5 GHz frequency band.
[0267] The third terminal is a router, and the target communication terminal is the mobile phone 2. The PC disconnects the STA connection between the PC and the router, and stops the interaction of the voice call data with the router.
[0268] The PC sends the voice call data to the mobile phone 1 through the first channel of the 5GHz frequency band. The mobile phone 1 establishes the STA connection with the router. The mobile phone 1 sends the voice call data to the router through the third channel of the 2.4GHz frequency band while sending the screen projection data to the PC. The router sends the voice call data received from the mobile phone 1 to the mobile phone 2 through the channel of the 2.4GHz frequency band. After receiving the voice call data sent by the router, the mobile phone 2 responds. Subsequently, the mobile phone 2 returns the voice call data generated by the response to the router. The router sends the voice call data received from the mobile phone 2 to the mobile phone 1. The mobile phone 1 sends the voice call data received from the router to the PC, so that the PC performs the voice call service with the mobile phone 2 by means of the DBDC capability of the mobile phone 1.
[0269] Example 2:
[0270] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 9 can be converted into the communication mode shown in FIG. 12.
[0271] The second terminal is a tablet computer that does not support DBDC. The first terminal is a PC that supports DBDC. The tablet computer uploads data to the PC through the first channel of the 5GHz frequency band.
[0272] The third terminal is the mobile phone 1, and the target communication terminal is the mobile phone 1. The tablet computer disconnects the Wi-Fi P2P connection between the tablet computer and the mobile phone 1, and stops the interaction of the voice call data with the mobile phone 1.
[0273] The tablet computer sends the voice call data to the PC through the first channel of the 5GHz frequency band. The PC sends the voice call data to the router through the third channel of the 2.4GHz frequency band. The router sends the voice call data to the mobile phone 1 through the channel of the 2.4GHz frequency band. The mobile phone 1 sends the voice call data to the mobile phone 2. After receiving the voice call data sent by the mobile phone 1, the mobile phone 2 responds. Subsequently, the mobile phone 2 sends the voice call data generated by the response to the mobile phone 1. The mobile phone 1 sends the voice call data to the router. The router sends the voice call data to the PC. The PC sends the voice call data received from the router to the tablet computer.
[0274] Example 3:
[0275] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 10 can be converted into the communication mode shown in FIG. 13.
[0276] The second terminal is a mobile phone which does not support DBDC. The first terminal is a tablet computer which supports DBDC. The mobile phone uploads data to the tablet computer through the first channel of the 5GHz frequency band.
[0277] The third terminal is a PC, and the target communication terminal is also a PC. The mobile phone disconnects the Wi-Fi P2P connection with the PC and stops sending the screen projection data to the PC. The mobile phone sends the screen projection data to the tablet computer through the first channel of the 5GHz frequency band. The tablet computer sends the screen projection data to the router through the third channel of the 2.4GHz frequency band. The router sends the screen projection data to the PC through the channel of the 2.4GHz frequency band.
[0278] As can be seen from the above, the technical solution provided by the embodiment can convert the communication mode of DBAC of the second terminal into the communication mode of DBDC of the first terminal when the first terminal supports DBDC, thereby improving the efficiency of service data interaction and improving the communication performance of the terminal.
[0279] Mode 2:
[0280] In the case where the first terminal does not support DBDC, if the fourth channel through which the first terminal and the fourth terminal perform service data interaction is the same as the first channel, the first terminal performs first service data interaction with the fourth terminal through the fourth channel to interact with the target communication terminal corresponding to the first service data by means of the fourth terminal.
[0281] In the case where the first terminal does not support DBDC, the first terminal cannot work in different channels simultaneously by means of frequency division multiplexing. Correspondingly, if the fourth channel through which the first terminal and the fourth terminal perform service data interaction is the same as the first channel, the first terminal can work in the same channel, and the first terminal can perform first service data interaction with the fourth terminal through the fourth channel to interact with the target communication terminal by means of the fourth terminal.
[0282] In the case where the third terminal is the target communication terminal, the first terminal performs first service data interaction with the fourth terminal through the fourth channel, and the fourth terminal performs first service data interaction with the third terminal.
[0283] In the case where the third terminal is not the target communication terminal, the first terminal performs first service data interaction with the fourth terminal through the fourth channel, and the fourth terminal performs first service data interaction with the target communication terminal.
[0284] For example, the second terminal sends the first service data originally sent to the third terminal to the first terminal through the first channel. When the first terminal receives the first service data sent by the second terminal, the first terminal forwards the first service data to the fourth terminal according to the destination identifier of the first service data, and the fourth terminal sends the first service data to the target communication terminal. After the target communication terminal receives the first service data sent by the fourth terminal, the target communication terminal responds. Subsequently, the target communication terminal returns the first service data generated in response to the fourth terminal. After the fourth terminal receives the first service data sent by the target communication terminal, the fourth terminal forwards the received first service data to the first terminal. The first terminal forwards the first service data received from the fourth terminal to the second terminal.
[0285] The following describes the manner in which the first terminal interacts with the target communication terminal with the aid of the fourth terminal when the first terminal does not support DBDC, by way of example.
[0286] Example 1:
[0287] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 8 can be converted into the communication mode shown in FIG. 14.
[0288] The second terminal is a PC that does not support DBDC. The first terminal is a mobile phone 1 that does not support DBDC. The PC and the mobile phone 1 establish a Wi-Fi P2P connection, and the mobile phone 1 sends screen projection data to the PC through the first channel of the 5 GHz frequency band.
[0289] The third terminal is a router 1, the fourth terminal is a router 2, and the target communication terminal is a mobile phone 2. The PC disconnects the STA connection between the PC and the router 1 and stops the interaction of the voice call data with the router 1.
[0290] The PC sends voice call data to the mobile phone 1 through the first channel of the 5 GHz frequency band. The mobile phone 1 establishes an STA connection with the router 2, the fourth channel between the mobile phone 1 and the router 2 is a channel of the 5 GHz frequency band, and the fourth channel is the same as the first channel. The mobile phone 1 sends voice call data to the router 2 through the fourth channel of the 5 GHz frequency band while sending screen projection data to the PC. The router 2 sends the voice call data received from the mobile phone 1 to the mobile phone 2 through a channel of the 5 GHz frequency band. After the mobile phone 2 receives the voice call data sent by the router 2, the mobile phone 2 responds. Subsequently, the mobile phone 2 returns the voice call data generated in response to the router 2. The router 2 sends the voice call data received from the mobile phone 2 to the mobile phone 1. The mobile phone 1 sends the voice call data received from the router 2 to the PC.
[0291] Example 2:
[0292] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 9 can be converted into the communication mode shown in FIG. 15.
[0293] The second terminal is a tablet computer which does not support DBDC. The first terminal is a PC which does not support DBDC. The tablet computer uploads data to the PC through the first channel of the 5GHz frequency band.
[0294] The third terminal is a mobile phone 1, the fourth terminal is a router, and the target communication terminal is the mobile phone 1. The tablet computer disconnects the Wi-Fi P2P connection with the mobile phone 1 and stops the voice call data interaction with the mobile phone 1.
[0295] The PC establishes an STA connection with the router. The fourth channel between the PC and the router is a channel of the 5GHz frequency band, and the fourth channel is the same as the first channel.
[0296] The tablet computer sends voice call data to the PC through the first channel of the 5GHz frequency band. The PC sends voice call data to the router through the fourth channel of the 5GHz frequency band. The router sends voice call data to the mobile phone 1 through a channel of the 5GHz frequency band. The mobile phone 1 sends voice call data to the mobile phone 2. After the mobile phone 2 receives the voice call data sent by the mobile phone 1, the mobile phone 2 responds. Subsequently, the mobile phone 2 sends voice call data generated by the response to the mobile phone 1. The mobile phone 1 sends voice call data to the router. The router sends voice call data to the PC. The PC sends the voice call data received from the router to the tablet computer.
[0297] Example 3:
[0298] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 10 can be converted into the communication mode shown in FIG. 16.
[0299] The second terminal is a mobile phone which does not support DBDC. The first terminal is a tablet computer which does not support DBDC. The mobile phone uploads data to the tablet computer through the first channel of the 5GHz frequency band.
[0300] The third terminal is a PC, and the target communication terminal is also the PC. The fourth terminal is a router. The tablet computer establishes an STA connection with the router. The fourth channel between the tablet computer and the router is a channel of the 5GHz frequency band, and the fourth channel is the same as the first channel.
[0301] The mobile phone disconnects the Wi-Fi P2P connection with the PC and stops sending screen projection data to the PC. The mobile phone sends screen projection data to the tablet computer through the first channel of the 5GHz frequency band. The tablet computer sends screen projection data to the router through the fourth channel of the 5GHz frequency band. The router sends screen projection data to the PC through a channel of the 5GHz frequency band.
[0302] From the above, the technical solution provided in the embodiment can be used to, when the first terminal does not support DBDC, perform first service data interaction with the first terminal and the fourth terminal respectively through the first terminal in the same channel, improve the efficiency of service data interaction, and improve the communication performance of the terminal.
[0303] Mode 3:
[0304] In the case where the first terminal does not support DBDC, if the remaining traffic of the first terminal meets the network sharing condition, the first terminal performs first service data interaction with the target communication terminal corresponding to the first service data through the cellular network.
[0305] When the first terminal does not support DBDC, the first terminal cannot work in different channels simultaneously in the frequency division multiplexing mode. Correspondingly, the first terminal can perform first service data interaction with the target communication terminal through the cellular network, that is, the first terminal uses the traffic to perform first service data interaction with the target communication terminal. However, the traffic of the first terminal is limited, and therefore the first terminal judges whether the remaining traffic meets the network sharing condition. When the first terminal does not support DBDC and the remaining traffic of the first terminal meets the network sharing condition, the first terminal performs first service data interaction with the target communication terminal through the cellular network.
[0306] For example, the second terminal sends the service data originally sent to the third terminal to the first terminal. When the first terminal receives the first service data sent by the second terminal, the first terminal forwards the first service data to the target communication terminal through the cellular network according to the destination identifier of the first service data. After the target communication terminal receives the first service data sent by the first terminal, the target communication terminal responds. Subsequently, the target communication terminal returns the first service data generated in response to the first terminal. After the first terminal receives the first service data sent by the target communication terminal, the first terminal forwards the received first service data to the second terminal, thereby realizing first service data interaction between the first terminal and the target communication terminal through the cellular network of the first terminal.
[0307] The following describes, by way of example, the mode in which the second terminal performs first service data interaction with the target communication terminal through the traffic of the first terminal when the second terminal does not support DBDC.
[0308] Example 1:
[0309] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 8 can be converted into the communication mode shown in FIG. 17.
[0310] The second terminal is a PC that does not support DBDC. The first terminal is a mobile phone 1 that does not support DBDC and uses traffic. The PC and the mobile phone 1 establish a Wi-Fi P2P connection, and the mobile phone 1 sends screen projection data to the PC through the first channel of the 5GHz frequency band.
[0311] The third terminal is a router, and the target communication terminal is the mobile phone 2. The PC disconnects the STA connection between the PC and the router, and stops the interaction of the voice call data with the router.
[0312] The PC sends the voice call data to the mobile phone 1 through the first channel of the 5GHz frequency band. The mobile phone 1 sends the voice call data to the mobile phone 2 through the cellular network while sending the screen projection data to the PC. After receiving the voice call data sent by the mobile phone 1, the mobile phone 2 responds. Subsequently, the mobile phone 2 sends the voice call data generated by the response to the mobile phone 1. The mobile phone 1 sends the voice call data received from the mobile phone 2 to the PC, so that the PC performs the voice call service with the mobile phone 2 through the cellular network of the mobile phone 1.
[0313] Case 2:
[0314] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 9 can be converted into the communication mode shown in FIG. 18.
[0315] The second terminal is a tablet computer that does not support DBDC. The first terminal is a PC that does not support DBDC and uses traffic, for example, a network card is inserted into the PC. The tablet computer uploads data to the PC through the first channel of the 5GHz frequency band.
[0316] The third terminal is the mobile phone 1, and the target communication terminal is the mobile phone 1. The tablet computer disconnects the Wi-Fi P2P connection between the tablet computer and the mobile phone 1, and stops the interaction of the voice call data with the mobile phone 1.
[0317] The tablet computer sends the voice call data to the PC through the first channel of the 5GHz frequency band. The PC sends the voice call data to the mobile phone 1 through the cellular network. The mobile phone 1 sends the voice call data to the mobile phone 2. After receiving the voice call data sent by the mobile phone 1, the mobile phone 2 responds. Subsequently, the mobile phone 2 sends the voice call data generated by the response to the mobile phone 1. The mobile phone 1 sends the voice call data received from the mobile phone 2 to the PC. The PC sends the voice call data received from the mobile phone 1 to the tablet computer, so that the tablet computer performs the voice call service with the mobile phone 2 through the cellular network of the PC.
[0318] Case 3:
[0319] Based on the communication method provided in the embodiments of the present application, the communication mode shown in FIG. 10 can be converted into the communication mode shown in FIG. 19.
[0320] The second terminal is a mobile phone that does not support DBDC. The first terminal is a tablet computer that does not support DBDC and uses traffic, for example, a SIM card is inserted into the tablet computer. The mobile phone uploads data to the tablet computer through the first channel of the 5GHz frequency band.
[0321] The third terminal is a PC, and the target communication terminal is also a PC. The mobile phone disconnects the Wi-Fi P2P connection with the PC, and stops sending the screen projection data to the PC. The mobile phone sends the screen projection data to the tablet computer through the first channel of the 5 GHz frequency band. The tablet computer sends the screen projection data to the PC through the cellular network, so that the mobile phone performs the screen projection service with the PC by means of the cellular network of the tablet computer.
[0322] As can be seen from the above, the technical solution provided by the embodiment converts the communication mode of the DBAC of the second terminal into the communication mode through the cellular network of the first terminal when the first terminal does not support the DBDC and the remaining traffic of the first terminal meets the network sharing condition, thereby improving the efficiency of the service data interaction and improving the communication performance of the terminal.
[0323] In some embodiments, after step S702, the method can further include the following steps: when the first terminal does not support the DBDC and the remaining traffic of the first terminal does not meet the network sharing condition, the first terminal sends a first feedback message to the second terminal. After receiving the first feedback message, the second terminal establishes a connection with the third terminal and performs the first service data interaction with the third terminal through the second channel.
[0324] When the first terminal does not support the DBDC, the first terminal cannot work in different channels by using the frequency division multiplexing mode, the remaining traffic of the first terminal does not meet the network sharing condition, and the first terminal also cannot perform the first service data interaction with the target communication terminal through the cellular network, the first terminal sends a first feedback message to the second terminal.
[0325] Correspondingly, after receiving the first feedback message, the second terminal determines that it is impossible to perform the first service data interaction with the target communication terminal by means of the first terminal, and then the second terminal re-establishes a connection with the third terminal and performs the first service data interaction with the third terminal through the second channel.
[0326] As can be seen from the above, when the first terminal does not support the DBDC and the remaining traffic of the first terminal does not meet the network sharing condition, the second terminal cannot perform the first service data interaction with the target communication terminal by means of the first terminal, and the second terminal re-performs the first service data interaction with the third terminal through the second channel, so that the service interruption can be avoided.
[0327] In some embodiments, the network sharing condition includes the following two modes:
[0328] Mode 1:
[0329] The network sharing condition is that the residual traffic of the first terminal is greater than a first threshold. The first threshold is set according to requirements. For example, the first threshold can be 20 GB. Alternatively, the first threshold is 50% of the total traffic of the first terminal, and the like, which is not specifically limited in the embodiments of the present application.
[0330] The residual traffic of the first terminal being greater than the first threshold indicates that the residual traffic of the first terminal is relatively large, and the traffic used by the first terminal for the first service data interaction with the target communication terminal will not exceed the residual traffic of the first terminal.
[0331] Method 2:
[0332] The network sharing condition is that the residual traffic of the first terminal is greater than a first threshold. The first threshold is set according to requirements. For example, the first threshold can be 20 GB. Alternatively, the first threshold is 50% of the total traffic of the first terminal, and the like, which is not specifically limited in the embodiments of the present application.
[0333] The preset time length is set according to requirements, and in order to meet the interaction with the target communication terminal, the preset time length can be set to a relatively large value. For example, the preset time length is 20 hours, or the preset time length can also be 25 hours, which is not specifically limited in the embodiments of the present application.
[0334] The first rate is the interaction rate of the second terminal with the target communication terminal. The traffic required by the first terminal for transmitting the first service data through the cellular network within the preset time length at the first rate is less than the residual traffic of the first terminal, which can ensure that the traffic used by the first terminal for the first service data interaction with the target communication terminal will not exceed the residual traffic of the first terminal.
[0335] As can be seen from the above, the technical scheme provided by the present embodiment determines whether the network sharing condition is met through the residual traffic of the first terminal, avoids the traffic used by the first terminal for the first service data interaction with the target communication terminal exceeding the residual traffic of the first terminal, and reduces the cost of data transmission.
[0336] In some embodiments, in the process of the first terminal performing data interaction with the target communication terminal through the cellular network, the method can further include the following steps:
[0337] When the network sharing condition is that the residual traffic of the first terminal is greater than a first threshold, in the process of the first terminal performing data interaction with the target communication terminal through the cellular network, if the residual traffic of the first terminal is less than a second threshold, the first terminal displays a first interface. The first interface includes a reminder message of the residual traffic of the first terminal and a preset operation option of whether to continue transmission.
[0338] In the network sharing condition that the flow required for the first terminal to transmit the first service data through the cellular network at the first rate within the preset time length is less than the residual flow of the first terminal, when the residual flow of the first terminal is less than the third threshold value in the process that the first terminal performs data interaction with the target communication terminal through the cellular network, the first terminal displays the first interface. The third threshold value is less than the second threshold value.
[0339] In the network sharing condition that the residual flow of the first terminal is greater than the first threshold value, the second threshold value can be the same as the first threshold value, for example, the first threshold value and the second threshold value are both 20 GB, or the second threshold value can be less than the first threshold value, for example, the first threshold value is 20 GB and the second threshold value is 15 GB.
[0340] In the process that the first terminal performs data interaction with the target communication terminal through the cellular network, if the residual flow of the first terminal is less than the second threshold value, it indicates that the residual flow of the first terminal is small, and the flow used by the first terminal to continue to perform data interaction with the target communication terminal through the cellular network can exceed the residual flow of the first terminal. Therefore, the first terminal displays the first interface to remind the user that the residual flow of the first terminal is small, so that the user selects whether to continue to perform data interaction with the target communication terminal through the cellular network.
[0341] Taking the first terminal as a mobile phone as an example, the first terminal displays the first interface shown in FIG. 20. The first interface includes a prompt message 2001, which is: the residual flow is less than 20 GB, whether to continue to transmit data. The first interface also includes a preset operation option 2002 and a preset operation option 2003. The preset operation option 2002 indicates that the first terminal continues to perform data interaction with the target communication terminal through the cellular network. The preset operation option 2003 indicates that the first terminal stops performing data interaction with the target communication terminal through the cellular network.
[0342] In the network sharing condition that the flow required for the first terminal to transmit the first service data through the cellular network at the first rate within the preset time length is less than the residual flow of the first terminal, the third threshold value is less than the second threshold value, for example, the second threshold value is 20 GB and the first threshold value is 10 GB.
[0343] In the process that the first terminal performs data interaction with the target communication terminal through the cellular network, if the residual flow of the first terminal is less than the third threshold value, it indicates that the residual flow of the first terminal is small, and the flow used by the first terminal to continue to perform data interaction with the target communication terminal through the cellular network can exceed the residual flow of the first terminal. Therefore, the first terminal displays the first interface to remind the user that the residual flow of the first terminal is small, so that the user selects whether to continue to perform data interaction with the target communication terminal through the cellular network.
[0344] Taking the first terminal as a mobile phone as an example, the first terminal displays a first interface shown in FIG. 21. The first interface includes a prompt message 2101, which is: whether to continue data transmission when the remaining traffic is less than 10 GB. The first interface also includes a preset operation option 2102 and a preset operation option 2103. The preset operation option 2102 indicates that the first terminal continues to interact with the target communication terminal through the cellular network. The preset operation option 2103 indicates that the first terminal stops interacting with the target communication terminal through the cellular network.
[0345] As can be seen from the above, the technical scheme provided by the embodiment prompts the user whether to continue data interaction with the target communication terminal through the cellular network when the remaining traffic of the first terminal is small during data interaction with the target communication terminal through the cellular network, avoids that the used traffic exceeds the remaining traffic of the first terminal, and reduces the cost of data transmission.
[0346] In some embodiments, after the first terminal displays the first interface, if the user needs to continue to interact with the target communication terminal through the cellular network for the first service data, the user can perform a first operation on the preset operation option in the first interface. Correspondingly, the first terminal continues to interact with the target communication terminal through the cellular network for the first service data in response to the first operation of the user on the preset operation option in the first interface, which can avoid service interruption.
[0347] Taking the first terminal as a mobile phone as an example, referring to FIG. 22, the user clicks the preset operation option 2002. The first terminal continues to interact with the target communication terminal through the cellular network for the first service data in response to the click operation of the user on the preset operation option 2002.
[0348] Referring to FIG. 23, the user clicks the preset operation option 2102. The first terminal continues to interact with the target communication terminal through the cellular network for the first service data in response to the click operation of the user on the preset operation option 2102.
[0349] After the first terminal displays the first interface, if the user needs to stop interacting with the target communication terminal through the cellular network for the first service data, the user can perform a second operation on the preset operation option in the first interface. Correspondingly, the first terminal stops interacting with the target communication terminal through the cellular network for the first service data in response to the second operation of the user on the preset operation option in the first interface, which can avoid that the used traffic of the first terminal exceeds the remaining traffic of the first terminal and reduce the cost of data transmission.
[0350] Taking the first terminal as a mobile phone as an example, referring to FIG. 24, a user clicks a preset operation option 2003. The first terminal stops the first service data interaction with the target communication terminal through the cellular network in response to the clicking operation of the user on the preset operation option 2003.
[0351] Referring to FIG. 25, a user clicks a preset operation option 2103. The first terminal stops the first service data interaction with the target communication terminal through the cellular network in response to the clicking operation of the user on the preset operation option 2103.
[0352] As can be seen from the above, the technical solution provided by the embodiment can be used to determine whether the first terminal continues the data interaction with the target communication terminal through the cellular network according to the selection of the user when the remaining traffic of the first terminal is small during the data interaction of the first terminal with the target communication terminal through the cellular network, so as to meet different needs of the user and improve the user experience.
[0353] In some embodiments, after the first terminal stops the first service data interaction with the target communication terminal through the cellular network, the first terminal sends a second feedback message to the second terminal. Correspondingly, after receiving the first feedback message, the second terminal determines that the first service data interaction with the target communication terminal cannot be performed through the first terminal, and then the second terminal re-establishes a connection with the third terminal and performs the first service data interaction with the third terminal through the second channel.
[0354] As can be seen from the above, the technical solution provided by the embodiment can be used to perform the first service data interaction with the third terminal through the second channel after the first terminal stops the first service data interaction with the target communication terminal through the cellular network, so as to avoid service interruption.
[0355] The following describes two ways of establishing the trust relationship between the first terminal and the second terminal.
[0356] Method 1:
[0357] When the second terminal detects that the first channel used for the second service data interaction with the first terminal and the second channel used for the first service data interaction with the third terminal are different, the second terminal sends a request for establishing a trust relationship to the first terminal. Correspondingly, after receiving the request, the first terminal returns response information for establishing a trust relationship to the second terminal, and after receiving the response information returned by the first terminal, the second terminal establishes a trust relationship with the first terminal. Subsequently, the second terminal can interact with the target communication terminal through the first terminal.
[0358] Method 2:
[0359] The trust relationship between the first terminal and the second terminal can be established through account authentication.
[0360] For example, when the system authentication accounts logged in on the first terminal and the second terminal are the same, a trust relationship can be established between the first terminal and the second terminal. The system authentication account can be a registered account provided by a cloud server. For instance, the first terminal is a PC, and the second terminal is a mobile phone. If the PC and the mobile phone are logged in with the same system authentication account, such as a Honor system account, a trust relationship can be established between the mobile phone and the PC.
[0361] In some embodiments, referring to FIG26, the first terminal and the second terminal establish a trust relationship according to the following steps:
[0362] S2601: The first terminal uses the public key of the first system's authentication account to encrypt broadcast information.
[0363] In this step, the broadcast information is used to discover other nearby terminals. For example, the broadcast information includes information about the first system authentication account.
[0364] The public key corresponding to the first system authentication account can be obtained from the cloud server. Each system authentication account registered on the cloud server has a corresponding public key. This public key can be used to encrypt information associated with that system authentication account, such as the broadcast information mentioned above. The public keys of all system authentication accounts can be stored on the cloud server.
[0365] If the first terminal has a first-system authenticated account logged in, the first terminal can obtain the corresponding first public key by sending a public key request to the cloud server. The first terminal can then use the first public key to encrypt the first-system authenticated account to obtain the aforementioned broadcast information. For example, the account could be an Honor account. The PC obtains the public key corresponding to the logged-in Honor account from the Honor cloud server, then uses the public key to encrypt the Honor account, and finally generates the broadcast information.
[0366] S2602: The first terminal sends a broadcast message.
[0367] In this step, the first terminal sends broadcast information to the outside world through near-field communication technologies, such as Bluetooth, broadcast, Wi-Fi, and NFC, to ensure that terminals near the first terminal can receive the broadcast information.
[0368] The first terminal can broadcast information to the outside world in real time. Alternatively, the first terminal can broadcast information to the outside world after identifying a specific scenario. For example, a specific scenario could be that the location of the first terminal has changed. Or, the first terminal may receive a message from a router. The router is the wireless access point currently connected to the first terminal, and the aforementioned message is a notification message sent by the router to the first terminal after detecting that another terminal has accessed the network.
[0369] In the case that there is a second terminal (e.g., a mobile phone) near the first terminal, and the second terminal has turned on a near field communication function (e.g., a Bluetooth, NFC, or the like), the second terminal can receive the broadcast information. Alternatively, in the case that the second terminal is swinging in synchronization with the first terminal, or the second terminal is in contact with the first terminal, the second terminal can also receive the broadcast information sent by the first terminal.
[0370] S2603: After receiving the broadcast information, the second terminal acquires a second private key corresponding to the second system authentication account.
[0371] In this step, the second system authentication account is the system authentication account currently logged in by the second terminal. In addition, in the cloud server, not only the public key corresponding to the system authentication account is stored, but also the private key corresponding to the system authentication account is stored. The public key and the private key corresponding to the same account match each other, that is, the data encrypted by the public key can be decrypted by the private key corresponding to the same system authentication account.
[0372] After the second terminal logs in the second system authentication account, the second terminal can acquire the second private key corresponding to the second system authentication account from the cloud server, and store the obtained second private key in a trusted storage location, such as a trusted storage area. In this way, the second terminal can query and use the second private key according to business needs. Of course, after the second terminal logs in other system authentication accounts, the second private key in the trusted storage area can be deleted, and the private key of the other system authentication account can be downloaded from the cloud server. The newly downloaded private key can also be stored in the trusted storage area.
[0373] After receiving the broadcast information, the second terminal determines that the broadcast information has encrypted content. Then, the second terminal can read the stored private key from the trusted storage area, such as reading the second private key.
[0374] S2604: The second terminal decrypts the broadcast information by using the second private key.
[0375] In this step, if the first system authentication account and the second system authentication account are the same account, the second private key matches the first public key. In this way, the second terminal can successfully decrypt the broadcast information by using the second private key. If the first system authentication account and the second system authentication account are not the same account, the second private key does not match the first public key, so the second terminal cannot decrypt the broadcast information by using the second private key.
[0376] After successfully decrypting the broadcast information, the second terminal can determine that there is a trust relationship between the second terminal and the first terminal. Then, the second terminal can write the first terminal into a trusted device list. The devices in the trusted device list are all trusted devices of the second terminal.
[0377] S2605: In the case of successfully decrypting the broadcast information, the second terminal sends a third feedback message to the first terminal, which is used to indicate that the second terminal successfully decrypts the broadcast information.
[0378] In this step, the third feedback message can carry an identifier indicating decryption success. Of course, it can also carry information of the system authentication account currently logged in by the second terminal, such as information of the second system authentication account.
[0379] Before the second terminal sends the third feedback message, the second terminal can also use the public key corresponding to the second system authentication account for encryption to improve the security of the third feedback message.
[0380] S2606: In the case that the first terminal receives the third feedback message, it is determined that there is a trust relationship between the first terminal and the second terminal.
[0381] In this step, after the first terminal receives the third feedback message, it can be determined that there is a trust relationship between the first terminal and the second terminal. On this basis, the first terminal can write the second terminal into the trust device list.
[0382] In the case that the third feedback message is encrypted, the first terminal can use the second private key corresponding to the first system authentication account to decrypt the third feedback message. In the case of successfully decrypting the third feedback message, the first terminal determines that there is a trust relationship between the first terminal and the second terminal, and writes the second terminal into the trust device list.
[0383] The following describes three ways for the second terminal to obtain the working capability information of the first terminal.
[0384] Method 1:
[0385] When the first terminal establishes a Wi-Fi P2P connection with the second terminal, the first terminal carries the working capability information of the first terminal in the returned response information.
[0386] Method 2:
[0387] After the first terminal establishes a trust relationship with the second terminal, the first terminal reports the working capability information of the first terminal to the second terminal.
[0388] Method 3:
[0389] When the second terminal detects that the first channel used for the second terminal to interact with the first terminal for the second service data is different from the second channel used for the third terminal to interact with the first terminal for the first service data, the second terminal sends a request to the first terminal to obtain the working capability information of the first terminal. When the first terminal receives the request, it returns the working capability information of the first terminal to the second terminal.
[0390] In particular implementations, the present disclosure provides a terminal, which includes one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is configured to store computer program codes including computer instructions; the one or more processors invoke the computer instructions to enable the terminal to perform some or all of the steps in the above method embodiments.
[0391] The present disclosure also provides a computer readable storage medium, which includes a computer program, and when the computer program is run on a terminal, enables the terminal to perform some or all of the steps in the above method embodiments. The storage medium can be a magnetic disc, an optical disc, a Read-Only Memory (ROM) or a Random Access Memory (RAM), etc.
[0392] In particular implementations, the present disclosure also provides a computer program product, which includes executable instructions, and when the executable instructions are executed on a terminal, enables the terminal to perform some or all of the steps in the above method embodiments.
[0393] As shown in FIG. 27, the present disclosure also provides a chip system, which is applied to a terminal, and includes one or more processors 2701; the processor 2701 is configured to invoke computer instructions to enable the terminal to perform the communication method provided in the embodiments of the present disclosure.
[0394] In a possible implementation, the chip system further includes an input and output interface, which is configured to input and output data.
[0395] Embodiments of the mechanisms disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. Embodiments of the present disclosure can be implemented as computer programs or program codes running on programmable systems including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0396] Program code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in known ways. For the purposes of this disclosure, a processing system includes any system that has a processor, such as for example a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
[0397] The program code can be implemented in a high level of programming language or a object-oriented programming language to communicate with a processing system. In the event that it is desired, the program code can be implemented in an assembly or machine language. In fact, the mechanisms described herein are not limited in scope to any particular programming language. In any case, the language can be a compiled or interpreted language.
[0398] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments can also be implemented as instructions carried by or stored on a transitory or non-transitory machine-readable (e.g., computer-readable) medium, which can be read and executed by one or more processors. For example, the instructions can be distributed over the network or by other computer readable media. Thus, a machine-readable medium can include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including without limitation floppy disks, optical disks, optical disks, Compact Disc Read Only Memories (CD-ROMs), magnetic cassettes, read-only memories, random access memories, erasable programmable read only memories (EPROMs), electrically erasable programmable read only memories (EEPROMs), magnetic or optical cards, flash memories, or any other suitable machine readable medium. Accordingly, a machine-readable medium includes any suitable medium for storing or transmitting information that is readable by a machine (e.g., a computer).
[0399] In the drawings, some of the structural or methodological features can be shown in particular arrangements and / or orders. However, it should be understood that such particular arrangements and / or orders can not be required. Instead, these features can be arranged in a different manner and / or order in some embodiments. Additionally, inclusion of a structural or methodological feature in a particular figure is not meant to imply that such feature is required in all embodiments, and these features can be excluded or combined with other features in some embodiments.
[0400] It should be noted that each unit / module mentioned in each device embodiment of the present application is a logical unit / module, and in physical, one logical unit / module can be a physical unit / module, or a part of a physical unit / module, or be realized in a combination of multiple physical unit / modules, and the physical realization of these logical units / modules is not the most important, and the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce the units / modules which are not closely related to solving the technical problems proposed in the present application, which does not mean that the above-mentioned device embodiments do not have other units / modules.
[0401] It should be noted that in the examples and descriptions of the present patent, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including one" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0402] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it should be understood by those skilled in the art that various changes in form and details can be made therein without departing from the spirit and scope of the present application.
Claims
A communication method characterized by comprising: The method is applied to a first terminal, and the first terminal has established a connection with a second terminal; The second terminal does not support dual-band dual-transmission (DBDC); The method comprises: In a case where the first channel and the second channel are different frequency channels, the first terminal performs first service data interaction with the second terminal through the first channel and a target communication terminal corresponding to the first service data; the first channel is a channel used by the first terminal to perform second service data interaction with the second terminal; and the second channel is a channel used by the second terminal to perform the first service data interaction with a third terminal; The first terminal performs the first service data interaction with the target communication terminal corresponding to the first service data, comprising: In a case where the first terminal supports DBDC, the first terminal performs the first service data interaction with the third terminal through a third channel, so as to perform the first service data interaction with the target communication terminal corresponding to the first service data by means of the third terminal; the third channel is a different frequency channel from the first channel. The method of claim 1, wherein The first terminal performs the first service data interaction with the target communication terminal corresponding to the first service data, further comprising: In a case where the first terminal does not support DBDC, if the remaining traffic of the first terminal meets a network sharing condition, the first terminal performs the first service data interaction with the target communication terminal corresponding to the first service data through a cellular network. The method according to claim 2, characterized in that The method further comprises: In a case where the first terminal does not support DBDC, if the remaining traffic of the first terminal does not meet the network sharing condition, the first terminal sends a first feedback message to the second terminal, so that the second terminal establishes a connection with the third terminal and performs the first service data interaction with the third terminal through the second channel after receiving the first feedback message. The method according to claim 2 or 3, characterized in that The network sharing condition is that the remaining traffic of the first terminal is greater than a first threshold, or the first terminal needs to transmit traffic of the first service data at a first rate through a cellular network within a preset time period, and the required traffic is less than the remaining traffic of the first terminal. The method according to claim 4, characterized in that After the first terminal performs data interaction with the communication terminal corresponding to the first service data through a cellular network, the method further comprises: In a case where the network sharing condition is that the remaining traffic of the first terminal is greater than a first threshold, during the process of performing data interaction with the target communication terminal through a cellular network, if the remaining traffic of the first terminal is less than a second threshold, the first terminal displays a first interface; the first interface comprises a reminder message of the remaining traffic of the first terminal and a preset operation option of whether to continue transmission. When the network sharing condition is that the required traffic for transmitting the first service data through the cellular network at a first rate within a preset time length of the first terminal is less than the remaining traffic of the first terminal, in the process of data interaction between the first terminal and the target communication terminal through the cellular network, if the remaining traffic of the first terminal is less than a third threshold, the first terminal displays the first interface; wherein the third threshold is less than the second threshold. The method according to claim 5, characterized in that After displaying the first interface, the method further comprises: In response to a first operation of a user on a preset operation option in the first interface, the first terminal continues data interaction with the target communication terminal through the cellular network; In response to a second operation of a user on a preset operation option in the first interface, the first terminal stops data interaction with the target communication terminal through the cellular network. The method according to claim 6, characterized in that After stopping data interaction with the target communication terminal through the cellular network, the method further comprises: Sends a second feedback message to the second terminal, so that the second terminal establishes a connection with the third terminal after receiving the second feedback message, and performs the first service data interaction with the third terminal through the second channel. The method of claim 1, wherein The target communication terminal corresponding to the first service data performs the first service data interaction, comprising: When receiving the first service data sent by the second terminal, forwards the first service data to the target communication terminal corresponding to the first service data according to the destination identifier of the first service data. The method of claim 1, wherein The target communication terminal corresponding to the first service data performs the first service data interaction, further comprising: In the case that the first terminal does not support DBDC, if the fourth channel for the first terminal to perform service data interaction with the fourth terminal is the same as the first channel, the first terminal performs the first service data interaction with the fourth terminal through the fourth channel, so as to interact with the target communication terminal of the first service data through the fourth terminal. A communication method characterized by comprising: The method is applied to a second terminal which does not support DBDC; The second terminal has established a connection with the first terminal and the third terminal respectively; The method comprises: In the case that the first channel and the second channel are different frequency channels, disconnecting the established connection with the third terminal to stop the first service data interaction with the third terminal, and performing the first service data interaction with the first terminal through the first channel; Wherein, the first channel is a channel used by the second terminal to perform second service data interaction with the first terminal; the second channel is a channel used by the second terminal to perform the first service data interaction with the third terminal; The first terminal performs the first service data interaction with the first terminal through the first channel, comprising: Interact with the first terminal through the first channel for the first service data, and in the case that the first terminal supports DBDC, the first terminal interacts with the third terminal through a third channel for the first service data, so as to interact with the target communication terminal corresponding to the first service data through the third terminal; wherein the third channel is different from the first channel. The method of claim 10, wherein The method further comprises: Interact with the first terminal through the first channel for the first service data, and in the case that the first terminal does not support DBDC, if the remaining traffic of the first terminal meets the network sharing condition, the first terminal interacts with the target communication terminal corresponding to the first service data through a cellular network. The method of claim 10, wherein The method further comprises: Interact with the first terminal through the first channel for the first service data, and in the case that the first terminal does not support DBDC, if the fourth channel for the first terminal and the fourth terminal to interact with the first service data is the same as the first channel, the first terminal interacts with the fourth terminal through the fourth channel for the first service data, so as to interact with the target communication terminal corresponding to the first service data through the fourth terminal. The method of claim 10, wherein In the case that the first channel and the second channel are different frequency channels, disconnect the connection established with the third terminal to stop the interaction with the third terminal for the first service data, comprising: In the case that the first channel and the second channel are different frequency channels, acquire the working capability information of the first terminal; When the working capability information meets the service transfer condition, disconnect the connection established with the third terminal to stop the interaction with the third terminal for the first service data. The method of claim 13, wherein The working capability information comprises whether the first terminal supports DBDC, whether the first terminal uses a cellular network, and a fourth channel for the first terminal and the fourth terminal to interact with the first service data; the working capability information meeting the service transfer condition comprises at least one of the following: the first terminal supports DBDC, the first terminal uses a cellular network, and the fourth channel for the first terminal and the fourth terminal to interact with the first service data is the same as the first channel. Or, The working capability information comprises whether the first terminal supports DBDC, the remaining traffic of the first terminal, and a fourth channel for the first terminal and the fourth terminal to interact with the first service data; the working capability information meeting the service transfer condition comprises at least one of the following: the first terminal supports DBDC, the remaining traffic of the first terminal meets the network sharing condition, and the fourth channel for the first terminal and the fourth terminal to interact with the first service data is the same as the first channel. The method of claim 10, wherein After the method of interacting with the first terminal through the first channel for the first service data, the method further comprises: receive a first feedback message sent by the first terminal; wherein the first feedback message indicates that the first terminal does not support DBDC, and that the remaining traffic of the first terminal does not satisfy a network sharing condition; establish a connection with the third terminal, and perform the first service data interaction with the third terminal through the second channel. The method of claim 10, wherein After the first terminal performs the first service data interaction with the first terminal through the first channel, the method further comprises: receive a second feedback message sent by the first terminal; wherein the second feedback message indicates that the first terminal stops performing data interaction with the communication terminal corresponding to the first service data through the cellular network in the process of performing the first service data interaction with the target communication terminal through the cellular network; establish a connection with the third terminal, and perform the first service data interaction with the third terminal through the second channel. A terminal, characterized by comprising: comprise: one or more processors and a memory; the memory is coupled with the one or more processors, and the memory is configured to store computer program codes, the computer program codes comprise computer instructions, and the one or more processors invoke the computer instructions to enable the terminal to perform the method in any one of claims 1-9 or claims 10-16. A chip system, characterized by The chip system is applied to a terminal, and the chip system comprises one or more processors, and the processor is configured to invoke computer instructions to enable the terminal to perform the method in any one of claims 1-9 or claims 10-16.
Citation Information
Patent Citations
Multi-device cooperation method and related device
CN115348630A
Data transmission management method, electronic equipment and storage medium
CN117255434A
Enhanced steering in a network having multiple access points
US20180279192A1
Electronic device for performing wireless communication and operation method thereof
US20230060161A1
Channel determination method and related apparatus
WO2024139938A1