Communication link management method and system, electronic equipment, storage medium and chip

By managing the antenna or communication protocol of the first communication link, the problem that electronic devices cannot take into account the communication quality when using multiple communication links at the same time is solved, and a better user experience is achieved.

CN119545532APending Publication Date: 2025-02-28HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311174456.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-29
Filing Date
2023-09-11
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

When electronic devices use multiple communication links at the same time, they may not be able to take into account the communication quality of each communication link, resulting in poor user experience.

Method used

By managing the first communication link, the antenna or communication protocol of the first communication link is adjusted or switched according to the connection parameters of the second communication link, so that the first communication link and the second communication link no longer time-division multiplex the same antenna.

Benefits of technology

It realizes that when multiple communication links communicate at the same time, avoid mutual influence, take into account the communication quality of each communication link, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545532A_ABST
    Figure CN119545532A_ABST
Patent Text Reader

Abstract

The invention provides a communication link management method and system, electronic equipment, a storage medium and a chip, and relates to the technical field of communication. The method is applied to a first electronic device, the first electronic device is connected with a second electronic device through a first communication link, the first electronic device is connected with a third electronic device through a second communication link, and the method comprises the steps that the first communication link and the second communication link are used for simultaneous communication; wherein the first communication link and the second communication link have time division multiplexing antennas, and used communication protocols are different; and managing the first communication link according to the connection parameter of the second communication link, so that the managed first communication link and second communication link do not have a time division multiplexing antenna. According to the technical scheme provided by the invention, mutual influence between the first communication link and the second communication link can be avoided, and the communication quality of the first communication link and the second communication link is considered.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on August 29, 2023, with application number 202311101903.4 and application name “Communication Management Method, Electronic Device, Readable Storage Medium and Chip”, all contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a communication link management method, system, electronic device, storage medium and chip. Background Art

[0003] With the development of communication technology, electronic devices support the use of multiple wireless communication protocols to establish communication links, such as wireless fidelity, Bluetooth, and Star Flash communication protocols. However, due to the limitations of internal space and production costs, it is usually impossible to set up too many antennas inside electronic devices. Therefore, in electronic devices, multiple communication links established according to different communication protocols may time-division multiplex the same antenna when communicating at the same time, that is, use the same antenna in turn. It can be understood that since different communication links compete with each other when time-division multiplexing the same antenna, the electronic device may not be able to take into account the communication quality of each communication link, resulting in a poor user experience. Summary of the invention

[0004] The present application provides a communication link management method, system, electronic device, storage medium and chip, which are used to solve the problem in the prior art that electronic devices may not be able to take into account the communication quality of each communication link, resulting in a poor user experience.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a communication link management method, which is applied to a first electronic device, wherein the first electronic device is connected to a second electronic device via a first communication link, and is connected to a third electronic device via a second communication link, the method comprising: using the first communication link and the second communication link to communicate simultaneously; wherein the first communication link and the second communication link have time-division multiplexing antennas, and the communication protocols used by the first communication link and the second communication link are different; and managing the first communication link according to the connection parameters of the second communication link so that the first communication link and the second communication link after management do not have time-division multiplexing antennas.

[0007] Through the method provided in this embodiment, when the first communication link and the second communication link reuse the same antenna for communication, the first electronic device can manage the first communication link according to the connection parameters of the second communication link, so that there is no time-division multiplexing antenna between the first communication link and the second communication link, thereby avoiding mutual influence between the two while taking into account the communication quality of the first communication link and the second communication link.

[0008] In some embodiments, managing the first communication link according to the connection parameters of the second communication link includes: adjusting the antenna used by the first communication link according to the connection parameters of the second communication link so that there is no time-division multiplexing antenna between the adjusted first communication link and the second communication link; or; switching the communication protocol used by the first communication link according to the connection parameters of the second communication link so that the switched first communication link and the second communication link use frequency-division multiplexing antennas.

[0009] In some embodiments, the first communication link includes a first sub-link and a second sub-link, the first sub-link communicates through a first antenna, and the second sub-link communicates through a second antenna; the second communication link communicates through the second antenna; accordingly, according to the connection parameters of the second communication link, the antenna used by the first communication link is adjusted, including: when the connection parameters of the second communication link are greater than or equal to a threshold, the second sub-link in the first communication link is disconnected so that the first communication link does not occupy the second antenna.

[0010] Through the method provided in this embodiment, the first communication link uses the first antenna alone for communication, and the second communication link uses the second antenna alone for communication. The first communication link and the second communication link do not affect each other, and the communication quality of the two communication links can be taken into account.

[0011] In some embodiments, the method further includes: when a connection parameter of the second communication link is less than a threshold, restoring the second sub-link in the first communication link; or, after the second communication link is disconnected, restoring the second sub-link in the first communication link to increase the data transmission rate of the first communication link.

[0012] In some embodiments, both the first communication link and the second communication link communicate through the first antenna; accordingly, according to the connection parameters of the second communication link, the antenna used by the first communication link is adjusted, including: when the connection parameters of the second communication link are greater than or equal to a threshold, the first communication link is switched from the first antenna to the second antenna for communication; wherein the first antenna and the second antenna are different.

[0013] Through the method provided in this embodiment, after the first electronic device adjusts the antenna used by the first communication link, the first communication link uses the second antenna alone for communication, and the second communication link uses the first antenna alone for communication. The first communication link and the second communication link do not affect each other, and the communication quality of the two communication links can be taken into account.

[0014] In some embodiments, the method further includes: when the connection parameter of the second communication link recovers to be less than a threshold, switching the first communication link from the second antenna back to using the first antenna for communication to avoid affecting other communication links using the second antenna.

[0015] In some embodiments, the first electronic device further includes a third communication link with the fourth electronic device, and the third communication link communicates through the second antenna according to the first connection parameter; the method further includes: after the first communication link is switched from the first antenna to the second antenna for communication, controlling the third communication link to communicate according to the second connection parameter; wherein the first connection parameter is greater than the second connection parameter. This method can reduce the mutual influence between the first communication link and the third communication link, and take into account the communication quality of both.

[0016] In some embodiments, the method further includes: after the first communication link is disconnected, controlling the third communication link to resume communication according to the first connection parameters; or, after the first communication link resumes communication using the first antenna, controlling the third communication link to resume communication according to the first connection parameters.

[0017] In some embodiments, the first communication link and the second communication link both communicate through the first antenna; accordingly, according to the connection parameters of the second communication link, the communication protocol used by the first communication link is switched, including: when the connection parameters of the second communication link are greater than or equal to a threshold, the communication protocol used by the first communication link is switched so that the first communication link and the second communication link frequency-division multiplexing the first antenna.

[0018] In some embodiments, the first electronic device also includes a third communication link with a fourth electronic device, and the third communication link communicates through a second antenna; the method also includes: when a connection parameter of the second communication link is greater than or equal to a threshold, switching the communication protocol and antenna used by the first communication link so that the first communication link and the third communication link frequency-division multiplex the second antenna.

[0019] In some embodiments, the method further includes: displaying inquiry information, the inquiry information is used to inquire whether the user agrees to switch the communication protocol used by the first communication link; in response to the confirmation operation, switching the communication protocol used by the first communication link. This method has a good user experience.

[0020] In some embodiments, the connection parameters include: at least one of communication frequency, code rate and communication duty cycle.

[0021] In some embodiments, the first communication link has a lower priority than the second communication link.

[0022] In some embodiments, factors determining the priority of a communication link include: the number of sub-links in the communication link, and / or the priority of a service processed by the communication link.

[0023] In a second aspect, the present application provides a communication system, including a first electronic device, a second electronic device and a third electronic device, wherein the first electronic device is connected to the second electronic device via a first communication link, and the first electronic device is connected to the third electronic device via a second communication link, wherein the first electronic device is configured to: communicate simultaneously using the first communication link and the second communication link; the first communication link and the second communication link have time-division multiplexing antennas, and the communication protocols used by the first communication link and the second communication link are different; and the first communication link is managed according to the connection parameters of the second communication link so that the first communication link and the second communication link after management do not have time-division multiplexing antennas.

[0024] In a third aspect, an embodiment of the present application further provides a communication link management device, the device comprising:

[0025] The first management module is used to control the electronic device to communicate simultaneously using the first communication link and the second communication link; wherein the first communication link and the second communication link have time-division multiplexing antennas, and the first communication link and the second communication link use different communication protocols.

[0026] The second management module is used to manage the first communication link according to the connection parameters of the second communication link, so that there is no time-division multiplexing antenna between the managed first communication link and the second communication link.

[0027] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method shown in the first aspect above when executing the computer program.

[0028] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the method shown in the first aspect above.

[0029] In a sixth aspect, an embodiment of the present application provides a computer program product, in which a computer program is stored. When the computer program is executed by an electronic device, the electronic device can execute the method shown in the first aspect above.

[0030] In a seventh aspect, an embodiment of the present application provides a chip, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method shown in the first aspect above is implemented.

[0031] It can be understood that the beneficial effects of the second to seventh aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1A to Figure 1B A schematic diagram of the structure of the communication link provided in different embodiments of the present application;

[0033] Figure 2 is a schematic diagram of the structure of a communication system provided by an embodiment of the present application;

[0034] Figure 3A to Figure 3B is a schematic diagram of the structure of a communication system provided by other embodiments of the present application;

[0035] Figure 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0036] Figure 5 is a structural schematic diagram of a tablet computer provided by an embodiment of the present application;

[0037] Figure 6 is a schematic diagram of a communication scenario of a tablet computer provided by an embodiment of the present application;

[0038] Figure 7 It is a schematic diagram of handwriting corresponding to pressure sensing data with different return rates provided in an embodiment of the present application;

[0039] Figure 8 is a schematic diagram of a communication scenario of a tablet computer provided in another embodiment of the present application;

[0040] Fig. 9 is a schematic flow chart of a communication link management method provided in an embodiment of the present application;

[0041] Fig.10 is a schematic diagram of a communication link management scenario provided by an embodiment of the present application;

[0042] Fig.11 It is a schematic diagram of data transmission and reception of a communication link provided in an embodiment of the present application;

[0043] Fig.12 is a schematic diagram of a communication link management scenario provided by another embodiment of the present application;

[0044] Fig.13is a schematic diagram of a communication link management scenario provided by yet another embodiment of the present application;

[0045] Figures 14A to 14C is a schematic diagram of a process for updating connection parameters of a communication link provided in different embodiments of the present application;

[0046] Fig.15 is a structural schematic diagram of a tablet computer provided by another embodiment of the present application;

[0047] Fig.16 is a schematic diagram of a communication link management scenario provided by an embodiment of the present application;

[0048] Fig.17 is a schematic diagram of a communication link management scenario provided by another embodiment of the present application;

[0049] Fig.18 is a schematic diagram of a display interface of a tablet computer provided by an embodiment of the present application;

[0050] Fig.19 is a schematic diagram of a communication link management device provided in an embodiment of the present application;

[0051] Fig. 20 It is a schematic diagram of the structure of a chip provided by an embodiment of the present application. DETAILED DESCRIPTION

[0052] The technical solution provided in the embodiments of the present application is described below with reference to the accompanying drawings.

[0053] It should be understood that in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

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

[0055] For the sake of convenience, some terms involved in this application are explained below.

[0056] (1) Wireless communication protocol

[0057] The wireless communication protocol is a communication standard for realizing the connection between electronic devices and wireless networks, referred to as the communication protocol. In this embodiment, the wireless communication protocol includes but is not limited to wireless fidelity (Wi-Fi) 2.4G, Wi-Fi 5G, classic Bluetooth (bluetooth, BT), Bluetooth low energy (bluetooth low energy, BLE), Sparklink-Basic (sparklink-basic, SLB) and Sparklink-low energy (sparklink-low energy, SLE), ZigBee (Zifeng), etc. Among them, the communication frequency bands of Wi-Fi 2.4G communication protocol, BT communication protocol, SLE communication protocol and ZigBee communication protocol are basically around 2.4GHz, and the communication frequency band of Wi-Fi 5G communication protocol is around 5GHz.

[0058] (2) Wireless communication link

[0059] A wireless communication link is a link established between electronic devices based on a wireless communication protocol, referred to as a communication link or link. Electronic devices can establish different types of communication links based on different wireless communication protocols. Exemplarily, electronic devices can establish different types of communication links such as Wi-Fi 2.4G links, Wi-Fi 5G links, BT links, BLE links, SLB links, SLE links, and ZigBee links based on the above-mentioned communication protocols such as Wi-Fi 2.4G, Wi-Fi 5G, BT, BLE, SLB, SLE, and ZigBee. The embodiments of the present application do not limit the specific types of communication protocols and communication links used in the communication process of electronic devices.

[0060] (3) SISO Link and MIMO Link

[0061] In this embodiment, according to the different numbers and forms of data transmission paths in the communication link, the above-mentioned communication links include: a single-input single-output (SISO) link and a multiple-input multiple-output (MIMO) link. Each type of link is described below.

[0062] A SISO link is a single-transmit, single-receive link. For example, see Figure 1A As shown, in the SISO link, the transmitter provides a transmitting antenna, the receiver provides a receiving antenna, and the path between the transmitting antenna and the receiving antenna is unique. It can be understood that since the SISO link has only one data transmission path, its communication rate is usually limited.

[0063] A MIMO link is a multiple-transmit, multiple-receive link. For example, see Figure 1B As shown, in a MIMO link, the transmitting end provides at least two transmitting antennas, such as transmitting antenna 1 and transmitting antenna 2; the receiving end provides at least two receiving antennas, such as receiving antenna 1 and receiving antenna 2. Based on this, the MIMO link may include: sub-link 1 between transmitting antenna 1 and receiving antenna 1, and sub-link 2 between transmitting antenna 1 and receiving antenna 2. Among them, one sub-link is a data transmission path.

[0064] It should be noted that since there are multiple sub-links in a MIMO link, electronic devices can use the multiple sub-links to transmit data simultaneously when using the MIMO link for communication. Therefore, the MIMO link can improve system capacity, coverage, and signal-to-noise ratio without increasing the occupied bandwidth, thereby increasing the communication rate.

[0065] by Figure 1B Taking the MIMO link including two sub-links as an example, when the electronic device uses the MIMO link for communication, it usually divides the data to be sent into two parts and sends them simultaneously through sub-link 1 and sub-link 2. After the receiving end receives the data of the two sub-links, it integrates the data to obtain the complete data. However, if one of the sub-links in the MIMO link is abnormal, the receiving end will lose one channel of data, thereby affecting the transmission effect of the entire communication link.

[0066] (4) Multiplexing technology

[0067] Multiplexing technology is used to transmit multiple signals on limited transmission resources. Multiplexing technology includes but is not limited to time division multiplexing (TDM) technology and frequency division multiplexing (FDM) technology. The details are as follows.

[0068] Time division multiplexing (TDM) divides time into multiple time slots, each of which is used to transmit a signal. Each signal is transmitted in its assigned time slot, and different signals are distinguished by different time slots. The receiving end parses and restores the original signal based on the time slot. Time division multiplexing is suitable for scenarios with high real-time requirements, such as telephone communication, data transmission, etc.

[0069] Frequency division multiplexing (FDM) divides the available spectrum into multiple non-overlapping subcarrier bands, each of which is used to transmit a signal. Each signal is transmitted on its assigned frequency band, and different signals are distinguished by different frequency bands. The receiver parses and restores the original signal based on the frequency band. Frequency division multiplexing is suitable for scenarios with relatively low signal bandwidth requirements, such as television broadcasting, radio communications, etc.

[0070] In summary, time division multiplexing distinguishes signals by different time slots, while frequency division multiplexing distinguishes signals by different frequency bands. They differ in signal transmission methods and application scenarios, and the choice of which technology to use depends on specific communication requirements and resource constraints.

[0071] Based on the above description, the technical solution provided in the embodiments of the present application is explained in detail below.

[0072] With the development of communication technology, an electronic device can establish multiple different communication links with multiple other electronic devices based on different communication protocols to form a multi-link communication system.

[0073] Figure 2 It is a structural diagram of a communication system provided by an embodiment of the present application. The communication system includes a first electronic device, a second electronic device, a third electronic device, a fourth electronic device, etc., wherein the first electronic device and the other electronic devices are connected via the same or different communication links. For example, the first electronic device and the second electronic device are connected via communication link 1, the first electronic device and the third electronic device are connected via communication link 2, and the first electronic device and the fourth electronic device are connected via communication link 3. Furthermore, electronic devices other than the first electronic device may be connected or not connected. This embodiment does not limit the types of each communication link in the communication system, nor does it limit the number of electronic devices in the communication system.

[0074] In this embodiment, the electronic device may be a mobile phone, a tablet computer, a wearable device (such as a smart watch), an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) and other terminal devices, and may also be a peripheral device such as a mouse, a keyboard, a stylus, a speaker, and may also be a router, a gateway device, etc. The embodiment of the present application does not limit the specific type of the electronic device.

[0075] In one example, see Figure 3AAs shown, in the communication system, the first electronic device is a tablet computer, the second electronic device is a router, and the third electronic device is a stylus. On the one hand, the tablet computer is connected to the router via a Wi-Fi link to upload / download audio and video, pictures, files, web page data, etc.; on the other hand, the tablet computer is connected to the stylus via an SLE link to receive the pressure data of the screen fed back by the stylus. It should be noted that when a user uses a stylus to write on the screen of an electronic device (such as a tablet computer, mobile phone, etc.), the tip of the stylus will have a certain pressure on the screen, and the value of the pressure is the pressure data. The pressure data is usually detected by the stylus and sent to the electronic device. The tablet computer can display the handwriting of the stylus according to the movement trajectory of the stylus on the screen and the pressure data. Generally, the greater the pressure of the stylus on the screen, the thicker the handwriting displayed by the tablet computer; conversely, the smaller the pressure of the stylus on the screen, the thinner the handwriting displayed by the tablet computer.

[0076] In another example, see Figure 3B As shown, in the communication system, the first electronic device is a tablet computer, the second electronic device is a router, and the third electronic device is a Bluetooth headset. On the one hand, the tablet computer is connected to the router via a Wi-Fi link to upload / download audio and video, pictures, files, and web page data; on the other hand, the tablet computer is connected to the Bluetooth headset via a BT link and sends high-definition audio to the Bluetooth headset for the user to listen.

[0077] Figure 4 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device includes multiple wireless communication modules and multiple antennas. The communication protocols used by each wireless communication module can be the same or different. The operating frequencies of each antenna can be the same or different. In addition, each communication module is connected to an antenna adapted to the communication frequency band used by its communication protocol.

[0078] Exemplarily, the multiple communication modules include wireless communication modules 1 to wireless communication modules 6, and the multiple antennas include antennas 1 to antennas 3. These communication modules may be Wi-Fi 2.4G communication modules, Wi-Fi 5G communication modules, BT communication modules, BLE communication modules, SLB communication modules, SLE communication modules, ZigBee communication modules, etc. The operating frequency of each antenna may be 2.4GHz, 5GHz, etc., which is not limited in this embodiment. These wireless communication modules may be understood as the core in the corresponding communication chip, for example, the Wi-Fi 2.4G communication module is the Wi-Fi 2.4G Core, and the Wi-Fi 5G communication module is the Wi-Fi 5G Core.

[0079] It should be noted that, although not shown in the figure, the electronic device may include other components in addition to the above-mentioned wireless communication module and antenna, such as a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, other antennas, other wireless communication modules, a mobile communication module, an audio module, a speaker, a receiver, a microphone, an earphone interface, various sensor modules, buttons, motors, indicators, cameras, display screens, and a subscriber identification module (SIM) card interface, etc. One or more. The structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device.

[0080] At present, due to the limitation of internal space and production cost, it is usually impossible to set too many antennas inside electronic devices. Therefore, when different wireless communication modules are working at the same time, they may use a single antenna to send and receive signals, or they may reuse the same antenna to send and receive signals. Among them, different wireless communication modules reuse the same antenna, including time division multiplexing of the same antenna and frequency division multiplexing of the same antenna.

[0081] For example Figure 4 As shown, wireless communication module 1 and wireless communication module 2 are connected to antenna 1 through a switching switch. When wireless communication module 1 and wireless communication module 2 work at the same time, antenna 1 will be time-division multiplexed. In addition, wireless communication module 3 is connected to the mixer, wireless communication module 4 and wireless communication module 5 are first connected to the switching switch, and then connected to the mixer through the switching switch, and the mixer is connected to antenna 2. It can be understood that when wireless communication module 4 and wireless communication module 5 work at the same time, antenna 2 will be time-division multiplexed; when wireless communication module 3 and wireless communication module 4 or wireless communication module 5 work at the same time, wireless communication module 3 will frequency-division multiplex antenna 2 with wireless communication module 4 or wireless communication module 5. Wireless communication module 6 is connected to antenna 3 alone.

[0082] However, in the process of time-division multiplexing the same antenna, the various wireless communication modules are in competition with each other. It is understandable that as the time a wireless communication module occupies the antenna increases, its data transmission rate will increase and the communication quality will also improve. However, the time another wireless communication module occupies the antenna will decrease, and the communication quality will decrease. Therefore, in some communication scenarios of time-division multiplexing antennas, electronic devices may not be able to take into account the communication quality of different communication links, resulting in a poor user experience.

[0083] For example, the electronic device is a tablet computer, see Figure 5As shown, the optoelectronic multiplexing connection chip (i.e., Connectivity Combo chip) of the tablet computer includes a first Wi-Fi 2.4G module (Wi-Fi Core0), a second Wi-Fi 2.4G module (Wi-Fi Core1), a BT module, and an SLE module, as well as a first antenna ant0 and a second antenna ant1. The first Wi-Fi 2.4G module and the second Wi-Fi 2.4G module support communication via the Wi-Fi 2.4G protocol, and the first antenna and the second antenna are both 2.4GHz antennas.

[0084] The first Wi-Fi 2.4G module and the BT module are connected to the first antenna via the first switch. Specifically, when the first Wi-Fi 2.4G module uses the first antenna, the electronic device controls the first switch to connect the first Wi-Fi 2.4G module and the first antenna so that the first antenna can send and receive Wi-Fi 2.4G signals; when the BT module uses the first antenna, the electronic device controls the first switch to connect the BT module and the first antenna so that the first antenna can send and receive BT signals.

[0085] In addition, the second Wi-Fi 2.4G module and the SLE module are connected to the second antenna via the second switch. Specifically, when the second Wi-Fi 2.4G module uses the second antenna, the electronic device controls the second switch to connect the second Wi-Fi 2.4G module and the second antenna so that the second antenna can receive and send Wi-Fi 2.4G signals; when the SLE module uses the second antenna, the electronic device controls the second switch to connect the SLE module and the second antenna so that the second antenna can receive and send SLE signals.

[0086] based on Figure 5 With the electronic device structure shown, the tablet computer can simultaneously use multiple different communication links to communicate using time-division multiplexing antennas.

[0087] In one example, see Figure 6 As shown, the tablet computer is connected to the router via a Wi-Fi 2.4G link and connected to the stylus via an SLE link. The Wi-Fi 2.4G link is a MIMO link, which includes a first sub-link established between the first Wi-Fi 2.4G module and the router via a first antenna, and a second sub-link established between the second Wi-Fi 2.4G module and the router via a second antenna. It can be seen that when the Wi-Fi 2.4G link and the SLE link work at the same time, the second antenna is time-division multiplexed.

[0088] The stylus in the SLE link enters a dormant state when it is stationary or charging. In the dormant state, the stylus and the tablet only need to maintain a basic communication connection, and the stylus does not need to frequently report pressure data to the tablet. Therefore, the communication frequency between the tablet and the stylus on the SLE link is relatively low. For example, the communication frequency between the tablet and the stylus is 2.67Hz, that is, the tablet and the stylus communicate once every 375ms to ensure that the SLE link is not disconnected. It can be understood that when the stylus is in a dormant state, the SLE link occupies less space on the second antenna, and the SLE link does not affect the communication of the second sub-link in the Wi-Fi 2.4G link.

[0089] However, the stylus will enter the working state during the movement. In the working state, the stylus needs to continuously report pressure data to the tablet computer so that the tablet computer can display the thickness of the handwriting based on the pressure data. For example, in order to ensure that the thickness of the handwriting displayed on the tablet computer changes smoothly and does not lose the writing details of the user's pen rising and falling, the stylus reports pressure data to the tablet computer at a communication frequency of 360Hz in the working state, that is, the stylus reports pressure data to the tablet computer once every 2.78ms. It can be understood that when the communication frequency of the SLE link is high, the SLE link will frequently occupy the second antenna, and then frequently interrupt the second Wi-Fi 2.4G module to use the second antenna to send and receive data, thereby seriously affecting the data transmission of the second sub-link in the Wi-Fi 2.4G link, resulting in abnormal data transmission of the Wi-Fi 2.4G link.

[0090] It should be noted that, in this embodiment, the communication frequency of the stylus pen reporting pressure sensing data to the tablet computer can also be called the reporting rate. It can be understood that the higher the reporting rate of the stylus pen to the pressure sensing data, the smoother the change in thickness of the handwriting displayed on the tablet computer; conversely, the lower the frequency of the stylus pen reporting pressure sensing data, the more abrupt the change in thickness of the handwriting displayed on the tablet computer. For example, see Figure 7 As shown, compared with a report rate of 66Hz, when the report rate is 360Hz, the handwriting thickness changes displayed by the tablet computer based on the pressure-sensitive data are smoother, and can better reflect the user's writing details.

[0091] In another example, see Figure 8 As shown, the tablet computer is connected to the router via a Wi-Fi 2.4G link and is connected to the Bluetooth headset via a BT link. The Wi-Fi 2.4G link is a SISO link, which is a communication link established between the first Wi-Fi 2.4G module of the tablet computer and the router via the first antenna. The BT link is a communication link established between the BT module of the tablet computer and the Bluetooth headset via the first antenna. It can be seen that when the Wi-Fi 2.4G link and the BT link communicate simultaneously, the first antenna is time-division multiplexed.

[0092] When the above-mentioned Wi-Fi 2.4G link and BT link communicate at the same time, if the connection parameters of the BT link are small, such as a small communication frequency, a small bit rate for audio transmission, or a small duty cycle during data transmission, the BT link occupies less space on the first antenna. In this case, the BT link usually does not affect the communication of the Wi-Fi 2.4G link. However, when the connection parameters of the BT link are large, such as a large communication frequency, a large bit rate for audio transmission, or a large duty cycle during data transmission, the BT link occupies more space on the first antenna, resulting in a significant reduction in the time that the Wi-Fi 2.4G link uses the first antenna, which seriously affects the communication quality of the Wi-Fi 2.4G link, and even leads to the serious consequence that Wi-Fi cannot access the Internet.

[0093] In summary, when different communication links are communicating simultaneously, due to time division multiplexing of the antennas, the electronic device may not be able to take into account the communication quality of multiple communication links, thereby affecting the user experience.

[0094] To this end, an embodiment of the present application provides a communication link management method, which can adjust one of the communication links when an electronic device uses multiple different types of communication links to communicate and these communication links time-division multiplex the same antenna, thereby taking into account the communication quality of the multiple communication links.

[0095] The method provided in the embodiment of the present application is described below by taking an example in which a first electronic device is connected to a second electronic device via a first communication link and is connected to a third electronic device via a second communication link.

[0096] Fig. 9 It is a schematic flow chart of the communication link management method provided in the embodiment of the present application. The method comprises the following steps S901-S902.

[0097] S901: A first electronic device communicates simultaneously using a first communication link and a second communication link, wherein the first communication link and the second communication link have time-division multiplexing antennas, and the first communication link and the second communication link use different communication protocols.

[0098] Exemplarily, the first communication link is a Wi-Fi 2.4G link, and the second communication link is an SLE link. Alternatively, the first communication link is a Wi-Fi 2.4G link, and the second communication link is a BT link. In addition, the number of antennas time-division multiplexing the first communication link and the second communication link can be one or more, and this embodiment does not limit this.

[0099] S902: The first electronic device manages the first communication link according to the connection parameters of the second communication link, so that the managed first communication link and the second communication link do not have time division multiplexing antennas.

[0100] In this embodiment, the connection parameters of the communication link include but are not limited to: at least one of the parameters such as communication frequency, code rate and communication duty cycle. Each connection parameter is explained below.

[0101] The communication frequency is used to indicate the number of communications per unit time. For example, a communication frequency of 66 Hz (Hertz) is used to indicate that 66 signal transmissions are performed per second, and the duration of each signal transmission is a preset value, such as 20 ms (milliseconds). The higher the communication frequency of an electronic device, the smaller the interval between two adjacent communications; conversely, the lower the communication frequency of an electronic device, the larger the interval. Exemplarily, when the communication frequency of an electronic device is 66 Hz, interval≈15.16 ms; when the communication frequency of an electronic device is 360 Hz, interval≈2.78 ms.

[0102] The communication time interval is the difference between two adjacent anchor times. Fig.10 As shown, the SLE link uses a timed transmission and reception communication mechanism, that is, the two communicating electronic devices only initiate communication at a fixed anchor time. The time interval interval between two adjacent anchor times is usually fixed. A communication process includes a signal sending process and a signal receiving process, and a signal receiving process or a signal receiving process occupies one or more time slots (Slot). Exemplarily, a time slot is 125us. Taking SLE communication as an example, in the signal sending process, the master device (Master) sends a signal to the slave device (Slave); in the signal receiving process, the slave device (Slave) sends a signal to the master device.

[0103] Bit rate is used to indicate the amount of data transmitted by video or audio in a unit of time. It is usually expressed in units such as Kbps (kilobits per second) and Mbps (megabits per second). The size of the bit rate is related to the clarity of the video and also to the compression format. Generally speaking, the higher the bit rate, the clearer the video is under the same compression format.

[0104] The communication duty cycle is used to indicate the ratio between the signal transmission and reception time in each communication and the time interval between two adjacent communications. The larger the duty cycle, the better the communication effect of the communication link.

[0105] Based on the above connection parameters, the first electronic device can manage the first communication link when the connection parameter is greater than a threshold, so that the managed first communication link and the second communication link do not have time-division multiplexing antennas.

[0106] Optionally, in two communication links that time-division multiplex the same antenna, the electronic device can determine the communication link with a lower priority as the communication link to be adjusted based on the priorities of the two communication links. Exemplarily, the priority of a communication link can be determined based on factors such as the number of its sub-links and the services processed. In some embodiments, the more sub-links there are in a communication link, the higher the flexibility and adjustability of the communication link, and therefore the lower the priority. For example, a SISO link has a higher priority than a MIMO link. Alternatively, when the number of sub-links is the same, the priority of a communication link that processes high-definition audio is higher than that of other communication links.

[0107] Based on this, in S902, when the priority of the first communication link is lower than that of the second communication link, the electronic device manages the first communication link according to the connection parameters of the second communication link so that the managed first communication link and the second communication link do not have time-division multiplexed antennas.

[0108] In this embodiment, the electronic device can manage the first communication link based on at least two methods. One method is to keep the communication protocol of the first communication link unchanged, adjust the antenna used by the first communication link, so that the first communication link and the second communication link use different antennas, thereby avoiding the first communication link and the second communication link from influencing each other. Another method is to switch the communication protocol of the first communication link so that the first communication link and the second communication link or other communication links use frequency division multiplexing antennas, thereby avoiding the first communication link and the second communication link from influencing each other.

[0109] Method 1: Keep the communication protocol of the first communication link unchanged and adjust the antenna used by the first communication link.

[0110] Example 1: The first communication link is a MIMO link, and the second communication link is a SISO link.

[0111] In this embodiment, the first communication link includes: a first sub-link and a second sub-link, wherein the first sub-link communicates through the first antenna and the second sub-link communicates through the second antenna. The second communication link communicates through the second antenna. The first communication link and the second communication link work simultaneously and reuse the second antenna. Based on this, when the connection parameter of the second communication link is greater than a threshold, for example, when the communication frequency is greater than the communication frequency threshold, the first electronic device disconnects the second sub-link in the second communication link. Thereafter, the first communication link uses the first antenna alone for communication, and the second communication link uses the second antenna alone for communication, and the two communication links do not affect each other.

[0112] Optionally, when the connection parameter of the second communication link is restored to less than a threshold, for example, when the communication frequency of the second communication link is restored to less than a communication frequency threshold, the second sub-link in the first communication link is restored. Alternatively, after the second communication link is disconnected, the second sub-link in the first communication link is restored to increase the data transmission rate of the first communication link.

[0113] The following is a first electronic device as follows Figure 5 The method provided in this embodiment is described by taking the tablet computer shown, the second electronic device being a router, and the third electronic device being a stylus as an example, wherein the Wi-Fi 2.4G link between the tablet computer and the router is the first communication link, and the SLE link between the tablet computer and the stylus is the second communication link.

[0114] See also Fig.11 As shown in (a), the tablet computer is connected to the router via a Wi-Fi 2.4G link and to the stylus via a SLE link. The Wi-Fi 2.4G link is a MIMO link, including a first sub-link and a second sub-link. Among them, the first sub-link is a communication link established between the first Wi-Fi 2.4G module and the router through the first antenna, and the second sub-link is a communication link established between the second Wi-Fi 2.4G module and the router through the second antenna. The SLE link is a SISIO link, which is a communication link established between the SLE module and the stylus through the second antenna. It can be seen that the Wi-Fi 2.4G link and the SLE link reuse the second antenna.

[0115] In the above communication scenario, based on the previous description, it can be known that when the stylus is in the dormant state, the stylus communicates with the tablet computer at a communication frequency of 2.67Hz, so that the two maintain a basic communication connection. At 2.67Hz, the communication time interval between the stylus and the tablet computer is 375ms. When the stylus switches from the dormant state to the working state, it sends pressure data to the tablet computer through the SLE link at a higher communication frequency (such as 360Hz). This process will frequently interrupt the second sub-link's data transmission and reception, thereby seriously affecting Wi-Fi performance. Therefore, in order to ensure the overall communication quality of the Wi-Fi 2.4G link, when the tablet detects that the communication frequency of the SLE link is greater than the communication frequency threshold, the tablet computer controls the disconnection of the second sub-link in the Wi-Fi2.4G link to ensure the communication quality of Wi-Fi 2.4G.

[0116] See also Fig.11 As shown in (b), after the tablet computer disconnects the second sub-link in the Wi-Fi 2.4G link, the Wi-Fi 2.4G link uses the first antenna alone to communicate with the router, and the MIMO link becomes a SISO link; in addition, the SLE link uses the second antenna alone to communicate with the stylus. At this time, the Wi-Fi 2.4G link and the SLE link do not affect each other.

[0117] Optionally, after the stylus is switched from the working state to the sleeping state, it does not send pressure sensing data to the tablet computer through the SLE link, so the SLE link occupies less of the second antenna. Based on this, the tablet computer can restore the previously disconnected second sub-link and switch the Wi-Fi 2.4G link from the SISO link back to the MIMO link. Alternatively, after the SLE link is disconnected, the previously disconnected second sub-link is restored and the Wi-Fi 2.4G link is switched from the SISO link back to the MIMO link to increase the data transmission rate between the tablet computer and the router.

[0118] In this embodiment, the tablet computer dynamically switches the connection mode of the Wi-Fi 2.4G link according to the communication frequency of the stylus in different working states in the SLE link, so as to obtain the best comprehensive communication effect of SLE and Wi-Fi 2.4G, thereby improving the user's comprehensive experience of using the stylus and Wi-Fi to surf the Internet.

[0119] Example 2: The first communication link and the second communication link are both SISO links.

[0120] In this embodiment, the first communication link and the second communication link are both SISO links, and the first antenna is reused. Based on this, when the connection parameter of the second communication link is greater than the threshold, for example, when the code rate is greater than the code rate threshold, the electronic device can switch the first communication link from the first antenna to the second antenna for communication; wherein the first antenna and the second antenna are both adapted to the communication protocol used by the first communication link, but the first antenna and the second antenna are different antennas. Thereafter, the first communication link uses the second antenna alone for communication, and the second communication link uses the first antenna alone for communication, and the two communication links do not affect each other, thereby ensuring the communication quality of each.

[0121] The following is a first electronic device as follows Figure 5 The method provided in this embodiment is described by taking the tablet computer shown, the second electronic device being a router, and the third electronic device being a Bluetooth headset as an example, wherein the Wi-Fi 2.4G link between the tablet computer and the router is the first communication link, and the BT link between the tablet computer and the Bluetooth headset is the second communication link.

[0122] See also Fig.12 As shown in (a), the tablet computer is connected to the router via a Wi-Fi 2.4G link and is connected to the Bluetooth headset via a BT link. The Wi-Fi 2.4G link and the BT link only occupy the first antenna in the tablet computer. Moreover, the first antenna is reused when the Wi-Fi 2.4G link and the BT link work simultaneously.

[0123] In the above communication scenario, when the tablet sends high-definition audio to the Bluetooth headset through the BT link, its bit rate is usually relatively large, for example, 990kbps. In order to ensure the transmission effect of high-definition audio, the Bluetooth headset will occupy the first antenna. Accordingly, the tablet may significantly increase the occupancy ratio of the BT link to the first antenna, for example, increasing the duty cycle of the BT link from 20% to 75%, resulting in a significant compression of the receiving and sending time of the Wi-Fi 2.4G link, thereby affecting the communication of the Wi-Fi 2.4G link, and even leading to the serious consequence that the Wi-Fi 2.4G cannot access the Internet. For this reason, when the tablet detects that the bit rate of the audio transmitted by the BT link is greater than or equal to the bit rate threshold, the Wi-Fi 2.4G link is switched to communication through the second antenna.

[0124] See also Fig.12 As shown in (b), after the tablet computer switches the Wi-Fi 2.4G link to the second antenna, the Wi-Fi 2.4G link uses the second antenna for communication alone, and the BT link uses the first antenna for communication alone. The Wi-Fi 2.4G link and the BT link do not affect each other, and the communication effects of the two can be taken into account at the same time.

[0125] Optionally, when the bit rate of the audio transmitted by the BT link is restored to less than the bit rate threshold, the Wi-Fi 2.4G link can be switched back to its original state, that is, switching back to using the first Wi-Fi 2.4G module and the first antenna to establish the Wi-Fi 2.4G link to avoid its impact on other communication links using the second antenna as much as possible.

[0126] Example 3: Based on Example 2, further adjust the third communication link.

[0127] Based on Example 2, the first electronic device is also connected to the fourth electronic device through a third communication link, and the third communication link uses the second antenna to communicate according to the first connection parameter. It can be understood that after the first communication link switches to use the second antenna for communication, the first communication link and the third communication link time-division multiplexing the second antenna to work. In order to alleviate the impact of the first communication link on the third communication link, the first electronic device can control the third communication link to communicate using the second connection parameter. Among them, the first connection parameter is greater than the second connection parameter.

[0128] For example, the fourth electronic device is a stylus pen, and the third communication link is an SLE link between the tablet computer and the stylus pen. Fig.13 As shown, the tablet computer includes Fig.12 In addition to the Wi-Fi 2.4G link and BT link shown in (a), the SLE link established by the SLE module and the stylus through the third antenna is also included. In this scenario, after the tablet computer switches the Wi-Fi 2.4G link to the second antenna, the Wi-Fi 2.4G link and the SLE link reuse the second antenna, and the Wi-Fi 2.4G link and the SLE link may also affect each other. However, since the tablet computer has only one SLE module, it cannot switch the SLE link to other antennas.

[0129] Therefore, in order to reduce the impact between the Wi-Fi 2.4G link and the SLE link, see Fig.13 As shown in (a) to (b), when the stylus is in working state, the tablet computer can appropriately reduce the communication frequency of the stylus sending pressure sensing data to the tablet computer through the SLE link, for example, from the original first communication frequency to the second communication frequency, so as to leave enough time to ensure the basic use experience of the Wi-Fi 2.4G link, while ensuring that the SLE link basically works normally. Exemplarily, the first communication frequency can be 360Hz, and the second communication frequency can be 66.67Hz. Among them, the interval corresponding to 360Hz is 2.78ms, and the interval corresponding to 66.67Hz is 15ms.

[0130] It should be noted that in SLE communication, electronic devices communicate based on a timed transmission and reception mechanism. Therefore, when the tablet adjusts the communication frequency of the stylus sending pressure sensing data, the stylus needs to negotiate with the tablet to adjust the anchor point of data transmission and reception.

[0131] In the SLE communication process, electronic devices are divided into management nodes (i.e. Grant nodes, referred to as G nodes) and managed nodes (i.e. Terminal nodes, referred to as T nodes). A G node can manage at least one T node, and the G node and the T node are connected to jointly complete a specific communication function. For example, in the SLE link of a tablet computer and a stylus, the tablet computer is usually a G node and the stylus is usually a T node. When adjusting the communication frequency of the SLE link, the G node and the T node need to negotiate parameters.

[0132] In some embodiments, the G node, as the manager of the communication link, does not negotiate with the T node, but directly notifies the T node to update the connection parameters. The connection parameter update includes communication frequency update, interval update, etc. For example, see Fig.14A As shown, first, the G node directly sends a connection parameter update indication to the T node, and the connection parameter update indication is used to instruct the T node to update the connection parameters. Subsequently, the G node and the T node negotiate the signaling effective time point. Finally, the G node and the T node update the connection parameters.

[0133] In some other embodiments, the G node negotiates with the T node to update the connection parameters. Fig. 14B As shown, first, the G node sends a connection parameter update request to the T node, and the connection parameter update request is used to request the T node to update the connection parameters. Secondly, the T node sends a connection parameter update response to the G node, and the connection parameter update response is used to indicate that the T node agrees to update the connection parameters. Subsequently, the G node sends a connection parameter update indication to the T node, and the connection parameter update indication is used to instruct the T node to update the connection parameters. Next, the G node and the T node negotiate the signaling effective time point. Finally, the G node and the T node update the connection parameters.

[0134] In some other embodiments, the T node requests the G node to update the connection parameters. For example, see Fig. 14C As shown, first, the G node sends a connection parameter update request to the T node, and the connection parameter update request is used to request the T node to update the connection parameters. Secondly, the G node sends a connection parameter update indication to the T node, and the connection parameter update indication is used to instruct the T node to update the connection parameters. Subsequently, the G node and the T node negotiate the signaling effective time point. Finally, the G node and the T node update the connection parameters.

[0135] Method 2: adjusting the communication protocol of the first communication link so that the first communication link and other communication links use frequency division multiplexing antennas.

[0136] In this embodiment, the first electronic device needs to support the first communication link time division multiplexing antenna and frequency division multiplexing antenna in hardware. Take the first electronic device as a tablet computer as an example, see Fig.15 As shown, the tablet computer includes a first Wi-Fi 5G module, a first Wi-Fi 2.4G module, a BT module, a second Wi-Fi 5G module, a second Wi-Fi 2.4G module, a SLE module, a first antenna and a second antenna.

[0137] Among them, the first Wi-Fi 5G module is connected to the first mixer, the first Wi-Fi 2.4G module and the BT module are first connected to the first switch, and then connected to the first mixer through the first switch, and the first mixer is connected to the first antenna. It can be understood that based on the above connection relationship, the tablet computer supports the first Wi-Fi 2.4G module and the BT module to use the first antenna in time division multiplexing, and supports the first Wi-Fi 5G module and the first Wi-Fi 2.4G module or the BT module to use the first antenna in frequency division multiplexing.

[0138] In addition, the second Wi-Fi 5G module is connected to the second mixer, the second Wi-Fi 2.4G module and the SLE module are first connected to the second switch, and then connected to the second mixer through the second switch, and the second mixer is connected to the second antenna. It can be understood that based on the above connection relationship, the tablet computer supports the second Wi-Fi 2.4G module and the BT module to use the second antenna in time division multiplexing, and supports the second Wi-Fi 5G module and the second Wi-Fi 2.4G module or the SLE module to use the second antenna in frequency division multiplexing.

[0139] The first electronic device is Fig.15 Taking the tablet computer shown, the second electronic device is a router, the third electronic device is a Bluetooth headset, and the fourth electronic device is a stylus as an example, the method provided by the present application is specifically described. Among them, the communication link between the tablet computer and the router is the first communication link, the communication link between the tablet computer and the Bluetooth headset is the second communication link, and the communication link between the tablet computer and the stylus is the third communication link.

[0140] Example 1: The first communication link and the second communication link frequency division multiplex the first antenna.

[0141] See also Fig.16As shown in (a), the tablet computer uses a Wi-Fi 2.4G link to connect to the router through the first antenna, uses a BT link to connect to the Bluetooth headset through the first antenna, and uses an SLE link to connect to the stylus through the second antenna. Among them, the Wi-Fi 2.4G link and the BT link time-division multiplex the first antenna. When the BT link transmits high-definition audio, the Wi-Fi 2.4G link will be seriously affected. Since the second antenna has been occupied by the SLE link, the Wi-Fi 2.4G link cannot use the second antenna alone. Therefore, in order to ensure the communication quality of the first communication link between the tablet computer and the router, the tablet computer can switch the communication protocol of the first communication link from the Wi-Fi 2.4G communication protocol to the Wi-Fi 5G communication protocol. In other words, the tablet computer uses the Wi-Fi 5G link to replace the original Wi-Fi 2.4G link.

[0142] See also Fig.16 As shown in (b), after the tablet computer uses the Wi-Fi 5G link to replace the original Wi-Fi 2.4G link, the Wi-Fi 5G link and the BT link frequency-division multiplex the first antenna, and the two communication links have basically no effect on each other, and the communication quality of both can be taken into account.

[0143] Example 2: The first communication link and the third communication link frequency division multiplex the second antenna.

[0144] See also Fig.17 As shown in (a), the tablet computer uses a Wi-Fi 2.4G link to connect to a router through a first antenna, uses a BT link to connect to a Bluetooth headset through a first antenna, and uses an SLE link to connect to a stylus through a second antenna. The Wi-Fi 2.4G link and the BT link time-division multiplex the first antenna. When the BT link transmits high-definition audio, the Wi-Fi 2.4G link will be severely affected. To this end, the tablet computer can switch the first communication link from the first antenna to the second antenna while switching the first communication link from the Wi-Fi 2.4G communication protocol to the Wi-Fi 5G communication protocol.

[0145] See also Fig.17 As shown in (b), after the tablet computer uses the Wi-Fi 5G link to replace the original Wi-Fi 2.4G link, the BT link uses the first antenna alone, and the Wi-Fi 5G link and the SLE link frequency-division multiplex the second antenna. The Wi-Fi 5G link and the BT link do not affect each other, and the communication quality of the two can be taken into account.

[0146] In this embodiment, when the first electronic device switches the communication protocol of the first communication link, it may first ask the user and then switch after the user agrees. Fig.18As shown, the tablet computer may first display: inquiry information, confirmation control, and cancel control; wherein the inquiry information is used to ask the user whether to agree to use the Wi-Fi 5G link to replace the original Wi-Fi 2.4G link. In response to the user's operation on the confirmation control, the tablet computer uses the Wi-Fi 5G link to connect to the router and disconnects the original Wi-Fi 2.4G link.

[0147] Based on the same concept, as an implementation of the above method, an embodiment of the present application provides a communication link management device, and the device embodiment corresponds to the above method embodiment. For ease of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the above method embodiment.

[0148] Fig.19 19 is a schematic diagram of a communication link management device provided by an embodiment of the present application. The device includes a first management module 1901 and a second communication management module 1902.

[0149] The first management module 1901 is used to control the first electronic device to communicate simultaneously using the first communication link and the second communication link; wherein the first communication link and the second communication link have time-division multiplexing antennas, and the first communication link and the second communication link use different communication protocols.

[0150] The second management module 1902 is used to manage the first communication link according to the connection parameters of the second communication link, so that there is no time-division multiplexing antenna between the managed first communication link and the second communication link.

[0151] Optionally, the second management module 1902 is used to manage the first communication link according to the connection parameters of the second communication link, specifically including: adjusting the antenna used by the first communication link according to the connection parameters of the second communication link, so that there is no time-division multiplexing antenna between the adjusted first communication link and the second communication link; or; switching the communication protocol used by the first communication link according to the connection parameters of the second communication link, so that the first communication link and the second communication link after switching use frequency-division multiplexing antennas.

[0152] Optionally, the first communication link includes a first sub-link and a second sub-link, the first sub-link communicates through the first antenna, and the second sub-link communicates through the second antenna; the second communication link communicates through the second antenna; accordingly, the second management module 1902 is used to adjust the antenna used by the first communication link according to the connection parameters of the second communication link, including: when the connection parameters of the second communication link are greater than or equal to a threshold, disconnecting the second sub-link in the first communication link so that the first communication link does not occupy the second antenna.

[0153] Optionally, the second management module 1902 is also used to restore the second sub-link in the first communication link when the connection parameter of the second communication link is less than a threshold; or, after the second communication link is disconnected, restore the second sub-link in the first communication link to increase the data transmission rate of the second communication link.

[0154] Optionally, both the first communication link and the second communication link communicate through the first antenna; the second management module 1902 is used to adjust the antenna used by the first communication link according to the connection parameters of the second communication link, including: when the connection parameters of the second communication link are greater than or equal to a threshold, switching the first communication link from the first antenna to the second antenna for communication; wherein the first antenna and the second antenna are different.

[0155] The second management module 1902 is further configured to switch the first communication link from the second antenna back to the first antenna for communication when the connection parameter of the second communication link is restored to be less than a threshold.

[0156] Optionally, the first electronic device further includes a third communication link with the fourth electronic device, the third communication link communicates through the second antenna according to the first connection parameter; the second management module 1902 is further used to control the third communication link to communicate according to the second connection parameter after the first communication link is switched from the first antenna to the second antenna for communication; wherein the first connection parameter is greater than the second connection parameter. This method can reduce the mutual influence between the first communication link and the third communication link.

[0157] Optionally, the second management module 1902 is also used to control the third communication link to resume communication according to the first connection parameters after the first communication link is disconnected; or, after the first communication link is restored to communication using the first antenna, control the third communication link to resume communication according to the first connection parameters.

[0158] Optionally, both the first communication link and the second communication link communicate through the first antenna; the second management module 1902 is used to switch the communication protocol used by the first communication link according to the connection parameters of the second communication link, including: when the connection parameters of the second communication link are greater than or equal to a threshold, switching the communication protocol used by the first communication link so that the first communication link and the second communication link frequency division multiplexing the first antenna.

[0159] Optionally, the first electronic device also includes a third communication link with a third electronic device, and the third communication link communicates through the second antenna; the second management module 1902 is also used to switch the communication protocol and antenna used by the first communication link when the connection parameters of the second communication link are greater than or equal to a threshold, so that the first communication link and the third communication link frequency-division multiplex the second antenna.

[0160] Optionally, the second management module 1902 is further used to display an inquiry message, where the inquiry message is used to inquire whether the user agrees to switch the communication protocol used by the first communication link; in response to a confirmation operation, the communication protocol used by the first communication link is switched.

[0161] Optionally, the connection parameters include: at least one of communication frequency, code rate and communication duty cycle.

[0162] Optionally, the priority of the first communication link is lower than the priority of the second communication link.

[0163] Optionally, factors determining the priority of the communication link include: the number of sub-links in the communication link, and / or the priority of the service processed by the communication link.

[0164] An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0165] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program implements the above method when executed by a processor.

[0166] An embodiment of the present application further provides a computer program product, in which a computer program is stored. When the computer program is executed by an electronic device, the electronic device can execute the methods shown in the above embodiments.

[0167] The present application also provides a chip, see Fig. 20 As shown, the chip includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program implements the above method when executed by the processor.

[0168] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0169] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0170] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0171] In the embodiments provided in the present application, the division of each framework or module is only a logical function division. There may be other division methods in actual implementation. For example, multiple frameworks or modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0172] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0173] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0174] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0175] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A communication link management method, characterized in that: Applied to a first electronic device, the first electronic device is connected to a second electronic device via a first communication link, and is connected to a third electronic device via a second communication link, the method comprising: Communicate simultaneously using a first communication link and a second communication link; wherein the first communication link and the second communication link have time-division multiplexing antennas, and the first communication link and the second communication link use different communication protocols; The first communication link is managed according to the connection parameter of the second communication link so that there is no time-division multiplexing antenna between the first communication link and the second communication link after management.

2. The method according to claim 1, characterized in that The managing the first communication link according to the connection parameter of the second communication link comprises: According to the connection parameters of the second communication link, adjusting the antenna used by the first communication link so that after the adjustment, there is no time-division multiplexing antenna between the first communication link and the second communication link; or; The communication protocol used by the first communication link is switched according to the connection parameters of the second communication link, so that the first communication link and the second communication link after switching frequency-division multiplexing the antenna.

3. The method according to claim 2, characterized in that The first communication link includes a first sub-link and a second sub-link, the first sub-link communicates via a first antenna, the second sub-link communicates via a second antenna; the second communication link communicates via the second antenna; Accordingly, adjusting the antenna used by the first communication link according to the connection parameter of the second communication link includes: When the connection parameter of the second communication link is greater than or equal to a threshold, the second sub-link in the first communication link is disconnected so that the first communication link does not occupy the second antenna.

4. The method according to claim 3, characterized in that: The method further comprises: When the connection parameter of the second communication link is less than the threshold, the second sub-link in the first communication link is restored; or after the second communication link is disconnected, the second sub-link in the first communication link is restored.

5. The method according to claim 2, characterized in that: The first communication link and the second communication link both communicate through a first antenna; accordingly, adjusting the antenna used by the first communication link according to the connection parameter of the second communication link includes: When the connection parameter of the second communication link is greater than or equal to a threshold, the first communication link is switched from the first antenna to the second antenna for communication; wherein the first antenna and the second antenna are different.

6. The method according to claim 5, characterized in that The method further comprises: When the connection parameter of the second communication link is restored to be less than the threshold, the first communication link is switched from the second antenna back to the first antenna for communication.

7. The method according to claim 5 or 6, characterized in that: The first electronic device further includes a third communication link with a fourth electronic device, the third communication link communicating through the second antenna according to the first connection parameter; the method further includes: After the first communication link is switched from the first antenna to the second antenna for communication, the third communication link is controlled to communicate according to a second connection parameter; wherein the first connection parameter is greater than the second connection parameter.

8. The method according to claim 7, characterized in that The method further comprises: After the first communication link is disconnected, controlling the third communication link to resume communication according to the first connection parameter; or, After the first communication link is restored to communication using the first antenna, the third communication link is controlled to be restored to communication according to the first connection parameter.

9. The method according to claim 2, characterized in that: The first communication link and the second communication link both communicate through the first antenna; accordingly, switching the communication protocol used by the first communication link according to the connection parameter of the second communication link includes: When the connection parameter of the second communication link is greater than or equal to a threshold, the communication protocol used by the first communication link is switched so that the first communication link and the second communication link frequency-division multiplex the first antenna.

10. The method according to claim 1, characterized in that The first electronic device further includes a third communication link with a fourth electronic device, wherein the third communication link communicates via the second antenna; and the method further includes: When the connection parameter of the second communication link is greater than or equal to a threshold, the communication protocol and antenna used by the first communication link are switched so that the first communication link and the third communication link frequency-division multiplex the second antenna.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: displaying inquiry information, wherein the inquiry information is used to inquire whether the user agrees to switch the communication protocol used by the first communication link; In response to the confirmation operation, the communication protocol used by the first communication link is switched.

12. The method according to any one of claims 1 to 11, characterized in that: The connection parameters include: at least one of communication frequency, code rate and communication duty cycle.

13. The method according to any one of claims 1 to 12, characterized in that: The priority of the first communication link is lower than the priority of the second communication link.

14. The method according to claim 13, characterized in that Factors determining the priority of a communication link include: the number of sub-links in the communication link, and / or the priority of the service processed by the communication link.

15. A communication system, characterized in that: The device comprises a first electronic device, a second electronic device and a third electronic device, wherein the first electronic device is connected to the second electronic device via a first communication link, and the first electronic device is connected to the third electronic device via a second communication link, wherein: The first electronic device is configured as: Communicate simultaneously using a first communication link and a second communication link; the first communication link and the second communication link have time-division multiplexing antennas, and the first communication link and the second communication link use different communication protocols; The first communication link is managed according to the connection parameter of the second communication link so that there is no time-division multiplexing antenna between the first communication link and the second communication link after management.

16. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 14 when executing the computer program.

17. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.

18. A chip, characterized in that: The chip includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 14 is implemented.

Citation Information

Cited By

  • Communication link management method, system, electronic device, storage medium and chip

    WO2025044343A1