Communication methods and devices
By setting up a main antenna, a backup antenna, and radio frequency circuits in the communication equipment, and using an antenna switching switch to switch to the target connection state when the main antenna fails, the problem of reduced transmission capacity caused by external antenna failure is solved, thereby improving communication reliability and user experience.
Patent Information
- Application Number
- CN202180099368.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-10
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2041-09-10
AI Technical Summary
In existing technologies, when the external antenna of a communication device fails, it cannot effectively switch to the backup antenna, resulting in a decrease in transmission capacity, frequent re-establishment of communication links, and impact on communication reliability and user experience.
By setting a main antenna, a backup antenna, and radio frequency circuits in the communication equipment, and using an antenna switching switch to switch to the target connection state when the main antenna fails, the transmission capability is determined, and capability information is sent to the peer device to achieve adaptive matching.
It improves the transmission capability matching of communication equipment in the event of antenna failure, enhances communication reliability and user experience, and reduces communication interruptions.
Smart Images

Figure CN117501633B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to communication methods and apparatus in the field of communication technology. Background Technology
[0002] In automotive or vertical industry applications such as mining, ports, and factories, communication devices often rely on external antennas to improve coverage due to constraints imposed by the vehicle's or the industry's communication equipment structure and surrounding environment. However, these external antennas can be damaged in accidents or minor collisions, significantly impacting communication performance and device reliability.
[0003] The existing technology only supports fault detection of the external antenna (i.e., the main antenna) connected to the main radio frequency circuit of the first communication device. If the main antenna is detected to be faulty, the main radio frequency circuit is switched to other available external antennas or backup antennas to form a transmission channel, and then the second communication device is communicated through the transmission channel formed after the switch.
[0004] However, if the external antennas connected to other radio frequency circuits besides the main radio frequency circuit in the first communication device malfunction, the existing technology does not provide a corresponding solution. In this case, since there are no available external antennas for these other radio frequency circuits, the transmission capability of the first communication device may decrease. As a result, the default transmission capability of the first communication device when establishing a communication link with the second communication device will not match the current transmission capability of the first communication device. Therefore, the communication link between the first and second communication devices may be frequently re-established, thereby affecting communication reliability and communication experience.
[0005] Therefore, there is an urgent need to provide a technical solution that can maximize the communication reliability and communication experience between the first communication device and the second communication device when the antenna of the first communication device fails. Summary of the Invention
[0006] This application provides a communication method and apparatus that, in the event of an antenna failure in a first communication device, can adaptively match the transmission capabilities of a second communication device, thereby maximizing the communication reliability and experience between the first and second communication devices.
[0007] In a first aspect, this application provides a communication method that can be used in a communication device for a first communication equipment. The first communication equipment may further include at least one main antenna, at least one backup antenna, at least one radio frequency circuit, and an antenna switching switch, wherein the number of the at least one main antenna is the same as the number of the at least one radio frequency circuit. The method includes: when it is determined that the operating state of the first main antenna changes from a normal state to a fault state, controlling the antenna switching switch to switch to a target connection state, wherein at least one target antenna is connected to at least one target radio frequency circuit in the target connection state, wherein the at least one main antenna includes the first main antenna, the at least one target antenna is selected from at least one currently available candidate antenna, the at least one candidate antenna includes the main antenna whose operating state is the normal state and / or the at least one backup antenna, the at least one radio frequency circuit includes the at least one target radio frequency circuit, and the number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit; determining the transmission capability of the first communication equipment in the target connection state, the transmission capability indicating at least one of the number of transmit channels and the number of receive channels of the first communication equipment; sending capability information to a second communication equipment, the capability information indicating the transmission capability; and communicating with the second communication equipment based on the transmission capability.
[0008] In the prior art, a failure of the main antenna used by the first communication device may cause a change in the number of transmission channels of the first communication device, resulting in a mismatch between the current transmission capacity of the first communication device and the default transmission capacity when establishing a communication link with the second communication device. Therefore, the first communication device needs to re-establish a communication link with the second communication device that can match the changed transmission capacity. Such frequent establishment of communication links may lead to communication interruption, thereby reducing the reliability of communication and user experience.
[0009] Using the communication method provided in this application embodiment, when the main antenna being used by the first communication device fails, the first communication device can control the antenna switching switch to switch to the target connection state. Based on the connection relationship between the at least one target antenna and the at least one radio frequency circuit in the target connection state, the transmission capability of the first communication device is determined, and the second communication device is promptly informed of the changed transmission capability, so that the first communication device and the second communication device can adaptively match the transmission capability, thereby maximizing communication reliability and communication experience.
[0010] It should be noted that the main antenna mentioned in this application refers to the antenna primarily (or preferentially) used by the radio frequency circuit, that is, the antenna mainly responsible for transmitting or receiving radio frequency signals. The backup antenna refers to the antenna used as a substitute when the main antenna fails.
[0011] In one possible implementation, the at least one main antenna can be an external antenna.
[0012] In one possible implementation, the at least one spare antenna can be an external antenna; or, the at least one spare antenna can be an internal antenna; or, when there are multiple at least one spare antennas, some are external antennas and others are internal antennas.
[0013] It should be noted that the at least one candidate antenna includes the main antenna in the normal operating state among the at least one main antenna and / or the at least one spare antenna. It can be understood that if the at least one main antenna only includes the first main antenna, or if the remaining main antennas in the at least one main antenna are all in a fault state, then the at least one candidate antenna only includes the at least one spare antenna; otherwise, the at least one candidate antenna includes the at least one spare antenna and the main antenna in the normal operating state among the at least one main antenna.
[0014] It should be noted that the working state of the antenna described in this application is a fault state, which can be understood as the antenna malfunctioning or being damaged.
[0015] Using the communication method provided in this application, in the event of a failure of the first main antenna, it is necessary to select a new available antenna for the radio frequency circuit connected to the first main antenna. By setting at least one spare antenna for the first communication device, the antenna availability of the radio frequency circuit connected to the first main antenna can be increased, thereby maximizing the number of transmission channels of the first communication device as much as possible.
[0016] In one possible implementation, controlling the antenna switch to switch to the target connection state may include: determining the at least one candidate antenna; determining the at least one candidate antenna; determining the at least one target antenna and the at least one target radio frequency circuit based on the at least one candidate antenna and the at least one radio frequency circuit, wherein the number of the at least one candidate antenna is a first number, the number of the at least one radio frequency circuit is a second number, and the number of the at least one target antenna and the at least one target radio frequency circuit are both target numbers, the target number being the smaller of the first number and the second number; determining the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state, wherein the at least one target antenna and the at least one target radio frequency circuit are connected in a one-to-one correspondence; and controlling the antenna switch to switch to the target connection state based on the connection method.
[0017] Using the communication method provided in this application, the target quantity is the smaller of the first quantity and the second quantity, which maximizes the transmission capacity of the at least one transmission.
[0018] Optionally, the communication device may determine the at least one target antenna from the at least one candidate antenna in a variety of ways, and this application does not limit this.
[0019] In one possible implementation, the communication device may arbitrarily select a target number of candidate antennas from the at least one candidate antenna as the at least one target antenna.
[0020] In another possible implementation, the communication device may select a number of candidate antennas from the at least one candidate antennas in descending order of priority, and use these as the at least one target antenna. That is, the at least one target antenna is selected from the at least one candidate antennas in descending order of priority.
[0021] Optionally, this application does not limit the method of prioritizing the at least one candidate antenna.
[0022] In one possible implementation, the priority of the at least one main antenna is higher than the priority of the at least one backup antenna.
[0023] In another possible implementation, candidate antennas with better performance are given higher priority.
[0024] Optionally, this application does not limit the metrics for evaluating the performance of candidate antennas. For example, a candidate antenna with higher radiation efficiency generally has better performance.
[0025] It should be noted that the performance of the candidate antenna described in this application can be pre-measured or pre-configured, and this application does not limit the method of obtaining the performance of the candidate antenna.
[0026] Optionally, the communication device may determine the at least one target radio frequency circuit from the at least one radio frequency circuit in a variety of ways, and this application does not limit this.
[0027] In one possible implementation, the communication device may arbitrarily select a target number of radio frequency circuits from the at least one radio frequency circuit as the at least one target radio frequency circuit.
[0028] In another possible implementation, the communication device may select a target number of radio frequency circuits from the at least one radio frequency circuit in descending order of priority, as the at least one target radio frequency circuit. That is, the at least one target radio frequency circuit is selected from the at least one radio frequency circuit in descending order of priority.
[0029] Optionally, this application does not limit the method of prioritizing the at least one radio frequency circuit.
[0030] In one possible implementation, the type of the radio frequency circuit may include a master radio frequency circuit or a diversity radio frequency circuit, wherein the master radio frequency circuit has a higher priority than the diversity radio frequency circuit.
[0031] In this way, the communication device can combine the radio frequency signals received from the main radio frequency circuit and the radio frequency signals received from the diversity radio frequency circuit to obtain diversity gain, that is, improve the signal receiving gain.
[0032] In another possible implementation, the radio frequency circuit includes a radio frequency transmitting circuit and / or a radio frequency receiving circuit, wherein the radio frequency circuit including both the radio frequency transmitting circuit and the radio frequency receiving circuit has a higher priority than a radio frequency circuit including only the radio frequency transmitting circuit or only the radio frequency receiving circuit.
[0033] In this way, the communication device can maximize the number of receiving channels while keeping the number of transmitting channels constant, thereby improving the signal reception capability.
[0034] Optionally, the communication device may determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in a variety of ways, and this application does not limit this.
[0035] In one possible implementation, the communication device may determine the connection method by randomly matching the at least one target antenna and the at least one target radio frequency circuit.
[0036] In another possible implementation, the communication device may determine the connection method between the at least one target antenna and the at least one target radio frequency circuit based on the priority of the at least one target antenna and the priority of the at least one target radio frequency circuit.
[0037] For example, the communication device can determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in descending order of priority of the at least one target antenna and priority of the at least one target radio frequency circuit.
[0038] Optionally, the antenna switching switch can be a multiplexed switch, such as an N-pole (M+N) throw switch.
[0039] Using the communication method provided in this application, at least one target radio frequency circuit is connected to the at least one target antenna through an antenna switching switch, which can improve the flexibility of the connection between each antenna and each radio frequency circuit.
[0040] Optionally, before controlling the antenna switching switch to switch to the target connection state when the operating state of the first main antenna changes from the normal state to the fault state, the communication device needs to first determine that the operating state of the first main antenna has changed from the normal state to the fault state.
[0041] Optionally, the communication device can determine the change of the operating state of the first main antenna from the normal state to the fault state in a variety of ways, and this application does not limit this.
[0042] In one possible implementation, the communication device may receive detection results from the detection circuit of each of the at least one main antenna, the detection results of each main antenna being used to indicate the operating state of each main antenna; based on the detection results of the detection circuit of each main antenna, the operating state of the first main antenna in the current round of detection results is determined; if the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, the operating state of the first main antenna is determined to change from the normal state to the fault state.
[0043] Optionally, the communication device can determine the main antennas that are in normal working condition based on the detection results of each main antenna, and use them as candidate antennas.
[0044] By using the communication method provided in this application, the working status of each main antenna is monitored in real time through the detection circuit set at each main antenna. The communication device can promptly detect and locate the faulty main antenna and promptly switch the radio frequency circuit connected to the faulty antenna to a new available antenna, thereby improving the reliability of communication.
[0045] In another possible implementation, the communication device can detect the performance parameters of the signals transmitted by the at least one radio frequency circuit to obtain the detection result of each radio frequency circuit in the at least one radio frequency circuit. The detection result of each radio frequency circuit is used to indicate the operating state of the main antenna connected to each radio frequency circuit. Based on the detection result of each radio frequency circuit, the operating state of the first main antenna in the current round of detection results is determined. If the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, the operating state of the first main antenna is determined to change from the normal state to the fault state.
[0046] Optionally, the communication device can determine the main antenna that is in normal working condition based on the detection results of each radio frequency circuit, and use it as a candidate antenna.
[0047] For example, the above performance parameters may include: signal quality, power, and / or strength.
[0048] Optionally, this application does not limit the manner in which the communication device obtains the detection result of each of the at least one radio frequency circuit by detecting the performance parameters of the signal transmitted by the at least one radio frequency circuit.
[0049] Using the communication method provided in this application, the communication device itself has the function of detecting the working status of the antenna, without the need to add additional detection circuits, which can reduce the complexity of the first communication device.
[0050] It should be noted that, since the radio frequency circuit may include at least one of the radio frequency transmitting circuit and the radio frequency receiving circuit, determining the transmission capability of the first communication device in the target connection state may include: determining the maximum number of transmitting channels (i.e., the maximum number of transmitting channels) and the maximum number of receiving channels (i.e., the maximum number of receiving channels) that the at least one target antenna and the at least one target radio frequency circuit can form in the target connection state.
[0051] It should be noted that the transmission capability of the first communication device may include at least one of transmission capability and reception capability, wherein the transmission capability is used to indicate the number of transmission channels and the reception capability is used to indicate the number of reception channels.
[0052] It should also be noted that the transmission capacity corresponding to P transmission channels can be understood as: the maximum number of data streams that the first communication device can send through the P transmission channels, where P is an integer greater than 0; the reception capacity corresponding to Q reception channels can be understood as: the maximum number of data streams that the first communication device can receive through the Q reception channels, where Q is an integer greater than 0.
[0053] It should also be noted that one transmit channel can be used to send one data stream, and one receive channel can be used to receive one data stream. Therefore, the transmit capacity corresponding to P transmit channels is P data streams, and the receive capacity corresponding to Q receive channels is Q data streams. That is, the transmission capacity of the first communication device is P transmit Q receive.
[0054] Secondly, this application also provides a communication device that can be used in a first communication device. The first communication device further includes at least one main antenna, at least one backup antenna, at least one radio frequency circuit, and an antenna switching switch. The number of the at least one main antenna is the same as the number of the at least one radio frequency circuit. The device includes a control unit, a determination unit, and a communication unit. The control unit is used to control the antenna switching switch to a target connection state when it is determined that the operating state of the first main antenna has changed from a normal state to a fault state. In this target connection state, at least one target antenna is connected to at least one target radio frequency circuit. The at least one main antenna includes the first main antenna, and the at least one target antenna is from... The at least one candidate antenna is selected from at least one currently available antenna, which includes the at least one main antenna in the normal operating state and / or the at least one spare antenna. The at least one radio frequency circuit includes the at least one target radio frequency circuit, and the number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit. The determining unit is used to determine the transmission capability of the first communication device in the target connection state, and the transmission capability is used to indicate at least one of the number of transmit channels and the number of receive channels of the first communication device. The communication unit is used to send capability information to the second communication device, and the capability information is used to indicate the transmission capability. Communication is performed with the second communication device based on the transmission capability.
[0055] In one possible implementation, the determining unit is specifically configured to determine, based on the at least one candidate antenna and the at least one radio frequency circuit, the at least one target antenna and the at least one target radio frequency circuit, wherein the number of the at least one candidate antenna is a first number, the number of the at least one radio frequency circuit is a second number, and the number of the at least one target antenna and the at least one target radio frequency circuit are both target numbers, the target number being the smaller of the first number and the second number; based on the at least one target antenna and the at least one target radio frequency circuit, determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state; the control unit is specifically configured to control the antenna switching switch to switch to the target connection state based on the connection method.
[0056] In one possible implementation, the at least one target antenna is selected from the at least one candidate antenna in descending order of priority, and the at least one target radio frequency circuit is selected from the at least one radio frequency circuit in descending order of priority.
[0057] In one possible implementation, the determining unit is specifically used to determine the connection method based on the priority of the at least one target antenna and the priority of the at least one target radio frequency circuit.
[0058] In one possible implementation, the type of the radio frequency circuit includes a main radio frequency circuit or a diversity radio frequency circuit, wherein the main radio frequency circuit has a higher priority than the diversity radio frequency circuit; and / or, the radio frequency circuit includes a radio frequency transmitting circuit and / or a radio frequency receiving circuit, wherein the radio frequency circuit including both radio frequency transmitting and radio frequency receiving circuits has a higher priority than a radio frequency circuit including only radio frequency transmitting circuits or a radio frequency circuit including only radio frequency receiving circuits.
[0059] In one possible implementation, the priority of the at least one primary antenna is higher than that of the at least one backup antenna; and / or, the candidate antenna with better performance has a higher priority.
[0060] In one possible implementation, the first communication device further includes a detection circuit for each of the at least one main antennas, the detection circuit for each main antenna being used to detect the operating state of each main antenna; the communication unit is further configured to receive detection results from the detection circuits of each main antenna before controlling the antenna switching switch to the target connection state when the control unit determines that the operating state of the first main antenna has changed from a normal state to a fault state; the detection results are used to indicate the operating state of each main antenna; the determining unit is further configured to determine the operating state of the first main antenna in the current round of detection results based on the detection results of the detection circuits of each main antenna; if the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, determine that the operating state of the first main antenna has changed from the normal state to the fault state.
[0061] In one possible implementation, the device further includes a detection unit configured to detect the performance parameters of the signals transmitted by the at least one radio frequency circuit before controlling the antenna switching switch to the target connection state when the control unit determines that the operating state of the first main antenna has changed from a normal state to a fault state. The detection unit obtains a detection result for each of the at least one radio frequency circuits, which indicates the operating state of the main antenna connected to each radio frequency circuit. The determining unit is further configured to determine the operating state of the first main antenna in the current round of detection results based on the detection results of each radio frequency circuit. If the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results was the normal state, the unit determines that the operating state of the first main antenna has changed from the normal state to the fault state.
[0062] In one possible implementation, the main antenna is an external antenna, and the backup antenna is either an external antenna or an internal antenna.
[0063] Thirdly, this application also provides a communication device, which may include at least one processor and at least one communication interface, wherein the at least one processor and the at least one communication interface are coupled, the at least one communication interface is used to provide information and / or signals to the at least one processor, and the at least one processor is used to execute computer program instructions to perform the communication method described in the first aspect and any possible implementation thereof.
[0064] Alternatively, the device can be a chip or an integrated circuit.
[0065] Fourthly, this application also provides a communication device, which may include at least one main antenna, at least one backup antenna, at least one radio frequency circuit, an antenna switching switch, and a communication apparatus as described in the second aspect above and any possible implementation thereof, or as described in the third aspect above.
[0066] Optionally, the communication device can be a terminal or be installed in a terminal.
[0067] In one possible implementation, the terminal can be a vehicle.
[0068] Fifthly, this application also provides a computer-readable storage medium, characterized in that it is used to store a computer program, which, when executed by a processor, implements the communication method described in the first aspect and any possible implementation thereof.
[0069] Sixthly, this application also provides a computer program product, characterized in that, when the computer program product is run on a processor, it implements the communication method described in the first aspect and any possible implementation thereof.
[0070] The communication device, communication equipment, computer storage medium, computer program product, chip and terminal provided in this application are all used to execute the communication method provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the communication method provided above, and will not be repeated here. Attached Figure Description
[0071] Figure 1 This is a schematic block diagram of the communication system 100 provided in an embodiment of this application;
[0072] Figure 2 This is a schematic block diagram of the communication device 200 provided in the embodiments of this application;
[0073] Figure 3 This is another schematic block diagram of the communication device 200 provided in the embodiments of this application;
[0074] Figure 4This is another schematic block diagram of the communication device 200 provided in the embodiments of this application;
[0075] Figure 5 This is another schematic block diagram of the communication device 200 provided in the embodiments of this application;
[0076] Figure 6 This is another schematic block diagram of the communication device 200 provided in the embodiments of this application;
[0077] Figure 7 This is a schematic flowchart of the communication method 300 provided in an embodiment of this application;
[0078] Figure 8 This is a schematic flowchart of the communication method 400 provided in an embodiment of this application;
[0079] Figure 9 This is a schematic block diagram of the communication device 500 provided in the embodiments of this application;
[0080] Figure 10 This is a schematic block diagram of the communication device 600 provided in the embodiments of this application. Detailed Implementation
[0081] The technical solutions in this application will now be described with reference to the accompanying drawings.
[0082] The terms "first," "second," etc., used in the specification, embodiments, claims, and drawings of this application are for distinguishing purposes only and should not be construed as indicating or implying relative importance or order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, such as including a series of steps or units. A method, system, product, or apparatus is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or apparatuses.
[0083] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0084] First, we introduce the communication system used in the communication methods and apparatus provided in the embodiments of this application.
[0085] Please refer to Figure 1 , Figure 1 A schematic block diagram of a communication system 100 provided in an embodiment of this application is shown, such as... Figure 1 As shown, the communication system 100 may include a communication device 110 and a communication device 120, and the communication device 110 may communicate with the communication device 120.
[0086] Optionally, the communication equipment described in this application may be (or used for) a terminal, network equipment or other equipment or apparatus with communication functions, and this application does not limit this.
[0087] For example, communication device 110 can be (or used for) a terminal, and communication device 120 can be (or used for) a network device; or, communication device 110 can be (or used for) terminal 1, and communication device 120 can be (or used for) terminal 2; or, communication device 110 can be (or used for) network device 1, and communication device 120 can be (or used for) network device 2.
[0088] It should be noted that the terminal described in this application can be a device that provides voice and / or data connectivity to the user.
[0089] For example, the terminal can be a mobile phone, tablet computer, laptop computer, PDA, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented reality (AR) device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, in-vehicle device, wearable device, terminal in 5G network, or future evolved public land mobile communication network (public land mobile). Terminals in a network (PLMN), etc.
[0090] It's important to note that wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday clothing, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices; they achieve powerful functionality through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those with comprehensive functions, large sizes, and the ability to perform complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses. They also include devices focused on a specific application function that require the use of other devices, such as smart bracelets and smart jewelry for vital sign monitoring.
[0091] Optionally, the terminal can also be a terminal in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.
[0092] Alternatively, the various terminals described above, if located in a vehicle (e.g., placed inside or installed inside a vehicle), can be considered as vehicle-mounted terminals, which are also referred to as on-board units (OBUs).
[0093] Optionally, the terminal described in this application may also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication equipment, user agent, or user equipment, etc., and this application does not limit it.
[0094] It should be noted that the network device described in this application embodiment can provide communication network coverage for a specific geographical area and can communicate with terminals located within the coverage area of the communication network.
[0095] For example, the network device can be a base transceiver station (BTS) in a Global System for Mobile Communications (GSM) or Code Division Multiple Access (CDMA) system, a base station (nodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, an evolved node B (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a radio controller in a cloud radio access network (CRAN). The network device can also be a core network, relay station, access point, vehicle-mounted equipment, wearable device, network-side equipment in future 5th Generation (5G) or New Radio (NR) systems, or network-side equipment in future evolved public land mobile networks (PLMNs), etc.
[0096] The communication system used in this application has been described above. The communication equipment in the above communication system will be described below.
[0097] Please refer to Figure 2 , Figure 2This illustration shows a schematic structural diagram of a communication device 200 provided in an embodiment of this application. The communication device 200 can be... Figure 1 The communication device 110 or communication device 120 described herein.
[0098] like Figure 2 As shown, the communication device 200 may include at least one main antenna (e.g., Figure 1 The main antennas 211 to 21N shown, where N is an integer greater than 0, and at least one spare antenna (such as...) Figure 1 The spare antennas 221 to 22M shown, where M is an integer greater than 0, and at least one radio frequency circuit (such as...) Figure 3 The radio frequency circuits 231 to 23N, antenna switching switch 240, and communication device 250 shown are provided. The number of the at least one main antenna is the same as the number of the at least one radio frequency circuit.
[0099] It should be noted that the main antenna mentioned in this application refers to the antenna primarily (or preferentially) used by the radio frequency circuit, that is, the antenna mainly responsible for transmitting or receiving radio frequency signals. The backup antenna refers to the antenna used as a substitute when the main antenna fails.
[0100] In one possible implementation, the at least one main antenna can be an external antenna.
[0101] In one possible implementation, the at least one spare antenna can be an external antenna; or, the at least one spare antenna can be an internal antenna; or, when there are multiple at least one spare antennas, a portion of the at least one spare antenna is an external antenna and another portion is an internal antenna.
[0102] The first end of the antenna switching switch 240 is connected to the at least one main antenna and the at least one spare antenna respectively. The second end of the antenna switching switch 240 is connected to the at least one radio frequency circuit respectively. The third end of the antenna switching switch is connected to the communication device 250. The antenna switching switch 240 is used to switch the connection status between each antenna at its first end and each radio frequency circuit at its second end.
[0103] Optionally, the communication device 250 may include one or more processors.
[0104] Optionally, the processor may be a general-purpose processor, a digital signal processor (DSP), a coprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., and this application does not limit it.
[0105] Optionally, the communication device 250 may include an antenna control module 251 and a signal processing module 252, wherein the antenna control module 251 is connected to the signal processing module 252, the antenna control module 251 is connected to the third terminal of the antenna switching switch 240, and the signal processing module 252 is connected to the at least one radio frequency circuit.
[0106] In one possible implementation, Figure 3 This illustration shows another schematic structural diagram of the communication device 200 provided in an embodiment of this application, wherein... Figure 3 For details not covered in the text, please refer to [the relevant source]. Figure 2 The relevant information is provided in [the document / reference]. Figure 3 As shown, the communication device 250 may include an antenna control module 251 and a signal processing module 252. The antenna control module 251 is connected to the signal processing module 252. The antenna control module 251 is connected to port 3 of the antenna switching switch 240, and the signal processing module 252 is connected to the at least one radio frequency circuit.
[0107] Optionally, the antenna control module 251 and the signal processing module 252 can be two independent sub-devices, or the antenna control module 251 and the signal processing module 252 can be two functional modules in the communication device 250. This application embodiment does not limit this.
[0108] In one possible implementation, the communication device 250 may include multiple processors, with the antenna control module 251 being a first processor and the signal processing module 252 being a second processor, wherein the multiple processors include the first processor and the second processor.
[0109] In another possible implementation, the communication device 250 may include a processor, and the antenna control module 251 and the signal processing module 252 may be different functional modules in the processor.
[0110] In one possible implementation, the antenna switching switch 240 can be a multiplexer switch.
[0111] For example, the antenna switching switch 240 can be an N-pole (N+M) throw switch.
[0112] Example, Figure 4 Another schematic structural diagram of the communication device 200 provided in this application embodiment is shown, wherein... Figure 4 For details not covered in the text, please refer to [the relevant source]. Figure 2 and Figure 3 The relevant information is provided in [the document / reference]. Figure 4 As shown, the first end of the antenna switch 240 includes ports 1-1 to 1-(N+M), where port 1-1 is connected to the main antenna 211, ..., port 1-N is connected to the main antenna 21N, port 1-(N+1) is connected to the spare antenna 221, ..., port 1-(N+M) is connected to the spare antenna 22M; the second end of the antenna switch 240 includes ports 2-1 to 2-N, where port 2-1 is connected to the radio frequency circuit 231, ..., port 2-N is connected to the radio frequency circuit 23N; the third end of the antenna switch 240 includes port 3, which is connected to the antenna control module 251.
[0113] Furthermore, a connecting component 4-1 is provided at port 2-1, ..., and a connecting component 4-N is provided at port 2-N. Connecting components 4-1 to 4-N are used to selectively establish connections with ports 1-1 to 1-(N+M) to switch the connection state between ports 1-1 to 1-(N+M) and ports 2-1 to 2-N. For example, connecting components 4-1 to 4-N sequentially establish connections with ports 1-1 to 1-N to achieve sequential connections between ports 1-1 to 1-N and ports 2-1 to 2-N.
[0114] Optionally, the radio frequency circuit described in this application may include at least one of a radio frequency transmitting circuit and a radio frequency receiving circuit.
[0115] Example, Figure 5 This illustration shows another schematic structural diagram of the communication device 200 provided in an embodiment of this application, wherein... Figure 5 For details not covered in the text, please refer to [the relevant source]. Figures 2 to 4 The relevant information is provided in [the document / reference]. Figure 5 As shown, the radio frequency circuit 231 includes a radio frequency transmitting circuit 231-1 and a radio frequency receiving circuit 231-2, while the radio frequency circuit 23N only includes a radio frequency receiving circuit 23N-2.
[0116] Optionally, the type of radio frequency circuit described in this application may include a main radio frequency circuit or a diversity radio frequency circuit. In most cases, the main radio frequency circuit includes a radio frequency transmitting circuit and a radio frequency receiving circuit, while the diversity radio frequency circuit only includes a radio frequency receiving circuit.
[0117] It should be noted that the components included in the radio frequency circuit described in this application and the connection relationships between the components can be referred to the circuit structures with relevant functions in the prior art, and will not be elaborated here.
[0118] It should be noted that a radio frequency (RF) transmitting circuit connected to an antenna can form a transmitting channel, which is used to transmit RF signals. Correspondingly, a radio frequency (RF) receiving circuit connected to an antenna can form a receiving channel, which is used to receive RF signals.
[0119] Optionally, in time-division duplex (TDD) mode, if the radio frequency circuit includes a radio frequency transmitting circuit and a radio frequency receiving circuit, then the radio frequency circuit may further include a single-pole double-throw switch. The first end of the single-pole double-throw switch is connected to the antenna switching switch 240, the second end of the single-pole double-throw switch is connected to the radio frequency transmitting circuit and the radio frequency receiving circuit respectively, and the third end of the single-pole double-throw switch is connected to the signal processing module 252. The single-pole double-throw switch is used to switch the connection state between the antenna switching switch 240 at its first end and the radio frequency transmitting circuit and the radio frequency receiving circuit at its second end, so as to control the radio frequency transmitting circuit and the radio frequency receiving circuit to transmit signals in time-division duplex mode.
[0120] For example, such as Figure 5 As shown, the radio frequency circuit 231 includes a radio frequency transmitting circuit 231-1, a radio frequency receiving circuit 231-2, and a switching switch 231-3. The first end of the switching switch 231-3 includes port 5, which is connected to port 2-1 of the antenna switching switch 240. The second end of the switching switch 231-3 includes ports 6-1 and 6-2. Port 6-1 is connected to one end of the radio frequency transmitting circuit 231-1, and the other end of the radio frequency transmitting circuit 231-1 is connected to the signal processing module 252. Port 6-2 is connected to the radio frequency receiving circuit 231-2, and the other end of the radio frequency receiving circuit 231-2 is connected to the signal processing module 252. The third end of the switching switch 231-3 includes port 7, which is connected to the signal processing module 252. A connecting component 8 is provided at port 5, which is used to selectively establish a connection with either port 6-1 or port 6-2 to switch the connection state of port 5 with each port 6 (such as port 6-1 or port 6-2).
[0121] Optionally, in frequency-division duplex (FDD) mode, if the radio frequency circuit includes a radio frequency transmitting circuit and a radio frequency receiving circuit, then the radio frequency circuit may also include a duplexer. The first end of the duplexer is connected to the antenna switching switch 240, and the second end of the duplexer is connected to the radio frequency transmitting circuit and the radio frequency receiving circuit respectively. The duplexer is used to enable the radio frequency transmitting circuit and the radio frequency receiving circuit to transmit signals in frequency-division duplex mode.
[0122] For example, such as Figure 6 As shown, the radio frequency (RF) circuit 231 includes an RF transmitting circuit 231-1, an RF receiving circuit 231-2, and a duplexer 231-3. The first end of the duplexer 231-3 includes port 5, which is connected to port 2-1 of the antenna switching switch 240. The second end of the duplexer 231-3 includes ports 6-1 and 6-2. Port 6-1 is connected to one end of the RF transmitting circuit 231-1, and the other end of the RF transmitting circuit 231-1 is connected to the signal processing module 252. Port 6-2 is connected to the RF receiving circuit 231-2, and the other end of the RF receiving circuit 231-2 is also connected to the signal processing module 252. The duplexer 231-3 is used for the RF transmitting circuit 231-1 and the RF receiving circuit 231-2 to transmit signals in a frequency division duplex mode.
[0123] In one possible implementation, such as Figure 6 As shown, the following will describe the uplink transmission process, downlink transmission process, and antenna switching process of the communication device 200, taking the at least one radio frequency circuit including radio frequency circuit 231 and radio frequency circuit 232 as an example. In FDD mode, the antenna switching switch 240 is in the first connection state. In the first connection state, the main antenna 211 is connected to the radio frequency circuit 231, and the main antenna 212 is connected to the radio frequency circuit 232. The radio frequency circuit 231 includes radio frequency transmitting circuit 231-1 and radio frequency receiving circuit 231-2, and the radio frequency circuit 232 includes radio frequency receiving circuit 232-2.
[0124] 1. Uplink transmission (i.e., the direction of transmission from communication device 200 to other communication devices)
[0125] The signal processing module 252 is used to provide baseband signals (or intermediate frequency signals) to the radio frequency transmitting circuit 231-1;
[0126] The radio frequency transmitting circuit 231-1 is used to perform a first processing on the baseband signal (or intermediate frequency signal) provided by the signal processing module 252 to obtain a radio frequency signal; and transmits the radio frequency signal to the main antenna 231 through the antenna switching switch 240.
[0127] Optionally, the first process described above may include digital-to-analog conversion, filtering, up-conversion, and power amplification.
[0128] The main antenna 231 is used to transmit the radio frequency signal.
[0129] 2. Downlink transmission (i.e., the direction of transmission from other communication devices to communication device 200)
[0130] The main antenna 211 is used to receive radio frequency signal 1; the radio frequency signal 1 is sent to the radio frequency receiving circuit 231-2 through the antenna switching switch 240.
[0131] The main antenna 212 is used to receive radio frequency signal 2; the radio frequency signal 2 is sent to the radio frequency receiving circuit 232-2 through the antenna switching switch 240.
[0132] It should be noted that the duplexer 231-3 is used for the RF transmitting circuit 231-1 and the RF receiving circuit 231-2 to work together in frequency division duplex mode.
[0133] The radio frequency receiving circuit 231-2 is used to perform down-conversion processing on the radio frequency signal 1 to obtain the baseband signal 1 (or intermediate frequency signal 1); and send the baseband signal 1 (or intermediate frequency signal 1) to the signal processing module 252.
[0134] The radio frequency receiving circuit 232-2 is used to perform a second processing on the radio frequency signal 2 to obtain the baseband signal 2 (or intermediate frequency signal 2); and send the baseband signal 2 (or intermediate frequency signal 2) to the signal processing module 252.
[0135] Optionally, the second processing described above may include low-noise amplification, down-conversion, filtering, analog-to-digital conversion, and other processing.
[0136] The signal processing module 252 is used to process the baseband signal 1 (or intermediate frequency signal 1) and the baseband signal 2 (or intermediate frequency signal 2).
[0137] Optionally, the communication device 200 may employ diversity reception technology. Diversity reception technology refers to the receiver utilizing the incoherence of fading when electromagnetic waves have sufficiently large differences in space, frequency, polarization, and time to receive multiple statistically independent fading signals carrying the same information. These received statistically independent fading signals are then combined to reduce the impact of signal fading, thereby improving diversity gain. Taking RF circuit 231 as the main RF circuit and RF circuit 232 as the diversity RF circuit as an example, the signal processing module 252 is used to perform demodulation, decoding, and combining of the baseband signal 1 (or intermediate frequency signal 1) and the baseband signal 2 (or intermediate frequency signal 2) to obtain the information carried by RF signal 1 and RF signal 2.
[0138] 3. Antenna switching
[0139] The antenna control module 251 is used to obtain the operating status of the main antenna 211 and the main antenna 212. If it is determined that the main antenna 211 changes from a normal state to a fault state based on the operating status of the main antenna 211 and the main antenna 212, the antenna switching switch 240 is controlled to switch from the first connection state to the target connection state. In the target connection state, the backup antenna 221 is connected to the radio frequency circuit 231, and the main antenna 212 is connected to the radio frequency circuit 232. The module sends connection information to the signal processing module 252. The connection information is used to indicate the connection mode of each antenna and each radio frequency circuit in the target connection state.
[0140] The signal processing module 252 is used to further control the transmission signals of each transmission channel formed under the target connection state, and to control the reception signals of each reception channel formed under the target connection state, based on the connection information mentioned above.
[0141] Optionally, the antenna control module 251 can obtain the operating status of each main antenna in a variety of ways, and this application does not limit this.
[0142] In one possible implementation, a detection circuit may be provided at each main antenna in the communication device 200, which is used to detect the operating status of each main antenna.
[0143] Example, Figure 6 This illustration shows another schematic structural diagram of the communication device 200 provided in an embodiment of this application, wherein... Figure 6 For details not covered in the text, please refer to [the relevant source]. Figures 2 to 5 The relevant information is provided in [the document / reference]. Figure 6 As shown, main antenna 211 is connected to port 1-1 of antenna switching switch 240 via detection circuit 261, ..., main antenna 21N is connected to port 1-N of antenna switching switch 240 via detection circuit 26N. Detection circuits 261 to 26N are respectively connected to antenna control module 251. The detection circuit at each main antenna is used to detect the operating status of each main antenna, including normal or fault status. The detection circuit at each main antenna is also used to send the detection result of each main antenna to antenna control module 251, and the detection result is used to indicate the operating status of each main antenna.
[0144] It should be noted that the devices included in the detection circuit described in this application and the connection relationships between the devices can refer to the circuit structures with relevant functions in the prior art, and will not be elaborated here.
[0145] In another possible implementation, the signal processing module 252 can detect the performance parameters of the signals transmitted by the at least one radio frequency circuit, obtain the detection result of each of the at least one radio frequency circuit, and use the detection result to indicate the operating status of the main antenna connected to each radio frequency circuit; and send the detection result of each radio frequency circuit to the antenna control module 251. Accordingly, the antenna control module 251 obtains the operating status of each main antenna.
[0146] The communication device provided in this application has been described above. The communication method used in the above communication device will be further described below.
[0147] Please refer to Figure 7 , Figure 7 A schematic flowchart of a communication method 300 provided in an embodiment of this application is shown. The communication method 300 can be used in the aforementioned communication device 200 (i.e., the first communication device) and can be executed by the communication device 250 in the communication device 200. The method 300 may include the following steps. It should be noted that the steps listed below can be executed in various orders and / or occur simultaneously, and are not limited to... Figure 7 The execution order is shown.
[0148] Step 301: When it is determined that the working state of the first main antenna changes from the normal state to the fault state, the antenna switching switch is controlled to switch to the target connection state. In the target connection state, at least one target antenna is connected to at least one target radio frequency circuit. The at least one main antenna includes the first main antenna. The at least one target antenna is selected from at least one currently available candidate antenna. The at least one candidate antenna includes the main antenna in the normal state and / or the at least one spare antenna. The at least one radio frequency circuit includes the at least one target radio frequency circuit. The number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit.
[0149] Optionally, if the communication device includes an antenna control module and a signal processing module, then step 301 can be performed by the antenna control module.
[0150] The above-mentioned at least one main antenna can be Figures 2 to 6 The main antennas 211 to 21N described herein. At least one of the aforementioned spare antennas can be... Figures 2 to 6 The spare antennas 221 to 22M mentioned above, the first main antenna can be any one or more of the at least one main antenna. The antenna switching switch can be... Figures 2 to 6 The antenna switching switch 240 described herein.
[0151] In one possible implementation, the at least one main antenna can be an external antenna.
[0152] In one possible implementation, the at least one spare antenna can be an external antenna; or, the at least one spare antenna can be an internal antenna; or, when there are multiple at least one spare antennas, some are external antennas and others are internal antennas.
[0153] It should be noted that the at least one candidate antenna includes the main antenna in the normal operating state among the at least one main antenna and / or the at least one spare antenna. It can be understood that if the at least one main antenna only includes the first main antenna, or if the remaining main antennas in the at least one main antenna are all in a fault state, then the at least one candidate antenna only includes the at least one spare antenna; otherwise, the at least one candidate antenna includes the at least one spare antenna and the main antenna in the normal operating state among the at least one main antenna.
[0154] It should be noted that the working state of the antenna described in this application is a fault state, which can be understood as the antenna malfunctioning or being damaged.
[0155] Using the communication method provided in this application, in the event of a failure of the first main antenna, it is necessary to select a new available antenna for the radio frequency circuit connected to the first main antenna. By setting at least one spare antenna for the first communication device, the antenna availability of the radio frequency circuit connected to the first main antenna can be increased, thereby maximizing the number of transmission channels of the first communication device as much as possible.
[0156] In one possible implementation, controlling the antenna switch to the target connection state in step 301 may include: determining the at least one candidate antenna; determining the at least one target antenna and the at least one target radio frequency circuit based on the at least one candidate antenna and the at least one radio frequency circuit, wherein the number of the at least one candidate antenna is a first number, the number of the at least one radio frequency circuit is a second number, and the number of the at least one target antenna and the at least one target radio frequency circuit are both target numbers, which are the smaller of the first number and the second number; determining the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state, wherein the at least one target antenna and the at least one target radio frequency circuit are connected in a one-to-one correspondence; and controlling the antenna switch to the target connection state based on the connection method.
[0157] For example, if the number of at least one candidate antenna is 5 and the number of at least one radio frequency circuit is 4, then the number of at least one target antenna and the number of at least one target radio frequency circuit are both 4, which can form 4 transmission channels; or, if the number of at least one candidate antenna is 3 and the number of at least one radio frequency circuit is 4, then the number of at least one target antenna and the number of at least one target radio frequency circuit are both 3, which can form 3 transmission channels.
[0158] Optionally, the radio frequency circuit described in this application may include at least one of a radio frequency transmitting circuit and a radio frequency receiving circuit.
[0159] It should be noted that a radio frequency (RF) transmitting circuit connected to an antenna can form a transmitting channel, which is used to transmit RF signals. Correspondingly, a radio frequency (RF) receiving circuit connected to an antenna can form a receiving channel, which is used to receive RF signals.
[0160] Optionally, the communication device may determine the at least one target antenna from the at least one candidate antenna in a variety of ways, and this application does not limit this.
[0161] In one possible implementation, the communication device may arbitrarily select a target number of candidate antennas from the at least one candidate antenna as the at least one target antenna.
[0162] In another possible implementation, the communication device may select a number of candidate antennas from the at least one candidate antennas in descending order of priority, and use these as the at least one target antenna. That is, the at least one target antenna is selected from the at least one candidate antennas in descending order of priority.
[0163] Optionally, this application does not limit the method of prioritizing the at least one candidate antenna.
[0164] In one possible implementation, the priority of the at least one main antenna is higher than the priority of the at least one backup antenna.
[0165] In another possible implementation, candidate antennas with better performance are given higher priority.
[0166] Optionally, this application does not limit the metrics for evaluating the performance of candidate antennas. For example, a candidate antenna with higher radiation efficiency generally has better performance.
[0167] It should be noted that the performance of the candidate antenna described in this application can be pre-measured or pre-configured, and this application does not limit the method of obtaining the performance of the candidate antenna.
[0168] Optionally, the communication device may determine the at least one target radio frequency circuit from the at least one radio frequency circuit in a variety of ways, and this application does not limit this.
[0169] In one possible implementation, the communication device may arbitrarily select a target number of radio frequency circuits from the at least one radio frequency circuit as the at least one target radio frequency circuit.
[0170] In another possible implementation, the communication device may select a target number of radio frequency circuits from the at least one radio frequency circuit in descending order of priority, as the at least one target radio frequency circuit. That is, the at least one target radio frequency circuit is selected from the at least one radio frequency circuit in descending order of priority.
[0171] Optionally, this application does not limit the method of prioritizing the at least one radio frequency circuit.
[0172] In one possible implementation, the type of the radio frequency circuit may include a master radio frequency circuit or a diversity radio frequency circuit, wherein the master radio frequency circuit has a higher priority than the diversity radio frequency circuit.
[0173] In this way, the communication device can combine the radio frequency signals received from the main radio frequency circuit and the radio frequency signals received from the diversity radio frequency circuit to obtain diversity gain, that is, improve the signal receiving gain.
[0174] In another possible implementation, the radio frequency circuit includes a radio frequency transmitting circuit and / or a radio frequency receiving circuit, wherein the radio frequency circuit including both the radio frequency transmitting circuit and the radio frequency receiving circuit has a higher priority than a radio frequency circuit including only the radio frequency transmitting circuit or only the radio frequency receiving circuit.
[0175] In this way, the communication device can maximize the number of receiving channels while keeping the number of transmitting channels constant, thereby improving the signal reception capability.
[0176] Optionally, the communication device may determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in a variety of ways, and this application does not limit this.
[0177] In one possible implementation, the communication device may determine the connection method by randomly matching the at least one target antenna and the at least one target radio frequency circuit.
[0178] In another possible implementation, the communication device may determine the connection method between the at least one target antenna and the at least one target radio frequency circuit based on the priority of the at least one target antenna and the priority of the at least one target radio frequency circuit.
[0179] For example, the communication device can determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in descending order of priority of the at least one target antenna and priority of the at least one target radio frequency circuit.
[0180] For example, the at least one target antenna includes a main antenna 1, a main antenna 2, and a backup antenna 1, and the at least one radio frequency circuit includes a main radio frequency circuit 1, a diversity radio frequency circuit 1, and a diversity radio frequency circuit 2, wherein the priorities of the main antenna 1, the main antenna 2, and the backup antenna 1 decrease sequentially, and the priorities of the main radio frequency circuit 1, the diversity radio frequency circuit 1, and the diversity radio frequency circuit 2 decrease sequentially. Then, the communication device can determine that the main antenna 1 is connected to the main radio frequency circuit 1, the main antenna 2 is connected to the diversity radio frequency circuit 1, and the backup antenna 1 is connected to the diversity radio frequency circuit 2.
[0181] Optionally, the antenna switching switch can be a multiplexed switch, such as an N-pole (M+N) throw switch.
[0182] Using the communication method provided in this application, at least one target radio frequency circuit is connected to the at least one target antenna through an antenna switching switch, which can improve the flexibility of the connection between each antenna and each radio frequency circuit.
[0183] Optionally, before step 301, the communication device needs to determine whether the operating state of the first main antenna changes from the normal state to the fault state.
[0184] Optionally, the communication device can determine the change of the operating state of the first main antenna from the normal state to the fault state in a variety of ways, and this application does not limit this.
[0185] In one possible implementation, the communication device may receive detection results from the detection circuit of each of the at least one main antenna, the detection results of each main antenna being used to indicate the operating state of each main antenna; based on the detection results of the detection circuit of each main antenna, the operating state of the first main antenna in the current round of detection results is determined; if the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, the operating state of the first main antenna is determined to change from the normal state to the fault state.
[0186] Optionally, if the communication device includes an antenna control module and a signal processing module, the steps described in the previous paragraph can be performed by the antenna control module.
[0187] Optionally, the communication device can determine the main antennas that are in normal working condition based on the detection results of each main antenna, and use them as candidate antennas.
[0188] The detection circuit of the main antenna described above can be as follows: Figure 6 The detection circuit 261 of the main antenna 211, ..., the detection circuit 26N of the main antenna 21N described herein.
[0189] By using the communication method provided in this application, the working status of each main antenna is monitored in real time through the detection circuit set at each main antenna. The communication device can promptly detect and locate the faulty main antenna and promptly switch the radio frequency circuit connected to the faulty antenna to a new available antenna, thereby improving the reliability of communication.
[0190] In another possible implementation, the communication device can detect the performance parameters of the signals transmitted by the at least one radio frequency circuit to obtain the detection result of each radio frequency circuit in the at least one radio frequency circuit. The detection result of each radio frequency circuit is used to indicate the operating state of the main antenna connected to each radio frequency circuit. Based on the detection result of each radio frequency circuit, the operating state of the first main antenna in the current round of detection results is determined. If the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, the operating state of the first main antenna is determined to change from the normal state to the fault state.
[0191] For example, the above performance parameters may include: signal quality, power, and / or strength.
[0192] Optionally, this application does not limit the manner in which the communication device obtains the detection result of each of the at least one radio frequency circuit by detecting the performance parameters of the signal transmitted by the at least one radio frequency circuit.
[0193] Optionally, if the communication device includes an antenna control module and a signal processing module, the steps described in the previous paragraph can be performed by the signal processing module. Optionally, after the signal processing module determines that the first main antenna has transitioned from the normal state to the fault state, the signal processing module sends an indication message to the antenna control module, the indication message indicating that the first main antenna has transitioned from the normal state to the fault state. Accordingly, the antenna control module can determine the transition of the first main antenna from the normal state to the fault state based on the indication message.
[0194] Optionally, the communication device can determine the main antenna that is in normal working condition based on the detection results of each radio frequency circuit, and use it as a candidate antenna.
[0195] Using the communication method provided in this application, the communication device itself has the function of detecting the working status of the antenna, without the need to add additional detection circuits, which can reduce the complexity of the first communication device.
[0196] Step 302: Determine the transmission capability of the first communication device in the target connection state. The transmission capability is used to indicate at least one of the number of transmit channels and the number of receive channels of the first communication device.
[0197] Optionally, if the communication device includes an antenna control module and a signal processing module, then step 302 can be performed by either the antenna control module or the signal processing module. Specifically, if step 301 is performed by the antenna control module and step 302 is performed by the signal processing module, then before step 302, the antenna control module can send connection information to the signal processing module. This connection information indicates the connection relationship between the at least one target antenna and the at least one target radio frequency circuit in the target connection state. Accordingly, in step 302, the signal processing module can determine the transmission capability of the first communication device in the target connection state based on the connection information.
[0198] It should be noted that since the radio frequency circuit may include at least one of the radio frequency transmitting circuit and the radio frequency receiving circuit, step 302 can be understood as: determining the maximum number of transmitting channels (i.e., the maximum number of transmitting channels) and receiving channels (i.e., the maximum number of receiving channels) that the at least one target antenna and the at least one target radio frequency circuit can form in the target connection state.
[0199] For example, the at least one target antenna includes a main antenna 1, a main antenna 2, a main antenna 3, and a spare antenna. The at least one radio frequency circuit includes radio frequency circuit 1 (including radio frequency transmitting circuit 1 and radio frequency receiving circuit 1), radio frequency circuit 2 (including radio frequency transmitting circuit 2 and radio frequency receiving circuit 2), radio frequency circuit 3 (including radio frequency receiving circuit 3), and radio frequency circuit 4 (including radio frequency receiving circuit 4). The main antenna 1 connected to radio frequency circuit 1 can form a maximum of one transmitting channel and one receiving channel; the main antenna 2 connected to radio frequency circuit 2 can form a maximum of one transmitting channel and one receiving channel; the main antenna 3 connected to radio frequency circuit 3 can form a maximum of one receiving channel; and the spare antenna connected to radio frequency circuit 4 can form a maximum of one receiving channel. Therefore, the at least one target antenna and the at least one target radio frequency circuit can form a maximum of two transmitting channels and four receiving channels, meaning the first communication device has a maximum of two transmitting channels and a maximum of four receiving channels.
[0200] It should be noted that the transmission capability of the first communication device may include at least one of transmission capability and reception capability, wherein the transmission capability is used to indicate the number of transmission channels and the reception capability is used to indicate the number of reception channels.
[0201] It should also be noted that the transmission capacity corresponding to P transmission channels can be understood as: the maximum number of data streams that the first communication device can send through the P transmission channels, where P is an integer greater than 0; the reception capacity corresponding to Q reception channels can be understood as: the maximum number of data streams that the first communication device can receive through the Q reception channels, where Q is an integer greater than 0.
[0202] It should also be noted that one transmit channel can be used to send one data stream, and one receive channel can be used to receive one data stream. Therefore, the transmit capacity corresponding to P transmit channels is P data streams, and the receive capacity corresponding to Q receive channels is Q data streams. That is, the transmission capacity of the first communication device is P transmit Q receive.
[0203] For example, taking a first communication device comprising four main antennas, one spare antenna, two radio frequency circuits including radio frequency transmitting and receiving circuits, and two radio frequency circuits including only radio frequency receiving circuits, Table 1 below shows the configuration of the at least one target antenna, the number of transmission channels, and the configuration of the transmission capability in the event of failure of different numbers of main antennas.
[0204] Table 1
[0205]
[0206] Here, MIMO stands for Multiple-input Multiple-output, and SISO stands for Single-input Single-output.
[0207] For example, the above-mentioned transmission capability of 2×2 MIMO means that the first communication device can send a maximum of 2 data streams to the second communication device.
[0208] For example, the above-mentioned receiving capability of 4×4 MIMO means that the first communication device can receive a maximum of 4 data streams from the second communication device.
[0209] Step 303: Send capability information to the second communication device, the capability information being used to indicate the transmission capability.
[0210] Optionally, if the communication device includes an antenna control module and a signal processing module, then step 303 can be executed by the signal processing module. If step 302 is executed by the antenna control module and step 303 is executed by the signal processing module, then before step 303, the antenna control module can send the capability information to the signal processing module.
[0211] Step 304: Communicate with the second communication device based on the transmission capability.
[0212] Optionally, if the communication device includes an antenna control module and a signal processing module, then step 304 can be performed by the signal processing module.
[0213] In one possible implementation, taking a 4×4 MIMO transmission capability as an example, the first communication device can send a maximum of 4 data streams to the second communication device. That is, the first communication device can send no more than 4 (i.e., 4 or less) data streams to the second communication device based on the current network status, the current amount of data being transmitted, etc.
[0214] In the prior art, a failure of the main antenna used by the first communication device may cause a change in the number of transmission channels of the first communication device, resulting in a mismatch between the current transmission capacity of the first communication device and the default transmission capacity when establishing a communication link with the second communication device. Therefore, the first communication device needs to re-establish a communication link with the second communication device that can match the changed transmission capacity. Such frequent establishment of communication links may lead to communication interruption, thereby reducing the reliability of communication and user experience.
[0215] Using the communication method provided in this application embodiment, when the main antenna being used by the first communication device fails, the first communication device can control the antenna switching switch to switch to the target connection state. Based on the connection relationship between the at least one target antenna and the at least one radio frequency circuit in the target connection state, the number of transmission channels of the first communication device is determined, and the transmission capacity corresponding to the changed number of transmission channels is promptly informed to the second communication device, so that the first communication device and the second communication device can adaptively match the transmission capacity, thereby maximizing communication reliability and communication experience.
[0216] Example, Figure 8 The diagram illustrates a flowchart of a communication method 400 provided in an embodiment of this application. The communication method 400 can be used in the aforementioned communication device 200 (i.e., the first communication device). The method 400 may include the following steps. It should be noted that the steps listed below can be performed in various orders and / or occur simultaneously, and are not limited to... Figure 8 The execution order is shown.
[0217] It should be noted that, before the execution of method 400, the first communication device includes main antennas 1 to 4, a spare antenna 1, radio frequency circuits 1 (including radio frequency transmitting circuit 1 and radio frequency receiving circuit 1), 2 (including radio frequency transmitting circuit 2 and radio frequency receiving circuit 2), 3 (including radio frequency receiving circuit 3), and 4 (including radio frequency receiving circuit 4). The main antennas 1, 2, 3, and 4 are connected to the radio frequency circuits 1, 2, 3, and 4 respectively. That is, the transmission capability of the first communication device is 2 transmitting channels and 4 receiving channels. When the first communication device establishes a communication link with the second communication device, the default transmission capability is 2×2 MIMO transmission capability and 4×4 MIMO reception capability.
[0218] S401. The first communication device obtains the detection result of each of the main antennas 1 to 4, and the detection result of each main antenna is used to indicate the operating status of each main antenna, including fault status or normal status.
[0219] S402. Based on the detection results of each main antenna, the first communication device determines whether any main antenna has failed in the current round of detection. If yes, proceed to S403; otherwise, proceed to S404.
[0220] The following description will continue with the example of main antenna 1 and main antenna 2 operating in a fault state (i.e., main antenna 1 and main antenna 2 are malfunctioning) and main antenna 3 and main antenna 4 operating in a normal state.
[0221] S403. If the first communication device determines that the detection results of the main antenna 1 and the main antenna 2 in this round are in a fault state, then the first communication device determines whether the working state of the main antenna 1 and the main antenna 2 has changed based on the detection results of this round and the previous round. If yes, then execute S405; if no, then execute S404.
[0222] The following section will continue with an example of how the main antenna 1 and the main antenna 2 were found to be in normal working condition in the previous round of testing.
[0223] S404. If the first communication device determines that the current detection result of the main antenna 1 and the main antenna 2 is a fault state, and the previous detection result was also a fault state, then the first communication device communicates with the second communication device according to the default transmission capability. S401 is executed after S404.
[0224] S405. If the first communication device determines that the current detection result of the main antenna 1 and the main antenna 2 is a fault state, and the previous detection result is a normal state, then the first communication device determines that the currently available candidate antennas are the main antenna 3, the main antenna 4 and the backup antenna 1.
[0225] The following will continue the introduction using the order of priority from low to high for the main antenna 3, the main antenna 4, and the backup antenna 1, and the order of priority from high to low for the radio frequency circuit 1, the radio frequency circuit 2, the radio frequency circuit 3, and the radio frequency circuit 4.
[0226] S406. The first communication device determines, based on the main antenna 3, the main antenna 4, the backup antenna 1, the radio frequency circuit 1, the radio frequency circuit 2, the radio frequency circuit 3, and the radio frequency circuit 4, that the main antenna 3, the main antenna 4, and the backup antenna 1 are connected to the radio frequency circuit 1, the radio frequency circuit 2, and the radio frequency circuit 3.
[0227] S407. The first communication device determines the connection method of the main antenna 3, the main antenna 4, and the backup antenna 1 with the radio frequency circuit 1, the radio frequency circuit 2, and the radio frequency circuit 3 in the target connection state based on the priority of the main antenna 3, the main antenna 4, and the backup antenna 1 and the priority of the radio frequency circuit 1, the radio frequency circuit 2, and the radio frequency circuit 3, wherein the connection method includes: the backup antenna 1 is connected to the radio frequency circuit 1, the main antenna 4 is connected to the radio frequency circuit 2, and the main antenna 3 is connected to the radio frequency circuit 3.
[0228] S408. Based on the connection method, the first communication device controls the antenna switching switch to switch from the current connection state to the target connection state.
[0229] S409. Determine the updated transmission capability of the first communication device in the target connection state, the updated transmission capability being used to indicate that the first communication device includes 2 transmit channels and 3 receive channels.
[0230] S410. Based on the updated transmission capability, the first communication device sends capability information to the second communication device, the capability information indicating that the updated transmission capability of the first communication device is 2 transmit and 3 receive. Accordingly, the second communication device receives the capability information.
[0231] S411. The first communication device communicates with the second communication device based on the updated transmission capability. S401 is executed after S411.
[0232] It should be noted that the parts in S401 to S411 above that are not described in detail can be referred to the relevant description in method 300, and will not be repeated here.
[0233] As can be seen, by using the communication method provided in this application, the first communication device can improve the antenna availability of each radio frequency circuit in emergency scenarios (such as when the main antenna fails) by adding a backup antenna; the first communication device can improve the flexibility of the connection between each candidate antenna and each radio frequency circuit by controlling the multiplexed antenna switching switch; the first communication device can maximize the transmission capacity of the first communication device by determining the target antenna and target radio frequency circuit and their connection relationship based on priority; the first communication device can promptly interact with the second communication device to notify it when the transmission capacity changes, so that both parties can adaptively match the new transmission capacity, thereby maximizing the communication reliability and communication experience.
[0234] The above combination Figure 7 and Figure 8 The communication method provided in the embodiments of this application has been introduced. The communication device provided in the embodiments of this application will be further described below.
[0235] Please refer to Figure 9 , Figure 9 A schematic block diagram of a communication device 500 provided in an embodiment of this application is shown, such as... Figure 9 As shown, the communication device 500 can be used in the aforementioned communication device 200 (i.e., the first communication device), and can be the communication device 250 in the aforementioned communication device 200. The communication device 500 may include a control unit 501, a determination unit 502, and a communication unit 503.
[0236] The control unit 501 is used to control the antenna switching switch to the target connection state when it is determined that the working state of the first main antenna changes from the normal state to the fault state. In the target connection state, at least one target antenna is connected to at least one target radio frequency circuit. The at least one main antenna includes the first main antenna. The at least one target antenna is selected from at least one currently available candidate antenna. The at least one candidate antenna includes the main antenna in the normal state and / or the at least one spare antenna. The at least one radio frequency circuit includes the at least one target radio frequency circuit. The number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit.
[0237] The determining unit 502 is used to determine the transmission capability of the first communication device in the target connection state, and the transmission capability is used to indicate at least one of the number of transmission channels and the number of reception channels of the first communication device;
[0238] The communication unit 503 is used to send capability information to the second communication device, the capability information being used to indicate the transmission capability; and to communicate with the second communication device based on the transmission capability.
[0239] In one possible implementation, the determining unit 502 is specifically configured to determine, based on the at least one candidate antenna and the at least one radio frequency circuit, the at least one target antenna and the at least one target radio frequency circuit, wherein the number of the at least one candidate antenna is a first number, the number of the at least one radio frequency circuit is a second number, and the number of the at least one target antenna and the at least one target radio frequency circuit are both target numbers, the target number being the smaller of the first number and the second number; based on the at least one target antenna and the at least one target radio frequency circuit, determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state; the control unit 501 is specifically configured to control the antenna switching switch to switch to the target connection state based on the connection method.
[0240] In one possible implementation, the at least one target antenna is selected from the at least one candidate antenna in descending order of priority, and the at least one target radio frequency circuit is selected from the at least one radio frequency circuit in descending order of priority.
[0241] In one possible implementation, the determining unit 502 is specifically used to determine the connection method based on the priority of the at least one target antenna and the priority of the at least one target radio frequency circuit.
[0242] In one possible implementation, the type of the radio frequency circuit includes a master radio frequency circuit or a diversity radio frequency circuit, wherein the master radio frequency circuit has a higher priority than the diversity radio frequency circuit.
[0243] In one possible implementation, the radio frequency circuit includes a radio frequency transmitting circuit and / or a radio frequency receiving circuit, wherein the radio frequency circuit including both the radio frequency transmitting circuit and the radio frequency receiving circuit has a higher priority than a radio frequency circuit including only the radio frequency transmitting circuit or a radio frequency circuit including only the radio frequency receiving circuit.
[0244] In one possible implementation, the priority of the at least one main antenna is higher than that of the at least one backup antenna.
[0245] In one possible implementation, the candidate antenna with better performance has higher priority.
[0246] In one possible implementation, the first communication device further includes a detection circuit for each of the at least one main antennas, the detection circuit for each main antenna being used to detect the operating state of each main antenna. The communication unit 503 is further used to receive detection results from the detection circuits of each main antenna before controlling the antenna switching switch to the target connection state when the control unit 501 determines that the operating state of the first main antenna has changed from a normal state to a fault state. The detection results are used to indicate the operating state of each main antenna. The determining unit 502 is further used to determine the operating state of the first main antenna in the current round of detection results based on the detection results of the detection circuits of each main antenna. If the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, the determining unit 502 determines that the operating state of the first main antenna has changed from the normal state to the fault state.
[0247] In one possible implementation, the device further includes a detection unit 504, which is configured to detect the performance parameters of the signals transmitted by the at least one radio frequency circuit before controlling the antenna switching switch to the target connection state when the control unit 501 determines that the operating state of the first main antenna has changed from a normal state to a fault state. The detection unit 504 obtains the detection result of each of the at least one radio frequency circuits, and the detection result is used to indicate the operating state of the main antenna connected to each radio frequency circuit. The determining unit 502 is further configured to determine the operating state of the first main antenna in the current round of detection results based on the detection results of each radio frequency circuit. If the operating state of the first main antenna in the current round of detection results is the fault state, and the operating state of the first main antenna in the previous round of detection results is the normal state, the device determines that the operating state of the first main antenna has changed from the normal state to the fault state.
[0248] In one possible implementation, the main antenna is an external antenna, and the backup antenna is either an external antenna or an internal antenna.
[0249] Figure 9One or more of the units in the illustrated embodiments can be implemented by software, hardware, firmware, or a combination thereof. The software or firmware includes, but is not limited to, computer program instructions or code, and can be executed by a hardware processor. The hardware includes, but is not limited to, various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or an application-specific integrated circuit (ASIC).
[0250] Please see Figure 10 , Figure 10 A schematic block diagram of a communication device 600 provided in an embodiment of this application is shown. The communication device 600 may include a processor 601 and a communication interface 602, which are coupled together.
[0251] The communication interface 602 is used to input signals to the processor 601 and / or output signals from the processor 601; the processor 601 executes computer programs or instructions to enable the communication device 600 to implement the communication methods described in the embodiments of method 300 and method 400 above.
[0252] The processor 601 in this embodiment may include one or more processing units. Optionally, the processing unit may include, but is not limited to, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor may be a microprocessor, a microcontroller, or any conventional processor.
[0253] For example, processor 601 is configured to, when determining that the operating state of the first main antenna changes from a normal state to a fault state, control the antenna switching switch to switch to a target connection state, in which at least one target antenna is connected to at least one target radio frequency circuit, wherein the at least one main antenna includes the first main antenna, the at least one target antenna is selected from at least one currently available candidate antenna, the at least one candidate antenna includes the main antenna in the normal operating state and / or the at least one spare antenna, the at least one radio frequency circuit includes the at least one target radio frequency circuit, and the number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit; determine the transmission capability of the first communication device in the target connection state, the transmission capability being used to indicate at least one of the number of transmit channels and the number of receive channels of the first communication device; send capability information to the second communication device through communication interface 602, the capability information being used to indicate the transmission capability; and communicate with the second communication device through communication interface 602 based on the transmission capability.
[0254] In an alternative example, those skilled in the art will understand that the communication device 600 may specifically be the communication device in the embodiments of method 300 and method 400 described above. The communication device 600 may be used to execute the various processes and / or steps corresponding to the communication device in the embodiments of method 300 and method 400 described above. To avoid repetition, these will not be described again here.
[0255] Optionally, the communication device 600 may also include a memory 603.
[0256] The memory 603 can be volatile memory or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
[0257] Specifically, memory 603 is used to store program code and instructions of the communication device. Optionally, memory 603 is also used to store information or data obtained by processor 601 during the execution of the embodiments of methods 300 and 400 described above, such as detection results obtained through communication interface 602.
[0258] Alternatively, the memory 603 may be a separate device or integrated into the processor 601.
[0259] It should be noted that, Figure 10 Only a simplified design of the communication device 600 is shown. In practical applications, the communication device 600 may also include other necessary components, including but not limited to any number of communication interfaces, processors, controllers, memory, etc., and all communication devices 600 that can implement this application are within the protection scope of this application.
[0260] In one possible design, the communication device 600 can be a chip. Optionally, the chip may also include one or more memories for storing computer-executable instructions. When the chip device is running, the processor can execute the computer-executable instructions stored in the memories to cause the chip to perform the aforementioned communication method.
[0261] Optionally, the chip device can be a field-programmable gate array, a dedicated integrated circuit, a system-on-a-chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, or a programmable controller or other integrated chip to implement the relevant functions.
[0262] This application also provides a computer-readable storage medium storing computer instructions that, when executed on a computer, implement the communication method described in the above method embodiments.
[0263] This application also provides a computer program product that, when run on a processor, implements the communication method described in the above method embodiments.
[0264] The communication device, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding communication methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding communication methods provided above, and will not be repeated here.
[0265] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices through some interfaces, and may be electrical, mechanical, or other forms.
[0266] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0267] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method, characterized in that, The method is used in a communication device, the communication device being used in a first communication equipment, the first communication equipment further comprising at least one main antenna, at least one backup antenna, at least one radio frequency circuit, and an antenna switching switch, wherein the number of the at least one main antenna and the number of the at least one radio frequency circuit are the same, and the method includes: When it is determined that the working state of the first main antenna changes from normal state to fault state, the antenna switching switch is controlled to switch to target connection state. In the target connection state, at least one target antenna is connected to at least one target radio frequency circuit. The at least one main antenna includes the first main antenna. The at least one target antenna is selected from at least one currently available candidate antenna. The at least one candidate antenna includes the main antenna in the normal state and / or the at least one spare antenna. The at least one radio frequency circuit includes the at least one target radio frequency circuit. The number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit. Determine the transmission capability of the first communication device in the target connection state, wherein the transmission capability is used to indicate at least one of the number of transmit channels and the number of receive channels of the first communication device; Send capability information to the second communication device, the capability information being used to indicate the transmission capability; Based on the aforementioned transmission capability, it communicates with the second communication device.
2. The method according to claim 1, characterized in that, The control of switching the antenna switch to the target connection state includes: Based on the at least one candidate antenna and the at least one radio frequency circuit, the at least one target antenna and the at least one target radio frequency circuit are determined, wherein the number of the at least one candidate antenna is a first number, the number of the at least one radio frequency circuit is a second number, and the number of the at least one target antenna and the at least one target radio frequency circuit are both target numbers, wherein the target number is the smaller value between the first number and the second number; Based on the at least one target antenna and the at least one target radio frequency circuit, determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state; Based on the connection method, control the antenna switching switch to switch to the target connection state.
3. The method according to claim 2, characterized in that, Determining the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state, based on the at least one target antenna and the at least one target radio frequency circuit, includes: The connection method is determined based on the priority of the at least one target antenna and the priority of the at least one target radio frequency circuit.
4. The method according to claim 2 or 3, characterized in that, The at least one target antenna is selected from the at least one candidate antenna in descending order of priority, and the at least one target radio frequency circuit is selected from the at least one radio frequency circuit in descending order of priority.
5. The method according to claim 4, characterized in that, The type of radio frequency circuit includes a master radio frequency circuit or a diversity radio frequency circuit, wherein the master radio frequency circuit has a higher priority than the diversity radio frequency circuit; and / or, The radio frequency circuit includes a radio frequency transmitting circuit and / or a radio frequency receiving circuit, wherein the radio frequency circuit that includes both a radio frequency transmitting circuit and a radio frequency receiving circuit has a higher priority than a radio frequency circuit that only includes a radio frequency transmitting circuit or a radio frequency circuit that only includes a radio frequency receiving circuit.
6. The method according to claim 3 or 5, characterized in that, The priority of the at least one primary antenna is higher than the priority of the at least one backup antenna; and / or, Candidate antennas with better performance have higher priority.
7. The method according to any one of claims 1-3 and 5, characterized in that, The first communication device further includes a detection circuit for each of the at least one main antenna, wherein the detection circuit for each main antenna is used to detect the operating state of each main antenna. Before controlling the antenna switching switch to the target connection state when it is determined that the operating state of the first main antenna has changed from a normal state to a fault state, the method further includes: The detection results from the detection circuit of each main antenna are received, and the detection results are used to indicate the operating status of each main antenna; Based on the detection results of the detection circuit of each main antenna, the working state of the first main antenna in this round of detection results is determined; If the working state of the first main antenna in the current round of detection results is the fault state, and the working state of the first main antenna in the previous round of detection results is the normal state, then the working state of the first main antenna is determined to have changed from the normal state to the fault state.
8. The method according to any one of claims 1-3 and 5, characterized in that, Before controlling the antenna switching switch to switch to the target connection state when it is determined that the operating state of the first main antenna has changed from a normal state to a fault state, the method further includes: The performance parameters of the signal transmitted by the at least one radio frequency circuit are detected to obtain the detection result of each radio frequency circuit in the at least one radio frequency circuit. The detection result is used to indicate the working status of the main antenna connected to each radio frequency circuit. Based on the detection results of each radio frequency circuit, the operating state of the first main antenna in this round of detection results is determined; If the working state of the first main antenna in the current round of detection results is the fault state, and the working state of the first main antenna in the previous round of detection results is the normal state, then the working state of the first main antenna is determined to have changed from the normal state to the fault state.
9. The method according to any one of claims 1-3 and 5, characterized in that, The main antenna is an external antenna, and the backup antenna is either an external antenna or an internal antenna.
10. A communication device, characterized in that, The communication device is used in a first communication device, which further includes at least one main antenna, at least one backup antenna, at least one radio frequency circuit, and an antenna switching switch. The number of the at least one main antenna is the same as the number of the at least one radio frequency circuit. The device includes a control unit, a determination unit, and a communication unit. The control unit is used to control the antenna switching switch to the target connection state when it is determined that the working state of the first main antenna changes from the normal state to the fault state. In the target connection state, at least one target antenna is connected to at least one target radio frequency circuit. The at least one main antenna includes the first main antenna. The at least one target antenna is selected from at least one currently available candidate antenna. The at least one candidate antenna includes the main antenna in the normal state and / or the at least one spare antenna. The at least one radio frequency circuit includes the at least one target radio frequency circuit. The number of the at least one target antenna is the same as the number of the at least one target radio frequency circuit. The determining unit is used to determine the transmission capability of the first communication device in the target connection state, and the transmission capability is used to indicate at least one of the number of transmission channels and the number of reception channels of the first communication device; The communication unit is used to send capability information to the second communication device, the capability information being used to indicate the transmission capability; and to communicate with the second communication device based on the transmission capability.
11. The apparatus according to claim 10, characterized in that, The determining unit is specifically configured to determine, based on the at least one candidate antenna and the at least one radio frequency circuit, the at least one target antenna and the at least one target radio frequency circuit, wherein the number of the at least one candidate antenna is a first number, the number of the at least one radio frequency circuit is a second number, and the number of the at least one target antenna and the at least one target radio frequency circuit are both target numbers, the target number being the smaller of the first number and the second number; and based on the at least one target antenna and the at least one target radio frequency circuit, determine the connection method between the at least one target antenna and the at least one target radio frequency circuit in the target connection state; The control unit is specifically used to control the antenna switching switch to switch to the target connection state based on the connection method.
12. The apparatus according to claim 11, characterized in that, The determining unit is specifically used to determine the connection method based on the priority of the at least one target antenna and the priority of the at least one target radio frequency circuit.
13. The apparatus according to claim 11 or 12, characterized in that, The at least one target antenna is selected from the at least one candidate antenna in descending order of priority, and the at least one target radio frequency circuit is selected from the at least one radio frequency circuit in descending order of priority.
14. The apparatus according to claim 13, characterized in that, The type of radio frequency circuit includes a master radio frequency circuit or a diversity radio frequency circuit, wherein the master radio frequency circuit has a higher priority than the diversity radio frequency circuit; and / or, The radio frequency circuit includes a radio frequency transmitting circuit and / or a radio frequency receiving circuit, wherein the radio frequency circuit that includes both a radio frequency transmitting circuit and a radio frequency receiving circuit has a higher priority than a radio frequency circuit that only includes a radio frequency transmitting circuit or a radio frequency circuit that only includes a radio frequency receiving circuit.
15. The apparatus according to claim 13 or 14, characterized in that, The priority of the at least one primary antenna is higher than the priority of the at least one backup antenna; and / or, Candidate antennas with better performance have higher priority.
16. The apparatus according to any one of claims 10-12, 14, characterized in that, The first communication device further includes a detection circuit for each of the at least one main antenna, wherein the detection circuit for each main antenna is used to detect the operating status of each main antenna; The communication unit is further configured to receive detection results from the detection circuit of each main antenna before controlling the antenna switching switch to switch to the target connection state when the control unit determines that the operating state of the first main antenna has changed from the normal state to the fault state. The detection results are used to indicate the operating state of each main antenna. The determining unit is further configured to determine the operating state of the first main antenna in the current round of detection results based on the detection results of the detection circuit of each main antenna; If the working state of the first main antenna in the current round of detection results is the fault state, and the working state of the first main antenna in the previous round of detection results is the normal state, then the working state of the first main antenna is determined to have changed from the normal state to the fault state.
17. The apparatus according to any one of claims 10-12, 14, characterized in that, The device also includes a detection unit. The detection unit is used to detect the performance parameters of the signal transmitted by the at least one radio frequency circuit before controlling the antenna switching switch to switch to the target connection state when the control unit determines that the working state of the first main antenna has changed from the normal state to the fault state. The detection unit obtains the detection result of each radio frequency circuit in the at least one radio frequency circuit, and the detection result is used to indicate the working state of the main antenna connected to each radio frequency circuit. The determining unit is further configured to determine the operating state of the first main antenna in the current round of detection results based on the detection results of each radio frequency circuit; If the working state of the first main antenna in the current round of detection results is the fault state, and the working state of the first main antenna in the previous round of detection results is the normal state, then the working state of the first main antenna is determined to have changed from the normal state to the fault state.
18. The apparatus according to any one of claims 10-12, 14, characterized in that, The main antenna is an external antenna, and the backup antenna is either an external antenna or an internal antenna.
19. A communication device, characterized in that, include: At least one processor and at least one communication interface, the at least one processor and the at least one communication interface being coupled, the at least one communication interface being used to provide information and / or signals to the at least one processor, the at least one processor being used to execute computer program instructions to perform the method according to any one of claims 1-9.
20. A communication device, characterized in that, include: The device comprises at least one main antenna, at least one backup antenna, at least one radio frequency circuit, an antenna switching switch, and a communication apparatus as described in any one of claims 10-19, wherein the number of the at least one main antenna is the same as the number of the at least one radio frequency circuit.
21. A terminal, characterized in that, Including the communication device as described in claim 20 above.
22. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the method as described in any one of claims 1-9.
23. A computer program product, characterized in that, When the computer program product is run on a processor, it implements the method as described in any one of claims 1-9.
Citation Information
Patent Citations
Antenna switching trigger control method, communication terminal and computer-readable storage medium
CN107612581A
Antenna switching method and related product
CN110212965A
