Signal processing method and electronic equipment
By determining the communication status of the first chip and the second chip in the electronic device and adjusting the data transmission rate, the interference problem of the first chip on signal transmission between the second chip and the router is solved, and the efficiency of signal transmission is improved.
Patent Information
- Application Number
- CN202411956102.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-28
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-12-28
AI Technical Summary
In electronic devices, due to poor isolation between the first chip and the second chip, signal transmission between the second chip and the router is interfered with signal transmission between the first chip and the router, thereby reducing the signal transmission rate and increasing the transmission time.
By determining whether the first chip and the second chip are in a communication state at the same time, the initial adjustment strategy is adjusted to obtain the first strategy, and the data transmission rate between the first chip and the second electronic device is adjusted based on the first transmission parameters and the first strategy to reduce interference.
The impact of the first chip on signal transmission between the second chip and the router is effectively reduced, the problem of lowering data transmission rate and increasing transmission time is avoided, and the efficiency of signal transmission is improved.
Smart Images

Figure CN119582882A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and more specifically, to a signal processing method and an electronic device. Background Art
[0002] In the field of wireless communication technology, electronic devices can support signal transmission at different rates.
[0003] For example, different rates can be used for signal transmission between a mobile phone and a router. When there is less interference between the transmission paths between the mobile phone and the router, a higher rate can be used for signal transmission between the mobile phone and the router. For example, the modulation and coding method of the signal transmission between the mobile phone and the router can be MCS9, and the signal bandwidth is 160MHz. When there is more interference between the transmission paths between the mobile phone and the router, a lower rate can be used for signal transmission between the mobile phone and the router. For example, the modulation and coding method of the signal transmission between the mobile phone and the router can be MCS0, and the signal bandwidth is 20MHz. With the development of communication technology, an electronic device may 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 time between the second chip and the router, which is more susceptible to interference from the signal transmission between the first chip and the router, further affecting the signal transmission between the second chip and the router.
[0004] Based on this, when an electronic device includes a first chip and a second chip that are close to each other, how to reduce the influence of the first chip on the signal transmission between the second chip and the router has become an urgent problem to be solved. Summary of the invention
[0005] The present application provides a signal processing method, which can reduce the influence of the first chip on the signal transmission between the second chip and a router when the electronic device includes a first chip and a second chip that are close to each other.
[0006] In a first aspect, a signal processing method is provided. The method is applied to a first electronic device, the first electronic device includes a first chip and a second chip, and 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, the initial adjustment strategy is adjusted to obtain a first strategy, and a first transmission parameter between the first chip and the second electronic device is obtained, 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; The data transmission rate between the first chip and the second electronic device is adjusted based on the first transmission parameter and the first strategy.
[0007] The first chip and the second chip may refer to Figure 5 The baseband chip shown in the figure, and there is no scheduling module between the first chip and the second chip, that is, the first chip and the second chip cannot directly exchange information, so that the first chip cannot stop data transmission and avoid the second chip when the second chip is transmitting data; the second chip cannot stop data transmission and avoid 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 Figure 8 The first router 200 shown in FIG. 1 , or the second electronic device may refer to Fig. 9 The first router 200 shown in FIG. 1 , or the second electronic device may refer to Fig.10 The base station 400 is shown in FIG.
[0008] The signal processing method provided in the embodiment 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, 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, 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, wherein 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, that is, using the signal processing method provided in the embodiment of the present application, when the first chip and the second chip are in a communication state at the same time, adjusting the initial adjustment strategy for the data transmission rate between the first chip and the second electronic device to obtain the first strategy, and then adjusting the data transmission rate between the first chip and the second electronic device by using the first transmission parameter and the first strategy, avoiding the situation where the second chip interferes with the data transmission between the first chip and the second electronic device, and using the initial adjustment strategy to adjust the data transmission rate between the first chip and the second electronic device to the minimum, thereby increasing the duration of data transmission between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device.
[0009] In combination with the first aspect, in certain embodiments of the first aspect, if the first chip and the second chip are in a communication state at the same time, adjusting the initial adjustment strategy to obtain the first strategy includes: if the first chip and the second chip are in a communication state at the same time, determining whether the first working frequency band for transmitting data by the first chip and the second working frequency band for transmitting data by the second chip are the same; if the first working frequency band and the second working frequency band are the same, adjusting the initial adjustment strategy to obtain the first strategy.
[0010] It is understandable that if the first chip and the second chip have the same operating frequency band and are in communication at the same time, mutual interference between the first chip and the second chip is more likely to occur. If the first chip and the second chip are in communication at the same time and have different operating frequency bands, the probability of signal interference between the first chip and the second chip is low.
[0011] The signal processing method provided in the embodiment of the present application adjusts the initial adjustment strategy of the data transmission rate between the first chip and the second electronic device when the first chip and the second chip are in a communication state at the same time and the first working frequency band for transmitting data by the first chip and the second working frequency band for transmitting data by the second chip are the same, to obtain a first strategy, and then adjusts the data transmission rate between the first chip and the second electronic device by using the first transmission parameter and the first strategy, thereby avoiding the situation where the data transmission rate between the first chip and the second electronic device is adjusted to the minimum by using the initial adjustment strategy when the second chip interferes with the data transmission between the first chip and the second electronic device, thereby increasing 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.
[0012] In combination with the first aspect, in certain embodiments of the first aspect, the above-mentioned first transmission parameter includes a packet loss rate of data transmission between the first chip and the second electronic device, and adjusting the initial adjustment strategy to obtain the first strategy includes: increasing the packet loss rate threshold in the initial adjustment strategy to obtain the first strategy.
[0013] The packet loss rate threshold may refer to the packet loss rate that triggers the first chip to adjust the data transmission rate.
[0014] The signal processing method provided in the embodiment of the present application, when the first chip and the second chip are in a communication state at the same time, increases the packet loss rate threshold so that when the packet loss rate of the first chip transmitting data decreases, the first chip is not triggered to adjust the data transmission rate, and data transmission is still performed at the current data transmission rate, thereby avoiding the situation where the data transmission rate between the first chip and the second electronic device is adjusted to the minimum when the second chip interferes with the data transmission between the first chip and the second electronic device, resulting in an increase in the data transmission time between the first chip and the second electronic device, 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, 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 also includes: increasing the cycle duration for obtaining the first transmission parameter from the first cycle duration to the second cycle duration.
[0016] Among them, if the first chip and the second chip are in a communication state at the same time, the first chip can increase the duration of the monitoring cycle. For example, the duration of the monitoring cycle is increased from the first cycle duration to the second cycle duration. This can reduce the frequency of obtaining the first transmission parameter, and then reduce the frequency of adjusting the data transmission rate between the first chip and the second electronic device, avoiding the situation where the data transmission rate between the first chip and the second electronic device is adjusted to the minimum when the second chip interferes with the data transmission between the first chip and the second electronic device, resulting in an increase in the duration of data transmission between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device.
[0017] If the first chip and the second chip are not in the communication state at the same time, the first chip maintains the original duration of the monitoring period, thereby maintaining the original frequency of obtaining the first transmission parameter.
[0018] In combination with the first aspect, in certain embodiments of the first aspect, the method also includes: reducing the period length 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 strategy, the first chip adjusts the data transmission rate between the first chip and the second electronic device based on the second transmission parameter and the first strategy, 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 strategy.
[0019] The second transmission parameter refers to the packet loss rate between the first chip and the second electronic device after the data transmission rate between the first chip and the second electronic device is adjusted based on the first transmission parameter and the first strategy. Reducing the period for obtaining the second transmission parameter is equivalent to shortening the period for restoring the data transmission rate.
[0020] Adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy is performed when the first chip and the second chip are in a communication state at the same time. 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 to avoid affecting the data transmission between the first chip and the second electronic device.
[0021] In combination with the first aspect, in some embodiments of the first aspect, adjusting the initial adjustment strategy to obtain the first strategy includes: reducing the weight of the packet loss rate in the initial adjustment strategy to obtain the first strategy.
[0022] In combination with the first aspect, in certain embodiments of the first aspect, the above-mentioned determination of whether the first chip and the second chip are in a communication state at the same time includes: obtaining first data transmission information of the first chip, the first data transmission information including the uplink throughput, data packet length and data sending frequency of the first chip; obtaining second data transmission information of the second chip, the second data transmission information including the uplink throughput, data packet length and data sending frequency of the second chip; based on the first data transmission information and the second data transmission information, determining whether the first chip and the second chip are in a communication state at the same time.
[0023] In combination with the first aspect, in certain embodiments of the first aspect, determining whether the first chip and the second chip are in a communication state at the same time includes: obtaining a level value of a first cable between the first chip and the second chip; and determining whether the first chip and the second chip are in a communication state at the same time based on the level value of the first cable.
[0024] The first cable may refer to a cable connecting the first chip and the second chip.
[0025] In some possible cases, when the level value on the first cable is higher than a preset level threshold, the second chip is in a communication state, that is, 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, a state of no data transmission.
[0026] The first chip can read the level value on the first cable once at a preset first time interval, and store the read level value in the first chip. Then, a statistical calculation is performed on all the stored level values at a preset second time interval to determine the ratio of the number of level values that meet the preset condition among all the level values within the preset second time interval to the number of all the level values. The ratio of the number of level values that meet the preset condition among all the level values within the preset second time interval to the number of all the level values can be called a duty cycle.
[0027] The first chip can determine whether the second chip is in a communication state based on the duty cycle. If the duty cycle is greater than a 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.
[0028] In combination with the first aspect, in certain embodiments of the first aspect, the first electronic device also includes an identification module and a dual-chip management module, and the method also 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 status between the second chip and the other electronic device; 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 in a communication state at the same time based on the first transmission information and the second data transmission information, and the first transmission information is used to indicate the data transmission status between the first chip and the second electronic device.
[0029] In combination with the first aspect, in certain embodiments of the first aspect, the first chip includes a first rate control module, and the first chip determines whether the first chip and the second chip are in a communication state at the same time based on first transmission information and second data transmission information, including: the first rate control module in the first chip determines whether the first chip and the second chip are in a communication state at the same time based on the first transmission information and the second data transmission information.
[0030] In combination with the first aspect, in certain embodiments of the first aspect, the identification module sends second data transmission information to the dual-chip management module, including: the identification module periodically sends 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, wherein the duration of each period corresponding to the third period is less than the duration of each period corresponding to the fourth period.
[0031] In combination with the first aspect, in certain embodiments of the first aspect, the first chip and the second chip are connected via a first cable, and determining whether the first chip and the second chip are in a communication state at the same time also includes: the first chip obtains a level value on the first cable; the first chip determines whether the first chip and the second chip are in a communication state at the same time based on the level value on the first cable.
[0032] In a second aspect, a signal processing device is provided, comprising a unit for executing any one of the methods in the first aspect. The device may be a server, a terminal device, or a chip in a terminal device. The device may include an input unit and a processing unit.
[0033] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory, which is used to store computer program code. When the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods in the first aspect.
[0034] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods in the first aspect.
[0035] In one possible implementation, a memory is used to store computer program code; a processor executes the computer program code stored in the memory, and when the computer program code stored in the memory is executed, the processor is used to perform: 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, adjusting the initial adjustment strategy to obtain the first strategy, and obtaining the first transmission parameter between the first chip and the second electronic device, the initial adjustment strategy being the 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.
[0036] According to a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by a signal processing device, the signal processing device executes any one of the signal processing methods according to the first aspect.
[0037] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed by a signal processing device, the signal processing device executes any one of the device methods in the first aspect.
[0038] The signal processing method and electronic device provided in the embodiments of the present application may refer to a first electronic device, the first electronic device including a first chip and a second chip, the method including: 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, 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, 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, wherein 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, that is, using the signal processing method provided in the embodiments of the present application, when the first chip and the second chip are in a communication state at the same time, adjusting the initial adjustment strategy for the data transmission rate between the first chip and the second electronic device to obtain the first strategy, and then adjusting the data transmission rate between the first chip and the second electronic device by using the first transmission parameter and the first strategy, avoiding the situation where the second chip interferes with the data transmission between the first chip and the second electronic device, and adjusting the data transmission rate between the first chip and the second electronic device to the minimum by using the initial adjustment strategy, thereby increasing the duration of data transmission between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of a scenario of data transmission between a mobile phone and a router; Figure 2 It is a diagram of the mobile phone adjusting the data transmission rate between the mobile phone and the router; Figure 3 A schematic diagram of data transmission between an electronic device including a first chip and a second chip and a router; Figure 4 is a schematic diagram of a second chip interfering with data transmission between a first chip and a router; Figure 5 is a schematic diagram of a hardware system of an electronic device applicable to the present application; Figure 6 is a schematic diagram of a hardware system of an electronic device applicable to the present application; Figure 7 is a schematic diagram of a software framework of an electronic device suitable for the present application; Figure 8is a schematic diagram of a timing for sending a second transmission parameter; Fig. 9 is a schematic diagram of an application scenario of the signal processing method provided in an embodiment of the present application; Fig.10 is a schematic diagram of an application scenario of the signal processing method provided in an embodiment of the present application; Fig.11 is a schematic diagram of an application scenario of the signal processing method provided in an embodiment of the present application; Fig.12 is a flowchart of a signal processing method provided in an embodiment of the present application; Fig.13 A transmission data rate adjustment using a signal processing method provided in an embodiment of the present application; Fig.14 is a flowchart of a signal processing method provided in an embodiment of the present application; Fig.15 is a schematic diagram of a signal processing device provided by the present application; Fig.16 It is a schematic diagram of a signal processing electronic device provided by the present application. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0041] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.
[0042] To facilitate understanding, some of the examples given are provided for reference to the description of concepts related to the embodiments of the present application.
[0043] 1. Packet loss rate.
[0044] 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 total number of sent data packets. It is one of the key indicators for measuring network performance.
[0045] 2. Retransmission rate.
[0046] The retransmission rate refers to the ratio of data packets that need to be resent during data transmission to the total number of data packets sent. The retransmission rate is also one of the key indicators for measuring network performance.
[0047] At present, in the field of wireless communication technology, electronic devices can support signal transmission at different rates.
[0048] Exemplarily, the first mobile phone 100A and the first router 200 may perform signal transmission at different rates.
[0049] In the case where there is less interference between the transmission paths between the first mobile phone 100A and the first router 200, such as Figure 1 As shown in (a), a higher rate can be used for signal transmission between the first mobile phone 100A and the first router 200. 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 160MHz. The higher the order of the modulation and coding method, the wider the signal bandwidth and the faster the signal transmission speed.
[0050] In the case where there is much interference between the transmission paths between the first mobile phone 100A and the first router 200, such as Figure 1 As shown in (b), the transmission path between the first mobile phone 100A and the first router 200 is interfered by the signals sent by the second mobile phone 100B and the second router 200B, and the first mobile phone 100A and the first router 200 can use a lower rate for signal transmission. For example, the modulation coding mode of the signal transmission between the first mobile phone 100A and the first router 200 can be MCS0, and the signal bandwidth is 20MHz.
[0051] In some possible cases, the electronic device may adjust the rate of signal transmission according to the packet loss rate and the retransmission rate. For example, when the packet loss rate and / or the retransmission rate increases, the electronic device may reduce the modulation and coding order, thereby reducing the signal transmission rate; when the packet loss rate and / or the retransmission rate decreases, the electronic device may increase the modulation and coding order, thereby increasing the signal transmission rate.
[0052] For example, Figure 2As shown, at time T0, the modulation and coding mode 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 severe 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 adjust the modulation and coding mode from MCS9 to MCS1, thereby reducing the signal transmission rate between the first mobile phone 100A and the first router 200. At time T2, there is still severe 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 maintain the signal transmission in the modulation and coding mode of MCS1. At time T3, the signal interference in the transmission channel between the first mobile phone 100A and the first router 200 is reduced, and the packet loss rate is reduced, for example, the packet loss rate is reduced to 0%. Based on this, the first mobile phone 100A increases the modulation and coding mode from MCS1 to MCS5, thereby increasing the signal transmission rate between the first mobile phone 100A and the first router 200. At time T4, the packet loss rate still remains at 0%. Since the packet loss rate remains at 0% for a relatively long period of time, based on this, the first mobile phone 100A can increase the modulation coding order again from MCS5 to MCS9.
[0053] With the development of communication technology, at least two electronic devices for signal transmission can be set in electronic devices. 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 the second chip 102 can also transmit signals with the first router 200. Alternatively, the first chip 101 can transmit signals with the first router 200, and the second chip 102 can transmit signals with the router 300. Alternatively, 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.
[0054] For example, Figure 3 As shown, when the first chip 101 transmits signals with the first router 200, it works on channel 36, and when the second chip 102 transmits signals with the third router 300, it works on channel 149. Among them, channel 36 is usually located in the 5GHz frequency band and is used in scenarios that require higher transmission rates and lower latency. Channel 149 is also located in the 5GHz frequency band and is a high-rate channel. Channel 149 has a dynamic frequency selection (DFS) function and is suitable for scenarios with high requirements for network speed and quality. In other words, both signals 36 and channels 149 are located in the 5GHz frequency band.
[0055] It is understandable that the size of electronic devices is getting smaller and smaller, and the space available for the layout of electronic devices is getting smaller and smaller. For example, the first mobile phone 100A is relatively 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 the 36 channels for signal transmission by the first chip 101 and the 149 channels for signal transmission by the second chip 102 are both channels within the 5GHz frequency band, it is more likely for the first chip and the second chip to interfere with each other. Since there is no channel for mutual communication between the first chip 101 and the second chip 102, it is impossible to avoid conflicts between the first chip and the second chip by controlling the time period of the transmission signal. In summary, when two channels are transmitting signals at the same time, mutual interference is likely to occur, resulting in an increase in the packet loss rate.
[0056] If the packet loss rate increases, Figure 2 The method shown, that is, adjusting the modulation coding method to improve the success rate of signal transmission, may cause the total duration of signal transmission to become longer, further reducing the success rate of signal transmission.
[0057] Exemplarily, when the first chip 101 communicates with the first router 200, the 5 GHz frequency band is used for signal transmission, and the surrounding environment is relatively simple, so that the packet loss rate of the first chip 101 when transmitting signals is low. 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, the 5 GHz frequency band is also used 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 cause the transmission time between the first chip 101 and the first router 200 to be longer. 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 time between the first chip 101 and the first router 200 becomes longer, it is more susceptible to interference from the second chip 102, further increasing the packet loss of the first chip 101, causing the first chip 101 to eventually adopt the modulation and coding method with the lowest order for signal transmission, and the transmission rate is reduced to the lowest, such as Figure 4 shown.
[0058] In view of this, an 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, wherein the first electronic device includes a first chip and a second chip, and 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, 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, 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, wherein 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, that is, using the signal processing method provided by the embodiment of the present application, when the first chip and the second chip are in a communication state at the same time, adjusting the initial adjustment strategy for the data transmission rate between the first chip and the second electronic device to obtain the first strategy, and then adjusting the data transmission rate between the first chip and the second electronic device by using the first transmission parameter and the first strategy, avoiding the situation where the second chip interferes with the data transmission between the first chip and the second electronic device, and using the initial adjustment strategy to adjust the data transmission rate between the first chip and the second electronic device to the minimum, thereby increasing the duration of data transmission between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device.
[0059] The signal processing method provided in the embodiment of the present application can be applied to the first electronic device. Optionally, the first electronic device includes a terminal device, which can also be called a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device can be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiment of the present application does not limit the specific technology and specific device form adopted by the terminal device. For example, the first electronic device can refer to the above-mentioned first mobile phone.
[0060] Figure 5 A possible structure of a first electronic device 100 is shown, and the first electronic device 100 may include a radio frequency circuit 10, multiple antennas 15, a processor 16, and a memory 17. 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 may be an independent device, or may be integrated in the RFIC 12, or may be integrated with the baseband chip 11 and the processor 16 in a system on chip (SoC).
[0061] The processor 16 involved in the embodiment 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 RF circuit 10 or transmit data through the RF circuit 10.
[0062] The memory 17 involved in the embodiment 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 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 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), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0063] The radio frequency circuit 10 can implement wireless communication technologies such as the 2nd generation (2G) communication, the 3rd generation (3G) communication, the 4th generation (4G) communication, and the 5th generation (5G) communication. The radio frequency circuit 10 can also provide wireless communication technologies including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), and near field communication (NFC) for application on the first electronic device 100.
[0064] In the RF circuit 10, the RF front end 13 includes multiple LNAs, power amplifiers (PAs), RF front end switches, etc. The LNA is used to amplify the RF signal received by the receiving channel, the PA is used to amplify the RF signal transmitted by the transmitting channel, and the filter is used to filter the RF signal.
[0065] The baseband chip 11 may also be referred to as a modem, which is used for modulation and demodulation, digital filtering, equalization processing, etc. of the baseband signal, and is also used to control the devices in the RF front end through the MIPI driver 14. Figure 5 As shown, the MIPI driver 14 is connected to each device in the RF front end 13 (such as the above-mentioned PA, LNA, and RF front end switch) through the MIPI RFFE bus, thereby controlling each device in the RF front end 13. The RFIC 12 is used to convert the baseband signal from the baseband chip 11 into a RF signal, which is transmitted through the RF front end 13 and the antenna 15, or, after receiving the RF signal through the antenna 15 and the RF front end 13, it is converted into a baseband signal and sent to the baseband chip 11. The memory 17 can store computer program instructions for execution by the controller (such as the baseband chip 11, the processor 16), and the MIPI driver 14 also includes a memory for storing computer program instructions for execution by the MIPI driver 14, so as to execute the method involved in the embodiment of the present application.
[0066] With the development of communication technology, the number of baseband chips 11 may be multiple. Figure 5 As shown, the baseband chip 11 may include two chips, namely a first chip 101 and a second chip 102 .
[0067] The first chip 101 and the second chip 102 can be connected to one RF front end 13 and the antenna 15 respectively, or can be connected to one RF front end 13 and the antenna 15 together, which is not limited in the embodiment of the present application.
[0068] For example, Figure 6As shown in (a), the RF front end 13 may include a first sub-RF front end 131 and a second sub-RF front end 132, and the antenna 15 may include a first antenna 151 and a second antenna 152. The first chip 101 is connected to the first sub-RF front end 131 through the MIPI driver 14 and the RFIC 13, and then connected to the first antenna 151 through the first sub-RF front end 131. The number of the first antenna 151 may be one or more, and the embodiment of the present application does not limit this. The second chip 102 is connected to the second sub-RF front end 132 through the MIPI driver 14 and the RFIC 13, and then connected to the second antenna 152 through the second sub-RF front end 132. The number of the second antenna 152 may be one or more, and the embodiment of the present application does not limit this.
[0069] For example, Figure 6 As shown in (b), the first chip 101 and the second chip 102 are connected to the RF front end 13 through the MIPI driver 14 and the RFIC 13, and then connected to the antenna 15 through the RF front end 13. The first chip 101 and the second chip 102 can be connected to the same antenna or different antennas, which is not limited in the present embodiment.
[0070] In some possible cases, the first chip 101 and the second chip 102 may be connected via a first cable, and the first chip 101 and the second chip 102 may determine each other's working state via the first cable. Exemplarily, the first chip 101 may 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 the preset level threshold, the level value of the first cable is a high level, indicating that the second chip 102 is in a 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 a dormant state without transmitting signals. Similarly, the second chip 102 may 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 the preset level threshold, the level value of the first cable is a high level, indicating that the first chip 101 is in a 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 a dormant state without transmitting signals.
[0071] In a conventional control scheme for LNA gain update, the MIPI driver 14 sends a gain control command to the LNA of each receiving channel via the MIPI RFFE bus in each subframe. The gain control command is used to set the gain of the LNA, thereby performing automatic gain control (AGC) on the LNA to adapt to changes in the communication network.
[0072] An operating system runs on the first electronic device 100, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system, etc. Application programs can be installed and run on the operating system.
[0073] The operating system of the first electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android operating system is used as an example to exemplify the system architecture of the first electronic device 100.
[0074] It should be noted that although the embodiment of the present application is described using the Android operating system as an example, its basic principles are also applicable to the first electronic device 100 of other operating systems.
[0075] Figure 7 A schematic diagram of the system architecture of a first electronic device according to an embodiment of the present application is shown. Figure 7 As shown, the software system of the first electronic device 100 can be divided into several layers, each layer has 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, application layer (Applications), application framework layer (Application Framework), hardware abstraction layer (HAL), and driver layer (Kernel).
[0076] The application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0077] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer may include some predefined functions.
[0078] For example, the application framework layer includes an identification module and a dual-chip management module.
[0079] 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, data packet length, data transmission frequency, etc. Then the identification module can periodically send the communication status information to the dual chip management module according to the first period.
[0080] 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 a second cycle, wherein the duration of each cycle of the second cycle is greater than the duration of each cycle of the first cycle.
[0081] For example, the duration of the first cycle is 10 ms, and the duration of the second cycle is 100 ms. Figure 8 After receiving 10 cycles of communication status information, the dual-chip management module will send one processed communication status information to the second chip.
[0082] The HAL layer may include a HAL channel and a data / command channel.
[0083] The HAL channel can usually be used as a data channel to transmit data transmitted between the driver layer and the application module layer. For example, the HAL channel can transmit data sent by the first chip driver to the identification module.
[0084] The data / command channel can be used as a data channel to transmit commands or data between the transmission driver layer and the application module layer.
[0085] For ease of description, when the first chip communicates with the module in the application framework layer through the first chip driver and the HAL channel, it can be referred to as the first chip communicating with the module in the application framework layer. For example, the first chip communicating with the identification module through the first chip driver and the HAL channel can be referred to as the first chip communicating with the identification module. Similarly, when the second chip communicates with the module in the application framework layer through the second chip driver and the HAL channel, it can be referred to as the second chip communicating with the module in the application framework layer.
[0086] The driver layer is a layer between hardware and software. The driver layer may include a first chip driver and a second chip driver.
[0087] The operating system of the electronic device can drive data with the first chip through the first chip, and drive data with the second chip through the second chip.
[0088] The first chip may include a first rate control module. The first rate control module may be used to adjust the rate at which the first chip and the modules in the application framework layer perform data transmission. In some possible cases, the first chip may also include a first baseband module and a first radio frequency module.
[0089] The second chip may include a second rate control module. The second rate control module may be used to adjust the rate at which the second chip and the modules in the application framework layer transmit data. In some possible cases, the second chip may also include a second baseband module and a second radio frequency module.
[0090] 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), and 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 communicates 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 does not communicate with the processor.
[0091] 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), and 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.
[0092] Among them, the first level value and the second level value can be the same or different, and the embodiment of the present application does not limit this. The first level threshold and the second level threshold can be the same or different, and the embodiment of the present application does not limit this.
[0093] The application scenarios provided by the embodiments of the present application are described below with reference to the accompanying drawings.
[0094] The signal processing method provided in the embodiment of the present application can be applied in a first electronic device 100 including a first chip 101 and a second chip 102, wherein the first chip 101 is an electronic device for signal transmission, and the second chip 102 is also an electronic device for signal transmission.
[0095] For example, the first chip 101 and the second chip 102 may refer to Figure 5 The baseband chip shown in .
[0096] For example, Fig. 9As shown, 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 transmit signals to the first router 200 through the first chip 101 and the second chip 102.
[0097] For example, Fig.10 As shown, 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, the first electronic device 100 can transmit signals to the first router 200 through the first chip 101, and transmit signals to the router 300 through the second chip 102.
[0098] For example, Fig.11 As shown, 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, the first electronic device 100 can transmit signals to the base station 400 through the first chip 101, and transmit signals to the first router 200 through the second chip 102.
[0099] It should be understood that the above is an example of an application scenario and does not limit the application scenario of the present application.
[0100] Combine the following Figure 12 to Figure 14 The signal processing method provided in the embodiment of the present application is described in detail.
[0101] Fig.12 A flow chart of a signal processing method provided in an embodiment of the present application is shown as follows: Fig.12 As shown, the method is applied in a first electronic device, the first electronic device includes a first chip and a second chip, and the method includes: S101: Determine whether a first chip and a second chip are in a communication state at the same time.
[0102] For example, Fig. 9 As shown, 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.
[0103] For example, Fig.10As shown, 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.
[0104] For example, Fig.11 As shown, 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.
[0105] Optionally, when the first chip and the second chip are in the communication state at the same time, it may be further determined whether the working frequency bands of the first chip and the second chip are the same, that is, executing S102.
[0106] If the first chip and the second chip are in 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 in communication state at the same time, the probability of signal interference between the first chip and the second chip is lower.
[0107] If the first chip and the second chip are not in the 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.
[0108] S102: Determine whether the operating frequency bands of the first chip and the second chip are the same.
[0109] It is understandable 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 in a communication state at the same time, mutual interference is more likely to occur between the first chip and the second chip.
[0110] In the field of wireless communications, electronic devices can transmit data through different channels, and different channels correspond to different operating frequency bands. For example, channel 36 is usually located in the 5GHz frequency band and is used in scenarios that require higher transmission rates and lower latency. Channel 149 is also located in the 5GHz frequency band and is a high-speed channel. Channel 149 has a dynamic frequency selection (DFS) function, which is suitable for scenarios with high requirements for network speed and quality. Therefore, in some possible cases, whether the operating frequency bands of the first chip and the second chip are the same can be determined based on the operating channel when the first chip communicates and the operating channel when the second chip communicates.
[0111] It should be noted that in some possible cases, one channel corresponds to two working frequency bands. Therefore, it is not possible to determine whether the working frequency bands of the first chip and the second chip are the same based on the working channel when the first chip communicates and the working channel when the second chip communicates. It is necessary to further obtain the working frequency band of the first chip and the working frequency band of the second chip to determine whether the working frequency bands of the first chip and the second chip are the same.
[0112] If the first chip and the second chip are in communication state at the same time, and the working frequency bands of 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 in communication state at the same time, and the working frequency bands of the first chip and the second chip are different, the probability of signal interference between the first chip and the second chip is lower.
[0113] If the first chip and the second chip are in communication state at the same time, and the working frequency bands of the first chip and the second chip are the same, the initial adjustment strategy (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, executing S103 and S104.
[0114] If the first chip and the second chip are in communication at the same time, and the working frequency bands of 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, executing S105 and S106.
[0115] The signal processing method provided in the embodiment of the present application adjusts the initial adjustment strategy of the data transmission rate between the first chip and the second electronic device when the first chip and the second chip are in a communication state at the same time and the first working frequency band for transmitting data by the first chip and the second working frequency band for transmitting data by the second chip are the same, to obtain the first strategy, and then adjusts the data transmission rate between the first chip and the second electronic device by using the first transmission parameter and the first strategy, thereby avoiding the situation where the data transmission rate between the first chip and the second electronic device is adjusted to the minimum by using the initial adjustment strategy when the second chip interferes with the data transmission between the first chip and the second electronic device, thereby increasing 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.
[0116] S103: Acquire a first transmission parameter between the first chip and the second electronic device.
[0117] Among them, the first transmission parameter may 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 may also be a duty cycle determined based on the level value indicated by the first cable between the first chip and the second chip. The embodiment of the present application does not impose any restrictions on this.
[0118] For example, the first transmission parameter refers to the first cable (such as Figure 7 The first chip can read the level value on the first cable once at a preset first time interval, and store the read level value in the first chip. Then, a statistical calculation is performed on all the stored level values at a preset second time interval to determine the ratio of the number of level values that meet the preset condition among all level values within the preset second time interval to the number of all level values. The ratio of the number of level values that meet the preset condition among all level values within the preset second time interval to the number of all level values can be called a duty cycle, and the first transmission parameter can refer to the above-mentioned duty cycle.
[0119] The level value that satisfies the preset condition may refer to a level value that is higher than a 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, a state of data transmission. The level value that satisfies the preset condition may refer to a level value that is lower than or equal to a preset level threshold. When the level value on the first cable is lower than or equal to the preset level threshold, the first chip is in a communication state, that is, a state of data transmission.
[0120] Taking the example that the level value that meets the preset condition can refer to the level value that is higher than the preset level threshold, the first chip reads the level value on the first cable once every 1ms (equivalent to the preset first duration), and reads a total of 50 level values in 50ms (equivalent to the preset second duration). Among these 50 level values, the number of level values higher than the preset level threshold is 40, and the duty cycle of the first chip is 40 / 50=80%, that is, the first transmission parameter is a duty cycle of 80%.
[0121] Optionally, the first chip can determine whether the second chip is in a communication state based on the duty cycle. If the duty cycle is greater than a 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.
[0122] S104: Adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0123] The second electronic device may indicate Fig. 9 or Fig.10The first router 200 shown in FIG. Fig.11 The base station 400 is shown, and the embodiment of the present application does not limit this.
[0124] The first strategy may refer to a transmission rate adjustment strategy obtained by adjusting an initial adjustment strategy. For example, the first strategy may refer to a strategy for lowering a threshold for triggering the first chip to adjust the data transmission rate.
[0125] From the description of S103, it can be seen that the first transmission parameter may refer to the packet loss rate and retransmission rate when data is transmitted between the first chip and the second electronic device; the first transmission parameter may also refer to the level value indicated by the first cable between the first chip and the second chip; the first transmission parameter may also refer to the packet loss rate and retransmission rate when data is transmitted 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 comparison of the embodiments of the present application is not limited.
[0126] For example, the first transmission parameter may refer to the packet loss rate when data is transmitted between the first chip and the second electronic device, and the first strategy may refer to a strategy for increasing the packet loss rate threshold. 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 in a communication state at the same time, if the packet loss rate of the first chip transmitting data decreases, the first chip is not triggered to adjust the data transmission rate, and data transmission is still performed at the current data transmission rate.
[0127] Combine the following Fig.13 (a) and Fig.13 (b) in FIG. 4 illustrates the strategy for increasing the packet loss rate threshold.
[0128] in, Fig.13 The adjustment strategy shown in (a) may refer to an initial adjustment strategy for the data transmission rate read by the first chip from the memory of the electronic device. Fig.13 As shown in (a), at time T6, the modulation and coding method of MCS9 is used to transmit data between the first chip and the second electronic device. Starting from time T7, the signal transmission between the first chip and the second electronic device is interfered by the environment, 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 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. It can be understood that the higher the order of the modulation and coding method, the faster the data transmission rate, and the lower the order of the modulation and coding method, the slower the data transmission rate. Reducing the order of the modulation and coding method is equivalent to reducing the data transmission rate between the first chip and the second electronic device.
[0129] Fig.13 The first strategy shown in (b) may refer to an adjustment strategy for increasing the packet loss rate threshold. Fig.13 As 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.
[0130] 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.
[0131] and Fig.13 Compared with the initial adjustment strategy shown in (a) in Fig.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.
[0132] The signal processing method provided in the embodiment of the present application, when the first chip and the second chip are in a communication state at the same time, increases the packet loss rate threshold so that when the packet loss rate of the first chip transmitting data decreases, the first chip is not triggered to adjust the data transmission rate, and data transmission is still performed at the current data transmission rate, thereby avoiding the situation where the data transmission rate between the first chip and the second electronic device is adjusted to the minimum when the second chip interferes with the data transmission between the first chip and the second electronic device, resulting in an increase in the data transmission time between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device.
[0133] Optionally, the first strategy may also include increasing the duration of the monitoring cycle.
[0134] It is understandable 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.
[0135] If the first chip and the second chip are in a communication state at the same time, the first chip can increase the duration of the monitoring cycle, reduce the frequency of obtaining the first transmission parameter, and thereby 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 in a communication state at the same time, the first chip maintains the original duration of the monitoring cycle, thereby maintaining the original frequency of obtaining the first transmission parameter.
[0136] Exemplarily, when the first chip and the second chip are in communication at the same time, the first chip can obtain the first transmission parameter once every 500 ms. When the first chip and the second chip are not in communication at the same time, the first chip can obtain the first transmission parameter once every 100 ms.
[0137] If the first chip and the second chip are in a communication state at the same time, increasing the duration of the monitoring cycle 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. In this way, when the first chip is interfered by the second chip, it can avoid blindly reducing the data transmission rate between the first chip and the second electronic device, thereby affecting the data transmission between the first chip and the second electronic device.
[0138] The first strategy is a strategy for adjusting the weight of the transmission rate based on the duty cycle to adjust other transmission parameters.
[0139] For another example, the first transmission parameter refers to a duty cycle determined based on a level value indicated by a first cable between the first chip and the second chip, and the first strategy may be a strategy for adjusting the weight of other transmission parameters in adjusting the transmission rate based on the duty cycle.
[0140] It should be noted that, in the process of 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 packet loss rate and retransmission rate. For example, the first chip can determine the value of adjusting the transmission rate based on formula (1), where formula (1) includes: A=a1*D+a2*C; formula (1).
[0141] A may represent a value for adjusting the transmission rate, D may represent a packet loss rate, a1 may represent a weight of the packet loss rate, C may represent a retransmission rate, and a2 may represent a weight of the retransmission rate.
[0142] If the value A of the adjusted transmission rate is greater than the preset adjustment threshold, it can trigger the adjustment of the data transmission rate between the first chip and the second electronic device; if the value A of the adjusted transmission rate is less than or equal to the preset adjustment threshold, it will not trigger the adjustment of the data transmission rate between the first chip and the second electronic device.
[0143] For example, when the first chip detects that the duty cycle within 50ms is higher than the preset duty cycle threshold, it will reduce the packet loss rate weight value a1, thereby reducing the value A for adjusting the transmission rate. If the first chip detects that the duty cycle within 50ms 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 for adjusting the transmission rate will not be reduced.
[0144] In some possible cases, the first strategy may also include shortening the period for restoring the data transmission rate.
[0145] 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 in a communication state at the same time, the first chip can shorten the period 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.
[0146] Exemplarily, when the first chip and the second chip are in a communication state at the same time, 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 100ms 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 in a communication state at the same time, 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 1s to determine whether to increase the data transmission rate between the first chip and the second electronic device.
[0147] If adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy 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 for obtaining the second transmission parameter.
[0148] The second transmission parameter may refer to a packet loss rate between the first chip and the second electronic device after the data transmission rate between the first chip and the second electronic device is reduced.
[0149] Adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy is performed when the first chip and the second chip are in a communication state at the same time. 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.
[0150] 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 in a communication state at the same time, 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 500ms. 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 in a communication state at the same time, 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 100ms. This is equivalent to obtaining the second transmission parameter more frequently when the first chip and the second chip are in a communication state at the same time, thereby 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.
[0151] S105: Acquire a first transmission parameter between the first chip and the second electronic device.
[0152] For obtaining the first transmission parameter between the first chip and the second electronic device, reference may be made to the description in S103 above, which will not be repeated here.
[0153] S106: Adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the second strategy.
[0154] The second strategy may refer to a data transmission rate adjustment strategy initially set by the electronic device, and the first strategy may refer to an adjustment strategy obtained by adjusting parameters in the initially set data transmission rate adjustment strategy.
[0155] For example, if the first strategy is an adjustment strategy for lowering the packet loss rate threshold, the second strategy may refer to an adjustment strategy for maintaining the original packet loss rate threshold; if the first strategy refers to a strategy for adjusting the weights of other transmission parameters in adjusting the transmission rate based on the duty cycle, the second strategy may refer to a strategy for maintaining the weights of the original transmission parameters in adjusting the transmission rate; if the first strategy is a strategy for shortening the period for recovering the data transmission rate, the second strategy may refer to maintaining the rate of the original period for recovering the data transmission rate.
[0156] 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 can adjust the data transmission rate according to the initially set data transmission rate adjustment strategy, that is, execute S105 and adjust the data transmission rate between the first chip and the second electronic device according to the second strategy.
[0157] The signal processing method provided in the embodiment 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, 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, 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, wherein 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, that is, using the signal processing method provided in the embodiment of the present application, when the first chip and the second chip are in a communication state at the same time, adjusting the initial adjustment strategy for the data transmission rate between the first chip and the second electronic device to obtain the first strategy, and then adjusting the data transmission rate between the first chip and the second electronic device by using the first transmission parameter and the first strategy, avoiding the situation where the second chip interferes with the data transmission between the first chip and the second electronic device, and using the initial adjustment strategy to adjust the data transmission rate between the first chip and the second electronic device to the minimum, thereby increasing the duration of data transmission between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device.
[0158] Fig.14 A flow chart of another signal processing method provided in an embodiment of the present application is shown as follows: Fig.14As shown, the method 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, and the method includes: S201. The second chip sends second data transmission information to the identification module.
[0159] The second data transmission information may include a second chip uplink throughput, a data packet length, and a data transmission frequency.
[0160] S202: The identification module periodically sends second data transmission information to the dual-chip management module according to a third period.
[0161] S203. 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.
[0162] Among them, the duration of each cycle in the third cycle is shorter than the duration of each cycle in the fourth cycle, that is, after the identification module sends multiple second data transmission information to the dual-chip management module, the dual-chip management module sends a second data transmission information set consisting of multiple second data transmission information to the first rate control module.
[0163] S204: The first rate control module determines whether the first chip and the second chip are in a communication state at the same time based on the second data transmission signal set.
[0164] Among them, since the second data transmission signal set includes multiple second data transmission information, each second data transmission information includes the uplink throughput, data packet length and data transmission frequency of the second chip 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 uplink throughput, data packet length and data transmission frequency of the first chip. When it is determined that the second chip is in a communication state, if the first chip is also in a communication state, the first chip and the second chip are in a communication state at the same time; when it is determined that the second chip is in a communication state, if the first chip is not in a communication state, the first chip and the second chip are not in a communication state at the same time.
[0165] It should be noted that S201 to S204 are an example 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 read the level value of the first cable between the first chip and the second chip to determine whether the first chip and the second chip are in a communication state at the same time, as shown in S104, which will not be repeated here. Alternatively, 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 based on the steps of S201 to S204 and the steps shown in S104. This embodiment of the application is not limited to this.
[0166] If the first chip and the second chip are in the 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.
[0167] If the first chip and the second chip are not in communication at the same time, the first rate control module reads the initial data transmission rate adjustment strategy (ie, 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, executing S206.
[0168] In some possible cases, when the level value on the first cable is higher than a preset level threshold, the second chip is in a communication state, that is, 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, a state of no data transmission.
[0169] The first chip can read the level value on the first cable once at a preset first time interval, and store the read level value in the first chip. Then, a statistical calculation is performed on all the stored level values at a preset second time interval to determine the ratio of the number of level values that meet the preset condition among all the level values within the preset second time interval to the number of all the level values. The ratio of the number of level values that meet the preset condition among all the level values within the preset second time interval to the number of all the level values can be called a duty cycle.
[0170] Optionally, the first rate module may also determine a duty cycle based on the level value of the first cable, and then determine whether the second chip processes the communication state according to the duty cycle.
[0171] If the duty cycle is greater than the preset ratio threshold, the second chip is in communication state. At this time, if the first chip reads its own transmission parameters and determines that the first chip is also in communication state, the first chip determines that the first chip and the second chip are in communication state at the same time.
[0172] 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.
[0173] The first strategy may refer to the first strategy shown in S104, which will not be described in detail here.
[0174] 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.
[0175] The second strategy may refer to an initial data transmission rate adjustment strategy, such as the second strategy shown in the above S106, which will not be described in detail here.
[0176] The signal processing method provided in 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 in a communication state at the same time based on the second data transmission signal set, and if the first rate control module determines that 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, 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 in a communication state at the same time, 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. The signal processing method provided in the embodiment of the present application is adopted to avoid the situation where the second chip interferes with the data transmission between the first chip and the second electronic device, and the initial adjustment strategy is adopted to adjust the data transmission rate between the first chip and the second electronic device to the minimum, thereby increasing the duration of data transmission between the first chip and the second electronic device, affecting the data transmission between the first chip and the second electronic device.
[0177] It should be understood that, although each step in the flow chart in the above-described embodiment is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0178] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with 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 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 be beyond the scope of the present application.
[0179] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according 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 embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. It should be noted that the names of the modules in the embodiment of the present application are schematic and are not limited to the names of the modules in actual implementation.
[0180] Fig.15 A schematic diagram of the structure of a signal processing device provided in an embodiment of the present application.
[0181] It should be understood that the signal processing device 600 may perform Figure 12 to Figure 14 The signal processing method shown; the signal processing device 600 includes: an acquisition unit 610 and a processing unit 620.
[0182] The processing unit 620 is used to determine 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 strategy to obtain the first strategy, and obtain 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; adjust the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0183] The signal processing device provided in this embodiment is used to execute the signal processing method of the above embodiment. The technical principle and technical effect are similar and will not be repeated here.
[0184] It should be noted that the above-mentioned signal processing device 600 is embodied in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.
[0185] For example, a "unit" may be a software program, a hardware circuit, or a combination of the two 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 dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0186] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0187] Fig.16 A structural schematic diagram of an electronic device provided by the present application is shown. Fig.16 The dotted 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 embodiment.
[0188] The electronic device 700 includes one or more processors 701, which can support the electronic device 700 to implement the signal processing method in the method embodiment. The processor 701 can be a general-purpose processor or a special-purpose 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.
[0189] The processor 701 may be used to control the electronic device 700, execute software programs, and process data of the software programs. The electronic device 700 may also include a communication unit 705 to implement input (reception) and output (transmission) of signals.
[0190] For example, the electronic device 700 may be a chip, the communication unit 705 may be an input and / or output circuit of the chip, or the communication unit 705 may be a communication interface of the chip, and the chip may be a component of a terminal device or other electronic devices.
[0191] 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.
[0192] The electronic device 700 may include one or more memories 702 on which a program 704 is stored. The program 704 can be executed by the processor 701 to generate instructions 703, so that the processor 701 executes the impedance matching method described in the above method embodiment according to the instructions 703.
[0193] Optionally, data may be stored in the memory 702. Optionally, the processor 701 may read data stored in the memory 702. The data may be stored at the same storage address as the program 704, or may be stored at a different storage address than the program 704.
[0194] The processor 701 and the memory 702 may be provided separately or integrated together; for example, integrated on a system on chip (SOC) of a terminal device.
[0195] Exemplarily, the memory 702 can be used to store the relevant program 704 of the signal processing method provided in the embodiment of the present application, and the processor 701 can be used to call the relevant program 704 of the signal processing method stored in the memory 702 when performing parameter adjustment, and execute the signal processing method of the embodiment of the present application; including: 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, adjusting the initial adjustment strategy to obtain the first strategy, and obtaining 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; adjusting the data transmission rate between the first chip and the second electronic device based on the first transmission parameter and the first strategy.
[0196] The present application also provides a computer program product, which, when executed by the processor 701, implements the signal processing method described in any method embodiment of the present application.
[0197] The computer program product may be stored in the memory 702 , for example, a program 704 , which is converted into an executable target file that can be executed by the processor 701 after preprocessing, compiling, assembling, and linking.
[0198] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the signal processing method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.
[0199] The computer-readable storage medium is, for example, a memory 702. The memory 702 may be a volatile memory or a nonvolatile memory, or the memory 702 may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may 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 may be a random access memory (RAM), which is used as an external cache. By way of example and 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), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0200] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0201] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0202] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0203] 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 aforementioned method embodiments and will not be repeated here.
[0204] In the several embodiments provided in the present 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 schematic; for example, the division of the units is only a logical function division, and there may 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0205] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0206] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0207] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0208] It should be understood that the above examples are intended to help those skilled in the art understand 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. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, 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, the first electronic device comprising a first chip and a second chip, including: 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, 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, wherein 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; The data transmission rate between the first chip and the second electronic device is adjusted based on the first transmission parameter and the first strategy.
2. The method according to claim 1, characterized in that: If the first chip and the second chip are in a communication state at the same time, adjusting the initial adjustment strategy to obtain a first strategy includes: If the first chip and the second chip are in a communication state at the same time, determining whether a first working frequency band for transmitting data by the first chip and a second working frequency band for transmitting data by the second chip are the same; If the first working frequency band is the same as the second working frequency band, the initial adjustment strategy is adjusted to obtain the first strategy.
3. The method according to claim 1 or 2, characterized in that: The first transmission parameter includes a packet loss rate of data transmission between the first chip and the second electronic device, and the adjusting the initial adjustment strategy to obtain a first strategy includes: The packet loss rate threshold in the initial adjustment strategy is increased to obtain the first strategy.
4. The method according to claim 3, characterized in that: 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: The period duration for obtaining the first transmission parameter is increased from the first period duration to the second period duration.
5. The method according to claim 1 or 2, characterized in that: The method further comprises: The cycle duration for obtaining the second transmission parameter is reduced, after the data transmission rate between the first chip and the second electronic device is adjusted based on the first transmission parameter and the first policy, the first chip adjusts the data transmission rate between 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 the data transmission rate between the first chip and the second electronic device is adjusted based on the first transmission parameter and the first policy.
6. The method according to claim 1 or 2, characterized in that: The adjusting the initial adjustment strategy to obtain the first strategy includes: The weight of the packet loss rate in the initial adjustment strategy is reduced to obtain the first strategy.
7. The method according to claim 1 or 2, characterized in that: The determining whether the first chip and the second chip are in a communication state at the same time includes: Acquire first data transmission information of the first chip, where the first data transmission information includes an uplink throughput, a data packet length, and a data transmission frequency of the first chip; Acquire second data transmission information of the second chip, where the second data transmission information includes an uplink throughput, a data packet length, and a data transmission frequency of the second chip; Based on the first data transmission information and the second data transmission information, it is determined whether the first chip and the second chip are in a communication state at the same time.
8. The method according to claim 1 or 2, characterized in that: The determining whether the first chip and the second chip are in a communication state at the same time includes: Acquire a level value of a first cable between the first chip and the second chip; Based on the level value of the first cable, it is determined whether the first chip and the second chip are in a communication state at the same time.
9. The method according to claim 1 or 2, 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, where the second data transmission information is used to indicate a data transmission status 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 in a communication state at the same time based on first transmission information and the second data transmission information, wherein the first transmission information is used to indicate a data transmission state between the first chip and the second electronic device.
10. The method according to claim 9, characterized in that The first chip includes a first rate control module, and the first chip determines whether the first chip and the second chip are in a communication state at the same time 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 in a communication state at the same time based on the first transmission information and the second data transmission information.
11. The method according to claim 9, characterized in that 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 cycle, wherein the duration of each cycle corresponding to the third cycle is shorter than the duration of each cycle corresponding to the fourth cycle.
12. The method according to claim 9, characterized in that The first chip and the second chip are connected via a first cable, and the determining whether the first chip and the second chip are in a communication state at the same time further includes: The first chip obtains a level value on the first cable; The first chip determines whether the first chip and the second chip are in a communication state at the same time based on the level value on the first cable.
13. An electronic device, characterized in that: The electronic device comprises means for performing the method according to any one of claims 1 to 12.
14. An electronic device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device performs the method according to any one of claims 1 to 12.
15. 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 equipped with the chip system executes the method according to any one of claims 1 to 12.
16. A computer-readable storage medium comprising a computer program, characterized in that: When the computer program is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Multimedia client / server system with adjustable data link rate and range and methods for use therewith
CN101286983A
Multi-channel resource adjustment method and computer readable storage medium
CN112684994A
Chip mutual interference processing method and device, electronic equipment and readable storage medium
CN115733506A
Multi-path congestion control method based on ABEA3C
CN116760777A