Network coexistence method, electronic equipment and computer storage medium

Through Wi-Fi chips, UWB chips and cellular communication chips are bridged, and the communication solution is determined using status information, which solves the interference problem when multiple communication networks coexist, improves communication effect and reduces complexity and cost.

CN119729678APending Publication Date: 2025-03-28HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311257476.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In electronic devices, when multiple communication networks (such as UWB, Wi-Fi and cellular communication) coexist, problems such as co-frequency interference, neighbor-frequency interference, and harmonic interference are prone to occur, resulting in poor communication effects.

Method used

The UWB chip and the cellular communication chip are bridged through the Wi-Fi chip to achieve signaling interoperability between the two, and a communication scheme is determined based on the status information of each communication chip, such as adjusting the working state, switching the working frequency band or reducing the transmission power to reduce interference.

Benefits of technology

It effectively solves the problem of mutual influence when multiple communication networks coexist, improves the communication effect of electronic devices, reduces the complexity of chip design and implementation, and reduces cost, area and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729678A_ABST
    Figure CN119729678A_ABST
Patent Text Reader

Abstract

The invention provides a network coexistence method, electronic equipment and a computer storage medium, the electronic equipment comprises a first communication chip and a second communication chip, the first communication chip is an ultra wide band UWB chip, and the second communication chip is a cellular communication chip or a wireless fidelity Wi-Fi chip. The electronic equipment obtains first state information of a first communication chip and second state information of a second communication chip, and determines a first communication scheme according to the first state information and the second state information when the working states of the first communication chip and the second communication chip are both communication states, and then instructing the first communication chip and the second communication chip to work according to the first communication scheme. In other words, the communication scheme used in the scene of coexistence of the multiple communication networks is obtained by comprehensively considering the state information of the multiple communication chips, so that the communication scheme does not have the problems of mutual influence and interference among the communication networks, and the communication effect is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a network coexistence method, an electronic device, and a computer storage medium. Background Art

[0002] With the popularity of the ultra-wideband (UWB) ecosystem, more and more electronic devices (such as smartphones, smart watches, car-mounted devices, large-screen devices, etc.) will integrate multiple communication chips such as UWB chips, wireless fidelity (Wi-Fi) chips, and cellular communication chips. However, when electronic devices use multiple communication chips for communication at the same time, the following problems are likely to occur: First, because the commonly used frequency bands of UWB, Wi-Fi, and cellular communications are adjacent or overlapping, there may be co-channel interference, adjacent channel interference, harmonic interference, etc. when the UWB network and the cellular communication or Wi-Fi network coexist; Second, the UWB chip has weak anti-interference ability, so when the Wi-Fi chip or cellular communication chip transmits an uplink signal, it is likely to affect the UWB chip from receiving the downlink signal. In other words, when multiple communication networks coexist, they will affect each other, resulting in poor communication effects. Summary of the invention

[0003] The present application discloses a network coexistence method, an electronic device and a computer storage medium, which can solve the problem of mutual influence between communication networks in a scenario where multiple communication networks coexist, and effectively improve the communication effect of electronic equipment.

[0004] In a first aspect, the present application provides an electronic device, comprising an ultra-wideband UWB chip, a wireless fidelity Wi-Fi chip and a cellular communication chip, wherein the UWB chip is connected to the Wi-Fi chip, the cellular communication chip is connected to the Wi-Fi chip, and the UWB chip and the cellular communication chip are bridged through the Wi-Fi chip, wherein: the UWB chip is used to send first status information of the UWB chip to the Wi-Fi chip; the Wi-Fi chip is used to send the first status information sent by the UWB chip to the cellular communication chip after receiving the first status information sent by the UWB chip; the Wi-Fi chip is also used to send second status information of the Wi-Fi chip to the cellular communication chip; the cellular communication chip is used to obtain the cellular The third state information of the cellular communication chip, the first state information, the second state information and the third state information include: working state, working frequency band, and type of bearer service; the cellular communication chip is further used to determine a first communication scheme according to the first state information and the third state information when the working states of the UWB chip and the cellular communication chip are both in communication state, and instruct the UWB chip and / or the cellular communication chip to work according to the first communication scheme; or, the cellular communication chip is further used to determine a second communication scheme according to the first state information and the second state information when the working states of the UWB chip and the Wi-Fi chip are both in communication state, and instruct the UWB chip and / or the Wi-Fi chip to work according to the second communication scheme.

[0005] In some examples, the UWB chip and the cellular communication chip are bridged through the Wi-Fi chip, including: the UWB chip and the Wi-Fi chip are directly connected through an independent interface, the cellular communication chip and the Wi-Fi chip are directly connected through an independent interface, and the UWB chip and the cellular communication chip are not directly connected through an independent interface; and the UWB chip and the cellular communication chip relay transmission information through the Wi-Fi chip.

[0006] In the above method, the UWB chip and the cellular communication chip can be bridged through the Wi-Fi chip, and the UWB chip can send the first status information to the cellular communication chip through the Wi-Fi chip, so that the signaling intercommunication between the UWB chip and the cellular communication chip can be realized without increasing the hardware pins between the UWB chip and the cellular communication chip. Therefore, the cellular communication chip can determine whether the current scene is a coexistence scene of the UWB network and the Wi-Fi network / cellular communication network based on the first status information sent by the Wi-Fi chip, the second status information of the Wi-Fi chip sent by the Wi-Fi chip, and the third status information of the cellular communication chip itself, and determine the communication scheme in the coexistence scenario so that the corresponding communication chip works according to the communication scheme. In other words, the communication scheme used in the coexistence scenario is obtained by comprehensive consideration based on the status information of each communication chip. Such a communication scheme will not have the problem of mutual influence and interference between communication networks, and effectively improves the communication effect of electronic equipment.

[0007] In a possible implementation manner, the first communication scheme is any one of the following: the working state of the UWB chip is adjusted to a non-communication state, the working state of the cellular communication chip is adjusted to a non-communication state, the transmission power of the cellular communication chip is reduced, the UWB chip and the cellular communication chip communicate according to a time division strategy, the working frequency band of the UWB chip is switched, and the working frequency band of the cellular communication chip is switched; the second communication scheme is any one of the following: the working state of the UWB chip is adjusted to a non-communication state, the working state of the Wi-Fi chip is adjusted to a non-communication state, the transmission power of the Wi-Fi chip is reduced, the UWB chip and the Wi-Fi chip communicate according to a time division strategy, the working frequency band of the UWB chip is switched, and the working frequency band of the Wi-Fi chip is switched.

[0008] In the above method, the communication schemes used in the coexistence scenarios are various and the applicable coexistence scenarios are relatively wide. Therefore, the problem of mutual influence between communication networks can be solved in various coexistence scenarios, and the communication effect of electronic equipment can be effectively improved.

[0009] In a possible implementation, the working state includes a sending state, a receiving state, a sleep state and a power-off state; the sending state, the receiving state and the sleep state are converted to each other, the sleep state and the power-off state are converted to each other, the communication state includes the sending state and the receiving state, and the non-communication state is the sleep state.

[0010] In the above method, the communication scheme used in the coexistence scenario may include adjusting the working state of a communication chip to a non-communication state, allowing another coexisting communication chip to communicate normally. The above non-communication state may be a sleep state rather than a power-off state. Therefore, the communication chip in the sleep state can subsequently be quickly restored to the communication state or quickly enter the power-off state. The switching of communication schemes is more efficient and the equipment availability is better.

[0011] Not limited to the above implementation, in another possible implementation, the non-communication state is the power-off state. It can be understood that this can reduce the power consumption of the electronic device and allow the electronic device to provide more resources to another communication chip.

[0012] In a possible implementation, determining a first communication scheme according to the first state information and the third state information, and instructing the UWB chip and / or the cellular communication chip to operate according to the first communication scheme, includes: judging whether there is communication interference between the UWB chip in the first working frequency band and the cellular communication chip in the second working frequency band according to the first working frequency band in the first state information and the second working frequency band in the third state information; when there is communication interference between the UWB chip in the first working frequency band and the cellular communication chip in the second working frequency band, sending a first instruction to the Wi-Fi chip so that the Wi-Fi chip sends the first instruction to the UWB chip, and the first instruction is used to instruct the UWB chip Switching the working frequency band; after the UWB chip successfully switches to the third working frequency band, determining whether there is communication interference between the UWB chip in the third working frequency band and the cellular communication chip in the second working frequency band; when there is communication interference between the UWB chip in the third working frequency band and the cellular communication chip in the second working frequency band, or when the UWB chip fails to switch the working frequency band, determining the first communication scheme according to the preset first service priority, the type of the first service in the first state information, and the type of the second service in the third state information; when there is no communication interference between the UWB chip in the third working frequency band and the cellular communication chip in the second working frequency band, the first communication scheme is to switch the working frequency band of the UWB chip.

[0013] In the above method, when the working states of the UWB chip and the cellular communication chip are both in the communication state, the electronic device can first determine whether there is communication interference between the two chips. If there is communication interference, the electronic device can try to switch the working frequency band of the UWB chip. When the switching fails or there is still communication interference, other communication solutions are obtained in combination with the service priority, that is, the communication mode in which the UWB network and the cellular communication network coexist and do not affect each other is given priority, and the communication services of the coexisting electronic devices can be ensured to be carried out normally as much as possible. This processing method is more in line with the actual needs of users. In addition, choosing to switch the working frequency band of the UWB chip instead of switching the working frequency band of the cellular communication chip can avoid the following problems: the complexity of switching the working frequency band of the cellular communication chip is high, and even if the switching is successful, it is likely to cause abnormal cellular services (for example, switching from the working frequency band of the fifth generation mobile communication technology 5G to the working frequency band of the second generation mobile communication technology), thereby further ensuring the normal operation of the communication services of the electronic device and reducing the processing pressure of the electronic device.

[0014] In a possible implementation, the first communication scheme is determined according to a preset first service priority, the type of the first service in the first state information, and the type of the second service in the third state information, including: judging the priorities of the first service and the second service according to the first service priority; when the priority of the first service is higher than the priority of the second service, determining the first communication scheme as follows: adjusting the working state of the cellular communication chip to a non-communication state, reducing the transmission power of the cellular communication chip, or switching the working frequency band of the cellular communication chip; when the priority of the first service is lower than the priority of the second service, determining the first communication scheme as follows: adjusting the working state of the UWB chip to a non-communication state; when the priority of the first service is the same as the priority of the second service, determining the first communication scheme as follows: the UWB chip and the cellular communication chip perform a communication process according to a time division strategy.

[0015] In the above method, when the working states of the UWB chip and the cellular communication chip are both in the communication state, the electronic device can compare the priorities of the UWB service and the cellular communication service, and determine the communication plan based on the comparison results. The communication plan determined in this way can ensure the performance of the service with higher priority and reduce or avoid the impact of the service with lower priority.

[0016] In a possible implementation, in order of priority from high to low, the first service priority includes: cellular negotiation service and cellular call service, UWB negotiation phase, cellular sensitive service, and UWB ranging and angle measurement service, wherein the cellular negotiation service includes cellular authentication, roaming, and dynamic host configuration protocol DHCP, and the cellular sensitive service includes game service, live broadcast service, payment service, and red envelope service; determining the first communication scheme according to the preset first service priority, the type of the first service in the first status information, and the type of the second service in the third status information includes: judging whether the second service is the cellular negotiation service or the cellular call service; when the second service is the cellular negotiation service or the cellular call service, determining that the first communication scheme is: adjusting the working state of the UWB chip to a non-communication state; when the second service is not the cellular negotiation service or the cellular call service, judging that the first service is The first service is in the UWB negotiation stage; when the first service is in the UWB negotiation stage, the first communication scheme is determined as follows: the working state of the cellular communication chip is adjusted to a non-communication state, or the transmission power of the cellular communication chip is reduced; when the first service is not in the UWB negotiation stage, it is determined whether the second service is the cellular sensitive service; when the second service is the cellular sensitive service, the first communication scheme is determined as follows: the working state of the UWB chip is adjusted to a non-communication state; when the second service is not the cellular sensitive service, it is determined whether the first service is the UWB ranging and angle measurement service; when the first service is the UWB ranging and angle measurement service, the first communication scheme is determined as follows: the UWB chip and the cellular communication chip perform a communication process according to a time division strategy; when the first service is not the UWB ranging and angle measurement service, the first communication scheme is determined as follows: switching the working frequency band of the cellular communication chip.

[0017] It can be understood that the bottom line solution of the first communication solution is: switching the working frequency band of the cellular communication chip. Not limited to the above implementation, in another possible implementation, when the first service is not the UWB ranging and angle measurement service, the first communication solution is determined as: the UWB chip and the cellular communication chip communicate in accordance with the time division strategy, that is, the bottom line solution of the first communication solution is: the UWB chip and the cellular communication chip communicate in accordance with the time division strategy.

[0018] In the above method, when the electronic device determines the first communication scheme according to the preset service priority, it can consider the importance of the service as closely as possible to the actual situation, give priority to ensuring that important services (i.e., higher priority services) are not affected, have higher availability, and effectively improve the user experience.

[0019] In a possible implementation, determining a second communication scheme according to the first state information and the second state information, and instructing the UWB chip and / or the Wi-Fi chip to operate according to the second communication scheme, includes: determining whether a first working frequency band in the first state information is channel 5; when the first working frequency band is channel 5, determining whether there is communication interference between the UWB chip in the first working frequency band and the Wi-Fi chip in the fourth working frequency band according to the first working frequency band and the fourth working frequency band in the second state information; when communication interference between the UWB chip in the first working frequency band and the Wi-Fi chip in the fourth working frequency band When there is communication interference, a second instruction is sent to the Wi-Fi chip, where the second instruction is used to instruct the Wi-Fi chip to switch to a fifth working frequency band, and there is no communication interference between the UWB chip in the first working frequency band and the Wi-Fi chip in the fifth working frequency band; when the Wi-Fi chip fails to switch to the fifth working frequency band, the second communication scheme is determined according to a preset second service priority, the type of the first service in the first state information, and the type of the third service in the second state information; when the Wi-Fi chip successfully switches to the fifth working frequency band, the second communication scheme is to switch the working frequency band of the Wi-Fi chip.

[0020] In the above method, when the working states of the UWB chip and the Wi-Fi chip are both in the communication state, the electronic device can first determine whether the working frequency band of the UWB chip is channel 5 (when it is not channel 5, there is no communication interference between the two chips). If the judgment result is yes, it further determines whether there is communication interference between the two chips. If there is communication interference, the electronic device can try to switch the working frequency band of the Wi-Fi chip. If the switch fails, other communication solutions are obtained based on the service priority. That is, priority is given to the communication mode in which the UWB network and the Wi-Fi network coexist and do not affect each other, and the communication services of the coexisting electronic devices can be guaranteed to be normal as much as possible. This processing method is more in line with the actual needs of users.

[0021] In a possible implementation, determining the second communication scheme according to a preset second service priority, the type of the first service in the first state information, and the type of the third service in the second state information includes: judging the priorities of the first service and the third service according to the second service priority; when the priority of the first service is higher than the priority of the third service, determining the second communication scheme as follows: adjusting the working state of the Wi-Fi chip to a non-communication state, or reducing the transmit power of the Wi-Fi chip; when the priority of the first service is lower than the priority of the third service, determining the second communication scheme as follows: adjusting the working state of the UWB chip to a non-communication state; when the priority of the first service is the same as the priority of the third service, determining the second communication scheme as follows: the UWB chip and the Wi-Fi chip perform a communication process according to a time division strategy.

[0022] In the above method, when the working states of the UWB chip and the Wi-Fi chip are both in the communication state, the electronic device can compare the priorities of the UWB service and the Wi-Fi service, and determine the communication scheme based on the comparison result. The communication scheme determined in this way can ensure the performance of the service with higher priority and reduce or avoid the impact of the service with lower priority.

[0023] In a possible implementation, in descending order of priority, the second service priority includes: Wi-Fi negotiation service, UWB negotiation phase, and Wi-Fi sensitive service, wherein the Wi-Fi negotiation service includes Wi-Fi authentication, roaming, and dynamic host configuration protocol DHCP, and the Wi-Fi sensitive service includes game service, live broadcast service, payment service, and red envelope service; determining the second communication scheme according to the preset second service priority, the type of the first service in the first state information, and the type of the third service in the second state information includes: determining whether the third service is the Wi-Fi negotiation service; when the third service is the Wi-Fi negotiation service, determining the second communication scheme as follows: adjusting the working state of the UWB chip to a non-communication state ; When the third service is not the Wi-Fi negotiation service, determine whether the first service is in the UWB negotiation stage; when the first service is in the UWB negotiation stage, determine that the second communication scheme is: the working state of the Wi-Fi chip is adjusted to a non-communication state, or the transmission power of the Wi-Fi chip is reduced; when the first service is not in the UWB negotiation stage, determine whether the third service is the Wi-Fi sensitive service; when the third service is the Wi-Fi sensitive service, determine that the second communication scheme is: the working state of the UWB chip is adjusted to a non-communication state; when the third service is not the Wi-Fi sensitive service, determine that the second communication scheme is: the UWB chip and the cellular communication chip perform a communication process according to a time division strategy.

[0024] It can be understood that the bottom line solution of the second communication solution is that the UWB chip and the cellular communication chip perform the communication process according to a time division strategy.

[0025] In the above method, when the electronic device determines the first communication scheme according to the preset service priority, it can consider the importance of the service as closely as possible to the actual situation, give priority to ensuring that important services (i.e., higher priority services) are not affected, have higher availability, and effectively improve the user experience.

[0026] In a possible implementation, the instructing the UWB chip and / or the cellular communication chip to operate according to the first communication scheme includes: when the first communication scheme is to adjust the working state of the UWB chip to a non-communication state, sending a third instruction to the Wi-Fi chip so that the Wi-Fi chip sends the third instruction to the UWB chip, and the third instruction is used to instruct the UWB chip to switch the working state to the sleep state; when the first communication scheme is to adjust the working state of the cellular communication chip to a non-communication state, switching the working state of the cellular communication chip to the sleep state; when the first communication scheme is to reduce the transmission power of the cellular communication chip, reducing the transmission power of the cellular communication chip; when the first communication scheme is to adjust the working state of the UWB chip to a non-communication state, switching the working state of the cellular communication chip to the sleep state; when the first communication scheme is to reduce the transmission power of the cellular communication chip, reducing the transmission power of the cellular communication chip; when the first communication scheme is to adjust the working state of the UWB chip to a non-communication state, switching the working state of the cellular communication chip to the sleep state; When communicating with the cellular communication chip according to the time division strategy, a fourth instruction is sent to the Wi-Fi chip so that the Wi-Fi chip sends the fourth instruction to the UWB chip, and the fourth instruction is used to indicate that the working period of the UWB chip is the first time slice, the first time slice and the second time slice do not overlap with each other, and the second time slice is the working period of the cellular communication chip; when the first communication scheme is to switch the working frequency band of the UWB chip, a fifth instruction is sent to the Wi-Fi chip so that the Wi-Fi chip sends the fifth instruction to the UWB chip, and the fifth instruction is used to instruct the UWB chip to switch the working frequency band; when the first communication scheme is to switch the working frequency band of the cellular communication chip, the working frequency band of the cellular communication chip is switched.

[0027] In a possible implementation, the instructing the UWB chip and / or the Wi-Fi chip to operate according to the second communication scheme includes: when the second communication scheme is to adjust the working state of the UWB chip to a non-communication state, sending a sixth instruction to the Wi-Fi chip so that the Wi-Fi chip sends the sixth instruction to the UWB chip, and the sixth instruction is used to instruct the UWB chip to switch the working state to the sleep state; when the second communication scheme is to adjust the working state of the Wi-Fi chip to a non-communication state, sending a seventh instruction to the Wi-Fi chip, and the seventh instruction is used to instruct the Wi-Fi chip to switch the working state to the sleep state; when the second communication scheme is to reduce the transmit power of the Wi-Fi chip, sending an eighth instruction to the Wi-Fi chip, and the eighth instruction is used to instruct the Wi-Fi chip to reduce the transmit power; when the second communication scheme is When the UWB chip and the Wi-Fi chip perform a communication process according to the time division strategy, a ninth instruction and a tenth instruction are sent to the Wi-Fi chip, so that the Wi-Fi chip sends the ninth instruction to the UWB chip, the ninth instruction is used to indicate that the working period of the UWB chip is the third time slice, and the tenth instruction is used to indicate that the working period of the Wi-Fi chip is the fourth time slice, and the third time slice and the fourth time slice do not overlap with each other; when the second communication scheme is to switch the working frequency band of the UWB chip, an eleventh instruction is sent to the Wi-Fi chip, so that the Wi-Fi chip sends the eleventh instruction to the UWB chip, and the eleventh instruction is used to instruct the UWB chip to switch the working frequency band; when the second communication scheme is to switch the working frequency band of the Wi-Fi chip, a twelfth instruction is sent to the Wi-Fi chip, and the twelfth instruction is used to instruct the Wi-Fi chip to switch the working frequency band.

[0028] In the above method, when the determined first communication scheme or the second communication scheme needs to adjust the working mode of the UWB chip, the cellular communication chip can send corresponding instructions to the UWB chip through the Wi-Fi chip. In this way, signaling intercommunication between the UWB chip and the cellular communication chip can be achieved without increasing the hardware pins between the UWB chip and the cellular communication chip, thereby reducing the complexity of chip design and implementation, and also reducing the cost, area and power consumption of the chip (especially when adding hardware interfaces to the cellular communication chip, the complexity, increased cost, increased area and increased power consumption are very high).

[0029] In a second aspect, the present application provides a network coexistence method, which is applied to an electronic device, wherein the electronic device includes a first communication chip and a second communication chip, the first communication chip is an ultra-wideband UWB chip, and the method includes: obtaining first status information of the first communication chip, obtaining second status information of the second communication chip, the first status information and the second status information include: working status, working frequency band, and type of carried service; when the working status of the first communication chip and the second communication chip are both in communication status, determining a first communication scheme according to the first status information and the second status information; instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme.

[0030] In a possible implementation, the second communication chip is a cellular communication chip, a wireless fidelity Wi-Fi chip, a Bluetooth BT chip, an infrared IR chip, a near-field wireless communication NFC chip, a global navigation satellite system GNSS chip, or a frequency modulation FM chip.

[0031] In the above method, the electronic device can obtain the status information of the UWB chip and the status information of other communication chips, determine whether the current scene is a coexistence scene of the UWB network and other communication networks based on the obtained status information, and determine the communication scheme in the coexistence scene so that the corresponding communication chip works according to the communication scheme. In other words, the communication scheme used in the coexistence scene is obtained by comprehensive consideration based on the status information of each communication chip. Such a communication scheme will not have the problem of mutual influence and interference between communication networks, and effectively improves the communication effect of the electronic device.

[0032] In a possible implementation, the first communication scheme is any one of the following: the working state of the first communication chip is adjusted to a non-communication state, the working state of the second communication chip is adjusted to a non-communication state, the transmission power of the second communication chip is reduced, the first communication chip and the second communication chip communicate according to a time division strategy, the working frequency band of the first communication chip is switched, and the working frequency band of the second communication chip is switched.

[0033] In the above method, the communication schemes used in the coexistence scenarios are various and the applicable coexistence scenarios are relatively wide. Therefore, the problem of mutual influence between communication networks can be solved in various coexistence scenarios, and the communication effect of electronic equipment can be effectively improved.

[0034] In a possible implementation, the working state includes a sending state, a receiving state, a sleep state and a power-off state; the sending state, the receiving state and the sleep state are converted to each other, the sleep state and the power-off state are converted to each other, the communication state includes the sending state and the receiving state, and the non-communication state is the sleep state.

[0035] In the above method, the communication scheme used in the coexistence scenario may include adjusting the working state of a communication chip to a non-communication state, allowing another coexisting communication chip to communicate normally. The above non-communication state may be a sleep state rather than a power-off state. Therefore, the communication chip in the sleep state can subsequently be quickly restored to the communication state or quickly enter the power-off state. The switching of communication schemes is more efficient and the equipment availability is better.

[0036] Not limited to the above implementation, in another possible implementation, the non-communication state is the power-off state. It can be understood that this can reduce the power consumption of the electronic device and allow the electronic device to provide more resources to another communication chip.

[0037] In a possible implementation, determining the first communication scheme based on the first state information and the second state information includes: judging whether there is communication interference between the first communication chip of the first working frequency band and the second communication chip of the second working frequency band based on the first working frequency band in the first state information and the second working frequency band in the second state information; when there is communication interference between the first communication chip of the first working frequency band and the second communication chip of the second working frequency band, determining the first communication scheme based on the first state information and the second state information.

[0038] In the above method, when the working states of the UWB chip and other communication chips are both in the communication state, the electronic device can first determine whether there is communication interference between the two chips. If there is communication interference, other communication solutions can be obtained to avoid adjusting the business when the business is proceeding normally, resulting in a worse experience, and to avoid spending unnecessary processing resources, with higher functional availability.

[0039] In a possible implementation, determining the first communication scheme based on the first state information and the second state information includes: judging the priority of the first service and the second service according to the preset first service priority, the type of the first service in the first state information, and the type of the second service in the second state information; when the priority of the first service is higher than the priority of the second service, determining the first communication scheme as follows: adjusting the working state of the second communication chip to a non-communication state, reducing the transmission power of the second communication chip, or switching the working frequency band of the second communication chip; when the priority of the first service is lower than the priority of the second service, determining the first communication scheme as follows: adjusting the working state of the first communication chip to a non-communication state, or switching the working frequency band of the first communication chip; when the priority of the first service is the same as the priority of the second service, determining the first communication scheme as follows: the first communication chip and the second communication chip perform a communication process according to a time division strategy.

[0040] In the above method, when the working states of the UWB chip and other communication chips are both in the communication state, the electronic device can compare the priorities of the UWB service and other communication services, and determine the communication plan based on the comparison results. The communication plan determined in this way can ensure the performance of the services with higher priority and reduce or avoid the impact of the services with lower priority.

[0041] In a possible implementation, the second communication chip is a cellular communication chip, and the determining of the first communication scheme according to the first state information and the second state information includes: judging whether there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the third working frequency band according to the first working frequency band in the first state information and the third working frequency band in the second state information; when there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the third working frequency band, switching the working frequency band of the first communication chip; after the working frequency band of the first communication chip is successfully switched to the fourth working frequency band, judging whether the fourth working frequency band is Whether there is communication interference between the first communication chip of the fourth working frequency band and the second communication chip of the third working frequency band; when there is communication interference between the first communication chip of the fourth working frequency band and the second communication chip of the third working frequency band, or when switching the working frequency band of the first communication chip fails, the first communication scheme is determined according to the preset second service priority, the type of the first service in the first status information, and the type of the third service in the second status information; when there is no communication interference between the first communication chip of the fourth working frequency band and the second communication chip of the third working frequency band, the first communication scheme is to switch the working frequency band of the first communication chip.

[0042] In the above method, when the working states of the UWB chip and the cellular communication chip are both in the communication state, the electronic device can first determine whether there is communication interference between the two chips. If there is communication interference, the electronic device can try to switch the working frequency band of the UWB chip. When the switching fails or there is still communication interference, other communication solutions are obtained in combination with the service priority, that is, the communication mode in which the UWB network and the cellular communication network coexist and do not affect each other is given priority, and the communication services of the coexisting electronic devices can be ensured to be carried out normally as much as possible. This processing method is more in line with the actual needs of users. In addition, choosing to switch the working frequency band of the UWB chip instead of switching the working frequency band of the cellular communication chip can avoid the following problems: the complexity of switching the working frequency band of the cellular communication chip is high, and even if the switching is successful, it is likely to cause abnormal cellular services (for example, switching from the working frequency band of the fifth generation mobile communication technology 5G to the working frequency band of the second generation mobile communication technology), thereby further ensuring the normal operation of the communication services of the electronic device and reducing the processing pressure of the electronic device.

[0043] In a possible implementation, the second communication chip is a wireless fidelity Wi-Fi chip, a Bluetooth BT chip, an infrared IR chip, a short-range wireless communication NFC chip, a global navigation satellite system GNSS chip, or a frequency modulation FM chip; the first communication scheme is determined according to the first state information and the second state information, including: judging whether the first working frequency band in the first state information is channel 5; when the first working frequency band is channel 5, judging whether there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the fifth working frequency band according to the first working frequency band in the first state information and the fifth working frequency band in the second state information; when the When there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the fifth working frequency band, the working frequency band of the second communication chip is switched; when the working frequency band of the second communication chip fails to be switched to the sixth working frequency band, the first communication scheme is determined according to the preset third service priority, the type of the first service in the first state information, and the type of the fourth service in the second state information; when the working frequency band of the second communication chip is successfully switched to the sixth working frequency band, the first communication scheme is to switch the working frequency band of the second communication chip, and there is no communication interference between the first communication chip in the first working frequency band and the second communication chip in the sixth working frequency band.

[0044] In the above method, when the working states of the UWB chip and other communication chips are both in the communication state, the electronic device can first determine whether the working frequency band of the UWB chip is channel 5 (when it is not channel 5, there is no communication interference between the two chips). If the judgment result is yes, it further determines whether there is communication interference between the two chips. If there is communication interference, the electronic device can try to switch the working frequency band of other communication chips. If the switch fails, other communication solutions are obtained based on the service priority. That is, priority is given to the communication mode in which the UWB network and other communication networks coexist and do not affect each other, and the communication services of the coexisting electronic devices can be guaranteed to be normal as much as possible. This processing method is more in line with the actual needs of users.

[0045] In a possible implementation, the electronic device includes an arbitration module, the arbitration module is the first communication chip, the second communication chip, the third communication chip, or the main chip of the electronic device, and the third communication chip is different from the first communication chip and the second communication chip; the obtaining of the first state information of the first communication chip includes: the arbitration module obtains the first state information; the obtaining of the second state information of the second communication chip includes: the arbitration module obtains the second state information; the determining of the first communication scheme according to the first state information and the second state information includes: the arbitration module determines the first communication scheme according to the first state information and the second state information; the instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: the arbitration module instructs the first communication chip and / or the second communication chip to operate according to the first communication scheme.

[0046] In the above method, the electronic device can be provided with an arbitration module, and the arbitration module determines the communication scheme used in the coexistence scenario, and instructs the corresponding communication chip to operate according to the communication scheme, wherein the arbitration module can be the communication chip of the electronic device, or the main chip of the electronic device, without special limitation, and the application scenarios are more extensive.

[0047] In a possible implementation, the arbitration module is a cellular communication chip, the first communication chip is connected to the second communication chip, and the arbitration module is connected to the second communication chip; the arbitration module obtains the first state information, including: the first communication chip sends the first state information to the second communication chip, and the second communication chip sends the first state information to the arbitration module; the arbitration module obtains the second state information, including: when the arbitration module is the second communication chip, the arbitration module monitors the current state and obtains the second state information; when the arbitration module is not the second communication chip, the second communication chip sends the second state information to the arbitration module.

[0048] In a possible implementation, the arbitration module is the first communication chip, the second communication chip is a cellular communication chip or a Wi-Fi chip, the first communication chip in the electronic device is connected to the Wi-Fi chip, and the cellular communication chip in the electronic device is connected to the Wi-Fi chip; the arbitration module obtains the first state information, including: the arbitration module monitors the current state and obtains the first state information; the arbitration module obtains the second state information, including: when the second communication chip is a cellular communication chip, the second communication chip sends the second state information to the Wi-Fi chip, and the Wi-Fi chip sends the second state information to the arbitration module; when the second communication chip is a Wi-Fi chip, the second communication chip sends the second state information to the arbitration module.

[0049] In the above method, the status information of the UWB chip or the status information of the cellular communication chip can be transmitted between the UWB chip and the cellular communication chip through the second communication chip, that is, the UWB chip and the cellular communication chip can be bridged through the second communication chip. In this way, signaling communication between the UWB chip and the cellular communication chip can be achieved without increasing the hardware pins between the UWB chip and the cellular communication chip, thereby reducing the complexity of chip design and implementation, and also reducing the cost, area and power consumption of the chip (especially when adding a hardware interface to the cellular communication chip, the complexity, increased cost, increased area and increased power consumption are very high).

[0050] In a possible implementation, the arbitration module is a Wi-Fi chip, the second communication chip is a cellular communication chip or a Wi-Fi chip, the first communication chip in the electronic device is connected to the Wi-Fi chip, and the cellular communication chip in the electronic device is connected to the Wi-Fi chip; the arbitration module obtains the first state information, including: the first communication chip sends the first state information to the arbitration module; the arbitration module obtains the second state information, including: when the second communication chip is a cellular communication chip, the second communication chip sends the second state information to the arbitration module; when the second communication chip is a Wi-Fi chip, the arbitration module monitors the current state and obtains the second state information.

[0051] In the above method, the arbitration module can be a Wi-Fi chip, and the UWB chip and cellular communication chip of the electronic device can both connect to and transmit information with the Wi-Fi chip. There is no need to increase the hardware pins between the UWB chip and the cellular communication chip, which reduces the complexity of chip design and implementation, and also reduces the cost, area and power consumption of the chip.

[0052] In a possible implementation, the arbitration module is a main chip; the arbitration module obtains the first state information, including: the first communication chip sends the first state information to the arbitration module; the arbitration module obtains the second state information, including: the second communication chip sends the second state information to the arbitration module.

[0053] In the above method, the arbitration module can be the main chip, and any communication chip of the electronic device can be connected to and transmit information with the main chip, without adding hardware pins between communication chips, thus avoiding increasing the complexity of chip design and implementation, and also avoiding increasing the cost, area and power consumption of the chip.

[0054] In a possible implementation, the instructing the first communication chip and / or the second communication chip to work according to the first communication scheme includes: when the first communication scheme is to adjust the working state of the first communication chip to a non-communication state, the arbitration module sends a first instruction to the second communication chip, and the second communication chip sends the first instruction to the first communication chip, and the first instruction is used to instruct the first communication chip to switch the working state to the sleep state; when the first communication scheme is to adjust the working state of the second communication chip to a non-communication state, and the arbitration module is not the second communication chip, the arbitration module sends a second instruction to the second communication chip, and the second instruction is used to instruct the second communication chip to switch the working state to the sleep state; when the first communication scheme is to reduce the transmission power of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a third instruction to the second communication chip, and the third instruction is used to instruct the second communication chip Reduce the transmission power; when the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, the arbitration module sends a fourth instruction to the second communication chip, and the second communication chip sends the fourth instruction to the first communication chip, and the fourth instruction is used to indicate that the working period of the first communication chip is the first time slice, the first time slice and the second time slice do not overlap with each other, and the second time slice is the working period of the second communication chip; when the first communication scheme is to switch the working frequency band of the first communication chip, the arbitration module sends a fifth instruction to the second communication chip, and the second communication chip sends the fifth instruction to the first communication chip, and the fifth instruction is used to instruct the first communication chip to switch the working frequency band; when the first communication scheme is to switch the working frequency band of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a sixth instruction to the second communication chip, and the sixth instruction is used to instruct the second communication chip to switch the working frequency band.

[0055] In a possible implementation, the instructing the first communication chip and / or the second communication chip to work according to the first communication scheme includes: when the first communication scheme is that the working state of the second communication chip is adjusted to a non-communication state, and the second communication chip is a cellular communication chip, the arbitration module sends a seventh instruction to the Wi-Fi chip, and the Wi-Fi chip sends the seventh instruction to the second communication chip, and the seventh instruction is used to instruct the second communication chip to switch the working state to the sleep state; when the first communication scheme is that the working state of the second communication chip is adjusted to a non-communication state, and the second communication chip is a Wi-Fi chip, the arbitration module sends the seventh instruction to the second communication chip; when the first communication scheme is to reduce the transmission power of the second communication chip, and the second communication chip is a cellular communication chip, the arbitration module sends an eighth instruction to the Wi-Fi chip, and the Wi-Fi chip sends the eighth instruction to the second communication chip, and the eighth instruction is used to instruct the second communication chip to reduce the transmission power; when the first communication scheme is to reduce the transmission power of the second communication chip, and the second communication chip is a Wi-Fi chip, the arbitration module sends the eighth instruction to the second communication chip; The first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, and when the second communication chip is a cellular communication chip, the arbitration module sends a ninth instruction to the Wi-Fi chip, and the Wi-Fi chip sends the ninth instruction to the second communication chip, and the ninth instruction is used to indicate that the working period of the second communication chip is a third time slice, and the third time slice and the fourth time slice do not overlap with each other, and the fourth time slice is the working period of the first communication chip; when the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, and the second communication chip is a Wi-Fi chip, the arbitration module sends the ninth instruction to the second communication chip; when the first communication scheme is to switch the working frequency band of the second communication chip, and the second communication chip is a cellular communication chip, the arbitration module sends a tenth instruction to the Wi-Fi chip, and the Wi-Fi chip sends the tenth instruction to the second communication chip, and the tenth instruction is used to instruct the second communication chip to switch the working frequency band; when the first communication scheme is to switch the working frequency band of the second communication chip, and the second communication chip is a Wi-Fi chip, the arbitration module sends the tenth instruction to the second communication chip.

[0056] In a possible implementation, the instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: when the first communication scheme is to adjust the working state of the first communication chip to a non-communication state, the arbitration module sends an eleventh instruction to the first communication chip, and the eleventh instruction is used to instruct the first communication chip to switch the working state to the sleep state; when the first communication scheme is to adjust the working state of the second communication chip to a non-communication state, and the arbitration module is not the second communication chip, the arbitration module sends a twelfth instruction to the second communication chip, and the twelfth instruction is used to instruct the second communication chip to switch the working state to the sleep state; when the first communication scheme is to reduce the transmit power of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a thirteenth instruction to the second communication chip, and the thirteenth instruction The command is used to instruct the second communication chip to reduce the transmission power; when the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to the time division strategy, the arbitration module sends a fourteenth instruction to the first communication chip, and the fourteenth instruction is used to indicate that the working period of the first communication chip is the fifth time slice, the fifth time slice and the sixth time slice do not overlap with each other, and the sixth time slice is the working period of the second communication chip; when the first communication scheme is to switch the working frequency band of the first communication chip, the arbitration module sends a fifteenth instruction to the first communication chip, and the fifteenth instruction is used to instruct the first communication chip to switch the working frequency band; when the first communication scheme is to switch the working frequency band of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a sixteenth instruction to the second communication chip, and the sixteenth instruction is used to instruct the second communication chip to switch the working frequency band.

[0057] In a possible implementation, the instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: when the first communication scheme is to adjust the working state of the first communication chip to a non-communication state, the arbitration module sends a seventeenth instruction to the first communication chip, and the seventeenth instruction is used to instruct the first communication chip to switch the working state to the sleep state; when the first communication scheme is to adjust the working state of the second communication chip to a non-communication state, the arbitration module sends an eighteenth instruction to the second communication chip, and the eighteenth instruction is used to instruct the second communication chip to switch the working state to the sleep state; when the first communication scheme is to reduce the transmit power of the second communication chip, the arbitration module sends a nineteenth instruction to the second communication chip, and the nineteenth instruction is used to instruct the second communication chip to reduce the transmit power; when the first communication scheme is When the first communication chip and the second communication chip perform a communication process according to the time division strategy, the arbitration module sends a twentieth instruction to the first communication chip, and the arbitration module sends a twenty-first instruction to the second communication chip, the twenty-th instruction is used to indicate that the working period of the first communication chip is the seventh time slice, and the twenty-first instruction is used to indicate that the working period of the second communication chip is the eighth time slice, and the seventh time slice and the eighth time slice do not overlap with each other; when the first communication scheme is to switch the working frequency band of the first communication chip, the arbitration module sends a twenty-second instruction to the first communication chip, and the twenty-second instruction is used to instruct the first communication chip to switch the working frequency band; when the first communication scheme is to switch the working frequency band of the second communication chip, the arbitration module sends a twenty-third instruction to the second communication chip, and the twenty-third instruction is used to instruct the second communication chip to switch the working frequency band.

[0058] In a third aspect, the present application provides an electronic device, including a transceiver, a processor and a memory; the memory is used to store a computer program, the processor calls the computer program, and the electronic device executes the network coexistence method provided in the second aspect and any one of the implementation methods of the second aspect.

[0059] In a fourth aspect, the present application provides a computer storage medium storing a computer program, which, when executed by a processor, is used to execute the network coexistence method provided in the second aspect and any one of the implementations of the second aspect.

[0060] In a fifth aspect, the present application provides a computer program product. When the computer program product runs on a device, the device executes the network coexistence method provided in the second aspect and any one of the implementations of the second aspect.

[0061] In a sixth aspect, the present application provides an electronic device, the electronic device comprising a method or device for executing any aspect or implementation of the present application. The electronic device is, for example, a chip.

[0062] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single implementation. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one implementation. Therefore, the description of technical features, technical solutions or beneficial effects in this application does not necessarily refer to the same implementation. Furthermore, the technical features, technical solutions and beneficial effects described in this application can also be combined in any appropriate manner. Those skilled in the art will understand that this application can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific implementation. In other implementations, additional technical features and beneficial effects can also be identified in specific implementations that do not embody all implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The following is an introduction to the drawings used in this application.

[0064] Figure 1 It is a schematic diagram of a communication frequency band provided by this application;

[0065] Figure 2 It is a schematic diagram of the architecture of a communication system provided by the present application;

[0066] Figure 3 It is a hardware structure diagram of an electronic device provided by the present application;

[0067] Figure 4 It is a schematic diagram of the software architecture of an electronic device provided by this application;

[0068] Figure 5 It is a flowchart of a network coexistence method provided by the present application;

[0069] Figure 6 It is a flowchart of another network coexistence method provided by the present application;

[0070] Figure 7 It is a flowchart of another network coexistence method provided by the present application;

[0071] Figure 8 It is a flowchart of another network coexistence method provided by the present application;

[0072] Fig. 9 It is a flowchart of another network coexistence method provided by the present application;

[0073] Fig.10 This is a flowchart of another network coexistence method provided by the present application. DETAILED DESCRIPTION

[0074] The technical solution in the embodiment of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiment of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text 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 embodiment of the present application, "multiple" means two or more than two.

[0075] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0076] With the popularity of ultra-wideband (UWB) ecosystem, more and more electronic devices (such as smart phones, smart watches, car-mounted devices, large-screen devices, etc.) will integrate multiple communication chips such as UWB chips, wireless fidelity (Wi-Fi) chips and cellular communication chips (i.e. modem chips). However, when electronic devices use multiple communication chips for communication at the same time (also known as the coexistence of multiple communication networks), the multiple communication networks will affect each other, resulting in poor communication effects, such as but not limited to the following problems:

[0077] Question 1: The commonly used frequency bands for UWB, Wi-Fi, and cellular communications are adjacent or overlapping. For specific examples, see Figure 1 Therefore, when UWB networks and cellular communication networks / Wi-Fi networks coexist, communication interferences such as co-channel interference, adjacent channel interference, and harmonic interference may exist.

[0078] Figure 1The N77 band, the N78 band, the N79 band, the 5 gigahertz (GHz) band, and the channels (CH) 5-CH14 are exemplarily shown. Among them, the frequency range of the N77 band is 3.3 GHz to 4.2 GHz. The frequency range of the N78 band is 3.3 GHz to 3.8 GHz. The frequency range of the N79 band is 4.4 GHz to 5 GHz. The frequency range of the 5 GHz band is 5.15 GHz to 5.85 GHz. The frequency range of CH5-CH14 is 6.24 GHz to 10.23 GHz, for example, the frequency range of CH5 is 6.24 GHz to 6.7392 GHz, and the frequency range of CH9 is 7.7376 GHz to 8.2368 GHz. Common frequency bands for cellular communications include the N77 band, the N78 band, and the N79 band, and in CH5-CH14, the frequency range of 6.425 GHz to 7.125 GHz can be reserved for cellular communications. Common frequency bands for Wi-Fi include the 5 GHz band. Common frequency bands for UWB include CH5 and CH9. Exemplarily, when cellular communication uses a frequency band in the range of 6.425 GHz to 7.125 GHz, there is co-channel interference between cellular communication and UWB. When cellular communication uses the N77 and N79 bands and UWB uses CH5, there is harmonic interference between cellular communication and UWB. When UWB uses CH5 and Wi-Fi uses a frequency band in the 5 GHz band that is adjacent to CH5 (such as the 5.8 GHz band), there is adjacent-channel interference between Wi-Fi and UWB, where the frequency range of the 5.8 GHz band is 5.725 GHz to 5.85 GHz.

[0079] Understandably, Figure 1 For example only, in a specific implementation, the commonly used frequency bands of UWB, Wi-Fi, cellular communication or other communication methods may also include other frequency bands, and among the commonly used frequency bands of Wi-Fi, cellular communication or other communication methods, the frequency bands that may cause communication interference with the commonly used frequency bands of UWB may also include other frequency bands. Some examples are shown below.

[0080] For example, Figure 1The N77 frequency band, N78 frequency band, and N79 frequency band shown are all communication frequency bands of the fifth generation mobile communication technology (5G). The 5G frequency band may also include frequency bands below the N77 frequency band (such as the N50 frequency band with a frequency range of 1.432 GHz to 1517 GHz). Available communication frequency bands for cellular communications also include communication frequency bands of the second generation mobile communication technology (2G) / third generation mobile communication technology (3G) / fourth generation mobile communication technology (4G) or frequency bands of other future communication technologies (such as the sixth generation mobile communication technology (6G)). There may be communication interference between the 6G frequency band and the commonly used frequency band of UWB.

[0081] Exemplarily, commonly used frequency bands of Wi-Fi also include frequency bands ranging from 2.4 GHz to 2.497 GHz, 6 GHz band (frequency range is 5.925-7.125 GHz), etc. When UWB uses CH5 and Wi-Fi uses the 6 GHz band, there is adjacent frequency interference between Wi-Fi and UWB.

[0082] Question 2: In the common board-level design of the UWB chip and the Wi-Fi chip and / or the cellular communication chip (which can be understood as the overall design of the circuit board), the transmission power of the Wi-Fi chip (18 milliwatt decibels (dBm)) and the transmission power of the cellular communication chip (26dBm) are both relatively high, and the board-level isolation is limited by the design of electronic devices such as mobile phones, so the isolation between the UWB chip and the Wi-Fi chip and / or the cellular communication chip is relatively low. In addition, the current UWB chip has a weak anti-interference capability. Therefore, when the Wi-Fi chip and / or the cellular communication chip transmits an uplink signal, the signal leaked from the board level to the UWB chip exceeds the anti-interference capability of the UWB chip, which can be expressed as: (transmission power of the Wi-Fi chip and / or the cellular communication chip - antenna isolation - filter attenuation - board-level attenuation) > anti-interference capability of the UWB chip, resulting in the UWB chip receiving downlink signals being affected when the Wi-Fi chip or the cellular communication chip transmits uplink signals.

[0083] The embodiment of the present application provides a network coexistence method, which is applied to an electronic device, and the electronic device may include a UWB chip, a host chip (the communication chips of the electronic device are directly connected to the host chip hardware), and a Wi-Fi chip and / or a cellular communication chip. The electronic device may include an arbitration module. The following implementation is described by taking the electronic device including a Wi-Fi chip and a cellular communication chip as an example.

[0084] The above-mentioned network coexistence method may include: the UWB chip, the Wi-Fi chip and the cellular communication chip can monitor their respective states and obtain corresponding state information, and then send their own state information to the arbitration module. When the electronic device uses the UWB chip and the cellular communication chip / Wi-Fi chip to communicate at the same time (it can also be called when the UWB network and the cellular communication network / Wi-Fi network coexist), the arbitration module can determine the current communication scheme based on the preset service priority and the state information of each communication chip. Among them, the determined communication scheme is, for example but not limited to, any one of the following: UWB service exclusive (that is, the UWB chip works normally, the cellular communication chip / Wi-Fi chip does not work), cellular service / Wi-Fi service exclusive, reducing the transmission power corresponding to the cellular service / Wi-Fi service, UWB service and cellular service / Wi-Fi service communicate according to the time division strategy, and cellular service / Wi-Fi service / UWB service switches the working channel. The arbitration module can instruct at least one communication chip to adjust the working mode based on the determined communication scheme to ensure the performance of the highest priority service and reduce or avoid the impact of the lower priority service. Therefore, the electronic device solves the problem of mutual influence between communication networks (which can be simply referred to as coexistence interference) in the scenario where multiple communication networks coexist, and effectively improves the communication effect of the electronic device.

[0085] The arbitration module may be a cellular communication chip. The implementation process may be as follows: Figure 5 , or it can be a UWB chip. The implementation process can be found below Figure 6 , or it can be a Wi-Fi chip. The implementation process can be found below Figure 7 , or it can be the main chip. The implementation process at this time can be seen below Figure 8 , this application does not limit this.

[0086] Among them, the status information / status of any communication chip may include but is not limited to: working status, radio frequency (RF) working frequency band (also referred to as working channel), bearer service and bearer data (hereinafter referred to as bearer service). In one embodiment, the working status of any communication chip may include: sending status, receiving status, sleep status and power-off status. When the communication chip is in the sending state or the receiving state, it can be considered that the communication chip is working normally. When the communication chip is in the sleep state or the power-off state, it can be considered that the communication chip is not working. The working mode of any communication chip may include but is not limited to: working status, RF working frequency band, RF transmission power, receiving and / or transmitting time slot (also referred to as working period).

[0087] In one embodiment, in order to achieve: when the UWB network and the cellular communication network / Wi-Fi network coexist, the coexisting communication networks can perform the communication process according to the time division strategy (also referred to as using time slot level scheduling), and the transmission of the coexistence signaling used to implement the time slot level scheduling does not depend on the main chip, the electronic device can be of the following structure: the UWB chip and the cellular communication chip / Wi-Fi chip are directly connected through an independent interface, and the cellular communication chip and the Wi-Fi chip are also directly connected through an independent interface. The transmission of the coexistence signaling does not depend on the main chip, which can reduce the communication delay of the coexistence signaling, and in some cases, the main chip does not need to be woken up, saving the power consumption of the electronic device.

[0088] However, it is understandable that the above implementation has the following problems: it is necessary to increase the hardware pins of the UWB chip, cellular communication chip, and Wi-Fi chip, thereby increasing the complexity of chip design and implementation, and also increasing the cost, area, and power consumption of the chip.

[0089] In another embodiment, the UWB chip and the Wi-Fi chip can be directly connected through an independent interface, the cellular communication chip and the Wi-Fi chip can be directly connected through an independent interface, and the electronic device can use the Wi-Fi chip to bridge the UWB chip and the cellular communication chip (the structure example of the electronic device 100 can be seen below). Figure 3 ) to achieve the above-mentioned goal, that is, when the UWB network and the cellular communication network / Wi-Fi network coexist, the coexisting communication network can use time slot-level scheduling. This implementation not only can achieve that the transmission of coexistence signaling is independent of the main chip, thereby reducing the communication delay of the coexistence signaling, but also can save the power consumption of the electronic device without waking up the main chip in some cases. Moreover, this implementation can effectively solve the problems existing in the above-mentioned implementation, that is, it can realize the signaling intercommunication between the UWB chip and the cellular communication chip without increasing the hardware pins of the existing UWB chip and the cellular communication chip, reduce the complexity of increasing chip design and implementation, and also reduce the cost, area and power consumption of increasing the chip (especially when adding hardware interfaces to cellular communication chips, the complexity, increased cost, increased area and increased power consumption are very high).

[0090] In the embodiment of the present application, two chips of the electronic device (which may be referred to as chip A and chip B) are directly connected through an independent interface, that is, chip A and chip B are directly connected by hardware, which may be referred to as chip A and chip B connection hereinafter. Two chips of the electronic device (which may be referred to as chip C and chip D) are bridged by another chip (which may be referred to as chip E), that is: chip C and chip E are directly connected by hardware, chip D and chip E are directly connected by hardware, and chip C and chip D are not directly connected by hardware, and chip C and chip D can communicate through chip E.

[0091] The above description is based on an example in which the electronic device includes a Wi-Fi chip. In a specific implementation, the electronic device may also include other communication chips, such as a Bluetooth chip. The description of the Bluetooth chip can refer to the description of the Wi-Fi chip. For other examples, see the following. Figure 3 For the convenience of explanation, the following description is still based on the Wi-Fi chip as an example, but it is understandable that the description of the Wi-Fi chip can be replaced by the description of any other communication chip (except the UWB chip).

[0092] See also Figure 2 , Figure 2 A schematic diagram of the architecture of a communication system 10 is exemplarily shown.

[0093] like Figure 2 As shown, the communication system 10 may include an electronic device 100 and at least one device to which the electronic device 100 is connected and / or in communication.

[0094] The electronic device 100 may include a UWB module, a cellular communication module and a Wi-Fi module.

[0095] The electronic device 100 can communicate with the UWB product through the UWB module to achieve positioning, proximity sensing, smart home, Internet of Vehicles and other scenarios. UWB products are, for example, UWB chips, UWB modules, UWB tags, UWB beacons, etc. When the UWB module and the UWB product communicate, the UWB module can carry related services and data, which can also be called that, at this time, the electronic device 100 runs UWB services. The UWB service may include, but is not limited to, a UWB negotiation phase, a ranging / angle measurement service or other data transmission service. The UWB negotiation phase includes the UWB module and the UWB product negotiating related parameters for the subsequent UWB communication process.

[0096] The electronic device 100 can communicate with the base station through the cellular communication module, and communicate with other devices through the base station to realize scenes such as calling and surfing the Internet. The base station is a device deployed in the radio access network (RAN) to provide wireless communication functions. In different wireless access systems, the names of base stations may be different, such as but not limited to the base transceiver station (BTS) in the global system for mobile communications (GSM) or code division multiple access (CDMA), the node B (NB) in wideband code division multiple access (WCDMA), the evolved node B (eNodeB) in long term evolution (LTE), the next generation base station (g node B, gNB) in new radio access (NR), or base stations in other future network systems.

[0097] When the cellular communication module communicates with other devices through the base station, the cellular communication module can carry related services and data, which can also be called that, at this time, the electronic device 100 runs a cellular service. Cellular services may include, but are not limited to, cellular negotiation services, call services, cellular Internet access services or other data transmission services. Cellular negotiation services include the negotiation between the cellular communication module and other devices for related parameters for subsequent cellular communication processes. Cellular negotiation services include, but are not limited to, cellular authentication, roaming, dynamic host configuration protocol (DHCP), etc. Cellular Internet access services can be implemented based on any application of the electronic device 100, for example, game services implemented based on game applications, red envelope services implemented based on chat applications, live broadcast services implemented based on video applications, payment services implemented based on payment applications, etc.

[0098] The electronic device 100 can communicate with the router through the Wi-Fi module, and communicate with other devices through the router to realize scenarios such as Internet access, smart home, and Internet of Vehicles. Not limited to this, in another embodiment, the electronic device 100 can also communicate directly with other devices through the Wi-Fi module without being transferred through a router. When the Wi-Fi module communicates with other devices, the Wi-Fi module can carry related services and data, which can also be called that, at this time, the electronic device 100 runs a Wi-Fi service. The Wi-Fi service may include, but is not limited to, Wi-Fi negotiation services, Wi-Fi Internet access services, or other data transmission services. The Wi-Fi negotiation service includes the negotiation between the Wi-Fi communication module and other devices for related parameters for subsequent Wi-Fi communication processes. The Wi-Fi negotiation service includes, for example, but not limited to, Wi-Fi authentication, roaming, DHCP, etc. The description of the Wi-Fi Internet access service is similar to that of the cellular Internet access service. The difference is that the communication methods used are different, which will not be repeated.

[0099] In the embodiment of the present application, the electronic device 100 can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart TVs and smart speakers, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices or smart city devices. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device.

[0100] The base station in the embodiment of the present application may also be other access network devices, such as user equipment (UE), access point (AP), transmission and receiver point (TRP), relay equipment, or other network devices with the functions of a base station, etc., which is not limited to the embodiment of the present application.

[0101] The router in the embodiment of the present application may also be other gateway devices, such as a switch, etc., which is not limited in the embodiment of the present application.

[0102] See also Figure 3 , Figure 3A schematic diagram of the hardware structure of an electronic device 100 is exemplarily shown.

[0103] like Figure 3 As shown, the electronic device 100 may include a main chip 110, a modem chip 120 (also referred to as a modem baseband processor (BP) chip, i.e., the above-mentioned cellular communication chip), a cellular antenna, a UWB chip 130, a UWB antenna, a Wi-Fi chip 140, a Wi-Fi antenna, a memory 150, a display screen 160, a battery 170, an audio module 180, a sensor module 190, etc. Among them, any module of the electronic device 100 may be connected to the main chip 110, for example, communication chips such as the modem chip 120, the UWB chip 130, and the Wi-Fi chip 140 are connected to the main chip 110. The modem chip 120 and the Wi-Fi chip 140 may be directly connected. The UWB chip 130 and the Wi-Fi chip 140 may be directly connected. The modem chip 120 and the UWB chip 130 may not be directly connected, but may be bridged through the Wi-Fi chip 140.

[0104] The main chip 110 may also be referred to as a processor, and may include one or more processing units. For example, the main chip 110 may include an application processor (AP), and optionally a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, and / or a digital signal processor (DSP). Different processing units may be independent devices or may be integrated into one or more processors.

[0105] In one embodiment, a memory may be further provided in the main chip 110 for storing instructions and data. In some examples, the memory in the main chip 110 is a cache memory. The memory may store instructions or data that the main chip 110 has just used or circulated. If the main chip 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the main chip 110 is reduced, and the efficiency of the system is improved.

[0106] In one embodiment, the main chip 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0107] The cellular communication function of the electronic device 100 can be implemented through the modem chip 120, the cellular antenna, etc. The cellular communication function includes, for example, the communication function of 2G / 3G / 4G / 5G / 6G and other technologies.

[0108] In one embodiment, the cellular antenna can be used to receive electromagnetic waves and send them to the modem chip 120 for processing. The cellular antenna can also be used to receive signals processed by the modem chip 120 and convert them into electromagnetic waves for radiation / emission. In one embodiment, the modem chip 120 may include a modulator, a demodulator, and a baseband processor. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through the audio module 180 (such as a speaker), or displays an image or video through the display screen 160.

[0109] The UWB communication function of the electronic device 100 can be implemented by the UWB chip 130, the UWB antenna, etc. In one embodiment, the UWB antenna can be used to receive electromagnetic waves and send them to the UWB chip 130 for processing. The UWB antenna can also be used to receive signals processed by the UWB chip 130 and convert them into electromagnetic waves for radiation / emission.

[0110] The Wi-Fi communication function of the electronic device 100 can be implemented through the Wi-Fi chip 140, the Wi-Fi antenna, etc. In one embodiment, the Wi-Fi antenna can be used to receive electromagnetic waves and send them to the Wi-Fi chip 140 for processing. The Wi-Fi antenna can also be used to receive signals processed by the Wi-Fi chip 140 and convert them into electromagnetic waves for radiation / emission.

[0111] Not limited to this, the electronic device 100 may also include communication chips and antennas for other wireless communication functions, such as other wireless communication functions including: other technologies of wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.

[0112] The antenna of the electronic device 100 can be used to transmit and receive electromagnetic wave signals. Each antenna of the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. It can be understood that the above-mentioned cellular antenna, UWB antenna, and Wi-Fi antenna only characterize the antenna in terms of communication mode and do not represent physical antennas. For example, some or all of the cellular antennas and Wi-Fi antennas may be the same, and the embodiments of the present application are not limited to this.

[0113] In one embodiment, any communication chip (such as modem chip 120, UWB chip 130 and Wi-Fi chip 140) of the electronic device 100 may include a coexistence processing module. Any coexistence processing module can be used to monitor the status of the current communication chip and send the acquired status information to the arbitration module of the electronic device 100 for processing. The arbitration module can be any communication chip or the main chip 110. When the communication chip where the coexistence processing module is located is an arbitration module, the coexistence processing module can determine the current communication scheme according to the preset service priority and the status information of each communication chip, and instruct the communication chip to work according to the current communication scheme. In one embodiment, the main chip 110 of the electronic device 100 may also include a coexistence processing module. When the main chip 110 is an arbitration module, the coexistence processing module can execute the relevant processes that the arbitration module needs to execute: receive the status information of multiple communication chips, determine the current communication scheme according to the preset service priority and the status information of each communication chip, and instruct the communication chip to work according to the current communication scheme.

[0114] The memory 150 can be used to store computer executable program codes, which include instructions. The memory 150 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as audio data, image data, etc.) created during the use of the electronic device 100, etc. In addition, the memory 150 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The main chip 110 can execute various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 150, and / or instructions stored in a memory provided in the processor.

[0115] The display screen 160 is used to display images, videos, etc. The display screen 160 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light-emitting diode (QLED), etc. In one embodiment, the electronic device 100 may include 1 or N display screens 160, where N is a positive integer greater than 1.

[0116] In one embodiment, the electronic device 100 implements the display function through a GPU, a display screen 160, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 160 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The main chip 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0117] The battery 170 is used to power the main chip 110 , the modem chip 120 , the UWB chip 130 , the Wi-Fi chip 140 , the memory 150 , the display screen 160 , the audio module 180 , the sensor module 190 , etc. in the electronic device 100 .

[0118] The audio module 180 can be used to implement the audio functions of the electronic device 100, such as audio playback, recording, voice calls, etc. The audio module 180 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 180 can also be used to encode and decode audio signals. The audio module 180 includes, for example but not limited to: a speaker (for converting audio electrical signals into sound signals), a microphone (for converting sound signals into electrical signals), a headphone jack (for connecting wired headphones), etc.

[0119] The sensor module 190 may include one or more sensors, such as a touch sensor, a gyroscope sensor, a fingerprint sensor, etc. Among them, the touch sensor can be used to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The gyroscope sensor can be used to determine the motion posture of the electronic device 100, such as determining the angular velocity of the electronic device 100 around three axes (ie, x, y and z axes). The gyroscope sensor can be used for scenes such as shooting anti-shake, navigation, and somatosensory games. The fingerprint sensor is used to collect fingerprints, and the collected fingerprint characteristics can be used to implement fingerprint unlocking, access application locks, and other scenes.

[0120] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, for example, Figure 3 The electronic device 100 shown may also include buttons, indicator lights, SIM card interfaces, etc.; or combine certain components, for example, part or all of the audio module 180 may be integrated into the main chip 110, and for another example, the display screen 160 and the touch sensor may be integrated together; or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0121] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system of the layered architecture may be an Android system, or a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the electronic device 100.

[0122] Figure 4 A schematic diagram of a software architecture of an electronic device 100 is exemplarily shown.

[0123] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In one embodiment, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0124] The application layer can include a series of application packages.

[0125] like Figure 4 As shown, the application package may include applications such as calling, navigation, games, payment, chatting, music, WLAN, video, short messages, etc. The application in the embodiment of the present application may also be replaced by other software such as mini-programs and atomic services.

[0126] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0127] like Figure 4 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0128] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0129] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0130] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0131] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0132] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0133] The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.

[0134] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.

[0135] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0136] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0137] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0138] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0139] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0140] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0141] A 2D graphics engine is a drawing engine for 2D drawings.

[0142] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0143] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with a Wi-Fi communication scenario.

[0144] When the touch sensor receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into raw input events (including touch coordinates, timestamp of the touch operation, and other information). The raw input events are stored in the kernel layer. The application framework layer obtains the raw input events from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch click operation and the control corresponding to the click operation is a control of the WLAN application, the WLAN application calls the interface of the application framework layer to start the WLAN application, and then calls the kernel layer to perform Wi-Fi communication through the Wi-Fi chip.

[0145] Next, the network coexistence method involved in the embodiment of the present application is introduced. The method can be applied to Figure 2 The electronic device 100 in the communication system 10 shown. The method can be applied to Figure 3 The electronic device 100 shown. The method can be applied to Figure 4 An electronic device 100 is shown.

[0146] See also Figure 5 , Figure 5 It is a flowchart of a network coexistence method provided in an embodiment of the present application. Figure 5 The cellular communication chip (ie, modem chip) of the electronic device 100 is used as an arbitration module for illustration. The method may include but is not limited to the following steps:

[0147] S101 : The UWB chip of the electronic device 100 monitors the current state of the UWB chip and sends corresponding state information 1 to the Wi-Fi chip of the electronic device 100 .

[0148] In the embodiment of the present application, the state / state information of any communication chip (such as a UWB chip, a Wi-Fi chip, and a cellular communication chip) of the electronic device 100 may include, but is not limited to: working state, RF working frequency band, and the type of bearer service. In one embodiment, the working state of any communication chip may include: transmit (TX) state, receive (RX) state, sleep state, and power-off state. Among them, when the communication chip is in the power-off state, it can be converted to the sleep state. When the communication chip is in the sleep state, it can be converted to the power-off state, RX state, or TX state. When the communication chip is in the RX state, it can be converted to the TX state or the sleep state. When the communication chip is in the TX state, it can be converted to the RX state or the sleep state. When the communication chip is in the TX state or the RX state, it can be considered that the communication chip is working normally. When the communication chip is in the sleep state or the power-off state, it can be considered that the communication chip is not working. Not limited to this, there can be more working states of the communication chip, for example, the working state corresponding to the non-working of the communication chip includes more than the sleep state and the power-off state. For the convenience of explanation, the embodiment of the present application is explained by taking the description of the above working state as an example.

[0149] Examples of the above RF operating frequency bands can be found in Figure 1 Examples of the types of services carried above can be found in Figure 2 Examples of UWB services, cellular services, and Wi-Fi services. When any communication chip carries a service, the type of the service may be known, and the main chip may notify the communication chip of the type of the service. For example, when the service carried by the communication chip is an Internet service (such as games, live broadcasts, red envelopes, payments, and other sensitive services), the main chip may work normally to maintain the Internet service, and at this time, the main chip may notify the communication chip of the type of the service.

[0150] S102 : The Wi-Fi chip of the electronic device 100 forwards the status information 1 of the UWB chip to the cellular communication chip (arbitration module) of the electronic device 100 .

[0151] In one embodiment, there is no direct connection line between the UWB chip and the cellular communication chip, and there are direct connection lines between the UWB chip and the Wi-Fi chip, and between the Wi-Fi chip and the cellular communication chip. In this case, the electronic device 100 can use the Wi-Fi chip to bridge the UWB chip and the cellular communication chip. Therefore, the UWB chip can send data to the cellular communication chip through the Wi-Fi chip. In S101-S102, the UWB chip can send status information 1 to the Wi-Fi chip, so that the Wi-Fi chip forwards the status information 1 to the cellular communication chip as an arbitration module for processing.

[0152] S103 : The Wi-Fi chip of the electronic device 100 monitors the current state of the Wi-Fi chip, and sends corresponding state information 2 to the cellular communication chip of the electronic device 100 .

[0153] In one implementation, there is a direct connection line between the Wi-Fi chip and the cellular communication chip, so the Wi-Fi chip can directly send the status information 2 to the cellular communication chip serving as the arbitration module for processing.

[0154] S104: The cellular communication chip of the electronic device 100 monitors the current state of the cellular communication chip and obtains corresponding state information 3.

[0155] The order of S101 - S102 , S103 , and S104 is not limited.

[0156] S105: When the UWB service and the Wi-Fi service / cellular service coexist, the cellular communication chip (arbitration module) determines the current communication scheme 1 according to the preset service priority, state information 1, state information 2 / state information 3.

[0157] In one implementation, after the cellular communication chip serving as an arbitration module obtains status information of the UWB chip, the Wi-Fi chip, and the cellular communication chip, it can first determine the communication chip that is working normally based on the working status in the status information, thereby determining the currently coexisting communication network / communication service. The communication service here refers to the service carried by the corresponding communication chip, and the communication service carried by the communication chip can be obtained through the type of carried service in the status information of the communication chip.

[0158] In some examples, when the working status in the status information 1 of the UWB chip is the RX state or the TX state, and the working status in the status information 2 of the Wi-Fi chip is the RX state or the TX state, the UWB chip and the Wi-Fi chip both work normally. Therefore, the current UWB network and the Wi-Fi network coexist, which can also be called the coexistence of UWB services and Wi-Fi services.

[0159] In some examples, when the working state in the status information 1 of the UWB chip is the RX state or the TX state, and the working state in the status information 3 of the cellular communication chip is the RX state or the TX state, the UWB chip and the cellular communication chip both operate normally. Therefore, the current UWB network and the cellular network coexist, which can also be called the coexistence of UWB services and cellular services.

[0160] In one embodiment, when the UWB service and the cellular service coexist, the current communication scheme 2 (which can be understood as the communication scheme 1 when the UWB service and the cellular service coexist) can be determined according to the preset service priority, the status information 1 of the UWB chip and the status information 3 of the cellular communication chip. Communication scheme 2 can be any one of the following: UWB service exclusive (that is, the UWB chip works normally and the cellular communication chip does not work), cellular service exclusive (that is, the cellular communication chip works normally and the UWB chip does not work), reducing the transmission power of the cellular communication chip, the UWB service and the cellular service communicate according to the time division strategy, the UWB service switches the working channel, and the cellular service switches the working channel. Optionally, the above-mentioned UWB service exclusive can be specifically that the UWB service works normally and the cellular communication chip is in a dormant state, so that the subsequent cellular communication chip can quickly recover to the sending state or the receiving state. For the convenience of explanation, the subsequent embodiments are explained by taking the service exclusive as the meaning of the above-mentioned UWB service exclusive as an example.

[0161] In some examples, when the UWB service and the cellular service coexist, the arbitration module can first determine whether there is communication interference (such as co-channel interference, adjacent frequency interference or harmonic interference) between the UWB service and the cellular service according to the RF working frequency bands in the state information 1 and the state information 3. When the result of this judgment is that there is no communication interference, the arbitration module can keep the current working mode unchanged. When the result of this judgment is that there is communication interference, the arbitration module can first instruct the UWB chip to switch the working channel of the UWB service, and determine whether there is still communication interference between the UWB service and the cellular service after switching the working channel. In one case, if the second judgment result is that there is no communication interference, the arbitration module can keep the current working mode unchanged, and at this time, the communication scheme 2 is the switching of the working channel of the UWB service. In another case, if the second judgment result is that there is communication interference, or the above-mentioned switching of the working channel of the UWB service fails, the arbitration module can judge the priority of the UWB service and the cellular service according to the preset service priority, the type of the bearer service in the state information 1 and the state information 3, and determine the communication scheme 2 according to the judgment result of the priority.

[0162] In some examples, the arbitration module can determine the priority of the UWB service and the cellular service according to the preset service priority, the type of bearer service in the status information 1 and the status information 3, and determine the communication scheme 2 according to the priority judgment result. Specifically, when the priority of the UWB service is higher than the priority of the cellular service, the arbitration module can determine the communication scheme 2 as: UWB service exclusive, reducing the transmission power of the cellular communication chip, or switching the working channel of the cellular service. When the priority of the UWB service is lower than the priority of the cellular service, the arbitration module can determine the communication scheme 2 as: cellular service exclusive. When the priority of the UWB service is the same as the priority of the cellular service, the arbitration module can determine the communication scheme 2 as: UWB service and cellular service communicate according to the time division strategy.

[0163] The specific implementation process of the arbitration module determining the communication scheme 2 when the UWB service and the cellular service coexist can be found in the following Fig. 9 .

[0164] In one implementation, when the UWB service and the Wi-Fi service coexist, the arbitration module can determine the current communication scheme 3 (which can be understood as the communication scheme 1 when the UWB service and the Wi-Fi service coexist) according to the preset service priority, the status information 1 of the UWB chip, and the status information 2 of the Wi-Fi chip. Communication scheme 3 can be any one of the following: exclusive use of UWB service (i.e., the UWB chip works normally, and the Wi-Fi chip does not work), exclusive use of Wi-Fi service (i.e., the Wi-Fi chip works normally, and the UWB chip does not work), reducing the transmission power of the Wi-Fi chip, the UWB service and the Wi-Fi service communicate according to the time division strategy, the UWB service switches the working channel, and the Wi-Fi service switches the working channel.

[0165] In some examples, when the UWB service and the Wi-Fi service coexist, the arbitration module may first determine whether the working channel of the UWB service is CH9 based on the RF working frequency band in the state information 1. When the working channel of the UWB service is not CH9, the arbitration module may determine whether there is communication interference (such as adjacent frequency interference or harmonic interference) between the UWB service and the Wi-Fi service based on the RF working frequency bands in the state information 1 and the state information 2. When the result of this judgment is that there is no communication interference, the arbitration module may keep the current working mode unchanged. When the result of this judgment is that there is communication interference, the arbitration module may instruct the Wi-Fi chip to switch the working channel of the Wi-Fi service (that is, switch to a working channel where there is no communication interference between the working channel of the UWB service). In one case, if the above-mentioned switching of the working channel of the Wi-Fi service is successful, the arbitration module may keep the current working mode unchanged. At this time, communication scheme 3 is the switching of the working channel of the Wi-Fi service. In another case, if the above-mentioned switching of the working channel of the Wi-Fi service fails, the arbitration module can determine the priority of the UWB service and the Wi-Fi service according to the preset service priority, status information 1 and the type of bearer service in status information 2, and determine the communication scheme 3 according to the priority judgment result.

[0166] In some examples, the arbitration module can determine the priority of the UWB service and the Wi-Fi service according to the preset service priority, the type of bearer service in the state information 1 and the state information 2, and determine the communication scheme 3 according to the priority judgment result. Specifically, when the priority of the UWB service is higher than the priority of the Wi-Fi service, the arbitration module can determine the communication scheme 3 as follows: the UWB service is exclusive or the transmission power of the Wi-Fi chip is reduced. When the priority of the UWB service is lower than the priority of the Wi-Fi service, the arbitration module can determine the communication scheme 3 as follows: the Wi-Fi service is exclusive or the UWB service switches the working channel. When the priority of the UWB service is the same as the priority of the cellular service, the arbitration module can determine the communication scheme 3 as follows: the UWB service and the Wi-Fi service communicate according to the time division strategy.

[0167] The specific implementation process of the arbitration module determining communication scheme 3 when UWB services and Wi-Fi services coexist can be found in the following Fig. 9 .

[0168] In one implementation, after the arbitration module determines the current communication scheme 1, it can instruct the corresponding communication chip to adjust the working mode according to the communication scheme 1. The working mode of any communication chip may include but is not limited to: working state, RF working frequency band, RF transmission power, receiving and / or transmitting time slot (which may be called working period), and the specific situation can be seen in the following Table 1 and Table 2, wherein Table 1 is applied to the scenario where UWB services and cellular services coexist, and Table 2 is applied to the scenario where UWB services and Wi-Fi services coexist.

[0169] Table 1

[0170]

[0171] Table 2

[0172]

[0173] It can be understood that if the arbitration module and the communication chip whose working mode needs to be adjusted are the same, there is no need to send a corresponding instruction.

[0174] Among them, when communication scheme 2 is that the UWB service and the cellular communication service perform the communication process according to the time division strategy, the communication process of the UWB chip and the cellular communication chip can be performed periodically. For the UWB chip, the first time slice is operated after each second time slice, and for the cellular communication chip, the second time slice is operated after each first time slice. When communication scheme 3 is that the UWB service and the Wi-Fi service perform the communication process according to the time division strategy, the communication process of the UWB chip and the Wi-Fi chip can be performed periodically. For the UWB chip, the third time slice is operated after each fourth time slice, and for the cellular communication chip, the fourth time slice is operated after each third time slice.

[0175] For example, communication solution 2 / communication solution 3 is to reduce the transmission power of the cellular communication chip / Wi-Fi chip. The electronic device 100 can reduce the transmission power of the cellular communication chip / Wi-Fi chip in the RX time slot of the UWB service to ensure the reception performance of the UWB service.

[0176] In one implementation, when the communication chip whose working mode needs to be adjusted includes a UWB chip, the method may further include:

[0177] S106 : The cellular communication chip of the electronic device 100 sends instruction 1 for the UWB chip to the Wi-Fi chip according to communication scheme 1 .

[0178] S107: The Wi-Fi chip of the electronic device 100 forwards the instruction 1 for the UWB chip to the UWB chip.

[0179] S108: The UWB chip of the electronic device 100 adjusts the working mode according to instruction 1.

[0180] In some examples, in the scenario where the UWB service and the cellular service coexist, when the communication scheme 1 (i.e., the communication scheme 2) is: the cellular service is exclusive, the UWB service and the cellular service communicate according to the time division strategy, or the UWB service switches the working channel, the cellular communication chip as the arbitration module can send instruction 1 to the UWB chip through the Wi-Fi chip, so that the UWB chip adjusts the working mode according to the instruction 1, thereby achieving the effect that the electronic device 100 works according to the communication scheme 2. The instructions 1 and the UWB chip adjusting the working mode according to the instruction 1 can refer to the corresponding instructions in the above Table 1.

[0181] In some examples, in the scenario where UWB services and Wi-Fi services coexist, when communication scheme 1 (i.e., communication scheme 3) is exclusive to Wi-Fi services, UWB services and Wi-Fi services communicate according to a time-division strategy, or UWB services switch working channels, the cellular communication chip as an arbitration module can send instruction 1 to the UWB chip through the Wi-Fi chip (bridging the cellular communication chip and the UWB chip) so that the UWB chip adjusts the working mode according to instruction 1. For instructions 1 and the UWB chip adjusting the working mode according to instruction 1, please refer to the corresponding instructions in Table 2 above.

[0182] In one implementation, when the communication chip whose working mode needs to be adjusted includes a Wi-Fi chip, the method may further include:

[0183] S109 : The cellular communication chip of the electronic device 100 sends the instruction 2 for the Wi-Fi chip to the Wi-Fi chip according to the communication scheme 1 .

[0184] S110: The Wi-Fi chip of the electronic device 100 adjusts the working mode according to instruction 2.

[0185] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 1 (i.e., communication scheme 3) is exclusive to UWB services, the transmit power of the Wi-Fi chip is reduced, the UWB services and the Wi-Fi services communicate according to a time division strategy, or the Wi-Fi services switch working channels, the cellular communication chip as an arbitration module can send instruction 2 to the directly connected Wi-Fi chip, so that the Wi-Fi chip adjusts the working mode according to instruction 2. For instructions 2 and the Wi-Fi chip adjusting the working mode according to instruction 2, please refer to the corresponding instructions in Table 2 above.

[0186] In one implementation, when the communication chip whose working mode needs to be adjusted includes a cellular communication chip, the method may further include:

[0187] S111 : The cellular communication chip of the electronic device 100 adjusts the working mode according to the communication scheme 1 .

[0188] In some examples, in a scenario where UWB services and cellular services coexist, when communication scheme 1 (i.e., communication scheme 2) is exclusive to UWB services, the transmission power of the cellular communication chip is reduced, the UWB services and cellular services communicate according to a time division strategy, or the cellular service switches the working channel, the cellular communication chip serving as an arbitration module can adjust its own working mode according to communication scheme 1. For specific adjustment methods, please refer to the description of the status response in Table 1 above.

[0189] In one embodiment, based on the description of S105, when the UWB service and the cellular service coexist and there is communication interference, the arbitration module will first instruct the UWB chip to switch the working channel of the UWB service. At this time, S106-S108 can be executed (the instruction 1 at this time is the instruction for channel switching). Then, the UWB chip can send the result of switching the working channel (i.e., success or failure) to the cellular communication chip as the arbitration module through the Wi-Fi chip. If the result of the above-mentioned switching channel is successful, the arbitration module can determine whether there is still communication interference between the UWB service and the cellular service after switching the working channel. In one case, if there is no communication interference, the communication scheme 2 is the switching of the working channel for the UWB service. In another case, if there is still communication interference, or the result of the above-mentioned switching channel is a failure, the arbitration module can redetermine the communication scheme 2 according to the preset service priority, the type of the bearer service in the state information 1 and the state information 3. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 2. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 2 still includes the UWB chip, the arbitration module can execute a process similar to S106-S108 (instruction 1 at this time is no longer a channel switching instruction); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 2 includes a cellular communication chip, the arbitration module can execute S111.

[0190] In one embodiment, based on the description of S105, when the UWB service and the Wi-Fi service coexist and there is communication interference, the arbitration module will first instruct the Wi-Fi chip to switch the working channel of the Wi-Fi service. At this time, S109-S110 can be executed (the instruction 2 at this time is the channel switching instruction). Then, the Wi-Fi chip can send the result of switching the working channel (i.e., success or failure) to the cellular communication chip serving as the arbitration module. In one case, if the result of the above-mentioned switching channel is successful, the communication scheme 3 is the switching of the working channel of the Wi-Fi service. In another case, if the result of the above-mentioned switching channel is a failure, the arbitration module can redetermine the communication scheme 3 according to the preset service priority, the type of bearer service in the state information 1 and the state information 2. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 3. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 3 still includes a Wi-Fi chip, the arbitration module can execute a process similar to S109-S110 (instruction 2 at this time is no longer an instruction for channel switching); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 3 includes a UWB chip, the arbitration module can execute S106-S108.

[0191] In one embodiment, Figure 5 After the process shown, the electronic device 100 can periodically execute S101-S104, and / or, when the communication chip detects that its state has changed, it can send the changed state information to the arbitration module (i.e., event triggering). After the arbitration module obtains the state information of the communication chip, it can redetermine the communication scheme. For example, it can determine whether the service carried by the communication chip has changed based on the state information. If it has changed, the communication scheme is redetermined. The arbitration module can instruct the corresponding communication chip to adjust the working mode according to the re-determined communication scheme. In some examples, the coexistence scenario changes (for example, originally the UWB network and the cellular network coexist, and now the UWB network and the Wi-Fi network coexist), and the adjustment process at this time is similar to S105-S110. In other examples, the arbitration module determines that the previous working mode needs to be restored, so the arbitration module can instruct the corresponding chip to restore the previous working mode. The specific method corresponds to the method shown in Table 1 and Table 2. For example, in the scenario where UWB service and cellular service coexist, the communication scheme determined by the arbitration module is exclusive to cellular service, so the UWB chip will be instructed to sleep. The subsequent arbitration module determines that the previous working mode needs to be restored based on the updated status information of the communication chip, so the UWB chip can be instructed to leave the sleep state and switch to the original RX state or receiving state. The above description can also be applied to the following Figure 6 , Figure 7 , Figure 8 , no more details.

[0192] See also Figure 6 , Figure 6 It is a flowchart of another network coexistence method provided in an embodiment of the present application. Figure 6 The following description is made by taking the UWB chip of the electronic device 100 as an arbitration module. The method may include but is not limited to the following steps:

[0193] S201 : The cellular communication chip of the electronic device 100 monitors the current state of the cellular communication chip, and sends corresponding state information 4 to the Wi-Fi chip of the electronic device 100 .

[0194] S202 : The Wi-Fi chip of the electronic device 100 forwards the status information 4 of the cellular communication chip to the UWB chip (arbitration module) of the electronic device 100 .

[0195] In one embodiment, there is no direct connection line between the UWB chip and the cellular communication chip, and there are direct connection lines between the UWB chip and the Wi-Fi chip, and between the Wi-Fi chip and the cellular communication chip. In this case, the electronic device 100 can use the Wi-Fi chip to bridge the UWB chip and the cellular communication chip. Therefore, the cellular communication chip can send data to the UWB chip through the Wi-Fi chip. In S201-S202, the cellular communication chip can send status information 4 to the Wi-Fi chip, so that the Wi-Fi chip forwards the status information 4 to the UWB chip as an arbitration module for processing.

[0196] S203 : The Wi-Fi chip of the electronic device 100 monitors the current state of the Wi-Fi chip, and sends corresponding state information 5 to the UWB chip of the electronic device 100 .

[0197] In one implementation, there is a direct connection line between the Wi-Fi chip and the UWB chip, so the Wi-Fi chip can directly send the status information 5 to the UWB chip serving as the arbitration module for processing.

[0198] S204: The UWB chip of the electronic device 100 monitors the current state of the UWB chip and obtains corresponding state information 6.

[0199] Among them, the order of S201-S202, S203, and S204 is not limited.

[0200] S205: When the UWB service and the Wi-Fi service / cellular service coexist, the UWB chip (arbitration module) determines the current communication scheme 4 according to the preset service priority, state information 6, state information 4 / state information 5.

[0201] S205 and Figure 5Similar to S105, please refer to Figure 5 Description of S105.

[0202] In one implementation, when the communication chip whose working mode needs to be adjusted includes a cellular communication chip, the method may further include:

[0203] S206: The UWB chip of the electronic device 100 sends the instruction 3 for the cellular communication chip to the Wi-Fi chip according to the communication scheme 4.

[0204] S207: The Wi-Fi chip of the electronic device 100 forwards instruction 3 for the cellular communication chip to the cellular communication chip.

[0205] S208: The cellular communication chip of the electronic device 100 adjusts the working mode according to instruction 3.

[0206] In some examples, in the scenario where UWB services and cellular services coexist, when communication scheme 4 is exclusive to UWB services, the transmission power of the cellular communication chip is reduced, the UWB service and the cellular service communicate according to the time division strategy, or the cellular service switches the working channel, the UWB chip as an arbitration module can send instruction 3 to the cellular communication chip through the Wi-Fi chip, so that the cellular communication chip adjusts the working mode according to instruction 3, thereby achieving the effect that the electronic device 100 works according to communication scheme 4. For instructions 3 and the description of the cellular communication chip adjusting the working mode according to instruction 3, please refer to the corresponding description in Table 1 above.

[0207] In one implementation, when the communication chip whose working mode needs to be adjusted includes a Wi-Fi chip, the method may further include:

[0208] S209 : The UWB chip of the electronic device 100 sends the instruction 4 for the Wi-Fi chip to the Wi-Fi chip according to the communication scheme 4 .

[0209] S210: The Wi-Fi chip of the electronic device 100 adjusts the working mode according to instruction 4.

[0210] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 4 is exclusive to UWB services, the transmit power of the Wi-Fi chip is reduced, the UWB service and the Wi-Fi service communicate according to a time division strategy, or the Wi-Fi service switches the working channel, the UWB chip as an arbitration module can send instruction 4 to the directly connected Wi-Fi chip, so that the Wi-Fi chip adjusts the working mode according to instruction 4. For instructions 4 and the Wi-Fi chip adjusting the working mode according to instruction 4, refer to the corresponding instructions in Table 2 above.

[0211] In one implementation, when the communication chip whose working mode needs to be adjusted includes a UWB chip, the method may further include:

[0212] S211 : The UWB chip of the electronic device 100 adjusts the working mode according to the communication scheme 4 .

[0213] In some examples, in a scenario where UWB services and cellular services coexist, when communication scheme 4 is exclusive to cellular services, the UWB services and cellular services communicate according to a time-division strategy, or the UWB services switch working channels, the UWB chip serving as an arbitration module can adjust its own working mode according to communication scheme 4. For specific adjustment methods, please refer to the description of the status response in Table 1 above.

[0214] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 4 is exclusive to Wi-Fi services, UWB services and Wi-Fi services communicate according to a time-division strategy, or the UWB service switches working channels, the UWB chip serving as an arbitration module can adjust its own working mode according to communication scheme 4. For specific adjustment methods, please refer to the description of the status response in Table 2 above.

[0215] In one embodiment, based on the description of S205 (and Figure 5 (similar to the description of S105 of ), when the UWB service and the cellular service coexist and there is communication interference, the UWB chip as the arbitration module will first execute S211, that is, automatically switch the working channel of the UWB service. If the result of the above-mentioned switching channel is successful, the arbitration module can determine whether there is still communication interference between the UWB service and the cellular service after switching the working channel. In one case, if there is no communication interference, the communication scheme 4 is to switch the working channel 4 for the UWB service. In another case, if there is still communication interference, or the result of the above-mentioned switching channel is a failure, the arbitration module can redetermine the communication scheme 4 according to the preset service priority, the status information 6 and the type of the bearer service in the status information 4. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 4. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 4 still includes the UWB chip, the arbitration module can execute a process similar to S211 (the working channel of the UWB service will no longer be switched at this time); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 4 includes a cellular communication chip, the arbitration module can execute S206-S208.

[0216] In one embodiment, based on the description of S205 (and Figure 5(Similar to the description of S105 of ), when the UWB service and the Wi-Fi service coexist and there is communication interference, the arbitration module will first instruct the Wi-Fi chip to switch the working channel of the Wi-Fi service. At this time, S209-S210 can be executed (the instruction 4 at this time is the channel switching instruction). Then, the Wi-Fi chip can send the result of switching the working channel (i.e., success or failure) to the UWB chip serving as the arbitration module. In one case, if the result of the above-mentioned channel switching is successful, the communication scheme 4 is the switching of the working channel for the Wi-Fi service. In another case, if the result of the above-mentioned channel switching is a failure, the arbitration module can redetermine the communication scheme 4 according to the preset service priority, the status information 6, and the type of the bearer service in the status information 5. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 4. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 4 still includes a Wi-Fi chip, the arbitration module can execute a process similar to S209-S210 (instruction 8 at this time is no longer an instruction for switching channels); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 4 includes a UWB chip, the arbitration module can execute S211.

[0217] See also Figure 7 , Figure 7 It is a flowchart of another network coexistence method provided in an embodiment of the present application. Figure 7 The following description is made by taking the Wi-Fi chip of the electronic device 100 as an arbitration module. The method may include but is not limited to the following steps:

[0218] S301 : The UWB chip of the electronic device 100 monitors the current state of the UWB chip and sends corresponding state information 7 to the Wi-Fi chip of the electronic device 100 .

[0219] In one implementation, there is a direct connection line between the Wi-Fi chip and the UWB chip, so the UWB chip can directly send the status information 7 to the Wi-Fi chip serving as the arbitration module for processing.

[0220] S302 : The cellular communication chip of the electronic device 100 monitors the current state of the cellular communication chip, and sends corresponding state information 8 to the Wi-Fi chip of the electronic device 100 .

[0221] In one implementation, there is a direct connection line between the Wi-Fi chip and the cellular communication chip, so the cellular communication chip can directly send the status information 8 to the Wi-Fi chip serving as the arbitration module for processing.

[0222] S303: The Wi-Fi chip of the electronic device 100 monitors the current state of the Wi-Fi chip and obtains corresponding state information 9.

[0223] The order of S301, S302, and S303 is not limited.

[0224] S304: When the UWB service and the Wi-Fi service / cellular service coexist, the Wi-Fi chip (arbitration module) determines the current communication scheme 5 according to the preset service priority, state information 7, state information 8 / state information 9.

[0225] S304 and Figure 5 Similar to S105, please refer to Figure 5 Description of the S105.

[0226] In one implementation, when the communication chip whose working mode needs to be adjusted includes a UWB chip, the method may further include:

[0227] S305 : The Wi-Fi chip of the electronic device 100 sends the instruction 5 for the UWB chip to the UWB chip according to the communication scheme 5 .

[0228] S306: The UWB chip of the electronic device 100 adjusts the working mode according to instruction 5.

[0229] In some examples, in the scenario where the UWB service and the cellular service coexist, when the communication scheme 5 is: the cellular service is exclusive, the UWB service and the cellular service communicate according to the time division strategy, or the UWB service switches the working channel, the Wi-Fi chip as the arbitration module can send instruction 5 to the UWB chip, so that the UWB chip adjusts the working mode according to the instruction 5, thereby achieving the effect that the electronic device 100 works according to the communication scheme 5. For instructions 5 and the UWB chip adjusting the working mode according to the instruction 5, please refer to the corresponding instructions in Table 1 above.

[0230] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 5 is exclusive to Wi-Fi services, UWB services and Wi-Fi services communicate according to a time division strategy, or UWB services switch working channels, the Wi-Fi chip as an arbitration module can send instruction 5 to the UWB chip so that the UWB chip adjusts the working mode according to instruction 5. For instructions 5 and the UWB chip adjusting the working mode according to instruction 5, refer to the corresponding instructions in Table 2 above.

[0231] In one implementation, when the communication chip whose working mode needs to be adjusted includes a cellular communication chip, the method may further include:

[0232] S307 : The Wi-Fi chip of the electronic device 100 sends the instruction 6 for the cellular communication chip to the cellular communication chip according to the communication scheme 5 .

[0233] S308: The cellular communication chip of the electronic device 100 adjusts the working mode according to instruction 6.

[0234] In some examples, in a scenario where UWB services and cellular services coexist, when communication scheme 5 is exclusive to UWB services, the transmit power of the cellular communication chip is reduced, the UWB service and the cellular service communicate according to a time division strategy, or the cellular service switches the working channel, the Wi-Fi chip as an arbitration module can send instruction 6 to the cellular communication chip so that the cellular communication chip adjusts the working mode according to instruction 6. For instructions 6 and the description of the cellular communication chip adjusting the working mode according to instruction 6, refer to the corresponding description in Table 1 above.

[0235] In one implementation, when the communication chip whose working mode needs to be adjusted includes a Wi-Fi chip, the method may further include:

[0236] S309 : The Wi-Fi chip of the electronic device 100 adjusts the working mode according to communication scheme 5 .

[0237] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 5 is exclusive to UWB services, the transmit power of the Wi-Fi chip is reduced, the UWB services and the Wi-Fi services communicate according to a time division strategy, or the Wi-Fi services switch working channels, the Wi-Fi chip as an arbitration module can adjust its own working mode according to communication scheme 5. For specific adjustment methods, please refer to the description of the status response in Table 2 above.

[0238] In one embodiment, based on the description of S304 (and Figure 5(Similar to the description of S105 of ), when the UWB service and the cellular service coexist and there is communication interference, the arbitration module will first instruct the UWB chip to switch the working channel of the UWB service. At this time, S305-S306 can be executed (the instruction 5 at this time is the channel switching instruction). Then, the UWB chip can send the result of switching the working channel (i.e., success or failure) to the Wi-Fi chip serving as the arbitration module. If the result of the above-mentioned channel switching is successful, the arbitration module can determine whether there is still communication interference between the UWB service and the cellular service after switching the working channel. In one case, if there is no communication interference, the communication scheme 5 is to switch the working channel for the UWB service. In another case, if there is still communication interference, or the result of the above-mentioned channel switching is a failure, the arbitration module can redetermine the communication scheme 5 according to the preset service priority, status information 7, and the type of bearer service in status information 8. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 5. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 5 still includes the UWB chip, the arbitration module can execute a process similar to S305-S306 (the instruction 5 at this time is no longer a channel switching instruction); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 5 includes a cellular communication chip, the arbitration module can execute S307-S308.

[0239] In one embodiment, based on the description of S304 (and Figure 5 (similar to the description of S105 of ), when the UWB service and the Wi-Fi service coexist and there is communication interference, the Wi-Fi chip as the arbitration module will first execute S309, that is, switch the working channel of the Wi-Fi service by itself. In one case, if the result of the above-mentioned switching channel is successful, the communication scheme 5 is the switching working channel of the Wi-Fi service. In another case, if the result of the above-mentioned switching channel is a failure, the arbitration module can redetermine the communication scheme 5 according to the preset service priority, the status information 7 and the type of the bearer service in the status information 9. The arbitration module can perform corresponding signaling transmission and / or adjust the working mode according to the redetermined communication scheme 5. Specifically, if the communication chip whose working mode needs to be adjusted in the redetermined communication scheme 5 still includes the Wi-Fi chip, the arbitration module can perform a process similar to S309 (the working channel of the Wi-Fi service will not be switched at this time); if the communication chip whose working mode needs to be adjusted in the redetermined communication scheme 5 includes the UWB chip, the arbitration module can execute S305-S306.

[0240] See also Figure 8 , Figure 8 It is a flowchart of another network coexistence method provided in an embodiment of the present application. Figure 8The main chip of the electronic device 100 is used as an arbitration module for example. The method may include but is not limited to the following steps:

[0241] S401: The UWB chip of the electronic device 100 monitors the current state of the UWB chip and sends corresponding state information 10 to the main chip of the electronic device 100.

[0242] S402 : The Wi-Fi chip of the electronic device 100 monitors the current state of the Wi-Fi chip and sends corresponding state information 11 to the main chip of the electronic device 100 .

[0243] S403: The cellular communication chip of the electronic device 100 monitors the current state of the cellular communication chip and obtains corresponding state information 12.

[0244] In one implementation, each communication chip of the electronic device 100 can monitor its own status and send corresponding status information to the main chip serving as the arbitration module for processing.

[0245] The order of S401, S402, and S403 is not limited.

[0246] S404: When the UWB service and the Wi-Fi service / cellular service coexist, the main chip (arbitration module) determines the current communication scheme 6 according to the preset service priority, state information 10, state information 11 / state information 12.

[0247] S404 and Figure 5 Similar to S105, please refer to Figure 5 Description of S105.

[0248] In one implementation, when the communication chip whose working mode needs to be adjusted includes a UWB chip, the method may further include:

[0249] S405 : The main chip of the electronic device 100 sends the instruction 7 for the UWB chip to the UWB chip according to the communication scheme 6 .

[0250] S406: The UWB chip of the electronic device 100 adjusts the working mode according to instruction 7.

[0251] In some examples, in the scenario where the UWB service and the cellular service coexist, when the communication scheme 6 is: the cellular service is exclusive, the UWB service and the cellular service communicate according to the time division strategy, or the UWB service switches the working channel, the main chip as the arbitration module can send instructions 7 to the UWB chip, so that the UWB chip adjusts the working mode according to the instructions 7, thereby achieving the effect that the electronic device 100 works according to the communication scheme 6. The instructions 7 and the UWB chip adjusting the working mode according to the instructions 7 can refer to the corresponding instructions in the above Table 1.

[0252] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 6 is exclusive to Wi-Fi services, UWB services and Wi-Fi services communicate according to a time division strategy, or UWB services switch working channels, the main chip as an arbitration module can send instruction 7 to the UWB chip, so that the UWB chip adjusts the working mode according to instruction 7. For instructions 7 and the UWB chip adjusting the working mode according to instruction 7, refer to the corresponding instructions in Table 2 above.

[0253] In one implementation, when the communication chip whose working mode needs to be adjusted includes a Wi-Fi chip, the method may further include:

[0254] S407 : The main chip of the electronic device 100 sends the instruction 8 for the Wi-Fi chip to the Wi-Fi chip according to the communication scheme 6 .

[0255] S408: The Wi-Fi chip of the electronic device 100 adjusts the working mode according to instruction 8.

[0256] In some examples, in a scenario where UWB services and Wi-Fi services coexist, when communication scheme 6 is exclusive to UWB services, the transmit power of the Wi-Fi chip is reduced, the UWB services and the Wi-Fi services communicate according to a time division strategy, or the Wi-Fi services switch working channels, the main chip as an arbitration module can send instruction 8 to the Wi-Fi chip so that the Wi-Fi chip adjusts the working mode according to instruction 8. For instructions 8 and the Wi-Fi chip adjusting the working mode according to instruction 8, refer to the corresponding instructions in Table 2 above.

[0257] In one implementation, when the communication chip whose working mode needs to be adjusted includes a cellular communication chip, the method may further include:

[0258] S409: The main chip of the electronic device 100 sends the instruction 9 for the cellular communication chip to the cellular communication chip according to the communication scheme 6.

[0259] S410: The cellular communication chip of the electronic device 100 adjusts the working mode according to instruction 9.

[0260] In some examples, in the scenario where UWB services and cellular services coexist, when communication scheme 6 is exclusive to UWB services, the transmit power of the cellular communication chip is reduced, the UWB services and the cellular services communicate according to a time division strategy, or the cellular services switch working channels, the main chip as the arbitration module can send instructions 9 to the cellular communication chip so that the cellular communication chip adjusts the working mode according to the instructions 9. For instructions 9 and the instructions for the cellular communication chip to adjust the working mode according to the instructions 9, please refer to the corresponding instructions in Table 1 above.

[0261] In one embodiment, based on the description of S404 (and Figure 5 (Similar to the description of S105 of ), when the UWB service and the cellular service coexist and there is communication interference, the arbitration module will first instruct the UWB chip to switch the working channel of the UWB service. At this time, S405-S406 can be executed (the instruction 7 at this time is the channel switching instruction). Then, the UWB chip can send the result of switching the working channel (i.e., success or failure) to the main chip serving as the arbitration module. If the result of the above-mentioned switching channel is successful, the arbitration module can determine whether there is still communication interference between the UWB service and the cellular service after switching the working channel. In one case, if there is no communication interference, the communication scheme 6 is to switch the working channel for the UWB service. In another case, if there is still communication interference, or the result of the above-mentioned switching channel is a failure, the arbitration module can redetermine the communication scheme 6 according to the preset service priority, the status information 10, and the type of the bearer service in the status information 12. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 6. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 6 still includes the UWB chip, the arbitration module can execute a process similar to S405-S406 (instruction 7 at this time is no longer a channel switching instruction); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 6 includes a cellular communication chip, the arbitration module can execute S409-S410.

[0262] In one embodiment, based on the description of S404 (and Figure 5(Similar to the description of S105 of ), when the UWB service and the Wi-Fi service coexist and there is communication interference, the main chip arbitration module as the arbitration module will first instruct the Wi-Fi chip to switch the working channel of the Wi-Fi service. At this time, S407-S408 can be executed (the instruction 8 at this time is the channel switching instruction). Then, the Wi-Fi chip can send the result of switching the working channel (i.e., success or failure) to the main chip as the arbitration module. In one case, if the result of the above-mentioned switching channel is successful, the communication scheme 6 is the switching of the working channel for the Wi-Fi service. In another case, if the result of the above-mentioned switching channel is a failure, the arbitration module can redetermine the communication scheme 6 according to the preset service priority, the status information 10, and the type of the bearer service in the status information 11. The arbitration module can execute corresponding signaling transmission and / or adjust the working mode according to the re-determined communication scheme 6. Specifically, if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 6 still includes a Wi-Fi chip, the arbitration module can execute a process similar to S407-S408 (instruction 6 at this time is no longer an instruction to switch channels); if the communication chip whose working mode needs to be adjusted in the re-determined communication scheme 6 includes a UWB chip, the arbitration module can execute S405-S406.

[0263] exist Figure 5-Figure 8 In the method shown, the arbitration module can receive / obtain status information of the UWB chip, cellular communication chip, and Wi-Fi chip of the electronic device 100, determine the currently coexisting network and the priority of the service carried by the communication chip based on the status information, and dynamically adjust the working mode of the corresponding communication chip based on the judgment result, so as to ensure the performance of the highest priority service, and solve the problem of mutual interference in the scenario where the UWB network and the Wi-Fi network / cellular network coexist.

[0264] And, in Figure 5 and Figure 6 In the method shown, the UWB chip and the cellular communication chip can be bridged by a Wi-Fi chip and communicate with each other, so that signaling communication between the UWB chip and the cellular communication chip can be achieved without increasing the hardware pins between the UWB chip and the cellular communication chip, for example, the status information of the UWB chip, the status information of the cellular communication chip, and the instructions for adjusting the working mode provided by the intercommunication arbitration module (UWB chip or cellular communication chip), thereby reducing the complexity of chip design and implementation, and the cost, area and power consumption of the chip.

[0265] Next, an exemplary description is given of how the arbitration module of the electronic device 100 determines a communication scheme according to the status information of multiple communication chips, that is, Figure 5 S105, Figure 6 S205, Figure 7 S304, Figure 8 The specific implementation process of S404.

[0266] See also Fig. 9 , Fig. 9 It is a flowchart of another network coexistence method provided in an embodiment of the present application. Fig. 9 The scenario where UWB services and cellular services coexist is used as an example for description. The method may include but is not limited to the following steps:

[0267] S501: The arbitration module determines whether there is communication interference between the UWB service and the cellular service.

[0268] In one embodiment, the commonly used channels of the UWB chip are CH5 and CH9, and the electronic device 100 can preset the UWB chip to use CH9 by default / prioritize. Figure 1 From the communication frequency bands shown, we can get: when UWB uses CH9 and cellular communication uses frequency bands below N79 (such as N77, N78, etc.) (cellular communication will not use the reserved frequency band of 6.425GHz to 7.125GHz at this time), there will be no communication interference between UWB and cellular communication. Therefore, the UWB chip defaults / presets to use CH9 first, which can avoid: when cellular communication uses frequency bands other than 6.425GHz to 7.125GHz, there will be communication interference between UWB and cellular communication. However, due to other factors (such as regulatory restrictions), the UWB chip cannot use CH9 and can only use CH5.

[0269] In one implementation, after the arbitration module determines that the current UWB service and the cellular service coexist, it can determine whether there is communication interference (such as co-channel interference, adjacent channel interference and harmonic interference) between the RF working frequency bands in the status information of the UWB chip and the cellular communication chip, that is, determine whether there is communication interference between the UWB service and the cellular service. In one case, if the judgment result is no, that is, there is no communication interference between the UWB service and the cellular service, the arbitration module can determine to keep the current working mode unchanged. In another case, if the judgment result is yes, that is, there is communication interference between the UWB service and the cellular service, the arbitration module can switch the UWB service to other channels, that is, execute S502.

[0270] Exemplarily, the arbitration module can calculate the difference in RF operating frequency bands in the status information of the UWB chip and the cellular communication chip (for example, calculate the difference in center frequency bands), and determine whether the difference is less than or equal to a preset threshold. If the difference is less than or equal to the preset threshold, it is considered that there is communication interference between the UWB service and the cellular service. If the difference is greater than the preset threshold, it is considered that there is no communication interference between the UWB service and the cellular service.

[0271] S502: The arbitration module negotiates the UWB service to other channels.

[0272] In one implementation, when the working channel of the UWB service is CH5, the arbitration module may negotiate the UWB service to CH9. When the working channel of the UWB service is CH9, the arbitration module may negotiate the UWB service to CH5.

[0273] In one embodiment, the arbitration module is a UWB chip, which can automatically switch the working channel to other channels. For specific examples, see Figure 6 In another implementation, the arbitration module is another chip, which can directly or indirectly send a channel switching instruction to the UWB chip. For the specific implementation process, see Figure 5 S106-S108, Figure 7 S305-S306, Figure 8 S405-S406.

[0274] S503: The arbitration module determines whether there is communication interference between the UWB service and the cellular service.

[0275] In one implementation, after the arbitration module successfully negotiates the UWB service to other channels (also referred to as successfully switching the working channel of the UWB service) in S502, the arbitration module can determine whether there is communication interference between the working channel after the UWB service is switched and the RF working frequency band in the status information of the cellular communication chip. In one case, if the judgment result is no, that is, there is no communication interference between the UWB service and the cellular service after the UWB service switches the working channel, the arbitration module can determine to keep the current working mode unchanged. In this case, the communication scheme determined by the arbitration module is the UWB service switching the working channel, and the process of executing the communication scheme is S502. In another case, if the judgment result is yes, that is, there is still communication interference between the UWB service and the cellular service after the UWB service switches the working channel, the arbitration module can obtain other communication schemes according to the preset service priority, the type of UWB service and the type of cellular service, that is, execute S504.

[0276] The above implementation manner is described by taking the arbitration module in S502 successfully negotiating the UWB service to other channels as an example. In another implementation manner, the UWB service cannot successfully switch the working channel, for example, due to factors such as regulatory restrictions. At this time, the arbitration module can execute S504.

[0277] S504: The arbitration module determines the current communication scheme according to the preset service priority, the type of UWB service and the type of cellular service.

[0278] In one embodiment, the arbitration module can judge the priority of UWB service and cellular service based on the preset service priority, the type of service carried in the status information of the UWB chip (i.e., the type of UWB service), and the type of service carried in the status information of the cellular communication chip (i.e., the type of cellular service), and determine the current communication plan based on the judgment result.

[0279] In one implementation, the specific implementation process of S504 may include but is not limited to the following steps:

[0280] S5041: The arbitration module determines whether the cellular service is a cellular negotiation service or a call service.

[0281] In some examples, the arbitration module may determine whether the cellular service is: cellular authentication, roaming, DHCP and other cellular negotiation services, or call services. If the judgment result is yes, the arbitration module may consider that the cellular service has the highest priority, and therefore, the arbitration module may determine that the current communication scheme is exclusive to the cellular service. If the judgment result is no, the arbitration module may continue to perform subsequent judgments, that is, execute S5042.

[0282] S5042: The arbitration module determines whether the UWB service is in the UWB negotiation stage.

[0283] In some examples, the arbitration module can determine whether the UWB service is in the UWB negotiation stage (the UWB chip and the UWB product negotiate relevant parameters for the subsequent UWB communication process). If the judgment result is yes, the arbitration module can consider that the UWB service has the highest priority, so the arbitration module can determine the current communication scheme as: UWB service exclusive, or reducing the transmission power of the cellular service (i.e., reducing the transmission power of the cellular communication chip). If the judgment result is no, the arbitration module can continue to perform subsequent judgments, i.e., execute S5043.

[0284] S5043: The arbitration module determines whether the cellular service is a sensitive service.

[0285] In some examples, the arbitration module may determine whether the cellular service is a sensitive service such as a game service, a red envelope service, a live broadcast service, or a payment service. If the judgment result is yes, the arbitration module may consider that the cellular service has the highest priority, and therefore, the arbitration module may determine that the current communication scheme is: cellular service exclusive. If the judgment result is no, the arbitration module may continue to perform subsequent judgments, i.e., execute S5044.

[0286] S5044: The arbitration module determines whether the UWB service is a ranging / angle measurement service.

[0287] In some examples, the arbitration module can determine whether the UWB service is a distance measurement / angle measurement service. If the judgment result is yes, the arbitration module can consider that the UWB service and the cellular service have the same priority. Therefore, the arbitration module can determine the current communication scheme as follows: the cellular service and the UWB service communicate according to the time division strategy, that is, the cellular service and the UWB service communicate in non-overlapping time slices. If the judgment result is no, the arbitration module can use a guaranteed communication scheme, that is, the cellular service switches the working channel.

[0288] The above implementation manner is described by taking the guaranteed communication scheme of switching the working channel for cellular service as an example. In another implementation manner, the guaranteed communication scheme may also be that the cellular service and the UWB service communicate according to the time division strategy, which is not limited in the embodiments of the present application.

[0289] In the above S5041-S5044, the preset service priorities are as follows from high to low priority: cellular negotiation service or call service in cellular service (referred to as cellular call service), UWB negotiation phase, sensitive service in cellular service (referred to as cellular sensitive service), ranging / angle measurement service of UWB service (referred to as UWB ranging and angle measurement service), and other cellular services. The above S5041-S5044 are only exemplary implementation processes of S504. In specific implementations, there may be other service priorities and corresponding implementation processes of S504, which are not limited in the present application embodiment.

[0290] In the above method, when UWB services and cellular services coexist, the channel avoidance of the UWB service will be tried first (i.e., switching the working channel of the UWB service). If the switching fails or there is still communication interference, other communication schemes will be determined according to the service priority, that is, the scenario where the UWB service and the cellular service coexist and do not affect each other will be given priority, and the communication service of the electronic device will be guaranteed to be normal. In addition, when the arbitration module determines the communication scheme according to the preset service priority, it will consider the importance of the service as close to the actual situation as possible, to ensure that important services are not affected, the availability is higher, and the user experience is effectively improved.

[0291] It can be understood that the above method does not prioritize switching the working channel of the cellular service, but sets the backup communication scheme to the cellular service switching working channel, or does not use the communication scheme of the cellular service switching working channel. This can avoid the following problems as much as possible: the complexity and difficulty of switching the working channel of the cellular service are high, and even if the switching is successful, it is likely to cause cellular service abnormalities (for example, switching from a 5G working channel to a 2G working channel), thereby further ensuring the normal operation of the communication service of the electronic device and reducing the processing pressure of the electronic device.

[0292] See also Fig.10 , Fig.10 It is a flowchart of another network coexistence method provided in an embodiment of the present application. Fig. 9 The scenario where UWB services and Wi-Fi services coexist is used as an example for description. The method may include but is not limited to the following steps:

[0293] S601: The arbitration module determines whether the UWB service uses channel 5 (CH5).

[0294] In one embodiment, the commonly used channels of the UWB chip are CH5 and CH9, and the electronic device 100 can preset the UWB chip to use CH9 by default / prioritize. Figure 1 From the communication frequency bands shown, we can see that when UWB uses CH9 and Wi-Fi uses the 5GHz band, there will be no communication interference between UWB and Wi-Fi. Therefore, the UWB chip defaults to using CH9 first, which can avoid communication interference between UWB and Wi-Fi as much as possible. However, due to other factors (such as regulatory restrictions), the UWB chip cannot use CH9 and can only use CH5.

[0295] In one implementation, after the arbitration module determines that the current UWB service and the cellular service coexist, it can determine whether the UWB service uses CH5. In one case, if the judgment result is no, that is, the UWB service uses CH9, the arbitration module can determine that there is no communication interference between the UWB service and the Wi-Fi service, and the arbitration module can keep the current working mode unchanged. In another case, if the judgment result is yes, that is, the UWB service uses CH5, the arbitration module can make the next judgment, that is, execute S602.

[0296] S602: The arbitration module determines whether there is communication interference between the UWB service and the Wi-Fi service.

[0297] In one implementation, the arbitration module can determine whether there is communication interference (such as co-channel interference, adjacent-channel interference, and harmonic interference) between the RF operating frequency bands in the status information of the UWB chip and the Wi-Fi chip, that is, determine whether there is communication interference between the UWB service and the Wi-Fi service. In one case, if the judgment result is no, that is, there is no communication interference between the UWB service and the Wi-Fi service, the arbitration module can determine to keep the current working mode unchanged. In another case, if the judgment result is yes, that is, there is communication interference between the UWB service and the Wi-Fi service, the arbitration module can switch the Wi-Fi service to other channels, that is, execute S603.

[0298] Exemplarily, the arbitration module can calculate the difference in RF operating frequency bands in the status information of the UWB chip and the Wi-Fi chip (for example, calculate the difference in center frequency bands), and determine whether the difference is less than or equal to a preset threshold. If the difference is less than or equal to the preset threshold, it is considered that there is communication interference between the UWB service and the Wi-Fi service. If the difference is greater than the preset threshold, it is considered that there is no communication interference between the UWB service and the Wi-Fi service.

[0299] S603: The arbitration module roams / switches the Wi-Fi service to other channels.

[0300] In one implementation, the arbitration module may screen out a target channel from the working frequency band of the Wi-Fi chip that has no communication interference with CH5, and roam / switch the Wi-Fi service to the target channel.

[0301] In one embodiment, the arbitration module is a Wi-Fi chip, which can automatically switch the working channel to other channels. For specific examples, see Figure 7 In another implementation, the arbitration module is another chip, which can send a channel switching instruction to the Wi-Fi chip. For the specific implementation process, see Figure 5 S109-S110, Figure 7 S209-S210, Figure 8 S407-S408.

[0302] S604: The arbitration module determines whether the Wi-Fi service successfully switches channels.

[0303] In one implementation, the arbitration module may determine whether the Wi-Fi service in S603 has successfully roamed / switched to other channels. In one case, if the judgment result is yes, that is, the Wi-Fi service has switched the working channel to: a channel with no communication interference with the working channel of the UWB service (i.e., CH5), the arbitration module may determine to keep the current working mode unchanged. In another case, if the judgment result is no, that is, the working channel of the Wi-Fi service is still: a channel with communication interference with the working channel of the UWB service (i.e., CH5), the arbitration module may determine the current communication scheme based on the preset service priority, the type of UWB service, and the type of Wi-Fi service, that is, execute S605.

[0304] S605: The arbitration module determines the current communication scheme according to the preset service priority, the type of the UWB service and the type of the Wi-Fi service.

[0305] In one implementation, the arbitration module may determine the priority of the UWB service and the Wi-Fi service based on a preset service priority, the type of service carried in the status information of the UWB chip (i.e., the type of UWB service), and the type of service carried in the status information of the Wi-Fi chip (i.e., the type of Wi-Fi service), and determine the current communication scheme based on the determination result.

[0306] In one implementation, the specific implementation process of S605 may include but is not limited to the following steps:

[0307] S6051: The arbitration module determines whether the Wi-Fi service is a Wi-Fi negotiation service.

[0308] In some examples, the arbitration module may determine whether the cellular service is a Wi-Fi negotiation service such as Wi-Fi authentication, roaming, or DHCP. If the judgment result is yes, the arbitration module may consider that the Wi-Fi service has the highest priority, and therefore, the arbitration module may determine that the current communication scheme is exclusive to the Wi-Fi service. If the judgment result is no, the arbitration module may continue to perform subsequent judgments, i.e., execute S6052.

[0309] S6052: The arbitration module determines whether the UWB service is in the UWB negotiation stage.

[0310] In some examples, the arbitration module can determine whether the UWB service is in the UWB negotiation stage (the UWB chip and the UWB product negotiate relevant parameters for the subsequent UWB communication process). If the judgment result is yes, the arbitration module can consider that the UWB service has the highest priority, so the arbitration module can determine the current communication scheme as: UWB service exclusive, or reduce the transmission power of the Wi-Fi service (i.e., reduce the transmission power of the Wi-Fi chip). If the judgment result is no, the arbitration module can continue to perform subsequent judgments, that is, execute S6053.

[0311] S6053: The arbitration module determines whether the Wi-Fi service is a sensitive service.

[0312] In some examples, the arbitration module can determine whether the Wi-Fi service is a sensitive service such as a game service, a red envelope service, a live broadcast service, or a payment service. If the judgment result is yes, the arbitration module can consider that the Wi-Fi service has the highest priority, so the arbitration module can determine that the current communication scheme is: Wi-Fi service exclusive. If the judgment result is no, the arbitration module can use a guaranteed communication scheme, that is, the Wi-Fi service and the UWB service communicate according to the time-division strategy.

[0313] In the above S6051-S6053, the preset service priorities are as follows from high to low priority: Wi-Fi negotiation service, UWB negotiation phase, and sensitive services in Wi-Fi services (referred to as Wi-Fi sensitive services). The above S6051-S6053 are only exemplary implementations of S605. In specific implementations, there may be other service priorities and corresponding implementations of S605, which are not limited in the present application embodiment.

[0314] In the above method, when the UWB service and the Wi-Fi service coexist, and the working channel of the UWB service is CH5, the channel avoidance of the Wi-Fi service will be tried first (i.e., switching the working channel of the Wi-Fi service). If the switching fails, other communication schemes will be determined according to the service priority, that is, the scenario where the UWB service and the Wi-Fi service coexist and do not affect each other will be given priority, and the communication service of the electronic device will be guaranteed to be normal. In addition, when the arbitration module determines the communication scheme according to the preset service priority, it will consider the importance of the service as close to the actual situation as possible, to ensure that important services are not affected, the availability is higher, and the user experience is effectively improved.

[0315] In one embodiment, when UWB services and Bluetooth / IR / NFC / GNSS / FM services coexist, the arbitration module determines the process and Fig.10 In another embodiment, the process and Fig.10 The difference is that S601 may not be executed. Instead, when the judgment result of S602 is yes, the UWB service is negotiated to other channels, and it is judged again whether there is communication interference between the two. The specific process is the same as Fig. 9 Similar to S502-S503, if communication interference still exists, S604 is executed. The present application does not limit the specific method of determining the communication solution.

[0316] Not limited to Fig. 9 and Fig.10In the embodiment shown, in another embodiment, the arbitration module can judge the priority of the UWB service and the priority of the Wi-Fi service / cellular service according to the preset service priority, and determine the current communication scheme according to the judgment result. In some examples, when the priority of the UWB service is higher, the communication scheme is determined to be: UWB service exclusive, reducing the transmission power of the Wi-Fi chip / cellular communication chip, or switching the working channel of the Wi-Fi chip / cellular communication chip. When the priority of the Wi-Fi service / cellular service is higher, the communication scheme is determined to be: Wi-Fi service / cellular service exclusive, or switching the working channel of the UWB chip. When the priorities of the two are the same, the communication scheme is determined to be: the UWB chip and the Wi-Fi chip / cellular communication chip perform the communication process according to the time division strategy. This application does not limit the specific method for determining the communication scheme.

[0317] The methods provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiments of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)). As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application is described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An electronic device, characterized in that: It includes an ultra-wideband UWB chip, a wireless fidelity Wi-Fi chip and a cellular communication chip, wherein the UWB chip is connected to the Wi-Fi chip, the cellular communication chip is connected to the Wi-Fi chip, and the UWB chip and the cellular communication chip are bridged through the Wi-Fi chip, wherein: The UWB chip is used to send first status information of the UWB chip to the Wi-Fi chip; The Wi-Fi chip is configured to send the first status information to the cellular communication chip after receiving the first status information sent by the UWB chip; The Wi-Fi chip is further configured to send second state information of the Wi-Fi chip to the cellular communication chip; The cellular communication chip is used to obtain third state information of the cellular communication chip, wherein the first state information, the second state information and the third state information include: working state, working frequency band, and type of bearer service; The cellular communication chip is further configured to determine a first communication scheme according to the first state information and the third state information when both the working states of the UWB chip and the cellular communication chip are in a communication state, and instruct the UWB chip and / or the cellular communication chip to operate according to the first communication scheme; or The cellular communication chip is further used to determine a second communication scheme according to the first state information and the second state information when the working states of the UWB chip and the Wi-Fi chip are both in the communication state, and to instruct the UWB chip and / or the Wi-Fi chip to operate according to the second communication scheme.

2. The electronic device according to claim 1, wherein: The first communication scheme is any one of the following: the working state of the UWB chip is adjusted to a non-communication state, the working state of the cellular communication chip is adjusted to a non-communication state, the transmission power of the cellular communication chip is reduced, the UWB chip and the cellular communication chip communicate according to a time division strategy, the working frequency band of the UWB chip is switched, and the working frequency band of the cellular communication chip is switched; The second communication scheme is any one of the following: the working state of the UWB chip is adjusted to a non-communication state, the working state of the Wi-Fi chip is adjusted to a non-communication state, the transmission power of the Wi-Fi chip is reduced, the UWB chip and the Wi-Fi chip communicate according to a time division strategy, the working frequency band of the UWB chip is switched, and the working frequency band of the Wi-Fi chip is switched.

3. The electronic device according to claim 2, characterized in that: The working state includes a sending state, a receiving state, a sleep state and a power-off state. The sending state, the receiving state and the sleep state are converted to each other, and the sleep state and the power-off state are converted to each other. The communication state includes the sending state and the receiving state, and the non-communication state is the sleep state.

4. The electronic device according to any one of claims 1 to 3, characterized in that: The determining a first communication scheme according to the first state information and the third state information, and instructing the UWB chip and / or the cellular communication chip to operate according to the first communication scheme, includes: According to the first working frequency band in the first state information and the second working frequency band in the third state information, determining whether there is communication interference between the UWB chip in the first working frequency band and the cellular communication chip in the second working frequency band; When there is communication interference between the UWB chip of the first working frequency band and the cellular communication chip of the second working frequency band, sending a first instruction to the Wi-Fi chip so that the Wi-Fi chip sends the first instruction to the UWB chip, wherein the first instruction is used to instruct the UWB chip to switch the working frequency band; After the UWB chip successfully switches to the third working frequency band, determining whether there is communication interference between the UWB chip in the third working frequency band and the cellular communication chip in the second working frequency band; When there is communication interference between the UWB chip of the third working frequency band and the cellular communication chip of the second working frequency band, or when the UWB chip fails to switch the working frequency band, determining the first communication scheme according to a preset first service priority, a type of the first service in the first state information, and a type of the second service in the third state information; When there is no communication interference between the UWB chip in the third working frequency band and the cellular communication chip in the second working frequency band, the first communication scheme is to switch the working frequency band of the UWB chip.

5. The electronic device according to claim 4, characterized in that: The determining the first communication scheme according to the preset first service priority, the type of the first service in the first state information, and the type of the second service in the third state information includes: Determining priorities of the first service and the second service according to the first service priority; When the priority of the first service is higher than the priority of the second service, determining the first communication scheme is: adjusting the working state of the cellular communication chip to a non-communication state, reducing the transmission power of the cellular communication chip, or switching the working frequency band of the cellular communication chip; When the priority of the first service is lower than the priority of the second service, determining the first communication scheme is: adjusting the working state of the UWB chip to a non-communication state; When the priority of the first service is the same as the priority of the second service, the first communication scheme is determined as follows: the UWB chip and the cellular communication chip perform a communication process according to a time division strategy.

6. The electronic device according to claim 4 or 5, characterized in that: According to the priority from high to low, the first service priority includes: cellular negotiation service and cellular call service, UWB negotiation stage, cellular sensitive service, UWB ranging and angle measurement service, wherein the cellular negotiation service includes cellular authentication, roaming and dynamic host configuration protocol DHCP, and the cellular sensitive service includes game service, live broadcast service, payment service and red envelope service; The determining the first communication scheme according to the preset first service priority, the type of the first service in the first state information, and the type of the second service in the third state information includes: determining whether the second service is the cellular negotiation service or the cellular call service; When the second service is the cellular negotiation service or the cellular call service, determining the first communication scheme is: adjusting the working state of the UWB chip to a non-communication state; When the second service is not the cellular negotiation service or the cellular call service, determining whether the first service is in the UWB negotiation phase; When the first service is the UWB negotiation stage, determining the first communication scheme is: adjusting the working state of the cellular communication chip to a non-communication state, or reducing the transmission power of the cellular communication chip; When the first service is not in the UWB negotiation phase, determining whether the second service is the cellular sensitive service; When the second service is the cellular sensitive service, determining the first communication scheme is: adjusting the working state of the UWB chip to a non-communication state; When the second service is not the cellular sensitive service, determining whether the first service is the UWB ranging and angle measurement service; When the first service is the UWB ranging and angle measurement service, determining the first communication scheme is: the UWB chip and the cellular communication chip perform a communication process according to a time division strategy; When the first service is not the UWB ranging and angle measurement service, determining the first communication scheme is: switching the working frequency band of the cellular communication chip.

7. The electronic device according to any one of claims 1 to 6, characterized in that: The determining a second communication scheme according to the first state information and the second state information, and instructing the UWB chip and / or the Wi-Fi chip to operate according to the second communication scheme, includes: Determine whether the first operating frequency band in the first state information is channel 5; When the first working frequency band is channel 5, judging whether there is communication interference between the UWB chip in the first working frequency band and the Wi-Fi chip in the fourth working frequency band according to the first working frequency band and the fourth working frequency band in the second state information; When there is communication interference between the UWB chip in the first working frequency band and the Wi-Fi chip in the fourth working frequency band, sending a second instruction to the Wi-Fi chip, wherein the second instruction is used to instruct the Wi-Fi chip to switch to the fifth working frequency band, and there is no communication interference between the UWB chip in the first working frequency band and the Wi-Fi chip in the fifth working frequency band; When the Wi-Fi chip fails to switch to the fifth working frequency band, determining the second communication scheme according to a preset second service priority, a type of the first service in the first state information, and a type of the third service in the second state information; When the Wi-Fi chip successfully switches to the fifth working frequency band, the second communication scheme is to switch the working frequency band of the Wi-Fi chip.

8. The electronic device according to claim 7, characterized in that: The determining the second communication scheme according to the preset second service priority, the type of the first service in the first state information, and the type of the third service in the second state information includes: Determining the priorities of the first service and the third service according to the priority of the second service; When the priority of the first service is higher than the priority of the third service, determining the second communication scheme is: adjusting the working state of the Wi-Fi chip to a non-communication state, or reducing the transmission power of the Wi-Fi chip; When the priority of the first service is lower than the priority of the third service, determining the second communication scheme is: adjusting the working state of the UWB chip to a non-communication state; When the priority of the first service is the same as the priority of the third service, the second communication scheme is determined as follows: the UWB chip and the Wi-Fi chip perform a communication process according to a time division strategy.

9. The electronic device according to claim 8, characterized in that: According to the priority from high to low, the second service priority includes: Wi-Fi negotiation service, UWB negotiation phase, Wi-Fi sensitive service, wherein the Wi-Fi negotiation service includes Wi-Fi authentication, roaming and dynamic host configuration protocol DHCP, and the Wi-Fi sensitive service includes game service, live broadcast service, payment service and red envelope service; The determining the second communication scheme according to the preset second service priority, the type of the first service in the first state information, and the type of the third service in the second state information includes: Determining whether the third service is the Wi-Fi negotiation service; When the third service is the Wi-Fi negotiation service, determining the second communication scheme is: adjusting the working state of the UWB chip to a non-communication state; When the third service is not the Wi-Fi negotiation service, determining whether the first service is in the UWB negotiation stage; When the first service is the UWB negotiation phase, determining the second communication scheme is: adjusting the working state of the Wi-Fi chip to a non-communication state, or reducing the transmission power of the Wi-Fi chip; When the first service is not in the UWB negotiation phase, determining whether the third service is the Wi-Fi sensitive service; When the third service is the Wi-Fi sensitive service, determining the second communication scheme is: adjusting the working state of the UWB chip to a non-communication state; When the third service is not the Wi-Fi sensitive service, the second communication scheme is determined as: the UWB chip and the cellular communication chip perform a communication process according to a time division strategy.

10. The electronic device according to any one of claims 3 to 9, characterized in that: The instructing the UWB chip and / or the cellular communication chip to operate according to the first communication scheme includes: When the first communication scheme is to adjust the working state of the UWB chip to a non-communication state, sending a third instruction to the Wi-Fi chip so that the Wi-Fi chip sends the third instruction to the UWB chip, wherein the third instruction is used to instruct the UWB chip to switch the working state to the sleep state; When the first communication scheme is to adjust the working state of the cellular communication chip to the non-communication state, switching the working state of the cellular communication chip to the sleep state; When the first communication scheme is to reduce the transmission power of the cellular communication chip, reducing the transmission power of the cellular communication chip; When the first communication scheme is that the UWB chip and the cellular communication chip perform a communication process according to a time division strategy, sending a fourth instruction to the Wi-Fi chip so that the Wi-Fi chip sends the fourth instruction to the UWB chip, the fourth instruction is used to indicate that the working period of the UWB chip is a first time slice, the first time slice and the second time slice do not overlap with each other, and the second time slice is the working period of the cellular communication chip; When the first communication scheme is to switch the working frequency band of the UWB chip, sending a fifth instruction to the Wi-Fi chip so that the Wi-Fi chip sends the fifth instruction to the UWB chip, wherein the fifth instruction is used to instruct the UWB chip to switch the working frequency band; When the first communication scheme is to switch the working frequency band of the cellular communication chip, the working frequency band of the cellular communication chip is switched.

11. The electronic device according to any one of claims 3 to 10, characterized in that: The instructing the UWB chip and / or the Wi-Fi chip to operate according to the second communication scheme includes: When the second communication scheme is to adjust the working state of the UWB chip to a non-communication state, sending a sixth instruction to the Wi-Fi chip so that the Wi-Fi chip sends the sixth instruction to the UWB chip, wherein the sixth instruction is used to instruct the UWB chip to switch the working state to the sleep state; When the second communication scheme is for adjusting the working state of the Wi-Fi chip to a non-communication state, sending a seventh instruction to the Wi-Fi chip, wherein the seventh instruction is used to instruct the Wi-Fi chip to switch the working state to the sleep state; When the second communication scheme is to reduce the transmission power of the Wi-Fi chip, sending an eighth instruction to the Wi-Fi chip, where the eighth instruction is used to instruct the Wi-Fi chip to reduce the transmission power; When the second communication scheme is that the UWB chip and the Wi-Fi chip perform a communication process according to a time division strategy, sending a ninth instruction and a tenth instruction to the Wi-Fi chip, so that the Wi-Fi chip sends the ninth instruction to the UWB chip, the ninth instruction is used to indicate that the working period of the UWB chip is a third time slice, and the tenth instruction is used to indicate that the working period of the Wi-Fi chip is a fourth time slice, and the third time slice and the fourth time slice do not overlap each other; When the second communication scheme is to switch the working frequency band of the UWB chip, an eleventh instruction is sent to the Wi-Fi chip, so that the Wi-Fi chip sends the eleventh instruction to the UWB chip, and the eleventh instruction is used to instruct the UWB chip to switch the working frequency band; When the second communication scheme is to switch the working frequency band of the Wi-Fi chip, a twelfth instruction is sent to the Wi-Fi chip, where the twelfth instruction is used to instruct the Wi-Fi chip to switch the working frequency band.

12. A network coexistence method, characterized in that: Applied to an electronic device, the electronic device comprises a first communication chip and a second communication chip, the first communication chip is an ultra-wideband UWB chip, and the method comprises: Acquire first state information of the first communication chip, and acquire second state information of the second communication chip, wherein the first state information and the second state information include: working state, working frequency band, and type of bearer service; When the working states of the first communication chip and the second communication chip are both in the communication state, determining a first communication scheme according to the first state information and the second state information; Instruct the first communication chip and / or the second communication chip to operate according to the first communication scheme.

13. The method according to claim 12, characterized in that The first communication scheme is any one of the following: the working state of the first communication chip is adjusted to a non-communication state, the working state of the second communication chip is adjusted to a non-communication state, the transmission power of the second communication chip is reduced, the first communication chip and the second communication chip communicate according to a time division strategy, the working frequency band of the first communication chip is switched, and the working frequency band of the second communication chip is switched.

14. The method according to claim 13, characterized in that The working state includes a sending state, a receiving state, a sleep state and a power-off state. The sending state, the receiving state and the sleep state are converted to each other, and the sleep state and the power-off state are converted to each other. The communication state includes the sending state and the receiving state, and the non-communication state is the sleep state.

15. The method according to any one of claims 12 to 14, characterized in that: The second communication chip is a cellular communication chip, a wireless fidelity Wi-Fi chip, a Bluetooth BT chip, an infrared IR chip, a near-field wireless communication NFC chip, a global navigation satellite system GNSS chip, or a frequency modulation FM chip.

16. The method according to any one of claims 12 to 15, characterized in that: The determining a first communication scheme according to the first state information and the second state information includes: According to the first working frequency band in the first state information and the second working frequency band in the second state information, determining whether there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the second working frequency band; When there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the second working frequency band, the first communication scheme is determined according to the first state information and the second state information.

17. The method according to any one of claims 12 to 16, characterized in that: The determining a first communication scheme according to the first state information and the second state information includes: Determine the priority of the first service and the second service according to the preset first service priority, the type of the first service in the first status information, and the type of the second service in the second status information; When the priority of the first service is higher than the priority of the second service, determining the first communication scheme is: adjusting the working state of the second communication chip to a non-communication state, reducing the transmission power of the second communication chip, or switching the working frequency band of the second communication chip; When the priority of the first service is lower than the priority of the second service, determining the first communication scheme is: adjusting the working state of the first communication chip to a non-communication state, or switching the working frequency band of the first communication chip; When the priority of the first service is the same as the priority of the second service, the first communication scheme is determined as follows: the first communication chip and the second communication chip perform a communication process according to a time division strategy.

18. The method according to any one of claims 12 to 17, characterized in that: The second communication chip is a cellular communication chip, and determining the first communication scheme according to the first state information and the second state information includes: According to the first working frequency band in the first state information and the third working frequency band in the second state information, determining whether there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the third working frequency band; When there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the third working frequency band, switching the working frequency band of the first communication chip; After the working frequency band of the first communication chip is successfully switched to the fourth working frequency band, determining whether there is communication interference between the first communication chip in the fourth working frequency band and the second communication chip in the third working frequency band; When there is communication interference between the first communication chip of the fourth working frequency band and the second communication chip of the third working frequency band, or when switching the working frequency band of the first communication chip fails, determining the first communication scheme according to a preset second service priority, a type of the first service in the first state information, and a type of the third service in the second state information; When there is no communication interference between the first communication chip in the fourth working frequency band and the second communication chip in the third working frequency band, the first communication scheme is to switch the working frequency band of the first communication chip.

19. The method according to any one of claims 12 to 17, characterized in that: The second communication chip is a wireless fidelity Wi-Fi chip, a Bluetooth BT chip, an infrared IR chip, a near-field wireless communication NFC chip, a global navigation satellite system GNSS chip, or a frequency modulation FM chip; and determining the first communication scheme according to the first state information and the second state information includes: Determine whether the first operating frequency band in the first state information is channel 5; When the first working frequency band is channel 5, judging whether there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the fifth working frequency band according to the first working frequency band in the first state information and the fifth working frequency band in the second state information; When there is communication interference between the first communication chip in the first working frequency band and the second communication chip in the fifth working frequency band, switching the working frequency band of the second communication chip; When the working frequency band of the second communication chip fails to switch to the sixth working frequency band, determining the first communication scheme according to the preset third service priority, the type of the first service in the first state information, and the type of the fourth service in the second state information; When the working frequency band of the second communication chip is successfully switched to the sixth working frequency band, the first communication scheme is to switch the working frequency band of the second communication chip, and there is no communication interference between the first communication chip in the first working frequency band and the second communication chip in the sixth working frequency band.

20. The method according to any one of claims 12 to 19, characterized in that: The electronic device includes an arbitration module, the arbitration module is the first communication chip, the second communication chip, the third communication chip, or the main chip of the electronic device, and the third communication chip is different from the first communication chip and the second communication chip; The obtaining of the first state information of the first communication chip comprises: the arbitration module obtaining the first state information; The obtaining of the second state information of the second communication chip comprises: the arbitration module obtaining the second state information; The determining of the first communication scheme according to the first state information and the second state information comprises: the arbitration module determining the first communication scheme according to the first state information and the second state information; The instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: the arbitration module instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme.

21. The method of claim 20, wherein: The arbitration module is a cellular communication chip, the first communication chip is connected to the second communication chip, and the arbitration module is connected to the second communication chip; The arbitration module acquires the first state information, including: the first communication chip sends the first state information to the second communication chip, and the second communication chip sends the first state information to the arbitration module; The arbitration module obtains the second state information, including: When the arbitration module is the second communication chip, the arbitration module monitors the current state and obtains the second state information; When the arbitration module is not the second communication chip, the second communication chip sends the second state information to the arbitration module.

22. The method of claim 20, wherein: The arbitration module is the first communication chip, the second communication chip is a cellular communication chip or a Wi-Fi chip, the first communication chip in the electronic device is connected to the Wi-Fi chip, and the cellular communication chip in the electronic device is connected to the Wi-Fi chip; The arbitration module obtains the first state information, including: the arbitration module monitors the current state and obtains the first state information; The arbitration module obtains the second state information, including: When the second communication chip is a cellular communication chip, the second communication chip sends the second state information to the Wi-Fi chip, and the Wi-Fi chip sends the second state information to the arbitration module; When the second communication chip is a Wi-Fi chip, the second communication chip sends the second status information to the arbitration module.

23. The method of claim 20, wherein: The arbitration module is a Wi-Fi chip, the second communication chip is a cellular communication chip or a Wi-Fi chip, the first communication chip in the electronic device is connected to the Wi-Fi chip, and the cellular communication chip in the electronic device is connected to the Wi-Fi chip; The arbitration module acquires the first state information, including: the first communication chip sends the first state information to the arbitration module; The arbitration module obtains the second state information, including: When the second communication chip is a cellular communication chip, the second communication chip sends the second state information to the arbitration module; When the second communication chip is a Wi-Fi chip, the arbitration module monitors the current state and obtains the second state information.

24. The method of claim 20, wherein: The arbitration module is a main chip; The arbitration module acquires the first state information, including: the first communication chip sends the first state information to the arbitration module; The arbitration module acquires the second state information, including: the second communication chip sends the second state information to the arbitration module.

25. The method of claim 21, wherein: The instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: When the first communication scheme is to adjust the working state of the first communication chip to a non-communication state, the arbitration module sends a first instruction to the second communication chip, and the second communication chip sends the first instruction to the first communication chip, where the first instruction is used to instruct the first communication chip to switch the working state to the sleep state; When the first communication scheme is to adjust the working state of the second communication chip to a non-communication state, and the arbitration module is not the second communication chip, the arbitration module sends a second instruction to the second communication chip, where the second instruction is used to instruct the second communication chip to switch the working state to the sleep state; When the first communication scheme is to reduce the transmission power of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a third instruction to the second communication chip, and the third instruction is used to instruct the second communication chip to reduce the transmission power; When the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, the arbitration module sends a fourth instruction to the second communication chip, and the second communication chip sends the fourth instruction to the first communication chip, and the fourth instruction is used to indicate that the working period of the first communication chip is a first time slice, the first time slice and the second time slice do not overlap with each other, and the second time slice is the working period of the second communication chip; When the first communication scheme is to switch the working frequency band of the first communication chip, the arbitration module sends a fifth instruction to the second communication chip, and the second communication chip sends the fifth instruction to the first communication chip, where the fifth instruction is used to instruct the first communication chip to switch the working frequency band; When the first communication scheme is to switch the working frequency band of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a sixth instruction to the second communication chip, and the sixth instruction is used to instruct the second communication chip to switch the working frequency band.

26. The method of claim 22, wherein: The instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: When the first communication scheme is that the working state of the second communication chip is adjusted to a non-communication state, and the second communication chip is a cellular communication chip, the arbitration module sends a seventh instruction to the Wi-Fi chip, and the Wi-Fi chip sends the seventh instruction to the second communication chip, and the seventh instruction is used to instruct the second communication chip to switch the working state to the sleep state; When the first communication scheme is that the working state of the second communication chip is adjusted to a non-communication state, and the second communication chip is a Wi-Fi chip, the arbitration module sends the seventh instruction to the second communication chip; When the first communication scheme is to reduce the transmission power of the second communication chip, and the second communication chip is a cellular communication chip, the arbitration module sends an eighth instruction to the Wi-Fi chip, and the Wi-Fi chip sends the eighth instruction to the second communication chip, where the eighth instruction is used to instruct the second communication chip to reduce the transmission power; When the first communication scheme is to reduce the transmission power of the second communication chip, and the second communication chip is a Wi-Fi chip, the arbitration module sends the eighth instruction to the second communication chip; When the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, and the second communication chip is a cellular communication chip, the arbitration module sends a ninth instruction to the Wi-Fi chip, and the Wi-Fi chip sends the ninth instruction to the second communication chip, and the ninth instruction is used to indicate that the working period of the second communication chip is a third time slice, the third time slice and the fourth time slice do not overlap with each other, and the fourth time slice is the working period of the first communication chip; When the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, and the second communication chip is a Wi-Fi chip, the arbitration module sends the ninth instruction to the second communication chip; When the first communication scheme is to switch the working frequency band of the second communication chip, and the second communication chip is a cellular communication chip, the arbitration module sends a tenth instruction to the Wi-Fi chip, and the Wi-Fi chip sends the tenth instruction to the second communication chip, where the tenth instruction is used to instruct the second communication chip to switch the working frequency band; When the first communication scheme is to switch the working frequency band of the second communication chip, and the second communication chip is a Wi-Fi chip, the arbitration module sends the tenth instruction to the second communication chip.

27. The method of claim 23, wherein: The instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: When the first communication scheme is to adjust the working state of the first communication chip to the non-communication state, the arbitration module sends an eleventh instruction to the first communication chip, where the eleventh instruction is used to instruct the first communication chip to switch the working state to the sleep state; When the first communication scheme is that the working state of the second communication chip is adjusted to a non-communication state, and the arbitration module is not the second communication chip, the arbitration module sends a twelfth instruction to the second communication chip, and the twelfth instruction is used to instruct the second communication chip to switch the working state to the sleep state; When the first communication scheme is to reduce the transmission power of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a thirteenth instruction to the second communication chip, and the thirteenth instruction is used to instruct the second communication chip to reduce the transmission power; When the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, the arbitration module sends a fourteenth instruction to the first communication chip, and the fourteenth instruction is used to indicate that the working period of the first communication chip is the fifth time slice, the fifth time slice and the sixth time slice do not overlap with each other, and the sixth time slice is the working period of the second communication chip; When the first communication scheme is to switch the working frequency band of the first communication chip, the arbitration module sends a fifteenth instruction to the first communication chip, where the fifteenth instruction is used to instruct the first communication chip to switch the working frequency band; When the first communication scheme is to switch the working frequency band of the second communication chip, and the arbitration module is not the second communication chip, the arbitration module sends a sixteenth instruction to the second communication chip, and the sixteenth instruction is used to instruct the second communication chip to switch the working frequency band.

28. The method of claim 24, wherein: The instructing the first communication chip and / or the second communication chip to operate according to the first communication scheme includes: When the first communication scheme is that the working state of the first communication chip is adjusted to the non-communication state, the arbitration module sends a seventeenth instruction to the first communication chip, and the seventeenth instruction is used to instruct the first communication chip to switch the working state to the sleep state; When the first communication scheme is that the working state of the second communication chip is adjusted to the non-communication state, the arbitration module sends an eighteenth instruction to the second communication chip, where the eighteenth instruction is used to instruct the second communication chip to switch the working state to the sleep state; When the first communication scheme is to reduce the transmission power of the second communication chip, the arbitration module sends a nineteenth instruction to the second communication chip, where the nineteenth instruction is used to instruct the second communication chip to reduce the transmission power; When the first communication scheme is that the first communication chip and the second communication chip perform a communication process according to a time division strategy, the arbitration module sends a twentieth instruction to the first communication chip, and the arbitration module sends a twenty-first instruction to the second communication chip, the twenty-first instruction is used to indicate that the working period of the first communication chip is the seventh time slice, and the twenty-first instruction is used to indicate that the working period of the second communication chip is the eighth time slice, and the seventh time slice and the eighth time slice do not overlap each other; When the first communication scheme is to switch the working frequency band of the first communication chip, the arbitration module sends a twenty-second instruction to the first communication chip, where the twenty-second instruction is used to instruct the first communication chip to switch the working frequency band; When the first communication scheme is to switch the working frequency band of the second communication chip, the arbitration module sends a twenty-third instruction to the second communication chip, where the twenty-third instruction is used to instruct the second communication chip to switch the working frequency band.

29. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 12 to 28.

30. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 12-28 is implemented.

Citation Information

Cited By

  • Method for network coexistence, electronic device, and computer storage medium

    EP4734646A1

  • Method for network coexistence, electronic device, and computer storage medium

    WO2025067109A1