Communication control method, device, electronic device, storage medium, and product
By using a signal transmission module between the first communication connection and the second communication connection of the electronic device, the signal in the traditional method is solved by transmitting the second signal in the gap in which the first signal is transmitted through the first communication connection and the second communication connection is transmitted through the second communication connection. The problem of interference improves communication quality.
Patent Information
- Application Number
- CN202210687107.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-06-17
AI Technical Summary
In traditional methods, after the electronic device turns on the WiFi hotspot, the signal interference occurs due to the coexistence of the cellular network and the WiFi signal and affects the communication quality.
The signal transmission module is used to transmit the first communication connection through the first communication connection between the first communication connection established by the electronic device with the base station (based on time division duplex mode) and the second communication connection established with the access device accessing the WiFi hotspot, and the signal transmission module is used to transmit the second communication connection through the first communication connection via the first communication connection using the signal transmission module. The gap of a signal transmits the second signal through a second communication connection.
It is realized that the first signal and the second signal are transmitted separately in different time periods, and the transmission process of the two signals is distinguished from the time domain, reducing signal interference and improving communication quality.
Smart Images

Figure CN115103459B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication control method, device, electronic device, storage medium, and product. Background Art
[0002] With the rapid development of technologies related to electronic devices, the functions that can be realized on electronic devices are becoming more and more diverse. For example, more and more electronic devices can realize the WiFi hotspot function. Among them, the working principle of WiFi hotspot is that when an electronic device is connected to the cellular network provided by the operator, and other electronic devices are not connected to the cellular network provided by the operator, the electronic device can serve as an Internet proxy for other electronic devices, and other electronic devices can access the network through the cellular network provided by the operator. Therefore, it can be solved that in the scenario where other electronic devices are not connected to the cellular network provided by the operator and WiFi is not deployed, other electronic devices can also access the network through WiFi hotspots.
[0003] However, in the traditional method, after the electronic device turns on the WiFi hotspot, since the cellular network and WiFi coexist at this time, the signal transmitted by the cellular network will produce strong signal interference with the WiFi signal, affecting the communication quality. Summary of the invention
[0004] The embodiments of the present application provide a communication control method, device, electronic device, and computer-readable storage medium, which can solve the problem of signal interference and improve communication quality.
[0005] In one aspect, a communication control method is provided, which is applied to an electronic device, and the method includes:
[0006] Establishing a first communication connection with a base station; the first communication connection is a communication connection based on a time division duplex mode;
[0007] When the WiFi hotspot function is turned on in the electronic device, a second communication connection is established with an access device connected to the WiFi hotspot;
[0008] During a gap in the transmission of the first signal through the first communication connection, the second signal is transmitted through the second communication connection.
[0009] In another aspect, a communication control device is provided, the device comprising:
[0010] A first communication connection establishing module, used to establish a first communication connection with a base station; the first communication connection is a communication connection based on a time division duplex mode;
[0011] A second communication connection establishing module, used to establish a second communication connection with an access device connected to a WiFi hotspot when the WiFi hotspot function is turned on in the electronic device;
[0012] The signal transmission module is used to transmit a second signal through the second communication connection during a gap in transmitting a first signal through the first communication connection.
[0013] On the other hand, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the communication control method as described above.
[0014] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the communication control method described above are implemented.
[0015] On the other hand, a computer program product is provided, comprising a computer program, which implements the steps of the communication control method described above when executed by a processor.
[0016] In the above communication control method, device, electronic device, storage medium, and product, the electronic device establishes a first communication connection with the base station; the first communication connection is a communication connection based on the time division duplex mode. When the WiFi hotspot function is turned on in the electronic device, a second communication connection is established with the access device connected to the WiFi hotspot. At this time, the electronic device establishes a first communication connection with the base station, and also establishes a second communication connection with the access device connected to the WiFi hotspot. At this time, if the electronic device transmits the first signal through the first communication connection on the one hand, and the electronic device transmits the second signal through the second communication connection at the same time on the other hand, then, obviously, when the frequency bands of the first signal and the second signal are very close and there is an intersection, the problem of adjacent channel interference will occur. Therefore, the electronic device can transmit the second signal through the second communication connection in the gap of transmitting the first signal through the first communication connection. That is, the first signal and the second signal are transmitted independently of each other in different time periods. In other words, the transmission process of the first signal and the second signal is distinguished from the time domain. Therefore, it is achieved that the first signal and the second signal will not be transmitted at the same time, and finally, the problem of signal interference can be solved to a certain extent and the communication quality can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 An application environment diagram of a communication control method in an embodiment;
[0019] Figure 2 is a flow chart of a communication control method in one embodiment;
[0020] Figure 3 A schematic diagram of signal frequency bands in a network scenario where 4G / 5G signals and WiFi signals coexist in a traditional method;
[0021] Figure 4 A timing diagram of a conventional method in which an electronic device transmits a first signal and transmits a second signal;
[0022] Figure 5 for Figure 2 A flowchart of a method for transmitting a second signal through a second communication connection during a gap in transmitting a first signal through a first communication connection;
[0023] Figure 6 A timing diagram of an electronic device transmitting a first signal and transmitting a second signal in one embodiment;
[0024] Figure 7 A flowchart of a method for determining a start time of transmitting a second subcarrier through a second communication connection in one embodiment;
[0025] Figure 8 A flowchart of a method for transmitting a second subcarrier through a second communication connection at a start time in an embodiment;
[0026] Fig. 9 A schematic diagram of signal transmission when an electronic device performs communication control in one embodiment;
[0027] Fig.10 is a flow chart of a communication control method in another embodiment;
[0028] Fig.11 is a schematic diagram of a communication control method in a specific embodiment;
[0029] Fig.12 is a structural block diagram of a communication control device in one embodiment;
[0030] Fig.13 for Fig.12The structural block diagram of the signal transmission module;
[0031] Fig.14 is a structural block diagram of a communication control device in another embodiment;
[0032] Fig.15 FIG. 1 is a schematic diagram of the internal structure of an electronic device in an embodiment. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0034] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first signal may be referred to as a second signal, and similarly, a second signal may be referred to as a first signal. Both the first signal and the second signal are signals, but they are not the same signal.
[0035] Figure 1 FIG. 1 is a schematic diagram of an application environment of a communication control method in an embodiment. Figure 1 As shown, the application environment includes an electronic device 120, a base station 140 and an access device 160. The electronic device 120 establishes a first communication connection (cellular communication connection) with the base station 140; the first communication connection is a communication connection based on the time division duplex mode; when the WiFi hotspot function is turned on for the electronic device 120, a second communication connection (WiFi communication connection) is established with the access device 160 connected to the WiFi hotspot; in the gap between the first signal transmitted between the electronic device 120 and the base station 140 through the first communication connection, a second signal is transmitted between the electronic device 120 and the access device 160 through the second communication connection. Among them, the electronic device 120 and the access device 160 can be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc.
[0036] Figure 2 FIG. 1 is a flow chart of a communication control method in an embodiment. The communication control method in this embodiment is operated on Figure 1 The electronic device in the example is used to describe. Figure 2 As shown, the communication control method includes steps 220 to 240, wherein:
[0037] Step 220, establish a first communication connection with a base station; the first communication connection is a communication connection based on a time division duplex mode.
[0038] Usually, when an electronic device is communicating, the electronic device can establish a first communication connection with a base station, wherein the first communication connection is mainly carried out through a cellular network, which can also be referred to as a cellular network connection. A cellular network, also known as a mobile network, is named because the signal coverage of each communication base station that constitutes the network coverage is in a hexagonal shape, making the entire network look like a honeycomb. Common cellular network types include GSM network, CDMA network, 3G network, FDMA, TDMA, PDC, TACS, AMPS, etc.
[0039] Here, the first communication connection is a communication connection based on the time division duplex mode (TDD). In the mobile communication system of the TDD mode, the uplink communication and downlink communication between the base station and the mobile station (electronic device) use different time slots of the same frequency channel (i.e., carrier), and use time to separate the receiving channel and the transmitting channel, that is, the base station sends signals to the mobile station in a certain time period, and the mobile station sends signals to the base station in other time periods.
[0040] For example, the first communication connection established between the electronic device and the base station here may be TD-SCDMA, TDD-LTE, etc., which is not limited in this application.
[0041] Step 240: When the WiFi hotspot function is enabled on the electronic device, a second communication connection is established with an access device connected to the WiFi hotspot.
[0042] Normally, if the electronic device has established a first communication connection based on a cellular network with the base station at this time, then the electronic device can communicate with the base station at this time. If there is another electronic device (i.e., an access device), and the access device cannot establish a first communication connection based on a cellular network with the base station at this time, then the electronic device can turn on the WiFi hotspot function so that the access device can establish a second communication connection with the electronic device based on the WiFi hotspot signal, and communicate through the first communication connection established between the electronic device and the base station. The second communication connection is mainly communicated through the second communication connection, which can also be referred to as a WiFi network connection. For example, after the electronic device turns on the WiFi hotspot function, the access device can search for the device information corresponding to the electronic device, such as the service set identifier (SSID). At this time, the user can click on the access device to connect to the SSID, and in some cases, it is necessary to further enter a password for identity authentication. After the identity authentication is passed, the access device can access the electronic device as a WiFi hotspot. Then, the electronic device establishes a second communication connection with the access device that accesses the WiFi hotspot.
[0043] Among them, the electronic device can provide the access device with WiFi hotspots in the 2.4GHz band, WiFi hotspots in the 5GHz band, WiFi hotspots in the 5.2GHz band, WiFi hotspots in the 5.8GHz band, etc., which is not limited in this application.
[0044] Here, the access device is unable to establish a first communication connection based on the cellular network with the base station at this time, including but not limited to the following situations: the access device has not turned on the cellular network communication at this time; the access device has turned on the cellular network communication at this time, but the access device is in a shutdown state (shutdown due to arrears, etc.); the access device has turned on the cellular network communication, but the quality of the cellular network communication is poor at this time, etc.
[0045] Step 260: Transmit a second signal through a second communication connection during a gap in transmitting the first signal through the first communication connection.
[0046] After the above process, the electronic device establishes a first communication connection with the base station, and establishes a second communication connection with the access device connected to the WiFi hotspot. While the electronic device communicates with the base station through the first communication connection, the electronic device communicates with the access device connected to the WiFi hotspot through the second communication connection. If the spectrum occupied by the first communication connection and the second communication connection is similar or intersecting, there will be a problem of adjacent channel interference. Adjacent channel interference refers to the interference caused to the signal propagated in the adjacent channel when the signal transmitted in two adjacent or close channels exceeds the width of the channel.
[0047] like Figure 3This is a schematic diagram of the signal frequency band in a network scenario where 4G / 5G signals and WiFi signals coexist in the traditional method. Figure 3 As shown, if the first communication connection uses the B40 frequency band for communication, the second communication connection uses the 2.4GHz frequency band WiFi hotspot. Among them, the B40 frequency band includes the frequency band around 2300MHZ ~ 2400MHZ, and the 2.4GHz frequency band WiFi hotspot includes the frequency band around 2400MHZ ~ 2500MHZ. It can be seen that at this time, the spectrum occupied by the first communication connection and the second communication connection is very similar and there is an intersection, so there will be a problem of adjacent channel interference.
[0048] Combination Figure 3 As shown, if the first communication connection uses the N79 frequency band for communication, the second communication connection uses the 5GHz frequency band WiFi hotspot. Among them, the N79 frequency band includes the frequency band around 4800MHZ ~ 5000MHZ, and the 5GHz frequency band WiFi hotspot includes the frequency band around 5000MHZ ~ 5800MHZ. Similarly, at this time, the spectrum occupied by the first communication connection and the second communication connection is very similar and there is an intersection, so there will be a problem of adjacent channel interference.
[0049] like Figure 4 The timing diagram of the electronic device transmitting the first signal and the second signal in the traditional method. Here, the first communication connection established between the electronic device and the base station adopts the TDD-LTE cellular network, and the frequency band adopted is the B40 frequency band. The second communication connection established between the electronic device and the access device accessing the WiFi hotspot adopts the WiFi hotspot of the 2.4GHz frequency band. Figure 4 As shown, the electronic device transmits the first signal (one subcarrier of LTE B40) through the first communication connection and the second signal (one subcarrier of 2.4GHz WiFi) through the second communication connection at the same time, that is, the first signal and the second signal coexist. If the spectrum occupied by the first communication connection and the second communication connection is very similar and there is an intersection, there will be a problem of adjacent channel interference.
[0050] First, since the first communication connection is a communication connection based on the TDD mode, that is, the uplink communication and downlink communication between the base station and the mobile station (electronic device) use different time slots of the same frequency channel (i.e., carrier), and use time to separate the receiving channel and the transmitting channel, there is a gap when the electronic device transmits the first signal through the first communication connection, that is, it is not continuously transmitted in time. Second, since the working time of the WiFi signal is short, and the gap between the two adjacent subcarriers of the cellular network is greater than the working time of the WiFi signal, in order to solve the problem of adjacent channel interference, the second signal can be transmitted through the second communication connection in the gap of the first signal transmitted through the first communication connection. In this way, because the first signal can be transmitted through the first communication connection and the second signal can be transmitted through the second communication connection in different time periods, that is, the first signal and the second signal can be transmitted independently of each other in different time periods, so the transmission process of the first signal and the second signal is distinguished from the time domain. Finally, the problem of adjacent channel interference can be solved to a certain extent.
[0051] In an embodiment of the present application, an electronic device establishes a first communication connection with a base station; the first communication connection is a communication connection based on a time division duplex mode. When the WiFi hotspot function is turned on in the electronic device, a second communication connection is established with an access device that is connected to the WiFi hotspot. At this time, the electronic device establishes a first communication connection with the base station, and also establishes a second communication connection with the access device that is connected to the WiFi hotspot. At this time, if on the one hand the electronic device transmits a first signal through the first communication connection, and on the other hand the electronic device simultaneously transmits a second signal through the second communication connection, then, obviously, when the frequency bands of the first signal and the second signal are very close and there is an intersection, there will be a problem of adjacent channel interference. Therefore, the electronic device can transmit the second signal through the second communication connection in the gap of transmitting the first signal through the first communication connection. That is, the first signal and the second signal are transmitted independently of each other in different time periods. In other words, the transmission process of the first signal and the second signal is distinguished from the time domain. Therefore, it is achieved that the first signal and the second signal will not be transmitted at the same time. Finally, the problem of signal interference can be solved to a certain extent and the communication quality can be improved.
[0052] In the previous embodiment, it is described how to transmit a first signal through the first communication connection and a second signal through the second communication connection in a network scenario where an electronic device establishes a first communication connection with a base station and also establishes a second communication connection with an access device connected to a WiFi hotspot. Figure 5 As shown, in this embodiment, step 260 is described in detail, and specific implementation steps of transmitting the second signal through the second communication connection during the interval of transmitting the first signal through the first communication connection include:
[0053] Step 262: determine a gap in which the electronic device transmits a first signal through the first communication connection.
[0054] Specifically, because the first communication connection is a communication connection based on the TDD mode, when the electronic device transmits the first signal through the first communication connection, the first signal is sent uplink to the base station using the first frequency within the first time period, and after the uplink transmission of the first signal is completed, the base station sends the next first signal downlink to the electronic device using the same frequency within the third time period, after a second time period has elapsed. Among them, the first time period, the second time period, and the third time period are continuous time periods. Here, the gap in which the electronic device transmits the first signal through the first communication connection can be determined as the second time period. In other words, the second time period is an idle time period for transmitting the first signal.
[0055] Step 264: Transmit a second signal via a second communication connection during the gap.
[0056] At this time, if the gap for transmitting the first signal through the first communication connection is determined to be the second time period, the second signal can be transmitted through the second communication connection in the gap. Because the second time period is an idle time period for transmitting the first signal, the second signal can be transmitted through the second communication connection in the idle time period. In this way, the first signal and the second signal are transmitted independently of each other in different time periods. In other words, the transmission process of the first signal and the second signal is distinguished from the time domain.
[0057] In an embodiment of the present application, first, the gap in which the electronic device transmits the first signal through the first communication connection is determined. Then, the second signal can be transmitted through the second communication connection within the gap. By determining the first time period in which the electronic device uses the first frequency to send the first signal uplink to the base station when transmitting the first signal through the first communication connection, and the third time period in which the base station uses the same frequency to send the next first signal downlink to the electronic device, then, based on the first time period and the third time period, the second time period between the first time period and the third time period can be determined, and the second time period is the gap in which the electronic device transmits the first signal through the first communication connection. In this way, the gap in which the electronic device transmits the first signal through the first communication connection can be accurately determined, and then, the second signal can be transmitted through the second communication connection within the gap. Finally, the transmission process of the first signal and the second signal is distinguished in the time domain, which can solve the problem of signal interference to a certain extent and improve the communication quality.
[0058] In the previous embodiment, it is described how to determine the gap in which the electronic device transmits the first signal through the first communication connection, and transmit the second signal through the second communication connection in the gap. In this embodiment, it is further explained that the first signal includes at least one first subcarrier. Among them, step 262, determining the gap in which the electronic device transmits the first signal through the first communication connection, includes:
[0059] Acquire an end time of transmission of a first subcarrier and a start time of transmission of a next adjacent first subcarrier by the electronic device through a first communication connection;
[0060] The time period between the end time of the first subcarrier and the start time of the next adjacent first subcarrier is used as the gap.
[0061] Specifically, the first signal transmitted by the electronic device through the first communication connection includes at least one first subcarrier. Among them, the carrier refers to a radio wave of a specific frequency, and its unit is Hz. It can be understood that the carrier is an electromagnetic wave modulated in frequency, amplitude or phase to transmit language, audio, image or other signals. It can be understood that the subcarrier is any one of these carriers. Here, the electronic device transmits the first subcarrier through the first communication connection, including the electronic device sending the first subcarrier to the base station uplink through the first communication connection, and the base station sends the first subcarrier to the electronic device downlink through the first communication connection. And the process of sending the first signal uplink and sending the first signal downlink is performed alternately.
[0062] Figure 6 The following is a timing diagram of an electronic device transmitting a first signal and a second signal in an embodiment. Here, the first communication connection established between the electronic device and the base station adopts a TDD-LTE cellular network, and the frequency band adopted is the B40 frequency band. Figure 6 As shown, assuming that the start time of the electronic device sending a first subcarrier uplink to the base station via the LTE B40 frequency band is t0, and the working time period of the electronic device sending a first subcarrier uplink to the base station via the LTE B40 frequency band is T1, therefore, it can be determined that the end time of the electronic device sending a first subcarrier uplink to the base station via the LTE B40 frequency band is t1=T1.
[0063] Assume that the start time when the base station sends a first subcarrier downlink to the electronic device via the LTE B40 frequency band is t2, and the working time period when the base station sends a first subcarrier downlink to the electronic device via the LTE B40 frequency band is T2, therefore, it can be determined that the end time when the base station sends a first subcarrier downlink to the electronic device via the LTE B40 frequency band is t3 (t3=t2+T2).
[0064] In this way, the end time t1 of the electronic device transmitting the first subcarrier through the first communication connection and the start time t2 of the next adjacent first subcarrier can be obtained. The time period between the end time t1 of the first subcarrier and the start time t2 of the next adjacent first subcarrier is taken as the gap T3.
[0065] In the embodiment of the present application, when determining the gap of the first signal transmitted by the electronic device through the first communication connection, the end time of the electronic device transmitting the first subcarrier through the first communication connection and the start time of the transmission of the next adjacent first subcarrier are obtained. Then, based on the time period between the end time of the electronic device transmitting the first subcarrier through the first communication connection and the start time of the transmission of the next adjacent first subcarrier, the gap between the first subcarrier and the next adjacent first subcarrier can be accurately determined.
[0066] In one embodiment, it is further described that the second signal includes at least one second subcarrier. Then, step 264, in the gap, transmitting the second signal through the second communication connection, includes:
[0067] In the gap, determining a start time of transmitting a second subcarrier through a second communication connection;
[0068] At the start time, the second subcarrier is transmitted via the second communication connection.
[0069] Specifically, after determining the gap between the first subcarrier and the next adjacent first subcarrier, it is necessary to determine the start time of transmitting the second subcarrier through the second communication connection within the gap. The working duration of the second subcarrier can be determined based on the size of the second subcarrier to be transmitted this time, and then the start time of transmitting the second subcarrier through the second communication connection can be determined based on the working duration of the second subcarrier. Among them, when determining the start time of transmitting the second subcarrier, it is necessary to ensure that the second subcarrier can be transmitted before the start time t2 of transmitting the next adjacent first subcarrier.
[0070] Combination Figure 6 As shown in the figure, assuming that the working time of the second subcarrier is T4 and the start time of transmitting the second subcarrier is t4, it is necessary to satisfy t2-t4>T4. In this way, it can be ensured that the second subcarrier can be transmitted before the start time t2 of transmitting the next adjacent first subcarrier, avoiding the problem of adjacent channel interference.
[0071] After the start time of the second subcarrier is determined, the second subcarrier may be transmitted via the second communication connection at the start time.
[0072] In the embodiment of the present application, after determining the gap between the first subcarrier and the next adjacent first subcarrier, further, within the gap, the start time of transmitting the second subcarrier through the second communication connection is determined. And at the start time, the second subcarrier is transmitted through the second communication connection. In this way, it is possible to ensure that the second subcarrier can be transmitted before the start time of transmitting the next adjacent first subcarrier. Further, the adjacent channel interference problem is avoided and the communication quality is improved.
[0073] In the previous embodiment, it is described that, within the gap, the start time of transmitting the second subcarrier through the second communication connection is determined, and the second subcarrier is transmitted through the second communication connection at the start time. Figure 7 As shown, in this embodiment, specific implementation steps for determining the start time of transmitting the second subcarrier through the second communication connection within the gap are described in detail, including:
[0074] Step 720: Acquire the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier.
[0075] Since the signal interference strength generated by different transmission powers of subcarriers is different, generally, the higher the transmission power, the higher the signal interference strength generated. Specifically, in the gap, when determining the start time of transmitting the second subcarrier through the second communication connection, the electronic device can obtain the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier. The unit of the transmission power is dBm.
[0076] Step 740: Determine the start time of transmitting the second subcarrier through the second communication connection within the gap according to the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier.
[0077] Then, if the transmission power of the first subcarrier is equal to the transmission power of the next adjacent first subcarrier, the working time period of the second subcarrier is set to be located at the center of the gap. If the transmission power of the first subcarrier is not equal to the transmission power of the next adjacent first subcarrier, the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier can be compared, and when determining the start time of transmitting the second subcarrier through the second communication connection, the start time is made closer to the first subcarrier corresponding to the smaller transmission power.
[0078] Specifically, in general, if the transmit power of the first subcarrier is not equal to the transmit power of the next adjacent first subcarrier, the difference between the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier can be calculated, and then the start time of transmitting the second subcarrier through the second communication connection is calculated based on the difference and the duration of the gap.
[0079] For example, the ratio between the difference and the smaller transmit power is calculated, and based on the ratio, the working time period of the second subcarrier is moved from the center position in the gap to the first subcarrier corresponding to the smaller transmit power. Assuming that the transmit power of the first subcarrier is 100dBm and the transmit power of the next adjacent first subcarrier is 120dBm, the difference between the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier is calculated to be 20dBm. The ratio between the difference and the smaller transmit power is then calculated to be 20dBm / 100dBm=1 / 5, and based on the ratio 1 / 5, the working time period of the second subcarrier is moved from the center position in the gap to the first subcarrier corresponding to the smaller transmit power by a time period corresponding to 1 / 5×(t2-t1). If (t2-t1)=20us, a movement of 4us is sufficient.
[0080] In an embodiment of the present application, the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier are obtained. According to the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier, the start time of transmitting the second subcarrier through the second communication connection is determined in the gap. Since the signal interference intensity generated by the different transmission powers of the subcarriers is different, in this way, based on the transmission power, the start time of the second subcarrier is determined from the gap of transmitting the first signal through the first communication connection. On the one hand, the transmission process of the first signal and the second signal can be distinguished in the time domain, and the problem of adjacent channel interference can be solved to a certain extent. On the other hand, from the perspective of transmission power, the problem of adjacent channel interference is further solved and the communication quality is improved.
[0081] In one embodiment, Figure 8 As shown, at the start time, transmitting the second subcarrier through the second communication connection includes:
[0082] Step 802: At the start time, control the first switch to switch the amplifier of the first communication module from a low impedance state to a high impedance state, and control the second switch to switch the amplifier of the second communication module from a high impedance state to a low impedance state.
[0083] After the above process, the start time of the second subcarrier is determined from the gap of transmitting the first signal through the first communication connection. Then, at the start time, it is necessary to control the transmission of the second subcarrier through the second communication connection. The first switching switch and the second switching switch can be MiPi switches. The attenuation of the MiPi switch is small, and the signal can be transmitted better.
[0084] like Fig. 9As shown, it is a schematic diagram of signal transmission of an electronic device when performing communication control in an embodiment. Specifically, the CPU in the electronic device can determine the start time of transmitting the second subcarrier through the second communication connection within the gap through an intelligent algorithm model. At the start time, the CPU sends the control signal of transmitting the second subcarrier to the radio frequency transceiver (WTR, Wireless Transmitter / Receiver) or the radio module (SDR, Software DefinationRadio). Then, the modem in the WTR / SDR generates a MiPi switch control signal based on the control signal to control the MiPi switch. Among them, the control signal for controlling the MiPi switch includes a first type of control signal, and the first type of control signal is used to control the first switching switch (MiPi-1) to switch the amplifier of the first communication module from a low impedance state to a high impedance state, and control the second switching switch (MiPi-2) to switch the amplifier of the second communication module from a high impedance state to a low impedance state. Among them, the first communication module includes a cellular communication module, the second communication module includes a WiFi communication module, the amplifier of the first communication module includes a power amplifier PA, and the amplifier of the second communication module includes a low noise amplifier LNA. Of course, this application does not limit this.
[0085] Among them, low impedance state and high impedance state both refer to an output state of the circuit, the low impedance state is equivalent to the on state, and the high impedance state is neither a high level nor a low level, which is equivalent to an isolated state. Thus, switching the amplifier of the first communication module from the low impedance state to the high impedance state is equivalent to putting the first communication module in an isolated state. Switching the amplifier of the second communication module from the high impedance state to the low impedance state is equivalent to putting the second communication module in the on state (working state). Furthermore, it is achieved to control the transmission of the second subcarrier through the second communication connection at the start time.
[0086] Step 804: Control the electronic device to establish a second communication connection between the second communication module and the access device based on the amplifier in the second communication module being in a low impedance state.
[0087] Step 806: Transmit the second subcarrier via the second communication connection.
[0088] Switching the amplifier of the second communication module from a high impedance state to a low impedance state is equivalent to putting the second communication module in a conducting state (working state). Therefore, the electronic device can be controlled to establish a second communication connection between the second communication module and the access device based on the amplifier in the low impedance state in the second communication module. Specifically, a WiFi communication connection is established between the WiFi communication module and the access device based on the amplifier in the low impedance state in the WiFi communication module.
[0089] After the WiFi communication connection between the WiFi communication module and the access device is established, the second subcarrier can be transmitted through the WiFi communication connection. Here, the second subcarrier can be a subcarrier that carries the WiFi signal.
[0090] In an embodiment of the present application, at the start time, the first switching switch is controlled to switch the amplifier of the first communication module from a low impedance state to a high impedance state, and the second switching switch is controlled to switch the amplifier of the second communication module from a high impedance state to a low impedance state. The electronic device is controlled to establish a second communication connection between the second communication module and the access device based on the amplifier in the low impedance state in the second communication module, and transmit the second subcarrier through the second communication connection. The first switching switch and the second switching switch are used to accurately realize the flexible switching of the electronic device between the first communication connection and the second communication connection, so as to better solve the problem of adjacent channel interference and improve the communication quality.
[0091] In the previous embodiment, the process of accurately implementing the flexible switching of the electronic device between the first communication connection and the second communication connection by using the first switching switch and the second switching switch is described. Figure 8 As shown, a communication control method is further provided, further comprising:
[0092] Step 808: If a second subcarrier is transmitted through the second communication connection, the first switch is controlled to switch the amplifier of the first communication module from a high impedance state to a low impedance state, and the second switch is controlled to switch the amplifier of the second communication module from a low impedance state to a high impedance state.
[0093] Combination Fig. 9 As shown, after the WiFi communication connection between the WiFi communication module and the access device is established, the second subcarrier can be transmitted through the WiFi communication connection. If a second subcarrier is transmitted through the WiFi communication connection, the first switching switch is controlled to switch the amplifier of the cellular communication module from a high impedance state to a low impedance state, which is equivalent to putting the cellular communication module in a conducting state (working state). And the second switching switch is controlled to switch the amplifier of the WiFi communication module from a low impedance state to a high impedance state, which is equivalent to putting the WiFi communication module in an isolated state.
[0094] Step 810, controlling the electronic device to establish a first communication connection between the first communication module and the base station based on the amplifier in the low impedance state in the first communication module;
[0095] Step 812: Transmit a first subcarrier via a first communication connection.
[0096] Switching the amplifier of the first communication module from a high impedance state to a low impedance state is equivalent to putting the first communication module in a conducting state (working state). Therefore, the electronic device can be controlled to establish a first communication connection between the first communication module and the base station based on the amplifier in the low impedance state in the first communication module. Specifically, a cellular communication connection between the cellular communication module and the base station is established based on the amplifier in the low impedance state in the cellular communication module.
[0097] After the cellular communication connection between the cellular communication module and the base station is established, the first subcarrier can be transmitted through the cellular communication connection. Here, the first subcarrier can be a subcarrier that carries a cellular signal.
[0098] In an embodiment of the present application, if a second subcarrier is transmitted through a second communication connection, the first switching switch is controlled to switch the amplifier of the first communication module from a high impedance state to a low impedance state, and the second switching switch is controlled to switch the amplifier of the second communication module from a low impedance state to a high impedance state. The electronic device is controlled to establish a first communication connection between the first communication module and the base station based on the amplifier in the low impedance state in the first communication module, and transmit the first subcarrier through the first communication connection. The first switching switch and the second switching switch are used to accurately realize the flexible switching of the electronic device between the first communication connection and the second communication connection, so as to better solve the problem of adjacent channel interference and improve the communication quality.
[0099] In one embodiment, step 262, determining a gap in which the electronic device transmits the first signal through the first communication connection, includes:
[0100] Determine a gap between an electronic device sending a first signal uplink to a base station through a first communication connection and receiving a next adjacent first signal downlink sent by the base station;
[0101] Step 264, transmitting a second signal via a second communication connection during the gap, includes:
[0102] During the gap, a second signal is sent uplink or downlink via the second communication connection.
[0103] Specifically, the electronic device transmits the first signal through the first communication connection, including the process that the electronic device sends the first signal uplink to the base station through the first communication connection, and the base station sends the first signal downlink to the electronic device through the first communication connection. And the process of sending the first signal uplink and downlink is performed alternately. Therefore, when determining the gap in which the electronic device transmits the first signal through the first communication connection, it is possible to determine the gap between the electronic device sending the first signal uplink to the base station through the first communication connection and receiving the next adjacent first signal sent downlink by the base station. And in the gap, the second signal is sent uplink or downlink through the second communication connection. And the process of sending the second signal uplink and downlink is also performed alternately.
[0104] In the embodiment of the present application, for the situation where the first signal is sent uplink first and the next adjacent first signal is sent downlink later, the gap between the electronic device sending the first signal uplink to the base station through the first communication connection and receiving the next adjacent first signal sent downlink by the base station is determined. In the gap, the second signal is sent uplink or downlink through the second communication connection.
[0105] In this way, the gap in which the electronic device transmits the first signal through the first communication connection can be accurately determined, and then the second signal can be transmitted through the second communication connection within the gap. Finally, the transmission process of the first signal and the second signal is distinguished in the time domain, which can solve the problem of adjacent channel interference to a certain extent and improve the communication quality.
[0106] In one embodiment, step 262, determining a gap in which the electronic device transmits the first signal through the first communication connection, includes:
[0107] Determine a gap between the electronic device receiving a first signal sent downlink by a base station through a first communication connection and sending a next adjacent first signal uplink to the base station;
[0108] Step 264, transmitting a second signal via a second communication connection during the gap, includes:
[0109] During the gap, a second signal is sent uplink or downlink via the second communication connection.
[0110] Specifically, the electronic device transmits the first signal through the first communication connection, including the process that the electronic device sends the first signal uplink to the base station through the first communication connection, and the base station sends the first signal downlink to the electronic device through the first communication connection. And the process of sending the first signal uplink and downlink is performed alternately. Therefore, when determining the gap in which the electronic device transmits the first signal through the first communication connection, it can be determined that the electronic device receives the first signal sent downlink by the base station through the first communication connection, and the gap between the next adjacent first signal sent uplink to the base station. And in the gap, the second signal is sent uplink or downlink through the second communication connection. And the process of sending the second signal uplink and downlink is also performed alternately.
[0111] In the embodiment of the present application, for the situation where the next adjacent first signal is sent downlink first and the first signal is sent uplink later, the gap between the electronic device receiving the first signal sent downlink by the base station through the first communication connection and sending the next adjacent first signal uplink to the base station is determined. In the gap, the electronic device sends uplink or downlink the second signal through the second communication connection.
[0112] In this way, the gap in which the electronic device transmits the first signal through the first communication connection can be accurately determined, and then the second signal can be transmitted through the second communication connection within the gap. Finally, the transmission process of the first signal and the second signal is distinguished in the time domain, which can solve the problem of adjacent channel interference to a certain extent and improve the communication quality.
[0113] In one embodiment, Fig.10 As shown, a communication control method is provided, further comprising:
[0114] Step 1010, monitoring the signal strength of a first signal transmitted through a first communication connection and the signal strength of a second signal transmitted through a second communication connection within a preset time period;
[0115] Typically, when an electronic device is communicating, the electronic device may establish a first communication connection with a base station, wherein the first communication connection is mainly performed through a cellular network, which may also be referred to as a cellular network connection.
[0116] If there is another electronic device (i.e., access device), and the access device cannot establish a first communication connection based on the cellular network with the base station at this time, then the electronic device can turn on the WiFi hotspot function so that the access device can establish a second communication connection with the electronic device based on the WiFi hotspot signal, and communicate through the first communication connection established between the electronic device and the base station. The second communication connection is mainly communicated through the second communication connection, which can also be called a WiFi network connection.
[0117] When the electronic device communicates with the base station through the first communication connection and the electronic device communicates with the access device connected to the WiFi hotspot through the second communication connection, if the frequency spectrum occupied by the first communication connection and the second communication connection is similar or overlaps, there will be a problem of adjacent channel interference.
[0118] In order to solve the problem of adjacent channel interference, the signal strength of the first signal transmitted through the first communication connection and the signal strength of the second signal transmitted through the second communication connection within a preset time period can be monitored. Generally, the electronic device is in an area far away from the base station. At this time, the signal strength of the first signal transmitted through the first communication connection is weak. The electronic device is in an area with a weak WiFi hotspot. At this time, the signal strength of the second signal transmitted through the second communication connection is also weak.
[0119] Step 1030, determining whether the signal strength of the transmitted first signal is lower than a first preset threshold;
[0120] Step 1050, if the signal strength of the transmitted first signal is lower than a first preset threshold, increasing the transmission power of the first signal transmitted through the first communication connection;
[0121] Step 1070, determining whether the signal strength of the transmitted second signal is lower than a second preset threshold;
[0122] Step 1090: If the signal strength of the transmitted second signal is lower than the second preset threshold, increase the transmission power of the second signal transmitted through the second communication connection.
[0123] Because in a network scenario where the signal strength of the first signal is weak or the signal strength of the second signal is weak, the weaker signal is more susceptible to adjacent channel interference, so it is determined whether the signal strength of the transmitted first signal is lower than the first preset threshold. If the signal strength of the transmitted first signal is lower than the first preset threshold, the transmission power of the first signal transmitted through the first communication connection is increased. By increasing the transmission power of the first signal transmitted through the cellular network connection, the actual throughput (or capacity) of the cellular network connection can be increased. The actual throughput refers to the bandwidth actually used by the current network. If the network throughput is 1000Mbps, then the actual throughput of the current network is between 0-1000Mbps.
[0124] Determine whether the signal strength of the transmitted second signal is lower than a second preset threshold, and if the signal strength of the transmitted second signal is lower than the second preset threshold, increase the transmission power of the second signal transmitted through the second communication connection. By increasing the transmission power of the first signal transmitted through the WiFi network connection, the actual throughput (or capacity) of the WiFi network connection can be increased.
[0125] In an embodiment of the present application, first, the signal strength of the first signal transmitted through the first communication connection and the signal strength of the second signal transmitted through the second communication connection within a preset time period are monitored. Then, it is determined whether the signal strength of the transmitted first signal is lower than a first preset threshold. If the signal strength of the transmitted first signal is lower than the first preset threshold, the transmission power of the first signal transmitted through the first communication connection is increased. Finally, it is determined whether the signal strength of the transmitted second signal is lower than the second preset threshold. If the signal strength of the transmitted second signal is lower than the second preset threshold, the transmission power of the second signal transmitted through the second communication connection is increased.
[0126] Therefore, in a network scenario where the signal strength of the first signal is weak or the signal strength of the second signal is weak, the problem of adjacent channel interference can be solved to a certain extent by increasing the transmission power of the signal, thereby improving the communication quality.
[0127] In a specific embodiment, Fig.11 As shown, a communication control method is provided, comprising:
[0128] Step 1102, establishing a cellular network connection with a base station; the cellular network connection is a communication connection based on a time division duplex mode;
[0129] Step 1104, when the WiFi hotspot function is enabled on the electronic device, establishing a WiFi network connection with an access device that is connected to the WiFi hotspot;
[0130] Step 1106, the cellular signal includes at least one first subcarrier; obtaining an end time of transmission of the first subcarrier and a start time of transmission of the next adjacent first subcarrier by the electronic device through the cellular network connection;
[0131] Step 1108, taking the time period between the end time of the first subcarrier and the start time of the next adjacent first subcarrier as the gap;
[0132] Step 1110, the WiFi signal includes at least one second subcarrier; the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier are obtained;
[0133] Step 1112, calculating the difference between the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier;
[0134] Step 1114, calculating the start time of transmitting the second subcarrier through the WiFi network connection according to the difference and the duration of the gap;
[0135] Step 1116, at the start time, controlling the first switch to switch the amplifier of the cellular communication module from a low impedance state to a high impedance state, and controlling the second switch to switch the amplifier of the WiFi communication module from a high impedance state to a low impedance state;
[0136] Step 1118, controlling the electronic device to establish a WiFi network connection between the WiFi communication module and the access device based on the amplifier in the low impedance state in the WiFi communication module;
[0137] Step 1120, transmitting the second subcarrier via the WiFi network connection;
[0138] Step 1122, determining whether a second subcarrier transmission is completed through the WiFi network connection; if so, proceeding to step 1124;
[0139] Step 1124, controlling the first switch to switch the amplifier of the cellular communication module from a high impedance state to a low impedance state, and controlling the second switch to switch the amplifier of the WiFi communication module from a low impedance state to a high impedance state;
[0140] Step 1126, controlling the electronic device to establish a cellular network connection between the cellular communication module and the base station based on the amplifier in the low impedance state in the cellular communication module;
[0141] Step 1128, transmit the first subcarrier via the cellular network connection.
[0142] In the embodiment of the present application, the electronic device establishes a cellular network connection with the base station; the cellular network connection is a communication connection based on the time division duplex mode. When the WiFi hotspot function is turned on by the electronic device, a WiFi network connection is established with the access device connected to the WiFi hotspot. At this time, the electronic device establishes a cellular network connection with the base station, and also establishes a WiFi network connection with the access device connected to the WiFi hotspot. At this time, if the electronic device transmits a cellular signal through the cellular network connection on the one hand, and transmits a WiFi signal through the WiFi network connection on the other hand, then, obviously, when the frequency bands of the cellular signal and the WiFi signal are very close and there is an intersection, the problem of adjacent channel interference will occur. Therefore, the electronic device can transmit the WiFi signal through the WiFi network connection in the gap between the transmission of the cellular signal through the cellular network connection. That is, the cellular signal and the WiFi signal are transmitted independently of each other in different time periods. In other words, the transmission process of the cellular signal and the WiFi signal is distinguished from the time domain. Therefore, it is achieved that the cellular signal and the WiFi signal will not be transmitted at the same time. Finally, the problem of signal interference can be solved to a certain extent, and the communication quality in the scenario where the cellular network and the WiFi hotspot coexist can be improved.
[0143] In one embodiment, Fig.12 As shown, a communication control device 1200 is provided, the device comprising:
[0144] The first communication connection establishing module 1220 is used to establish a first communication connection with the base station; the first communication connection is a communication connection based on the time division duplex mode;
[0145] The second communication connection establishing module 1240 is used to establish a second communication connection with an access device connected to the WiFi hotspot when the WiFi hotspot function is turned on in the electronic device;
[0146] The signal transmission module 1260 is configured to transmit a second signal through a second communication connection during a gap in transmitting a first signal through a first communication connection.
[0147] In one embodiment, Fig.13 As shown, the signal transmission module 1260 includes:
[0148] The gap determining unit 1262 is used to determine a gap in which the electronic device transmits the first signal through the first communication connection;
[0149] The second signal transmission unit 1264 is used to transmit a second signal through a second communication connection during the gap.
[0150] In one embodiment, the first signal includes at least one first subcarrier; the gap determination unit 1262 is further used to: obtain the end time of the electronic device transmitting the first subcarrier through the first communication connection and the start time of the transmission of the next adjacent first subcarrier; and use the time period between the end time of the first subcarrier and the start time of the next adjacent first subcarrier as the gap.
[0151] In one embodiment, the second signal includes at least one second subcarrier; the second signal transmission unit 1264 is further used to determine the start time of transmitting the second subcarrier through the second communication connection within the gap; at the start time, the second subcarrier is transmitted through the second communication connection.
[0152] In one embodiment, the second signal transmission unit 1264 is also used to obtain the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier; based on the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier, determine the start time of transmitting the second subcarrier through the second communication connection within the gap.
[0153] In one embodiment, the second signal transmission unit 1264 is further used to calculate the difference between the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier; and calculate the start time of transmitting the second subcarrier through the second communication connection based on the difference and the duration of the gap.
[0154] In one embodiment, the second signal transmission unit 1264 is also used to control the first switching switch to switch the amplifier of the first communication module from a low impedance state to a high impedance state, and control the second switching switch to switch the amplifier of the second communication module from a high impedance state to a low impedance state at the start time; control the electronic device to establish a second communication connection between the second communication module and the access device based on the amplifier in the low impedance state in the second communication module; and transmit the second subcarrier through the second communication connection.
[0155] In one embodiment, the signal transmission module 1260 further includes:
[0156] The first signal transmission unit 1264 is used to control the first switching switch to switch the amplifier of the first communication module from a high-impedance state to a low-impedance state, and control the second switching switch to switch the amplifier of the second communication module from a low-impedance state to a high-impedance state if a second subcarrier is transmitted through the second communication connection; control the electronic device to establish a first communication connection between the first communication module and the base station based on the amplifier in the low-impedance state in the first communication module; and transmit the first subcarrier through the first communication connection.
[0157] In one embodiment, the gap determination unit 1262 is used to determine a gap between the electronic device sending a first signal uplink to the base station through the first communication connection and receiving a next adjacent first signal downlinked by the base station;
[0158] The second signal transmission unit 1264 is used to send a second signal uplink or downlink via the second communication connection during the gap.
[0159] In one embodiment, the gap determining unit 1262 is used to determine a gap between the electronic device receiving the first signal sent downlink by the base station through the first communication connection and sending the first signal uplink to the base station;
[0160] The second signal transmission unit 1264 is used to send a second signal uplink or downlink via the second communication connection during the gap.
[0161] In one embodiment, Fig.14 As shown, a communication control device is provided, the device comprising:
[0162] The transmission power adjustment module 1280 is used to monitor the signal strength of the first signal transmitted through the first communication connection and the signal strength of the second signal transmitted through the second communication connection within a preset time period; if the signal strength of the transmitted first signal is lower than a first preset threshold, the transmission power of the first signal transmitted through the first communication connection is increased; if the signal strength of the transmitted second signal is lower than a second preset threshold, the transmission power of the second signal transmitted through the second communication connection is increased.
[0163] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0164] The division of the various modules in the above communication control device is only for illustration. In other embodiments, the communication control device may be divided into different modules as needed to complete all or part of the functions of the above communication control device.
[0165] For the specific definition of the communication control device, please refer to the definition of the communication control method above, which will not be repeated here. Each module in the above communication control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0166] Fig.15 Schematic diagram of the internal structure of an electronic device in an embodiment. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a car computer, a wearable device, etc. The electronic device includes a processor and a memory connected via a system bus. Among them, the processor may include one or more processing units. The processor may be a CPU (Central Processing Unit) or a DSP (Digital Signal Processing), etc. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a communication control method provided in each of the following embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium.
[0167] The implementation of each module in the communication control device provided in the embodiment of the present application may be in the form of a computer program. The computer program can be run on an electronic device. The program module constituted by the computer program can be stored in the memory of the electronic device. When the computer program is executed by the processor, the steps of the method described in the embodiment of the present application are implemented.
[0168] The embodiment of the present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the communication control method.
[0169] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the communication control method.
[0170] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0171] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include ROM (Read-Only Memory), PROM (Programmable Read-only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-only Memory) or flash memory. Volatile memory may include RAM (Random Access Memory), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), Double Data Rate DDRSDRAM (Double Data Rate Synchronous Dynamic Random Access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory), SLDRAM (Sync Link Dynamic Random Access Memory), RDRAM (Rambus Dynamic Random Access Memory), and DRDRAM (Direct Rambus Dynamic Random Access Memory).
[0172] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A communication control method, characterized in that: Applied to electronic equipment, the method comprises: Establishing a first communication connection with a base station; the first communication connection is a communication connection based on a time division duplex mode; When the WiFi hotspot function is turned on in the electronic device, a second communication connection is established with an access device connected to the WiFi hotspot; During a gap in transmitting the first signal through the first communication connection, transmitting the second signal through the second communication connection; The transmitting the second signal through the second communication connection during a gap in which the first signal is transmitted through the first communication connection comprises: determining a gap in which the electronic device transmits the first signal through the first communication connection; and transmitting the second signal through the second communication connection during the gap; The second signal includes at least one second subcarrier; and transmitting the second signal through the second communication connection within the gap includes: determining a start time of transmitting the second subcarrier through the second communication connection within the gap; and transmitting the second subcarrier through the second communication connection at the start time; The first signal includes at least one first subcarrier; determining the start time of transmitting the second subcarrier through the second communication connection within the gap includes: acquiring the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier; and determining the start time of transmitting the second subcarrier through the second communication connection within the gap according to the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier.
2. The method according to claim 1, characterized in that The determining a gap in which the electronic device transmits the first signal through the first communication connection includes: Acquire an end time of transmission of a first subcarrier and a start time of transmission of a next adjacent first subcarrier by the electronic device through the first communication connection; The time period between the end time of the first subcarrier and the start time of the next adjacent first subcarrier is used as the gap.
3. The method according to claim 1, characterized in that The determining, in the gap according to the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier, a start time of transmitting the second subcarrier through the second communication connection comprises: Calculating a difference between the transmit power of the first subcarrier and the transmit power of the next adjacent first subcarrier; A start time for transmitting the second subcarrier through the second communication connection is calculated according to the difference and the duration of the gap.
4. The method according to claim 1, characterized in that: At the start time, transmitting the second subcarrier through the second communication connection includes: At the start time, controlling the first switch to switch the amplifier of the first communication module from a low impedance state to a high impedance state, and controlling the second switch to switch the amplifier of the second communication module from a high impedance state to a low impedance state; Controlling the electronic device to establish a second communication connection between the second communication module and the access device based on the amplifier in the low impedance state in the second communication module; The second subcarrier is transmitted via the second communication connection.
5. The method according to claim 4, characterized in that The method further comprises: If the transmission of one of the second subcarriers is completed through the second communication connection, controlling the first switch to switch the amplifier of the first communication module from a high impedance state to a low impedance state, and controlling the second switch to switch the amplifier of the second communication module from a low impedance state to a high impedance state; Controlling the electronic device to establish a first communication connection between the first communication module and the base station based on the amplifier in the low impedance state in the first communication module; The first subcarrier is transmitted via the first communication connection.
6. The method according to claim 1, characterized in that The determining a gap in which the electronic device transmits the first signal through the first communication connection includes: Determine a gap between the electronic device sending a first signal uplink to the base station through the first communication connection and receiving a next adjacent first signal downlink sent by the base station; The transmitting the second signal through the second communication connection during the gap includes: In the gap, the second signal is sent uplink or downlink via the second communication connection.
7. The method according to claim 1, characterized in that The determining a gap in which the electronic device transmits the first signal through the first communication connection includes: Determine a gap between the electronic device receiving a first signal sent downlink by the base station through the first communication connection and sending a first signal uplink to the base station; The transmitting the second signal through the second communication connection within the gap includes: In the gap, the second signal is sent uplink or downlink via the second communication connection.
8. The method according to claim 1, characterized in that The method further comprises: Monitoring the signal strength of a first signal transmitted through the first communication connection and the signal strength of a second signal transmitted through the second communication connection within a preset time period; If the signal strength of the transmitted first signal is lower than a first preset threshold, increasing the transmission power of the first signal transmitted through the first communication connection; If the signal strength of the transmitted second signal is lower than a second preset threshold, the transmission power of the second signal transmitted through the second communication connection is increased.
9. A communication control device, characterized in that: The device comprises: A first communication connection establishing module, used to establish a first communication connection with a base station; the first communication connection is a communication connection based on a time division duplex mode; A second communication connection establishing module, used to establish a second communication connection with an access device connected to a WiFi hotspot when the WiFi hotspot function is turned on in the electronic device; a signal transmission module, configured to transmit a second signal through the second communication connection during a gap in transmitting a first signal through the first communication connection; The signal transmission module includes a gap determination unit and a second signal transmission unit, wherein the gap determination unit is used to determine a gap in which the electronic device transmits a first signal through the first communication connection; and the second signal transmission unit is used to transmit a second signal through the second communication connection within the gap; The second signal includes at least one second subcarrier; the second signal transmission unit is further used to determine, within the gap, a start time of transmitting the second subcarrier through the second communication connection; at the start time, transmit the second subcarrier through the second communication connection; The first signal includes at least one first subcarrier; the second signal transmission unit is also used to obtain the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier; according to the transmission power of the first subcarrier and the transmission power of the next adjacent first subcarrier, determine the start time of transmitting the second subcarrier through the second communication connection within the gap.
10. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to execute the steps of the communication control method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the communication control method according to any one of claims 1 to 8 are implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the communication control method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Communication method with coexistence of multiple wireless techniques in terminal and system
CN102595543A