Signal Processing Method and Electronic Device
By adjusting transmission parameters and strategies while the first chip and the second chip are in a communication state at the same time, the problem of signal transmission time increases due to interference is solved, and the data transmission efficiency of the electronic device is improved.
Patent Information
- Application Number
- CN202411956102.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-28
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2044-12-28
AI Technical Summary
In electronic devices, since the first chip and the second chip are close to each other and the isolation is poor, the signal transmission between the second chip and the router is interfered with by the signal between the first chip and the router, affecting the signal transmission time and efficiency between the second chip and the router.
By determining whether the first chip and the second chip are in a communication state at the same time, adjust the initial adjustment strategy, obtain the transmission parameters, and adjust the data transmission rate based on these parameters to avoid the increase in transmission time due to interference.
The impact of the first chip on signal transmission between the second chip and the router is effectively reduced, the time increase caused by the decrease in transmission rate due to interference is avoided, and the data transmission efficiency is improved.
Smart Images

Figure CN119582882B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing, and more particularly, to a signal processing method and an electronic device. Background Art
[0002] In the field of wireless communication technology, an electronic device can support signal transmissions at different rates.
[0003] For example, a mobile phone and a router can perform signal transmissions at different rates. When the interference between the transmission paths between the mobile phone and the router is less, a higher rate can be adopted for signal transmission between the mobile phone and the router. For example, the modulation and coding scheme for signal transmission between the mobile phone and the router can be MCS9, and the signal bandwidth is 160 MHz. When the interference between the transmission paths between the mobile phone and the router is more, a lower rate can be adopted for signal transmission between the mobile phone and the router. For example, the modulation and coding scheme for signal transmission between the mobile phone and the router can be MCS0, and the signal bandwidth is 20 MHz. With the development of communication technology, an electronic device can include at least two chips for signal transmission, namely a first chip and a second chip; and due to the small size of the electronic device, the isolation between the first chip and the second chip is usually poor. In this case, when the transmission path between the second chip and the router is interfered by the signal transmission between the first chip and the router, the electronic device reduces the signal transmission rate between the second chip and the router, resulting in a longer signal transmission duration between the second chip and the router, making it more vulnerable to the interference of the signal transmission between the first chip and the router, and further affecting the signal transmission between the second chip and the router.
[0004] Based on this, how to reduce the influence of the first chip on the signal transmission between the second chip and the router when the first chip and the second chip are close to each other in the electronic device has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides a signal processing method, which can reduce the influence of the first chip on the signal transmission between the second chip and the router when the first chip and the second chip are close to each other in the electronic device.
[0006] In a first aspect, a signal processing method is provided. The method is applied to a first electronic device, and the first electronic device includes a first chip and a second chip. The method includes:
[0007] Determine whether the first chip and the second chip are both in a communication state;
[0008] If the first chip and the second chip are both in a communication state, adjust the initial adjustment strategy to obtain a first strategy, and acquire the first transmission parameter between the first chip and the second electronic device. The initial adjustment strategy is the initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device.
[0009] Adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0010] Among them, the first chip and the second chip may refer to the baseband chips as shown in Figure 5 and there is no module for scheduling between the first chip and the second chip. That is, the first chip and the second chip cannot directly interact with each other, so that the first chip cannot stop data transmission and give way to the second chip when the second chip is transmitting data; nor can the second chip stop data transmission and give way to the first chip when the first chip is transmitting data. The initial adjustment strategy may refer to the second strategy, that is, the strategy stored in the first electronic device for adjusting the data transmission rate between the first chip and the second electronic device. The second electronic device may refer to the first router 200 as shown in Figure 8 or the second electronic device may refer to the first router 200 as shown in Figure 9 or the second electronic device may refer to the base station 400 as shown in Figure 10 .
[0011] The signal processing method provided by the embodiment of the present application is applied to the first electronic device. The first electronic device includes a first chip and a second chip. The method includes: determining whether the first chip and the second chip are both in a communication state. If the first chip and the second chip are both in a communication state, adjust the initial adjustment strategy to obtain a first strategy, and acquire the first transmission parameter between the first chip and the second electronic device. Then adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy. Among them, the initial adjustment strategy is the initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device. That is to say, by using the signal processing method provided by the embodiment of the present application, when the first chip and the second chip are both in a communication state, the initial adjustment strategy for adjusting the data transmission rate between the first chip and the second electronic device is adjusted to obtain a first strategy. Furthermore, the data transmission rate between the first chip and the second electronic device is adjusted through the first transmission parameter and the first strategy, avoiding the situation that when the second chip interferes with the data transmission between the first chip and the second electronic device, the data transmission rate between the first chip and the second electronic device is adjusted to the lowest by using the initial adjustment strategy, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0012] In combination with the first aspect, in certain embodiments of the first aspect, if the first chip and the second chip are both in a communication state, adjusting the initial adjustment strategy to obtain a first strategy includes: if the first chip and the second chip are both in a communication state, determining whether the first operating frequency band for the first chip to transmit data is the same as the second operating frequency band for the second chip to transmit data; if the first operating frequency band and the second operating frequency band are the same, adjusting the initial adjustment strategy to obtain a first strategy.
[0013] It can be understood that if the operating frequency bands of the first chip and the second chip are the same and the first chip and the second chip are both in a communication state, it is more likely that mutual interference will occur between the first chip and the second chip. If the first chip and the second chip are both in a communication state and the operating frequency bands between the first chip and the second chip are different, the probability of signal interference between the first chip and the second chip is relatively low.
[0014] In the signal processing method provided by the embodiments of the present application, when the first chip and the second chip are both in a communication state and the first operating frequency band for the first chip to transmit data is the same as the second operating frequency band for the second chip to transmit data, the initial adjustment strategy for the data transmission rate between the first chip and the second electronic device is adjusted to obtain a first strategy, and then the data transmission rate between the first chip and the second electronic device is adjusted through the first transmission parameter and the first strategy, avoiding the situation where, in the case of the second chip interfering with the data transmission between the first chip and the second electronic device, the initial adjustment strategy is used to adjust the data transmission rate between the first chip and the second electronic device to the lowest, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0015] In combination with the first aspect, in certain embodiments of the first aspect, the first transmission parameter includes the packet loss rate of data transmission between the first chip and the second electronic device. Adjusting the initial adjustment strategy to obtain a first strategy includes: increasing the packet loss rate threshold in the initial adjustment strategy to obtain a first strategy.
[0016] Wherein, the packet loss rate threshold may refer to the packet loss rate that triggers the first chip to adjust the data transmission rate.
[0017] In the signal processing method provided by the embodiment of the present application, when the first chip and the second chip are both in a communication state, by increasing the packet loss rate threshold, when the packet loss rate of data transmission by the first chip decreases, the first chip is not triggered to adjust the data transmission rate, and still performs data transmission at the current data transmission rate, thereby avoiding the situation where when the second chip interferes with the data transmission between the first chip and the second electronic device, the data transmission rate between the first chip and the second electronic device is adjusted to the lowest, resulting in an increase in the duration of data transmission between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0018] In combination with the first aspect, in some embodiments of the first aspect, before adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy, the method further includes: increasing the period duration for obtaining the first transmission parameter from the first period duration to the second period duration.
[0019] Wherein, if the first chip and the second chip are both in a communication state, the first chip can increase the duration of the monitoring period. For example, the duration of the monitoring period is increased from the first period duration to the second period duration, which can reduce the frequency of obtaining the first transmission parameter, and further reduce the frequency of adjusting the data transmission rate between the first chip and the second electronic device, avoiding the situation where when the second chip interferes with the data transmission between the first chip and the second electronic device, the data transmission rate between the first chip and the second electronic device is adjusted to the lowest, resulting in an increase in the duration of data transmission between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0020] If the first chip and the second chip are not both in a communication state, the first chip maintains the original duration of the monitoring period, thereby maintaining the original frequency of obtaining the first transmission parameter.
[0021] In combination with the first aspect, in some embodiments of the first aspect, the method further includes: reducing the period duration for obtaining the second transmission parameter. After adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy, the first chip adjusts the data transmission rate for the first chip and the second electronic device based on the second transmission parameter and the first policy, and the second transmission parameter includes the packet loss rate between the first chip and the second electronic device after adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy.
[0022] Among them, the second transmission parameter refers to the packet loss rate between the first chip and the second electronic device after adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy. Reducing the cycle duration for obtaining the second transmission parameter is equivalent to shortening the cycle for restoring the data transmission rate.
[0023] Adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy is carried out when the first chip and the second chip are both in a communication state. In this case, if the data transmission rate between the first chip and the second electronic device is reduced, the frequency of obtaining the second transmission parameter can be increased, so that after the packet loss rate between the first chip and the second electronic device is reduced, the data transmission rate between the first chip and the second electronic device can be increased as soon as possible, avoiding the situation of affecting the data transmission between the first chip and the second electronic device.
[0024] Combined with the first aspect, in some embodiments of the first aspect, adjusting the initial adjustment policy to obtain the first policy includes: reducing the weight of the packet loss rate in the initial adjustment policy to obtain the first policy.
[0025] Combined with the first aspect, in some embodiments of the first aspect, determining whether the first chip and the second chip are both in a communication state includes: obtaining first data transmission information of the first chip, where the first data transmission information includes the uplink throughput, packet length, and data sending frequency of the first chip; obtaining second data transmission information of the second chip, where the second data transmission information includes the uplink throughput, packet length, and data sending frequency of the second chip; and determining whether the first chip and the second chip are both in a communication state based on the first data transmission information and the second data transmission information.
[0026] Combined with the first aspect, in some embodiments of the first aspect, determining whether the first chip and the second chip are both in a communication state includes: obtaining the level value of the first cable between the first chip and the second chip; and determining whether the first chip and the second chip are both in a communication state based on the level value of the first cable.
[0027] Among them, the first cable may refer to the cable connecting the first chip and the second chip.
[0028] In some possible cases, when the level value on the first cable is higher than the preset level threshold, the second chip is in a communication state, that is, in a state of data transmission; when the level value of the first cable is lower than or equal to the preset level threshold, the second chip is not in a communication state, that is, not in a state of data transmission.
[0029] The first chip can read the level value on the first cable once every preset first time period, and store the read level value in the first chip. Then, it performs statistical calculations on all the stored level values every preset second time period to determine the ratio of the number of level values that meet the preset conditions among all the level values within the preset second time period to the number of all level values. The ratio of the number of level values that meet the preset conditions among all the level values within the preset second time period to the number of all level values can be called the duty cycle.
[0030] The first chip can determine whether the second chip is in a communication state based on the above duty cycle. If the duty cycle is greater than the preset ratio threshold, the second chip is in a communication state. At this time, if the first chip reads its own transmission parameters and determines that the first chip is also in a communication state, the first chip determines that the first chip and the second chip are both in a communication state.
[0031] In combination with the first aspect, in some embodiments of the first aspect, the first electronic device further includes an identification module and a dual-chip management module, and the method further includes: the second chip sends second data transmission information to the identification module, and the second data transmission information is used to indicate the data transmission state between the second chip and other electronic devices; the identification module sends the second data transmission information to the dual-chip management module; the dual-chip management module sends the second data transmission information to the first chip; the first chip determines whether the first chip and the second chip are both in a communication state based on the first transmission information and the second data transmission information, and the first transmission information is used to indicate the data transmission state between the first chip and the second electronic device.
[0032] In combination with the first aspect, in some embodiments of the first aspect, the first chip includes a first rate control module. The first chip determines whether the first chip and the second chip are both in a communication state based on the first transmission information and the second data transmission information, including: the first rate control module in the first chip determines whether the first chip and the second chip are both in a communication state based on the first transmission information and the second data transmission information.
[0033] In combination with the first aspect, in some embodiments of the first aspect, the identification module sends the second data transmission information to the dual-chip management module, including: the identification module periodically sends the second data transmission information to the dual-chip management module according to a third period; the dual-chip management module receives multiple second data transmission information according to the third period to obtain a second data transmission information set; the dual-chip management module periodically sends the second data transmission information set to the first chip according to a fourth period, where the duration of each period corresponding to the third period is less than the duration of each period corresponding to the fourth period.
[0034] In combination with the first aspect, in some embodiments of the first aspect, the first chip and the second chip are connected by a first cable. To determine whether the first chip and the second chip are both in a communication state, it further includes: the first chip obtains the level value on the first cable; the first chip determines whether the first chip and the second chip are both in a communication state based on the level value on the first cable.
[0035] In a second aspect, a signal processing device is provided, including a unit for executing any of the methods in the first aspect. The device can be a server, a terminal device, or a chip within the terminal device. The device may include an input unit and a processing unit.
[0036] When the device is a terminal device, the processing unit can be a processor, and the input unit can be a communication interface; the terminal device may further include a memory for storing computer program code. When the processor executes the computer program code stored in the memory, the terminal device is caused to execute any of the methods in the first aspect.
[0037] When the device is a chip within the terminal device, the processing unit can be a processing unit inside the chip, and the input unit can be an output interface, a pin, a circuit, etc.; the chip may further include a memory, which can be a memory within the chip (e.g., a register, a cache, etc.) or a memory located outside the chip (e.g., a read-only memory, a random access memory, etc.); the memory is used to store computer program code. When the processor executes the computer program code stored in the memory, the chip is caused to execute any of the methods in the first aspect.
[0038] In a possible implementation, the memory is used to store computer program code; a processor, the processor executes the computer program code stored in the memory. When the computer program code stored in the memory is executed, the processor is used to execute: determining whether the first chip and the second chip are both in a communication state; if the first chip and the second chip are both in a communication state, adjusting an initial adjustment strategy to obtain a first strategy, and obtaining a first transmission parameter between the first chip and the second electronic device, where the initial adjustment strategy is an initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device; adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0039] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer program code. When the computer program code is run by a signal processing device, the signal processing device is caused to execute any of the signal processing methods in the first aspect.
[0040] Fourthly, a computer program product is provided, which includes computer program code that, when run on a signal processing device, causes the signal processing device to execute any of the device methods in the first aspect.
[0041] The signal processing method and the electronic device provided by the embodiments of the present application. The electronic device may refer to a first electronic device, which includes a first chip and a second chip. The method includes: determining whether the first chip and the second chip are both in a communication state at the same time. If the first chip and the second chip are both in a communication state, adjusting an initial adjustment strategy to obtain a first strategy, and acquiring a first transmission parameter between the first chip and a second electronic device. Then, based on the first transmission parameter and the first strategy, adjusting the data transmission rate between the first chip and the second electronic device. Herein, the initial adjustment strategy is the initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device. That is to say, by using the signal processing method provided by the embodiments of the present application, when the first chip and the second chip are both in a communication state, the initial adjustment strategy for adjusting the data transmission rate between the first chip and the second electronic device is adjusted to obtain a first strategy. Furthermore, the data transmission rate between the first chip and the second electronic device is adjusted through the first transmission parameter and the first strategy, avoiding the situation that when the second chip interferes with the data transmission between the first chip and the second electronic device, the initial adjustment strategy is used to adjust the data transmission rate between the first chip and the second electronic device to the lowest, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device. Description of the Drawings
[0042] Figure 1 It is a schematic diagram of a scenario where data is transmitted between a mobile phone and a router;
[0043] Figure 2 It is a schematic diagram of a mobile phone adjusting the data transmission rate between the mobile phone and the router;
[0044] Figure 3 It is a schematic diagram of data transmission between an electronic device including a first chip and a second chip and a router;
[0045] Figure 4 It is a schematic diagram of the second chip interfering with the data transmission between the first chip and the router;
[0046] Figure 5 It is a schematic diagram of a hardware system of an electronic device applicable to the present application;
[0047] Figure 6 It is a schematic diagram of a hardware system of an electronic device applicable to the present application;
[0048] Figure 7 It is a schematic diagram of a software framework applicable to an electronic device of the present application;
[0049] Figure 8 It is a schematic diagram of the moment for sending the second transmission parameter;
[0050] Figure 9 It is a schematic diagram of an application scenario of the signal processing method provided by an embodiment of the present application;
[0051] Figure 10 It is a schematic diagram of an application scenario of the signal processing method provided by an embodiment of the present application;
[0052] Figure 11 It is a schematic diagram of an application scenario of the signal processing method provided by an embodiment of the present application;
[0053] Figure 12 It is a schematic flowchart of a signal processing method provided by an embodiment of the present application;
[0054] Figure 13 It is the adjustment of the transmission data rate by applying the signal processing method provided by an embodiment of the present application;
[0055] Figure 14 It is a schematic flowchart of a signal processing method provided by an embodiment of the present application;
[0056] Figure 15 It is a schematic diagram of a signal processing device provided by the present application;
[0057] Figure 16 It is a schematic diagram of an electronic device for signal processing provided by the present application. Detailed implementation manners
[0058] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; herein, "and / or" is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.
[0059] Hereinafter, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first", "second", and "third" may explicitly or implicitly include one or more of such features.
[0060] For ease of understanding, some examples are given along with an explanation of the relevant concepts of the embodiments of the present application for reference.
[0061] 1. Packet loss rate.
[0062] The packet loss rate (Loss Tolerance or Packet Loss Rate) refers to the ratio of the number of lost data packets in data transmission to the number of data groups sent, and it is one of the key indicators for measuring network performance.
[0063] 2. Retransmission rate.
[0064] The retransmission rate refers to the ratio of the data packets that need to be resent during data transmission to the number of data groups sent, and the retransmission rate is also one of the key indicators for measuring network performance.
[0065] At present, in the field of wireless communication technology, electronic devices can support signal transmission at different rates.
[0066] Exemplarily, the first mobile phone 100A and the first router 200 can perform signal transmission at different rates.
[0067] When there is less interference in the transmission path between the first mobile phone 100A and the first router 200, as Figure 1 shown in (a) of the figure, the first mobile phone 100A and the first router 200 can perform signal transmission at a higher rate. For example, the modulation and coding method for signal transmission between the first mobile phone 100A and the first router 200 can be MCS9, and the signal bandwidth is 160 MHz. Among them, the higher the order of the modulation and coding method and the wider the signal bandwidth, the faster the signal transmission speed.
[0068] When there is more interference in the transmission path between the first mobile phone 100A and the first router 200, as Figure 1 shown in (b) of the figure, the transmission path between the first mobile phone 100A and the first router 200 is interfered by the signals emitted by the second mobile phone 100B and the second router 200B. The first mobile phone 100A and the first router 200 can perform signal transmission at a lower rate. For example, the modulation and coding method for signal transmission between the first mobile phone 100A and the first router 200 can be MCS0, and the signal bandwidth is 20 MHz.
[0069] In some possible cases, the electronic device can adjust the signal transmission rate based on the packet loss rate and the retransmission rate. For example, when the packet loss rate and / or the retransmission rate increases, the electronic device will reduce the order of modulation and coding, thereby reducing the signal transmission rate; when the packet loss rate and / or the retransmission rate decreases, the electronic device will increase the order of modulation and coding, thereby increasing the signal transmission rate.
[0070] Exemplarily, as Figure 2 shown, at time T0, the modulation and coding scheme between the first mobile phone 100A and the first router 200 is MCS9, and the signal transmission rate is relatively fast. At time T1, there is relatively serious signal interference in the transmission channel between the first mobile phone 100A and the first router 200, and the packet loss rate reaches 90%. The first mobile phone 100A can lower the modulation and coding scheme from MCS9 to MCS1 to reduce the signal transmission rate between the first mobile phone 100A and the first router 200. At time T2, there is still relatively serious signal interference in the transmission channel between the first mobile phone 100A and the first router 200, and the packet loss rate reaches 10%. The first mobile phone 100A continues to transmit signals in the manner of the modulation and coding scheme of MCS1. At time T3, the signal interference in the transmission channel between the first mobile phone 100A and the first router 200 decreases, and the packet loss rate decreases. For example, the packet loss rate drops to 0%. Based on this, the first mobile phone 100A raises the modulation and coding scheme from MCS1 to MCS5 to increase the signal transmission rate between the first mobile phone 100A and the first router 200. At time T4, the packet loss rate remains 0%. Since the packet loss rate remains at 0% for a relatively long period, based on this, the first mobile phone 100A can raise the modulation and coding order again, from MCS5 to MCS9.
[0071] With the development of communication technology, at least two electronic devices for signal transmission can be set in an electronic device. For example, the first mobile phone 100A includes two electronic devices for signal transmission, namely the first chip 101 and the second chip 102. For example, the first chip 101 can transmit signals with the first router 200, and at the same time, the second chip 102 can also transmit signals with the first router 200. Or, the first chip 101 can transmit signals with the first router 200, and at the same time, the second chip 102 can transmit signals with the router 300. Or, the first chip 101 can transmit signals with the first router 200, and the second chip 102 can transmit signals with the base station 400.
[0072] Exemplarily, as Figure 3As shown, when the first chip 101 transmits signals to the first router 200, it operates on channel 36. When the second chip 102 transmits signals to the third router 300, it operates on channel 149. Among them, channel 36 is usually within the 5GHz frequency band and is used in scenarios that require higher transmission rates and lower latency. Channel 149 is also within the 5GHz frequency band, is a high-rate channel, and channel 149 has a Dynamic Frequency Selection (DFS) function, which is suitable for scenarios with high requirements for network speed and quality. That is to say, both the 36 signal and channel 149 are within the 5GHz frequency band.
[0073] It can be understood that the volume of electronic devices is getting smaller and smaller, and the space available for arranging electronic components is also getting less and less. For example, the first mobile phone 100A is small in size, and the distance between the first chip 101 and the second chip 102 is relatively close, which will result in poor isolation between the first chip 101 and the second chip 102. At the same time, since both the 36 channel used by the first chip 101 for signal transmission and the 149 channel used by the second chip 102 for signal transmission are channels within the 5GHz frequency band, it is more likely for interference to occur between the first chip and the second chip. Since there is no communication channel between the first chip 101 and the second chip 102, the first chip and the second chip cannot control the time period of the transmitted signal to avoid conflicts. To sum up, when two channels transmit signals simultaneously, interference is likely to occur, resulting in an increase in the packet loss rate.
[0074] If the method shown in Figure 2 is adopted when the packet loss rate increases, that is, adjusting the modulation and coding method to improve the success rate of signal transmission, it may lead to a longer total duration of signal transmission and further reduce the success rate of signal transmission.
[0075] Exemplarily, when the first chip 101 communicates with the first router 200, it uses a 5GHz frequency band for signal transmission, and the surrounding environment is relatively simple, resulting in a low packet loss rate when the first chip 101 transmits signals. Therefore, the first chip 101 can use a higher-order modulation and coding method for signal transmission. For example, the first chip can use the modulation and coding method of MCS11 for signal transmission. When the second chip 102 communicates with the router 300, it also uses a 5GHz frequency band for signal transmission, which will cause the signal transmission between the second chip 102 and the router 300 to interfere with the transmission channel between the first chip 101 and the first router 200, resulting in an increase in the packet loss rate of the first chip 101. In this case, the first chip 101 will reduce the order of the modulation and coding method, which will result in a longer transmission duration between the first chip 101 and the first router 200. Since the increase in the packet loss rate of the first chip 101 is caused by the signal transmission between the second chip 102 and the router 300, if the transmission duration between the first chip 101 and the first router 200 becomes longer, it is more vulnerable to interference from the second chip 102, further increasing the packet loss of the first chip 101, resulting in the first chip 101 finally using the modulation and coding method with the lowest order for signal transmission, and the transmission rate drops to the lowest, as Figure 4 shown.
[0076] In view of this, the embodiment of the present application provides a signal processing method, which relates to the field of wireless communication technology and can be applied to a first electronic device. The first electronic device includes a first chip and a second chip. The method includes: determining whether the first chip and the second chip are both in a communication state at the same time. If the first chip and the second chip are both in a communication state, adjusting the initial adjustment strategy to obtain a first strategy, and obtaining the first transmission parameter between the first chip and the second electronic device, and then adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy. The initial adjustment strategy is the initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device. That is to say, by using the signal processing method provided by the embodiment of the present application, when the first chip and the second chip are both in a communication state, the initial adjustment strategy for adjusting the data transmission rate between the first chip and the second electronic device is adjusted to obtain a first strategy, and then the data transmission rate between the first chip and the second electronic device is adjusted through the first transmission parameter and the first strategy, avoiding the situation where, in the case of the second chip interfering with the data transmission between the first chip and the second electronic device, the data transmission rate between the first chip and the second electronic device is adjusted to the lowest using the initial adjustment strategy, resulting in an increase in the transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0077] The signal processing method provided by the embodiments of this application can be applied to a first electronic device. Optionally, the first electronic device includes a terminal device, which can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer (Pad), computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, and so on. The embodiments of this application do not limit the specific technologies and specific device forms adopted by the terminal device. For example, the first electronic device can refer to the first mobile phone mentioned above.
[0078] Figure 5 A possible structure of the first electronic device 100 is shown. The first electronic device 100 may include a radio frequency circuit 10, multiple antennas 15, a processor 16, and a memory 17. Among them, the radio frequency circuit 10 includes a baseband chip 11, a radio frequency integrated circuit (RFIC) 12, a radio frequency front-end 13, and a MIPI driver 14. The MIPI driver 14 can be an independent device, integrated in the RFIC 12, or integrated with the baseband chip 11 and the processor 16 in a system on chip (SoC).
[0079] The processor 16 involved in the embodiments of the present application may be a chip. For example, it may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips. The processor 16 may also be referred to as an application processor (AP). The processor 16 may receive data from the radio frequency circuit 10 or transmit data through the radio frequency circuit 10.
[0080] The memory 17 involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0081] The radio frequency circuit 10 can implement wireless communication technologies such as the 2nd generation (2G) communication, 3rd generation (3G) communication, 4th generation (4G) communication, and 5th generation (5G) communication. The radio frequency circuit 10 can also provide wireless communication technologies applied to the first electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), and the like.
[0082] In the radio frequency circuit 10, the radio frequency front end 13 includes multiple LNAs, power amplifiers (PAs), radio frequency front end switches, and other devices. The LNA is used to amplify the radio frequency signals received by the receiving channel, the PA is used to amplify the radio frequency signals transmitted by the transmitting channel, and the filter is used to filter the radio frequency signals.
[0083] The baseband chip 11 can also be referred to as a modem and is used for modulation and demodulation of baseband signals, digital filtering, equalization processing, etc., and is also used to control the devices in the radio frequency front end through the MIPI driver 14. As Figure 5 shown, the MIPI driver 14 is connected to each device (such as the above-mentioned PA, LNA, radio frequency front end switch) in the radio frequency front end 13 through the MIPI RFFE bus, so as to control each device in the radio frequency front end 13. The RFIC 12 is used to convert the baseband signal from the baseband chip 11 into a radio frequency signal and transmit it through the radio frequency front end 13 and the antenna 15, or, after receiving the radio frequency signal through the antenna 15 and the radio frequency front end 13, convert it into a baseband signal and send it to the baseband chip 11. The memory 17 can store computer program instructions for execution by a controller (such as the baseband chip 11, the processor 16). The MIPI driver 14 also includes a memory inside, which is used to store computer program instructions for execution by the MIPI driver 14, so as to execute the method involved in the embodiments of the present application.
[0084] With the development of communication technologies, the number of baseband chips 11 can be multiple. Exemplarily, as Figure 5As shown, the baseband chip 11 may include two chips, namely a first chip 101 and a second chip 102.
[0085] The first chip 101 and the second chip 102 may be separately connected to a radio frequency front end 13 and an antenna 15 respectively, or may be commonly connected to a radio frequency front end 13 and an antenna 15. The embodiments of the present application do not limit this.
[0086] Exemplarily, as Figure 6 shown in (a) of, the radio frequency front end 13 may include a first sub-radio frequency front end 131 and a second sub-radio frequency front end 132, and the antenna 15 may include a first antenna 151 and a second antenna 152. Among them, the first chip 101 is connected to the first sub-radio frequency front end 131 through the MIPI driver 14 and the RFIC 13, and then is connected to the first antenna 151 through the first sub-radio frequency front end 131. Among them, the number of the first antennas 151 may be 1 or multiple. The embodiments of the present application do not limit this. The second chip 102 is connected to the second sub-radio frequency front end 132 through the MIPI driver 14 and the RFIC 13, and then is connected to the second antenna 152 through the second sub-radio frequency front end 132. Among them, the number of the second antennas 152 may be 1 or multiple. The embodiments of the present application do not limit this.
[0087] Exemplarily, as Figure 6 shown in (b) of, the first chip 101 and the second chip 102 are connected to the radio frequency front end 13 through the MIPI driver 14 and the RFIC 13, and then are connected to the antenna 15 through the radio frequency front end 13. Among them, the first chip 101 may be connected to the same antenna as the second chip 102, or may be connected to different antennas. The embodiments of the present application do not limit this.
[0088] In some possible cases, the first chip 101 and the second chip 102 can be connected by a first cable. Through the first cable, the first chip 101 and the second chip 102 can determine each other's working states. Exemplarily, the first chip 101 can read the level value of the first cable to determine the state of the second chip 102. If the level value of the first cable is greater than a preset level threshold, the level value of the first cable is a high level, indicating that the second chip 102 is in the working state of transmitting signals; if the level value of the first cable is less than or equal to the preset level threshold, the level value of the first cable is a low level, indicating that the second chip 102 is in the sleep state of not transmitting signals. Similarly, the second chip 102 can read the level value of the first cable to determine the state of the first chip 101. If the level value of the first cable is greater than a preset level threshold, the level value of the first cable is a high level, indicating that the first chip 101 is in the working state of transmitting signals; if the level value of the first cable is less than or equal to the preset level threshold, the level value of the first cable is a low level, indicating that the first chip 101 is in the sleep state of not transmitting signals.
[0089] In the traditional control scheme for LNA gain update, the MIPI driver 14 sends gain control commands to the LNA of each receiving channel through the MIPI RFFE bus in each subframe. The gain control commands are used to set the gain of the LNA, so as to perform automatic gain control (AGC) on the LNA to adapt to the changes of the communication network.
[0090] An operating system runs on the first electronic device 100, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system, etc. Application programs can be installed and run on the operating system.
[0091] The operating system of the first electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, the Android operating system is taken as an example to exemplarily illustrate the system architecture of the first electronic device 100.
[0092] It should be noted that although the embodiments of the present application are described by taking the Android operating system as an example, the basic principle thereof also applies to the first electronic device 100 of other operating systems.
[0093] Figure 7 The schematic diagram of the system architecture of the first electronic device according to the embodiments of the present application is shown, as Figure 7As shown, the software system of the first electronic device 100 can be divided into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android operating system is divided into four layers, from top to bottom, namely the Applications layer, the Application Framework layer, the Hardware Abstraction Layer (HAL), and the Kernel layer.
[0094] The Applications layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0095] The Application Framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the Applications layer. The Application Framework layer may include some predefined functions.
[0096] For example, the Application Framework layer includes an identification module and a dual-chip management module.
[0097] Among them, the identification module can be used to periodically receive communication status information reported by the first chip or the second chip, such as uplink data volume, packet length, data transmission frequency, etc. Then the identification module can periodically send the above communication status information to the dual-chip management module according to the first period.
[0098] The dual-chip management module can be used to receive the communication status information sent by the identification module, then process the communication status information, and then periodically send the processed communication status information to another chip according to the second period. Among them, the duration of each period of the second period is greater than the duration of each period of the first period.
[0099] Exemplarily, the duration of one period of the first period is 10 ms, and the duration of one period of the second period is 100 ms, as Figure 8 shown. After the dual-chip management module receives the communication status information of 10 periods, it will send the processed communication status information to the second chip once.
[0100] The HAL layer may include a HAL channel and a data / command channel.
[0101] Among them, the HAL channel can generally be used as a data channel to transmit data between the Kernel layer and the application module layer. For example, the HAL channel can transmit data sent by the first chip driver to the identification module.
[0102] The data / command channel can serve as a data channel to transfer commands or data between the driver layer and the application module layer.
[0103] For ease of description, when the first chip communicates with a module in the application framework layer through the first chip driver and the HAL channel, it can be simply referred to as the first chip communicating with the module in the application framework layer. For example, the first chip communicating with the recognition module through the first chip driver and the HAL channel can be called the first chip communicating with the recognition module. Similarly, when the second chip communicates with a module in the application framework layer through the second chip driver and the HAL channel, it can be simply referred to as the second chip communicating with the module in the application framework layer.
[0104] The driver layer is the layer between hardware and software. The driver layer can include the first chip driver and the second chip driver.
[0105] The operating system of the electronic device can transfer data with the first chip through the first chip driver and transfer data with the second chip through the second chip driver.
[0106] The first chip can include a first rate control module. The first rate control module can be used to adjust the data transfer rate between the first chip and the module in the application framework layer. In some possible cases, the first chip can also include a first baseband module and a first radio frequency module.
[0107] The second chip can include a second rate control module. The second rate control module can be used to adjust the data transfer rate between the second chip and the module in the application framework layer. In some possible cases, the second chip can also include a second baseband module and a second radio frequency module.
[0108] In some possible cases, the first rate control module in the first chip can be connected to the second chip through a first cable (not shown in the figure). The first rate control module can determine whether the second chip is in a communication state through the first cable. For example, the first rate control module can read the level value of the first cable to determine whether the second chip is in a communication state. If the level value of the first cable is greater than the first level threshold, the second chip is in a communication state, that is, the second chip is communicating with the processor. If the level value of the first cable is less than or equal to the first level threshold, the second chip is in an idle state, that is, the second chip is not communicating with the processor.
[0109] In some possible cases, the second rate control module in the second chip can be connected to the first chip through a second cable (not shown in the figure). The second rate control module can determine whether the first chip is in a communication state through the second cable. For example, the second rate control module can read the level value of the second cable to determine whether the first chip is in a communication state. If the level value of the second cable is greater than the second level threshold, the first chip is in a communication state, that is, the first chip communicates with the processor. If the level value of the second cable is less than or equal to the second level threshold, the first chip is in an idle state, that is, the first chip does not communicate with the processor.
[0110] Wherein, the first level value and the second level value can be the same or different, and the embodiments of the present application do not limit this. The first level threshold and the second level threshold can be the same or different, and the embodiments of the present application do not limit this.
[0111] The application scenarios provided by the embodiments of the present application will be described below with reference to the accompanying drawings.
[0112] The signal processing method provided by the embodiments of the present application can be applied to a first electronic device 100 including a first chip 101 and a second chip 102. Among them, the first chip 101 is an electronic device for signal transmission, and the second chip 102 is also an electronic device for signal transmission.
[0113] Exemplarily, the first chip 101 and the second chip 102 can refer to the baseband chips as shown in Figure 5 the figure.
[0114] Exemplarily, as shown in Figure 9 the figure, the first chip 101 is an electronic device for signal transmission between the first electronic device 100 and the first router 200, and the second chip 102 is also an electronic device for signal transmission between the first electronic device 100 and the first router 200. That is to say, the first electronic device 100 can perform signal transmission with the first router 200 through the first chip 101 and the second chip 102.
[0115] Exemplarily, as shown in Figure 10 the figure, the first chip 101 is an electronic device for signal transmission between the first electronic device 100 and the first router 200, and the second chip 102 is an electronic device for signal transmission between the first electronic device 100 and the third router 300. That is to say, the first electronic device 100 can perform signal transmission with the first router 200 through the first chip 101 and perform signal transmission with the router 300 through the second chip 102.
[0116] Exemplarily, as shown in Figure 11As shown in the figure, the first chip 101 is an electronic device for signal transmission between the first electronic device 100 and the base station 400, and the second chip 102 is an electronic device for signal transmission between the first electronic device 100 and the first router 200. That is to say, the first electronic device 100 can perform signal transmission with the base station 400 through the first chip 101 and perform signal transmission with the first router 200 through the second chip 102.
[0117] It should be understood that the above is an example of the application scenario and does not limit the application scenario of the present application in any way.
[0118] The following combines Figures 12 to 14 to describe in detail the signal processing method provided in the embodiments of the present application.
[0119] Figure 12 As shown in Figure 12 is a schematic flowchart of a signal processing method provided in an embodiment of the present application. As shown in the figure, this method is applied to a first electronic device. The first electronic device includes a first chip and a second chip. This method includes:
[0120] S101. Determine whether the first chip and the second chip are both in a communication state at the same time.
[0121] Exemplarily, as shown in Figure 9 when the first chip 101 performs data transmission with the first router 200, the first chip 101 is in a communication state; when the second chip 102 performs data transmission with the first router 200, the second chip 102 is in a communication state.
[0122] Exemplarily, as shown in Figure 10 when the first chip 101 performs data transmission with the first router 200, the first chip 101 is in a communication state; when the second chip 102 performs data transmission with the router 300, the second chip 102 is in a communication state.
[0123] Exemplarily, as shown in Figure 11 when the first chip 101 performs data transmission with the first router 200, the first chip 101 is in a communication state; when the second chip 102 performs data transmission with the base station 400, the second chip 102 is in a communication state.
[0124] Optionally, when the first chip and the second chip are both in a communication state, it is also possible to further determine whether the operating frequency bands of the first chip and the second chip are the same, that is, to execute S102.
[0125] If the first chip and the second chip are both in a communication state at the same time, the probability of signal interference between the first chip and the second chip is higher. If the first chip and the second chip are not both in a communication state at the same time, the probability of signal interference between the first chip and the second chip is reduced.
[0126] If the first chip and the second chip are not both in a communication state at the same time, the transmission rate of the first chip is adjusted based on the initial adjustment strategy in the electronic device, that is, S105 and S106 are executed.
[0127] S102. Determine whether the operating frequency bands of the first chip and the second chip are the same.
[0128] It can be understood that if the operating frequency bands of the first chip and the second chip are the same and the first chip and the second chip are both in a communication state at the same time, it is more likely that mutual interference will occur between the first chip and the second chip.
[0129] In the field of wireless communication, an electronic device can transmit data through different channels, and different channels correspond to different operating frequency bands. For example, channel 36 is usually within the 5GHz frequency band and is used in scenarios that require a higher transmission rate and lower latency. Channel 149 is also within the 5GHz frequency band, is a high-speed channel, and channel 149 has a Dynamic Frequency Selection (DFS) function and is suitable for scenarios with high requirements for network speed and quality. Therefore, in some possible cases, to determine whether the operating frequency bands of the first chip and the second chip are the same, it can be determined based on the operating channel when the first chip communicates and the operating channel when the second chip communicates.
[0130] It should be noted that in some possible cases, one channel corresponds to two operating frequency bands. Therefore, it is not possible to determine whether the operating frequency bands of the first chip and the second chip are the same based on the operating channel when the first chip communicates and the operating channel when the second chip communicates. It is also necessary to further obtain the operating frequency band of the first chip and the operating frequency band of the second chip to determine whether the operating frequency bands of the first chip and the second chip are the same.
[0131] If the first chip and the second chip are both in a communication state at the same time and the operating frequency bands between the first chip and the second chip are the same, the probability of signal interference between the first chip and the second chip is higher. If the first chip and the second chip are both in a communication state at the same time and the operating frequency bands between the first chip and the second chip are different, the probability of signal interference between the first chip and the second chip is reduced.
[0132] If the first chip and the second chip are both in a communication state and the operating frequency bands between the first chip and the second chip are the same, the initial adjustment strategy (the second strategy) can be adjusted to obtain the first strategy, and then the transmission rate of the first chip is adjusted according to the first strategy and the first transmission parameter, that is, S103 and S104 are executed.
[0133] If the first chip and the second chip are both in a communication state and the operating frequency bands between the first chip and the second chip are different, the transmission rate of the first chip can be adjusted based on the initial adjustment strategy in the electronic device, that is, S105 and S106 are executed.
[0134] In the signal processing method provided by the embodiments of the present application, when the first chip and the second chip are both in a communication state and the first operating frequency band for the first chip to transmit data is the same as the second operating frequency band for the second chip to transmit data, the initial adjustment strategy for adjusting the data transmission rate between the first chip and the second electronic device is adjusted to obtain the first strategy, and then the data transmission rate between the first chip and the second electronic device is adjusted through the first transmission parameter and the first strategy, avoiding the situation where, when the second chip interferes with the data transmission between the first chip and the second electronic device, the initial adjustment strategy is used to adjust the data transmission rate between the first chip and the second electronic device to the lowest, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0135] S103. Obtain the first transmission parameter between the first chip and the second electronic device.
[0136] The first transmission parameter may refer to the packet loss rate or retransmission rate when data is transmitted between the first chip and the second electronic device. The first transmission parameter may also be the duty cycle determined based on the level value indicated by the first cable between the first chip and the second chip. The embodiments of the present application do not limit this.
[0137] For example, the first transmission parameter refers to the level value indicated by the first cable (as shown in Figure 7 ) between the first chip and the second chip. The first chip can read the level value on the first cable at intervals of a preset first duration and store the read level value in the first chip. Then, at intervals of a preset second duration, all the stored level values are statistically calculated to determine the ratio of the number of level values that meet the preset conditions to the number of all level values within the preset second duration. The ratio of the number of level values that meet the preset conditions to the number of all level values within the preset second duration can be called the duty cycle, and the first transmission parameter may refer to the above-mentioned duty cycle.
[0138] Among them, the level value that meets the preset condition can refer to a level value higher than the preset level threshold. When the level value on the first cable is higher than the preset level threshold, the first chip is in a communication state, that is, in a state of data transmission. The level value that meets the preset condition can refer to a level value lower than or equal to the preset level threshold. When the level value of the first cable is lower than or equal to the preset level threshold, the first chip is in a communication state, that is, in a state of data transmission.
[0139] Taking the case where the level value that meets the preset condition can refer to a level value higher than the preset level threshold as an example, the first chip reads the level value on the first cable every 1 ms (equivalent to the preset first duration). A total of 50 level values are read in 50 ms (equivalent to the preset second duration). Among these 50 level values, the number of level values higher than the preset level threshold is 40. Then the duty cycle of the first chip is 40 / 50 = 80%, that is, the first transmission parameter is a duty cycle of 80%.
[0140] Optionally, the first chip can determine whether the second chip is in a communication state based on the above duty cycle. If the duty cycle is greater than the preset ratio threshold, the second chip is in a communication state. At this time, if the first chip reads its own transmission parameter and determines that the first chip is also in a communication state, the first chip determines that the first chip and the second chip are both in a communication state.
[0141] S104. Adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy.
[0142] The second electronic device can indicate the first router 200 as shown in Figure 9 or Figure 10 shown, or it can also refer to the base station 400 as shown in Figure 11 shown. The embodiments of the present application do not limit this.
[0143] The first policy can refer to a transmission rate adjustment policy obtained by adjusting the initial adjustment policy. For example, the first policy can refer to a policy of reducing the threshold for triggering the first chip to adjust the data transmission rate.
[0144] As can be seen from the description of S103, the first transmission parameter can refer to the packet loss rate and retransmission rate during data transmission between the first chip and the second electronic device; the first transmission parameter can also refer to the level value indicated by the first cable between the first chip and the second chip; the first transmission parameter can also refer to the packet loss rate and retransmission rate during data transmission between the first chip and the second electronic device, and the level value indicated by the first cable between the first chip and the second chip. The embodiments of the present application do not limit this.
[0145] For example, the first transmission parameter may refer to the packet loss rate during data transmission between the first chip and the second electronic device, and the first policy may refer to the policy of increasing the packet loss rate threshold. Among them, the packet loss rate threshold may refer to the packet loss rate that triggers the first chip to adjust the data transmission rate. In this way, when the first chip and the second chip are both in the communication state, when the packet loss rate of the first chip during data transmission decreases, the first chip is not triggered to adjust the data transmission rate, and the data is still transmitted at the current data transmission rate.
[0146] The following combines Figure 13 in (a) and Figure 13 in (b) to illustrate the policy of increasing the packet loss rate threshold.
[0147] Among them, Figure 13 the adjustment policy shown in (a) may refer to the initial adjustment policy of the data transmission rate read by the first chip from the memory of the electronic device. As Figure 13 shown in (a), at time T6, the first chip and the second electronic device use the modulation and coding mode of MCS9 to transmit data. Starting from time T7, the signal transmission between the first chip and the second electronic device is affected by environmental interference, so that the packet loss rate between the first chip and the second electronic device reaches 50%. At this time, the first chip will be triggered to reduce the order of the modulation and coding mode. For example, the first chip can reduce the modulation and coding mode of data transmission between the first chip and the second electronic device from MCS9 to MCS5. It can be understood that the higher the order of the modulation and coding mode, the faster the data transmission rate, and the lower the order of the modulation and coding mode, the slower the data transmission rate. Reducing the order of the modulation and coding mode is equivalent to reducing the data transmission rate between the first chip and the second electronic device.
[0148] Figure 13 The first policy shown in (b) may refer to the adjustment policy of increasing the packet loss rate threshold. As Figure 13As shown in (b), at time T9, the modulation and coding method of MCS9 is used to transmit data between the first chip and the second electronic device. Starting from time T10, the signal transmission between the first chip and the second electronic device is interfered by the signal transmission of the second chip, so that the packet loss rate between the first chip and the second electronic device reaches 50%, which has reached the packet loss rate threshold in the above initial adjustment strategy. At this time, since the packet loss rate threshold is increased, the first chip will not be triggered to adjust the data transmission rate. As the second chip continues to interfere with the signal transmission between the first chip and the second electronic device, at time T11, the packet loss rate between the first chip and the second electronic device rises to 85%, which triggers the first chip to adjust the data transmission rate, for example, to reduce the order of the modulation and coding method. For example, the first chip can reduce the modulation and coding method for transmitting data between the first chip and the second electronic device from MCS9 to MCS5.
[0149] In some possible cases, the first strategy may also refer to a strategy for adjusting the transmission rate in a step-type manner based on the packet loss rate. For example, when the packet loss rate between the first chip and the second electronic device reaches 30%, the order of the modulation and coding scheme is not increased or decreased, and the original modulation and coding scheme is maintained, such as the modulation and coding scheme of MCS11; when the packet loss rate between the first chip and the second electronic device rises to 50%, the order of the modulation and coding scheme is reduced according to the first rate, for example, the modulation and coding scheme is reduced from MCS 11 to MCS 9; when the packet loss rate between the first chip and the second electronic device rises to 90%, the order of the modulation and coding scheme is reduced according to the second rate, for example, the modulation and coding scheme is reduced from MCS 9 to MCS 1. The first rate is less than the second rate, that is, as the packet loss rate increases, the data transmission rate between the first chip and the second electronic device decreases faster.
[0150] and Figure 13 Compared with the initial adjustment strategy shown in (a) in Figure 13 The first strategy shown in (b) in the figure performs transmission rate adjustment, which can avoid the first chip adjusting the data transmission rate as much as possible when the data transmission between the first chip and the second electronic device is interfered by the second chip, thereby avoiding the situation where the first chip directly adjusts the data transmission rate to the minimum when the second chip interferes, thereby affecting the data transmission efficiency between the first chip and the second electronic device.
[0151] In the signal processing method provided by the embodiment of the present application, when the first chip and the second chip are both in a communication state, by increasing the packet loss rate threshold, even if the packet loss rate of data transmission by the first chip decreases, the first chip is not triggered to adjust the data transmission rate, and still transmits data at the current data transmission rate. Thus, it is avoided that when the second chip interferes with the data transmission between the first chip and the second electronic device, the data transmission rate between the first chip and the second electronic device is adjusted to the lowest, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0152] Optionally, the first strategy may further include increasing the monitoring period duration.
[0153] It can be understood that the first chip can obtain the first transmission parameter according to the monitoring period, and then adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter.
[0154] If the first chip and the second chip are both in a communication state, the first chip can increase the duration of the monitoring period, reduce the frequency of obtaining the first transmission parameter, and further reduce the frequency of adjusting the data transmission rate between the first chip and the second electronic device; if the first chip and the second chip are not both in a communication state, the first chip maintains the original duration of the monitoring period, thereby maintaining the original frequency of obtaining the first transmission parameter.
[0155] Exemplarily, when the first chip and the second chip are both in a communication state, the first chip can obtain the first transmission parameter every 500 ms; when the first chip and the second chip are not both in a communication state, the first chip can obtain the first transmission parameter every 100 ms.
[0156] If the first chip and the second chip are both in a communication state, increasing the duration of the monitoring period can reduce the frequency of obtaining the first parameter, thereby reducing the frequency of adjusting the data transmission rate between the first chip and the second electronic device. This can avoid blindly reducing the data transmission rate between the first chip and the second electronic device when the first chip is interfered by the second chip and affecting the data transmission between the first chip and the second electronic device.
[0157] The following describes the first strategy, which is a strategy of adjusting the weight of other transmission parameters based on the duty cycle in adjusting the transmission rate.
[0158] For another example, the first transmission parameter is the duty cycle determined based on the level value indicated by the first cable between the first chip and the second chip, and the first strategy may be a strategy of adjusting the weight of other transmission parameters based on the duty cycle in adjusting the transmission rate.
[0159] It should be noted that in the process of specifically determining whether to adjust the transmission rate, the first chip can determine the value of adjusting the transmission rate based on transmission parameters such as the packet loss rate and the retransmission rate. For example, the first chip can determine the value of adjusting the transmission rate based on formula (1), where formula (1) includes:
[0160] A = a1 * D + a2 * C; formula (1).
[0161] Among them, A can represent the value of adjusting the transmission rate, D can represent the packet loss rate, a1 can represent the weight of the packet loss rate, C can represent the retransmission rate, and a2 can represent the weight of the retransmission rate.
[0162] If the value A of adjusting the transmission rate is greater than the preset adjustment threshold, the data transmission rate between the first chip and the second electronic device can be triggered to be adjusted; if the value A of adjusting the transmission rate is less than or equal to the preset adjustment threshold, the data transmission rate between the first chip and the second electronic device is not triggered to be adjusted.
[0163] Exemplarily, when the first chip detects that the duty cycle within 50 ms is higher than the preset duty cycle threshold, the packet loss rate weight value a1 will be reduced, thereby reducing the value A of adjusting the transmission rate. If the first chip detects that the duty cycle within 50 ms is lower than or equal to the preset duty cycle threshold, the original packet loss rate weight value a1 is maintained, and the value A of adjusting the transmission rate is not reduced.
[0164] In some possible cases, the first strategy may also include shortening the cycle of restoring the data transmission rate.
[0165] For example, after the first chip reduces the data transmission rate between the first chip and the second electronic device based on the packet loss rate, if it is determined that the first chip and the second chip are both in a communication state, the first chip can shorten the cycle of detecting the packet loss rate, so that the first chip can restore the data transmission rate between the first chip and the second electronic device as soon as possible after reducing the data transmission rate.
[0166] Exemplarily, when the first chip and the second chip are both in a communication state, after the first chip reduces the data transmission rate between the first chip and the second electronic device based on the packet loss rate, the packet loss rate of the first chip is obtained again after an interval of 100 ms to determine whether to increase the data transmission rate between the first chip and the second electronic device; when the first chip and the second chip are not both in a communication state, after the first chip reduces the data transmission rate between the first chip and the second electronic device based on the packet loss rate, the packet loss rate of the first chip is obtained again after an interval of 1 s to determine whether to increase the data transmission rate between the first chip and the second electronic device.
[0167] If adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy means reducing the data transmission rate between the first chip and the second electronic device, then after reducing the data transmission rate between the first chip and the second electronic device, the electronic device can increase the frequency of obtaining the second transmission parameter, that is, reduce the cycle duration of obtaining the second transmission parameter.
[0168] Among them, the second transmission parameter may refer to the packet loss rate between the first chip and the second electronic device after reducing the data transmission rate between the first chip and the second electronic device.
[0169] Adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy is carried out when the first chip and the second chip are both in a communication state. In this case, if the data transmission rate between the first chip and the second electronic device is reduced, the frequency of obtaining the second transmission parameter can be increased, so that after the packet loss rate between the first chip and the second electronic device is reduced, the data transmission rate between the first chip and the second electronic device can be increased as soon as possible.
[0170] Exemplarily, if the electronic device reduces the data transmission rate between the first chip and the second electronic device when the first chip and the second chip are not both in a communication state, the electronic device can obtain the packet loss rate (that is, the second transmission parameter) between the first chip and the second electronic device every 500 ms. If the data transmission rate between the first chip and the second electronic device is reduced when the first chip and the second chip are both in a communication state, the electronic device can obtain the packet loss rate (that is, the second transmission parameter) between the first chip and the second electronic device every 100 ms. This is equivalent to a higher frequency of obtaining the second transmission parameter when the first chip and the second chip are both in a communication state, and then enabling the data transmission rate between the first chip and the second electronic device to be increased more quickly after the packet loss rate between the first chip and the second electronic device is reduced.
[0171] S105. Obtain the first transmission parameter between the first chip and the second electronic device.
[0172] For obtaining the first transmission parameter between the first chip and the second electronic device, reference can be made to the description in S103 above, which will not be elaborated here.
[0173] S106. Adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the second policy.
[0174] Among them, the second policy may refer to a data transmission rate adjustment policy for storing the initial settings of the electronic device, and the first policy may refer to an adjustment policy obtained by adjusting the parameters in the data transmission rate adjustment policy of the initial settings.
[0175] For example, if the first policy is an adjustment policy for reducing the packet loss rate threshold, the second policy may refer to an adjustment policy for maintaining the original packet loss rate threshold; if the first policy is a policy for adjusting the weight of other transmission parameters based on the duty cycle to adjust the transmission rate, the second policy may refer to a policy for maintaining the weight of the original transmission parameters in adjusting the transmission rate; if the first policy is a policy for shortening the data transmission rate recovery period, the second policy may refer to a policy for maintaining the original data transmission rate recovery period.
[0176] If the first chip and the second chip are not in a communication state at the same time, or, if the first chip and the second chip are in a communication state at the same time and the operating frequency bands of the first chip and the second chip are different, the first chip may adjust the data transmission rate according to the data transmission rate adjustment policy of the initial settings, that is, execute S105, and adjust the data transmission rate between the first chip and the second electronic device according to the second policy.
[0177] The signal processing method provided by the embodiments of the present application is applied to a first electronic device. The first electronic device includes a first chip and a second chip. The method includes: determining whether the first chip and the second chip are in a communication state at the same time. If the first chip and the second chip are in a communication state at the same time, adjust the initial adjustment policy to obtain a first policy, and obtain a first transmission parameter between the first chip and the second electronic device, and then adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first policy. Among them, the initial adjustment policy is the initial policy for the first chip to adjust the data transmission rate between the first chip and the second electronic device. That is to say, by using the signal processing method provided by the embodiments of the present application, in the case where the first chip and the second chip are in a communication state at the same time, the initial adjustment policy for adjusting the data transmission rate between the first chip and the second electronic device is adjusted to obtain a first policy, and then the data transmission rate between the first chip and the second electronic device is adjusted through the first transmission parameter and the first policy, avoiding the situation that when the second chip interferes with the data transmission between the first chip and the second electronic device, the data transmission rate between the first chip and the second electronic device is adjusted to the lowest by using the initial adjustment policy, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0178] Figure 14 It is a schematic flowchart of another signal processing method provided by the embodiments of the present application, as Figure 14As shown, the method is applied to a first electronic device, which includes a first chip, a second chip, an identification module, and a dual-chip management module. The first chip includes a first rate control module, and the first rate control module is connected to the second chip through a first cable. The method includes:
[0179] S201. The second chip sends second data transmission information to the identification module.
[0180] Among them, the second data transmission information may include the second chip's uplink throughput, packet length, and data transmission frequency.
[0181] S202. The identification module periodically sends the second data transmission information to the dual-chip management module according to a third period.
[0182] S203. The dual-chip management module periodically sends a set of second data transmission signals to the first rate control module in the first chip according to a fourth period.
[0183] Among them, the duration of each period in the third period is less than the duration of each period in the fourth period. That is to say, after the identification module sends multiple second data transmission information to the dual-chip management module, the dual-chip management module sends a set of second data transmission information composed of multiple second data transmission information to the first rate control module.
[0184] S204. The first rate control module determines whether the first chip and the second chip are both in a communication state based on the set of second data transmission signals.
[0185] Among them, since the set of second data transmission signals includes multiple second data transmission information, and each second data transmission information includes the second chip's uplink throughput, packet length, and data transmission frequency at different times. The first rate control module can determine whether the second chip is in a communication state based on multiple second data transmission information, and then read the first data transmission information of the first chip to determine whether the first chip is in a communication state. The first data transmission information may include the first chip's uplink throughput, packet length, and data transmission frequency. When it is determined that the second chip is in a communication state, if the first chip is also in a communication state, then the first chip and the second chip are both in a communication state; when it is determined that the second chip is in a communication state, if the first chip is not in a communication state, then the first chip and the second chip are not both in a communication state.
[0186] It should be noted that S201 to S204 are examples of determining whether the first chip and the second chip are in a communication state at the same time. In some possible cases, the first rate control module can also determine whether the first chip and the second chip are in a communication state at the same time by reading the level value of the first cable between the first chip and the second chip, as shown in S104, which will not be elaborated here. Alternatively, the first rate control module can also jointly determine whether the first chip and the second chip are in a communication state at the same time based on the steps of S201 to S204 and the steps shown in S104. The embodiments of the present application do not limit this.
[0187] If the first chip and the second chip are in a communication state at the same time, the data transmission rate between the first chip and the second electronic device is adjusted according to the first strategy, that is, S205 is executed.
[0188] If the first chip and the second chip are not in a communication state at the same time, the first rate control module reads the initial data transmission rate adjustment strategy (i.e., the second strategy) and adjusts the data transmission rate between the first chip and the second electronic device according to the second strategy, that is, S206 is executed.
[0189] In some possible cases, when the level value on the first cable is higher than the preset level threshold, the second chip is in a communication state, that is, in a state of data transmission; when the level value of the first cable is lower than or equal to the preset level threshold, the second chip is not in a communication state, that is, not in a state of data transmission.
[0190] The first chip can read the level value on the first cable once every preset first time period and store the read level value in the first chip. Then, every preset second time period, all the stored level values are statistically calculated to determine the ratio of the number of level values that meet the preset conditions to the number of all level values within the preset second time period. The ratio of the number of level values that meet the preset conditions to the number of all level values within the preset second time period can be called the duty cycle.
[0191] Optionally, the first rate module can also determine the duty cycle based on the level value of the first cable and then determine whether the second chip is in a communication state according to the duty cycle.
[0192] If the duty cycle is greater than the preset ratio threshold, the second chip is in a communication state. At this time, if the first chip reads its own transmission parameters and determines that the first chip is also in a communication state, the first chip determines that the first chip and the second chip are in a communication state at the same time.
[0193] S205. The first rate control module adjusts the data transmission rate between the first chip and the second electronic device according to the first strategy.
[0194] Among them, the first strategy may refer to the first strategy as shown in S104, which will not be elaborated here.
[0195] S206. The first rate control module reads the second strategy and adjusts the data transmission rate between the first chip and the second electronic device according to the second strategy.
[0196] The second strategy may refer to the initial data transmission rate adjustment strategy, such as the second strategy shown in S106 above, which will not be elaborated here.
[0197] The signal processing method provided by the embodiment of the present application is applied to a first electronic device. The first electronic device includes a first chip, a second chip, an identification module, and a dual-chip management module. The first chip includes a first rate control module. The first rate control module is connected to the second chip through a first cable. The method includes: the second chip sends second data transmission information to the identification module, the identification module periodically sends the second data transmission information to the dual-chip management module according to a third period, the dual-chip management module periodically sends a second data transmission signal set to the first rate control module in the first chip according to a fourth period, the first rate control module determines whether the first chip and the second chip are both in a communication state based on the second data transmission signal set. If the first rate control module determines that the first chip and the second chip are both in a communication state, the first rate control module adjusts the data transmission rate between the first chip and the second electronic device according to the first strategy. If the first rate control module determines that the first chip and the second chip are not both in a communication state, the first rate control module reads the second strategy and adjusts the data transmission rate between the first chip and the second electronic device according to the second strategy. By using the signal processing method provided by the embodiment of the present application, it is avoided that when the second chip interferes with the data transmission between the first chip and the second electronic device, the initial adjustment strategy is used to adjust the data transmission rate between the first chip and the second electronic device to the lowest, resulting in an increase in the data transmission duration between the first chip and the second electronic device and affecting the data transmission between the first chip and the second electronic device.
[0198] It should be understood that although the steps in the flowcharts in the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
[0199] It can be understood that, in order to implement the above functions, the electronic device includes corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
[0200] The embodiments of the present application can divide the functional modules of the electronic device according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there can be other division methods in actual implementation. It should be noted that the names of the modules in the embodiments of the present application are illustrative, and the names of the modules are not limited in actual implementation.
[0201] Figure 15 It is a schematic structural diagram of a signal processing device provided by an embodiment of the present application.
[0202] It should be understood that the signal processing device 600 can execute Figures 12 to 14 the signal processing method shown; the signal processing device 600 includes: an acquisition unit 610 and a processing unit 620.
[0203] The processing unit 620 is used to determine whether the first chip and the second chip are both in a communication state; if the first chip and the second chip are both in a communication state, adjust the initial adjustment strategy to obtain a first strategy, and obtain the first transmission parameter between the first chip and the second electronic device, where the initial adjustment strategy is the initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device; adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0204] The signal processing device provided in this embodiment is used to execute the signal processing method of the above embodiment. The technical principles and technical effects are similar, and will not be elaborated here.
[0205] It should be noted that the above signal processing device 600 is embodied in the form of functional units. The term "unit" here can be implemented in the form of software and / or hardware, and no specific limitation is made thereto.
[0206] For example, a "unit" may be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor, or a group of processors, etc.) for executing one or more software or firmware programs, and a memory, a merged logic circuit, and / or other suitable components that support the described functions.
[0207] Therefore, the units of the various examples described in the embodiments of the present application can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.
[0208] Figure 16 The structural schematic diagram of an electronic device provided by the present application is shown. Figure 16 The dashed line in indicates that the unit or the module is optional. The electronic device 700 can be used to implement the signal processing method described in the above method embodiments.
[0209] The electronic device 700 includes one or more processors 701, and the one or more processors 701 can support the electronic device 700 to implement the signal processing method in the method embodiments. The processor 701 can be a general-purpose processor or a dedicated processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0210] The processor 701 can be used to control the electronic device 700, execute software programs, and process the data of the software programs. The electronic device 700 may further include a communication unit 705 for implementing the input (receiving) and output (sending) of signals.
[0211] For example, the electronic device 700 can be a chip, and the communication unit 705 can be the input and / or output circuit of the chip, or the communication unit 705 can be the communication interface of the chip, and the chip can be a component of a terminal device or other electronic devices.
[0212] For another example, the electronic device 700 may be a terminal device, and the communication unit 705 may be a transceiver of the terminal device, or the communication unit 705 may be a transceiver circuit of the terminal device.
[0213] The electronic device 700 may include one or more memories 702, on which a program 704 is stored. The program 704 can be run by the processor 701 to generate instructions 703, so that the processor 701 executes the impedance matching method described in the above method embodiments according to the instructions 703.
[0214] Optionally, data may also be stored in the memory 702. Optionally, the processor 701 may also read the data stored in the memory 702. The data may be stored at the same storage address as the program 704, or the data may be stored at a different storage address from the program 704.
[0215] The processor 701 and the memory 702 may be provided separately or integrated together; for example, integrated on a system on chip (SOC) of the terminal device.
[0216] Exemplarily, the memory 702 may be used to store the related program 704 of the signal processing method provided in the embodiments of the present application. The processor 701 may be used to call the related program 704 of the signal processing method stored in the memory 702 when performing parameter adjustment, and execute the signal processing method of the embodiments of the present application; including: determining whether the first chip and the second chip are both in a communication state at the same time; if the first chip and the second chip are both in a communication state at the same time, adjusting the initial adjustment strategy to obtain a first strategy, and obtaining a first transmission parameter between the first chip and the second electronic device, where the initial adjustment strategy is an initial strategy for the first chip to adjust the data transmission rate between the first chip and the second electronic device; adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0217] The present application also provides a computer program product, which implements the signal processing method described in any one of the method embodiments of the present application when executed by the processor 701.
[0218] The computer program product may be stored in the memory 702, for example, it is the program 704. The program 704 is finally converted into an executable target file that can be executed by the processor 701 after processes such as preprocessing, compilation, assembly, and linking.
[0219] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computer, it implements the signal processing method described in any of the method embodiments of the present application. The computer program can be a high-level language program or an executable object program.
[0220] The computer-readable storage medium is, for example, the memory 702. The memory 702 can be a volatile memory or a non-volatile memory, or the memory 702 can include both a volatile memory and a non-volatile memory at the same time. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0221] In the present application, "at least one" means one or more, and "a plurality" means two or more. "At least one of the following" or its similar expression refers to any combination of these items, including any combination of single item (s) or plural items (s). For example, at least one of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, c can be single or multiple.
[0222] It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0223] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0224] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0225] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only a logical function division, and there can be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings, direct couplings, or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0226] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0227] In addition, the functional units in various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0228] As described above, the above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
[0229] It should be understood that the above examples are provided to assist those skilled in the art in understanding the embodiments of the present application, rather than to limit the embodiments of the present application to the specific numerical values or specific scenarios illustrated. Based on the above examples given, those skilled in the art can clearly make various equivalent modifications or changes, and such modifications or changes also fall within the scope of the embodiments of the present application.
Claims
1. A signal processing method, characterized in that, The method is applied to a first electronic device, which includes a first chip and a second chip, and includes: Determine whether the first chip and the second chip are both in a communication state; If the first chip and the second chip are both in a communication state, adjust an initial adjustment strategy to obtain a first strategy, and acquire a first transmission parameter between the first chip and a second electronic device. The initial adjustment strategy refers to a strategy of reducing the transmission rate between the first chip and the second electronic device when the packet loss rate between the first chip and the second electronic device exceeds a packet loss rate threshold; Adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy; Wherein, the adjusting the initial adjustment strategy to obtain the first strategy includes: Increase the packet loss rate threshold in the initial adjustment strategy to obtain the first strategy.
2. The method according to claim 1, wherein The if the first chip and the second chip are both in a communication state, adjust the initial adjustment strategy to obtain the first strategy includes: If the first chip and the second chip are both in a communication state, determine whether a first working frequency band for the first chip to transmit data is the same as a second working frequency band for the second chip to transmit data; If the first working frequency band and the second working frequency band are the same, increase the packet loss rate threshold in the initial adjustment strategy to obtain the first strategy.
3. The method according to claim 2, wherein Before adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy, the method further includes: Increase the period duration for acquiring the first transmission parameter from a first period duration to a second period duration.
4. The method according to claim 1, wherein The method further includes: Reduce the period duration for acquiring a second transmission parameter. After adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy, the first chip adjusts the data transmission rate for between the first chip and the second electronic device based on the second transmission parameter and the first strategy. The second transmission parameter includes the packet loss rate between the first chip and the second electronic device after adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
5. The method according to claim 1, wherein The determining whether the first chip and the second chip are both in a communication state includes: Acquire first data transmission information of the first chip, where the first data transmission information includes the uplink throughput, packet length, and data sending frequency of the first chip; Acquire second data transmission information of the second chip, where the second data transmission information includes the uplink throughput, packet length, and data sending frequency of the second chip; Based on the first data transmission information and the second data transmission information, determine whether the first chip and the second chip are both in a communication state.
6. The method according to claim 1, characterized in that, The determining whether the first chip and the second chip are both in a communication state includes: Acquire the level value of a first cable between the first chip and the second chip; Based on the level value of the first cable, determine whether the first chip and the second chip are both in a communication state.
7. The method according to claim 1, characterized in that The first electronic device further includes an identification module and a dual-chip management module, and the method further includes: The second chip sends second data transmission information to the identification module, and the second data transmission information is used to indicate the data transmission state between the second chip and other electronic devices; The identification module sends the second data transmission information to the dual-chip management module; The dual-chip management module sends the second data transmission information to the first chip; The first chip determines whether the first chip and the second chip are both in a communication state based on the first transmission information and the second data transmission information, and the first transmission information is used to indicate the data transmission state between the first chip and the second electronic device.
8. The method according to claim 7, wherein The first chip includes a first rate control module. The first chip determines whether the first chip and the second chip are both in a communication state based on the first transmission information and the second data transmission information, including: The first rate control module in the first chip determines whether the first chip and the second chip are both in a communication state based on the first transmission information and the second data transmission information.
9. The method according to claim 7, wherein The identification module sends the second data transmission information to the dual-chip management module, including: The identification module periodically sends the second data transmission information to the dual-chip management module according to a third period; The dual-chip management module sends the second data transmission information to the first chip, including: The dual-chip management module receives a plurality of the second data transmission information according to a third period to obtain a second data transmission information set; The dual-chip management module periodically sends the second data transmission information set to the first chip according to a fourth period, wherein the duration of each period corresponding to the third period is less than the duration of each period corresponding to the fourth period.
10. The method according to claim 7, characterized in that, The first chip and the second chip are connected by a first cable. Determining whether the first chip and the second chip are both in a communication state further includes: The first chip obtains the level value on the first cable; The first chip determines whether the first chip and the second chip are both in a communication state based on the level value on the first cable.
11. An electronic device, characterized in that, The electronic device includes a module for executing the method according to any one of claims 1 to 10.
12. An electronic device, characterized in that, Including: One or more processors; A memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the electronic device executes the method according to any one of claims 1 to 10.
13. A chip system, characterized in that, The chip system includes a processor for calling and running a computer program from a memory, so that an electronic device installed with the chip system executes the method according to any one of claims 1 to 10.
14. A computer-readable storage medium, comprising a computer program, characterized in that, When the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Chip mutual interference processing method and device, electronic equipment and readable storage medium
CN115733506A
Multi-path congestion control method based on ABEA3C
CN116760777A