Method and device for determining antenna channel status

By combining the cross-channel prediction model with the posture of the terminal device, the channel state of the second antenna can be accurately predicted, solving the time-consuming and labor-intensive problem of terminal device channel state detection and achieving efficient and accurate antenna selection.

CN115483952BActive Publication Date: 2025-09-05HUAWEI TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110601732.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2025-09-05
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

In the prior art, when a terminal device determines an antenna with better channel quality, it needs to exhaustively search the channel status of each antenna, which is time-consuming, labor-intensive, and resource-intensive, and fails to effectively consider the impact of the terminal device's posture on the channel status.

Method used

By determining the channel state and current posture of the first antenna on the terminal device, the channel state of the second antenna is predicted using a cross-channel prediction model, reducing the number of measurements and taking into account the influence of posture to improve accuracy.

Benefits of technology

It reduces the power consumption and resource consumption of terminal devices, improves the detection efficiency and accuracy of antenna channel status, and ensures communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115483952B_ABST
    Figure CN115483952B_ABST
Patent Text Reader

Abstract

A method and device for determining the channel state of an antenna, used to reduce power consumption when measuring the antenna channel state, improve antenna channel state detection efficiency, and save resources. In this method, a communication device can determine a first channel state of a first antenna on a terminal device, and then determine a second channel state of a second antenna on the terminal device based on the first channel state of the first antenna and the current posture of the terminal device. In this way, it is not necessary to measure the channel state of each antenna on the terminal device, reducing power consumption caused by the measurement, taking into account the impact of the terminal device's posture on the antenna's channel state, and improving the accuracy of determining the channel state of the antenna on the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of terminal equipment, and in particular to a method and apparatus for determining the channel state of an antenna. Background Art

[0002] With the widespread adoption of Massive MIMO technology, many terminal devices are equipped with multiple antennas. When communicating with network devices, these devices typically select the antenna with the best channel quality from among the multiple antennas configured on the terminal device.

[0003] To accurately determine the antenna with the best channel quality on a terminal device, the terminal device can use an exhaustive search method to measure the channel status of each of its antennas. The device then determines the antenna with the best channel quality based on the measured channel status for each antenna. This exhaustive search method requires measuring the channel status for each antenna, which is time-consuming, labor-intensive, and consumes a significant amount of terminal device resources. Summary of the Invention

[0004] The present application provides a method and apparatus for determining the channel state of an antenna, so as to improve the efficiency of antenna channel state detection and save resources.

[0005] In a first aspect, the present application provides a method for determining an antenna channel state, which can be applied to a communication device. In this method, the communication device can determine a first channel state of a first antenna on a terminal device and a current posture of the terminal device. Then, based on the first channel state and the current posture, the second channel state of a second antenna on the terminal device is determined.

[0006] Using the above method, there is no need to measure the channel state of each antenna on the terminal device, which reduces the power consumption caused by the measurement, takes into account the impact of the terminal device's posture on the channel state of the antenna, and improves the accuracy of determining the channel state of the antenna on the terminal device.

[0007] In some possible implementations, the first antenna includes at least two adjacent antennas on the terminal device. This allows accurate determination of the first antenna on the terminal device whose channel state needs to be measured, facilitating subsequent determination of the second channel state of the second antenna on the terminal device.

[0008] In some possible implementations, the first antenna includes at least two non-adjacent antennas. This allows for a more even distribution of the first antennas on the terminal device, fully accounting for the correlation between the channel state of the first antenna and the channel state of the second antenna, facilitating subsequent determination of the second channel state of the second antenna on the terminal device and improving the accuracy of the predicted second channel state.

[0009] In some possible implementations, the first antenna includes an antenna that is currently in operation, so as to ensure the accuracy of the channel state of the antenna that is currently in operation as much as possible.

[0010] In some possible implementations, the first antenna includes: a designated antenna, or a randomly selected antenna.

[0011] It should be noted that the above are several examples of the first antenna. The first antenna may also be an antenna on the terminal device determined in any manner, and the embodiments of the present application are not limited thereto.

[0012] In some possible implementations, the second antenna includes at least one antenna adjacent to the first antenna. The correlation between the channel state of the first antenna and the channel state of the second antenna can be fully considered to improve the accuracy of the predicted second channel state of the second antenna.

[0013] Of course, in addition to the above-mentioned method of determining the second antenna, the second antenna may also include: at least one antenna separated by a certain number from the first antenna; or, at least one antenna having the same transceiver characteristics as the first antenna; or, an antenna specified among other antennas other than the first antenna on the terminal device; or, an antenna randomly selected from other antennas other than the first antenna on the terminal device.

[0014] It should be noted that the above are several examples of the second antenna. The second antenna may also be an antenna on the terminal device determined in any manner, and the embodiments of the present application are not limited thereto.

[0015] In some possible implementations, the communication device may predict a third channel state of the second antenna based on the first channel state and the correlation between the first antenna and the second antenna, and then adjust the predicted third channel state based on the current posture to obtain the second channel state.

[0016] By adopting the above method, the influence of the terminal device's posture on the channel state of the second antenna on the terminal device can be fully considered, and the predicted third channel state of the second antenna can be adjusted to obtain the accurate second channel state of the second antenna.

[0017] In certain possible implementations, when the channel state of the first antenna of the terminal device is the first channel state, changes in the channel state of the second antenna at different postures of the terminal device are recorded. Subsequently, the communication device may adjust the predicted third channel state based on the current posture of the terminal device and the recorded changes in the channel state of the second antenna at different postures to obtain the second channel state.

[0018] Using the above method, the impact of the current posture on the channel state of the second antenna on the terminal device can be conveniently and accurately determined, that is, the change in the channel state of the second antenna on the terminal device under the current posture can be determined, so as to accurately adjust the predicted third channel state and obtain the accurate second channel state of the second antenna.

[0019] In some possible embodiments, a cross-channel prediction model is stored in the communication device, and the communication device calculates the current posture and the first channel state by using the cross-channel prediction model to obtain the second channel state of the second antenna; wherein the cross-channel prediction model includes a first feature extraction network, a second feature extraction network and a prediction network, the first feature extraction network is used to extract the first feature vector corresponding to the first channel state; the second feature extraction network is used to extract the second feature vector corresponding to the current posture; the prediction network is used to predict the second channel state based on the first feature vector and the second feature vector.

[0020] Using the above method, the second channel state of the second antenna on the terminal device can be easily and accurately predicted based on the current posture and the first channel state, without measuring the channel states of all antennas on the terminal device, thereby reducing the workload required for the terminal device.

[0021] In certain possible implementations, in order to obtain a cross-channel prediction model, sample data is pre-collected, the sample data including the fourth channel state of the first antenna, the sample posture of the terminal device, and the fifth channel state of the second antenna. During the training of the cross-channel prediction model, the fourth channel state and the sample posture are calculated using the cross-channel prediction model to obtain the sixth channel state of the second antenna. If the sixth channel state is consistent with the fifth channel state, training is stopped; if the sixth channel state is inconsistent with the fifth channel state, the cross-channel model is adjusted so that the channel state of the second antenna obtained by the adjusted cross-channel model is consistent with the fifth channel state.

[0022] By adopting the above method, the cross-channel prediction model obtained is relatively accurate, and can accurately predict the cross-channel prediction model of the second channel state of the second antenna on the terminal device.

[0023] In some possible embodiments, the fourth channel state and / or the fifth channel state is a channel state normalized according to an average channel amplitude coefficient; wherein the average channel amplitude coefficient is pre-stored, or determined based on the first original channel state of the first antenna and the second original channel state of the second antenna in the sample data, wherein the first original channel state is the channel state before the fourth channel state is normalized, and the second original channel state is the channel state before the fifth channel state is normalized.

[0024] By adopting the above method, the error in the fourth channel state and / or the fifth channel state can be reduced, and the accuracy of the cross-channel prediction model can be improved.

[0025] In some possible implementations, the average channel amplitude coefficient satisfies:

[0026]

[0027] Wherein, σ is the average channel amplitude, S is the total number of sample data, H s To represent the first original channel state and the second original channel state in the s-th sample data, ‖‖ F Represents the norm.

[0028] In certain possible implementations, before determining the second channel state of the second antenna on the terminal device based on the current posture of the terminal device and the first channel state, the communication device further determines a first channel quality based on the first channel state. A determination is then made as to whether the first channel quality is less than a first threshold. If the first channel quality is determined to be less than the first threshold, the subsequent step of determining the second channel state of the second antenna on the terminal device based on the current posture of the terminal device and the first channel state is performed.

[0029] The above method is used to help reduce the large amount of resources consumed by frequently determining the second channel status of the second antenna on the terminal device.

[0030] In certain possible implementations, after determining the second channel state, the communication device may determine a second channel quality based on the second channel state. Then, it is determined whether the second channel state is greater than a second threshold. Only if it is determined that the second channel quality is greater than the second threshold is the terminal device's working antenna switched to the second antenna.

[0031] The above method not only avoids frequent switching of working antennas, which affects the stability of communication between the terminal device and the network side device, but also ensures that the terminal device uses the antenna with better channel quality on the terminal device as the working antenna for communication, thereby ensuring the quality of communication of the terminal device.

[0032] In some possible implementations, the communication device is the terminal device, or the communication device is a network side device connected to the terminal device; wherein, when the communication device is the network side device, the method further includes: the network side device sending the second channel state to the terminal device.

[0033] Using the above method, when the communication device is a network side device, the terminal device only needs to detect the first channel state of the first antenna. For the channel state of the second antenna, the network side device can perform cross-channel prediction and send the predicted second channel state to the terminal device, saving the workload of the terminal device and alleviating the pressure on the terminal device.

[0034] In a second aspect, embodiments of the present application further provide a communication device. The communication device has the function of implementing the behavior in the method example of the first aspect described above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more units (or modules) corresponding to the above functions, such as a receiving unit and a processing unit.

[0035] In a third aspect, embodiments of the present application further provide a communication device. This communication device has the functionality to implement the behaviors described in the method example of the first aspect. In one possible implementation, the communication device includes a memory and a processor. The memory is configured to store computer programs or instructions; the processor is configured to execute part or all of the computer programs or instructions in the memory. When these part or all of the computer programs or instructions are executed, the method described in the first aspect is implemented.

[0036] In a fourth aspect, the present application provides a chip system, which includes one or more processors (also referred to as processing circuits), and the processors are electrically coupled to a memory (also referred to as a storage medium); the memory may be located in the chip system or not in the chip system; the memory is used to store computer programs or instructions; the processor is used to execute part or all of the computer programs or instructions in the memory, and when the part or all of the computer programs or instructions are executed, it is used to implement the communication function in the above-mentioned first aspect and any possible implementation method of the first aspect.

[0037] In one possible implementation, the chip system may further include an input / output interface (also referred to as a communication interface), the input / output interface being configured to output signals processed by the processor or receive signals input to the processor. The input / output interface may perform the sending action or receiving action performed in the first aspect and any possible implementation of the first aspect. Specifically, the output interface performs the sending action, and the input interface performs the receiving action.

[0038] In a possible implementation, the chip system may be composed of a chip, or may include a chip and other discrete devices.

[0039] In a fifth aspect, the present application provides a communication system comprising a terminal device and a network-side device. In some embodiments, the terminal device has the functionality to implement the behaviors described in the method examples of the first aspect. For example, the terminal device is configured to transmit the first channel state and posture of a first antenna to the network-side device. In other embodiments, the network-side device has the functionality to implement the behaviors described in the method examples of the first aspect.

[0040] In a sixth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program includes instructions for implementing the functions of the first aspect and any possible implementation of the first aspect.

[0041] In a seventh aspect, the present application provides a computer program product, including a computer program or instructions, which, when executed, can implement the method described in the above-mentioned first aspect or any possible design of the first aspect.

[0042] The technical effects that can be achieved in the second to seventh aspects mentioned above can be referred to the technical effects that can be achieved in the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a scenario of an antenna channel status determination process provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of the structure of a base station provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of a process for determining antenna channel status provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of a first antenna and a second antenna on a terminal device provided in an embodiment of the present application;

[0049] Figure 7 A schematic diagram of a posture provided in an embodiment of the present application;

[0050] Figure 8A schematic diagram of the structure of a deep neural network provided in an embodiment of the present application;

[0051] Figure 9 A schematic diagram of the structure of a fully connected parameter network provided in an embodiment of the present application;

[0052] Figure 10 A schematic diagram of the structure of a cross-channel prediction model provided in an embodiment of the present application;

[0053] Figure 11 A schematic diagram of a training process of a cross-channel prediction model provided in an embodiment of the present application;

[0054] Figure 12 A schematic diagram of a scene of a sports area provided in an embodiment of the present application;

[0055] Figure 13 A line graph of the normalized mean square error of the channel state predicted by the cross-channel prediction model provided in an embodiment of the present application;

[0056] Figure 14 A line graph of the normalized mean square error of the channel state predicted by the cross-channel prediction model provided in an embodiment of the present application;

[0057] Figure 15 A schematic diagram of a flow chart of a method for determining antenna channel status provided in an embodiment of the present application;

[0058] Figure 16 A schematic diagram of a flow chart of a method for determining antenna channel status provided in an embodiment of the present application;

[0059] Figure 17 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0060] Figure 18 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The following is an explanation of the relevant terms in this application.

[0062] 1) Network-side equipment, including, for example, access network (AN) equipment, such as a base station (e.g., access point), which can refer to equipment in the access network that communicates with wireless terminal devices over the air interface through one or more cells, or, for example, a network-side equipment in a vehicle-to-everything (V2X) technology is a roadside unit (RSU). The base station can be used to convert received air frames to and from IP packets, acting as a router between the terminal device and the rest of the access network, where the rest of the access network may include an IP network. The RSU can be a fixed infrastructure entity that supports V2X applications and can exchange messages with other entities that support V2X applications. The network-side equipment can also coordinate attribute management of the air interface. For example, the network side device may include an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in a long term evolution (LTE) system or long term evolution-advanced (LTE-A), or may also include an evolved packet core network (EPC), the fifth generation mobile communication technology (5G), a next generation node B (gNB) in a new radio (NR) system (also referred to as an NR system), or may also include a centralized unit (CU) and a distributed unit (DU) in a cloud radio access network (Cloud RAN) system, which is not limited in the embodiments of the present application.

[0063] The network side equipment may also include core network equipment, which may include, for example, access and mobility management function (AMF) and the like.

[0064] In the embodiments of the present application, the apparatus for implementing the functions of the network-side device may be the network-side device, or may be a device capable of supporting the network-side device in implementing the functions, such as a chip system, which may be installed in the network-side device. In the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described by taking the network-side device as an example.

[0065] 2) Terminal devices, also known as terminals, include devices that provide voice and / or data connectivity to users. Specifically, these devices include devices that provide voice to users, devices that provide data connectivity to users, or devices that provide both voice and data connectivity to users. For example, these devices may include handheld devices with wireless connectivity or processing devices connected to wireless modems. These terminal devices can communicate with the core network via the radio access network (RAN), exchanging voice or data with the RAN, or exchanging voice and data with the RAN. The terminal device may include user equipment (UE), wireless terminal device, mobile terminal device, device-to-device (D2D) terminal device, vehicle-to-everything (V2X) terminal device, machine-to-machine / machine-type communications (M2M / MTC) terminal device, Internet of Things (IoT) terminal device, subscriber unit, subscriber station, mobile station, remote station, access point (AP), remote terminal device, access terminal device, user terminal device, user agent, or user device, etc. For example, it may include a mobile phone (or "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer-built-in mobile device, etc. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), and other devices. Also included are constrained devices, such as those with low power consumption, limited storage capacity, or limited computing power.Examples include barcodes, radio frequency identification (RFID), sensors, global positioning systems (GPS), laser scanners, and other information sensing devices.

[0066] As an example and not a limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices or smart wearable devices, etc., which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, bracelets, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, etc., as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0067] The various terminal devices introduced above, if located on a vehicle (eg, placed in or installed in a vehicle), can be considered as vehicle-mounted terminal devices, which are also called on-board units (OBUs).

[0068] In the embodiments of the present application, the device for realizing the function of the terminal device can be a terminal device, or a device capable of supporting the terminal device to realize the function, such as a chip system, which can be installed in the terminal device. In the embodiments of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices. In the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described by taking the terminal device as an example of the device for realizing the function of the terminal device.

[0069] It should be noted that the terminal device and the terminal in the following embodiments are the same concept.

[0070] 3) In the embodiments of this application, the terms "system" and "network" are used interchangeably. "Multiple" refers to two or more, and other quantifiers are used similarly. "And / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, unless the context clearly dictates otherwise, the singular forms "a," "an," and "the" do not mean "one or only one" but rather "one or more than one." For example, "a device" means one or more such devices. Furthermore, "at least one of..." means one or any combination of the subsequent associated objects. For example, "at least one of A, B, and C" includes A, B, C, AB, AC, BC, or ABC. It should be understood that in the embodiments of this application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B based solely on A; B can also be determined based on A and / or other information.

[0071] It should be noted that, in the description of this application, terms such as "first" and "second" are used solely for descriptive purposes and are not to be construed as indicating or implying relative importance or order. For example, "first SRS" and "second SRS" simply represent two different SRSs, without regard to order or relative importance.

[0072] 4) The “connection” appearing in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.

[0073] The following describes the technical solutions provided by the embodiments of the present application in detail with reference to the accompanying drawings. The features or contents marked with dotted lines in the accompanying drawings can be understood as optional operations or optional structures of the embodiments of the present application.

[0074] Figure 1 This is a schematic diagram of a communication system provided in an embodiment of the present application. Figure 1 As shown, the communication system includes a terminal device 100 and a network side device 200. The types of the terminal device 100 and the network side device 200 have been introduced in the previous glossary section and will not be repeated here. Figure 2 In the figure, it is taken as an example that the network side device 200 is a base station.

[0075] In earlier communication systems, the network device 200 was deployed with multiple antennas, while the terminal device was deployed with a single antenna. In this case, the network device 200 could use a neural network to learn the correlations between different antennas on the network device 200 and then predict the channel states of other antennas based on the channel states of some antennas. However, since the location of the network device 200 (such as a base station) is relatively fixed and its posture does not change, the network device 200 does not need to consider changes in its posture when learning the correlations between different antennas. However, with the advancement of terminal device technology, multiple antennas can also be deployed on terminal devices. If an exhaustive search method is used to measure the channel state of each antenna, switching between different antennas is required, which is time-consuming, labor-intensive, and consumes a lot of power. If the network device method is used to learn the correlations between different antennas, the accuracy is low because the posture of the terminal device changes in real time during user use, and the terminal device posture affects the channel state of the antenna. Therefore, the network device solution is not suitable for terminal devices.

[0076] In view of this, the embodiment of the present application provides a method for determining the channel state of an antenna, which is applicable to Figure 1 The terminal device 100 shown can also be applied to Figure 1 The network-side device 200 shown in FIG. The following mainly introduces the application of the terminal device as an example. Specifically, the terminal device can determine (or measure) the first channel state of the first antenna on the terminal device, and then determine the second channel state of the second antenna on the terminal device based on the first channel state of the first antenna and the current posture of the terminal device. This approach, on the one hand, does not require channel state measurement for each antenna, reducing the power consumption caused by the measurement, and takes into account the impact of the posture of the terminal device on the channel state of the antenna, thereby improving the accuracy of determining the channel state of the antenna on the terminal device.

[0077] Figure 2 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 2 As shown, the terminal device is provided with four antennas, which are numbered 1, 2, 3, and 4. The terminal device can determine the first channel state of the first antenna, and then determine the second channel state of the second antenna based on the current posture and the first channel state. For example, the first antenna is numbered 1 and numbered 2, and the second antenna is numbered 2 and numbered 4. Figure 2 In (a), the terminal device determines the channel states of antennas numbered 1 and 3, and then determines the channel states of antennas numbered 2 and 4 based on the current posture of the terminal device and the channel states of antennas numbered 1 and 3, as shown in Figure 2. Figure 2 (b).

[0078] In this way, the terminal device only needs to measure the channel states of antennas numbered 1 and 3. The channel states of antennas numbered 2 and 4 can be predicted based on the channel states of antennas numbered 1 and 3. The number of antennas that need to be measured is reduced, which saves power consumption caused by measuring the channel states of antennas. In addition, the influence of the posture of the terminal device on the channel state of the antenna is taken into account, thereby improving the accuracy of the determined channel state of the antenna.

[0079] The following describes the equipment related to this application.

[0080] Figure 3 The following is a schematic diagram of the structure of a terminal device 100 provided in an embodiment of the present application. The terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device used in industrial control, a wireless terminal device used in self-driving, a wireless terminal device used in remote medical care, a wireless terminal device used in smart grids, a wireless terminal device used in transportation safety, a wireless terminal device used in smart cities, a wireless terminal device used in smart homes, and the like.

[0081] The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0082] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0083] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0084] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0085] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0086] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0087] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0088] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by at least two antennas including antenna 1, and filter, amplify and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.

[0089] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0090] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0091] In some embodiments, at least two antennas of the terminal device 100, including antenna 1, are coupled to the mobile communication module 150, and antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0092] When the mobile communication module 150 is coupled with at least two antennas, an antenna with better channel quality is generally selected as a transmitting antenna to transmit signals.

[0093] According to one solution, antenna selection can be performed based on transmitter antenna selection (TAS) / multiple antenna selection (MAS) technology. With TAS / MAS, the modem processor calculates the channel status of each antenna in real time and then uses a set signal difference threshold (e.g., 6dB) between the two antennas to determine whether to switch antennas, selecting the antenna with better channel quality for signal transmission and reception.

[0094] Terminal device 100 has at least two antennas, including a first antenna and a second antenna. When the first communication device and the second communication device are wirelessly communicating, some of the antennas of the first communication device (e.g., the first antenna) can be used as primary antennas, while the remaining antennas (e.g., the second antenna) can be used as diversity antennas. The primary antenna of the first communication device, also known as a transmit antenna, is used for transmitting and receiving signals. The diversity antenna of the first communication device, also known as an idle antenna, is used for receiving signals.

[0095] It is understandable that Figure 3 The illustrated structure does not constitute a specific limitation on the terminal device 100. For example, in other embodiments of the present application, the terminal device 100 may include more or fewer components than shown, or may combine or separate certain components, or may have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0096] Figure 4 FIG2 shows a schematic diagram of the structure of a network side device 200. The network side device 200 includes at least one processor ( Figure 4 The exemplary embodiment includes a processor 2001 as an example for description), at least one transceiver ( Figure 4 The exemplary embodiment includes a transceiver 2003 as an example) and at least one network interface ( Figure 4 Optionally, the network side device 200 may further include at least one memory ( Figure 4 The exemplary embodiment includes a memory 2002 as an example for explanation). Among them, the processor 2001, the memory 2002, the transceiver 2003 and the network interface 2004 are connected through a communication line. The network interface 2004 is used to connect to the core network device through a link (for example, an S1 interface), or to connect to the network interface of other network side devices through a wired or wireless link (for example, an X2 interface). Figure 4 In addition, the description of the processor 2001 and the memory 2002 can refer to the description of the processor 110 and the memory 121 in the terminal device 100, and will not be repeated here.

[0097] The transceiver 2003 is configured to receive a channel state sent by a terminal device, where the channel state includes the channel state of one or more antennas provided on the terminal device.

[0098] It is understandable that Figure 4The illustrated structure does not constitute a specific limitation on the network-side device 200. For example, in other embodiments of the present application, the network-side device 200 may include more or fewer components than illustrated, or may combine or separate certain components, or may have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0099] Example 1

[0100] Figure 5 A flow chart of a method for determining the channel state of an antenna provided in an embodiment of the present application, the flow chart can be applied to an electronic device, the electronic device can be Figure 1 The terminal device 100 shown may also be Figure 1 The network side device 200 shown in FIG. Figure 5 As shown, the method includes the following steps:

[0101] S501: Determine a first channel state of a first antenna on a terminal device.

[0102] Optionally, before S501, the step may also be included: determining a first antenna on the terminal device. "Determining" here can also be understood as "selecting". The first antenna may be at least one of multiple antennas on the terminal device. When the first antenna includes multiple antennas (antenna set), the number of antennas included in the first antenna is less than the total number of antennas on the terminal device. There are multiple ways to determine the first antenna, including but not limited to at least one of the following:

[0103] Method 1: The first antenna is an adjacent antenna on the terminal device.

[0104] Adjacent here means that there is no other antenna between the two antennas. For example, Figure 2 (a) The terminal device is provided with four antennas, antennas numbered 1 and 2 are adjacent antennas, antennas numbered 3 and 4 are adjacent antennas, and the first antenna can be antennas numbered 1 and 2, or antennas numbered 3 and 4.

[0105] Method 2: The first antenna is a non-adjacent antenna on the terminal device.

[0106] Here, non-adjacent means that there are other antennas between the two first antennas. The number of other antennas between each adjacent two first antennas can be the same, or can be partially or completely different. For example, see Figure 6, the terminal device is equipped with 8 antennas, numbered 1, 2, 3, 4, 5, 6, 7, and 8. For example, if the number of other antennas between each two adjacent first antennas is the same, and assuming that the number is 1, the first antennas may include antennas numbered 1, 3, 5, and 7, because these four antennas are separated by one antenna. For example, if the number of other antennas between each two adjacent first antennas is completely different, the first antennas may be antennas numbered 1, 5, and 7.

[0107] Method three: the first antenna may be an antenna currently in operation on the terminal device.

[0108] The term "working" can be understood as currently sending or receiving data, or as referring to an antenna that is currently activated. For example, a terminal device is provided with eight antennas, numbered 1, 2, 3, 4, 5, 6, 7, and 8. The antennas currently working are numbered 1, 3, 5, and 7, respectively. The antennas numbered 1, 3, 5, and 7 can be determined as the first antenna.

[0109] Method 4: The first antenna may be one or more antennas specified on the terminal device.

[0110] The designated antenna may be a default antenna designated by the terminal device before leaving the factory, or may be user-specified, or specified in a protocol, or may be specified by a network-side device, and this embodiment of the present application does not limit this.

[0111] Method five: the first antenna is one or more antennas randomly selected on the terminal device.

[0112] Optionally, the number of first antennas may be limited, for example, the number of first antennas is less than a first preset number. The first preset number may be set by default, set by the user, specified by a protocol, or specified by a network-side device, and is not limited in this embodiment of the application.

[0113] After determining the first antenna, the terminal device may determine a first channel state of the first antenna, that is, S501.

[0114] In some embodiments, the first channel state of the first antenna can be understood as the channel state of the channel corresponding to the first antenna. The channel may include at least one of an uplink channel or a downlink channel. The first channel state may include at least one of the retransmission rate, block error rate, spectrum efficiency, signal-to-noise ratio, and reference signal transmission / reception power of the channel corresponding to the first antenna. For example, when the channel is an uplink channel, the first channel state includes at least one of the retransmission rate, block error rate, and spectrum efficiency of the uplink channel corresponding to the first antenna. For another example, when the channel is a downlink channel, the first channel state includes at least one of the signal-to-noise ratio and reference signal reception power of the downlink channel corresponding to the first antenna.

[0115] As an example, the method for determining the first channel state of the first antenna in S501 can be that the terminal device sends a sounding signal to the network side device on the first antenna, and measures (or evaluates) the first channel state of the first antenna through the sounding signal. The sounding signal can be, for example, a sounding reference signal (SRS) or other signal capable of detecting a channel.

[0116] Taking the first channel state including the block error rate as an example, the terminal device sends any data block through the first antenna. If it is correctly received by the network side device, the network side device will return quality feedback information indicating confirmation (ACK or first new data indication) to the terminal device; if it is not correctly received by the network side device, the network side device returns quality feedback information indicating negation (NACK or second new data indication) to the terminal device. In this way, the terminal device can determine whether the database is correctly received by the network side device based on its corresponding quality feedback information. If it is not correctly received, the data block is considered to be an erroneous data block. Therefore, the terminal device can calculate the block error rate based on the total number of data blocks sent and the erroneous data blocks.

[0117] S502: Determine the current posture of the terminal device.

[0118] The current posture of the terminal device may include the posture of the terminal device body and / or the posture of the antenna array on the terminal device. The posture of the antenna array is used as an example for description below.

[0119] The posture can be described by an attitude angle, and the attitude angle includes at least one of a yaw angle, a pitch angle, and a roll angle. The pitch angle can be understood as the deflection angle in the vertical direction caused by the rotation of the antenna array on the terminal device around the origin O of the preset three-dimensional coordinate system XYZ. The yaw angle can be understood as the deflection angle in the horizontal direction caused by the rotation of the antenna array on the terminal device around the origin O of the preset three-dimensional coordinate system XYZ. The roll angle can be understood as the deflection angle caused by the rotation of the plane where the antenna array on the terminal device is located with the reference axis in the preset three-dimensional coordinate system XYZ (for example, the coordinate axis where the antenna array is located) as the axis center.

[0120] Take the attitude angle of the antenna array including the pitch angle and yaw angle as an example, Figure 7 The schematic diagram of the attitude angle shown in the figure, where the three-dimensional coordinate system XYZ is a preset reference coordinate system, and the antenna array on the terminal device rotates around the origin O of the three-dimensional coordinate system XYZ, and the three-dimensional coordinate system after rotation is determined to be X'Y'Z'. The dotted line in the figure represents the projection of the Y' axis in the three-dimensional coordinate system X'Y'Z' on the XOY plane in the three-dimensional coordinate system XYZ. Among them, θ is the vertical deflection angle caused by the rotation of the antenna array on the terminal device around the origin O of the preset three-dimensional coordinate system XYZ, that is, θ is the pitch angle of the antenna array on the terminal device, It is the horizontal deflection angle generated by the rotation of the antenna array on the terminal device around the origin O of the preset three-dimensional coordinate system XYZ, that is, is the yaw angle of the antenna array on the terminal device, It is understandable that the posture information of the terminal device can be obtained through vector representation.

[0121] It should be noted that this application does not limit the execution order of S501 and S502, that is, S501 can be executed simultaneously with S502, S501 can be executed first and then S502, or S502 can be executed first and then S501.

[0122] S503: Determine a second channel state of the second antenna according to the first channel state and the current state.

[0123] Optionally, before S503, the method may further include the step of determining a second antenna on the terminal device. "Determining" here can also be understood as "selecting." The second antenna is at least one antenna on the terminal device other than the first antenna. The number of first antennas and second antennas may be the same or different, and is not limited in this embodiment of the present application.

[0124] The method of determining the second antenna includes but is not limited to at least one of the following:

[0125] Method 1: The second antenna is at least one antenna adjacent to the first antenna.

[0126] For example, Figure 2 (a) The terminal device is provided with four antennas, antennas numbered 1 and 2 are the first antennas on the terminal device, and at least one antenna adjacent to the first antenna is antenna numbered 3 and antenna numbered 4 respectively. The second antenna can be antenna numbered 3 and antenna numbered 4, or antenna numbered 3.

[0127] For example, Figure 6 , the terminal device is provided with 8 antennas, numbered 1, 2, 3, 4, 5, 6, 7, and 8. If the first antenna on the terminal device is an antenna numbered 1, 3, 5, or 7, and at least one antenna adjacent to the first antenna is an antenna numbered 2, 4, 6, or 8, then the second antenna can be an antenna numbered 2, 4, 6, or 8. If the first antenna on the terminal device is an antenna numbered 1, 5, or 7, then the second antenna can be an antenna numbered 2, 4, 6, or 8, or so on.

[0128] In a second embodiment, the second antenna is at least one antenna that is spaced a certain distance from the first antenna.

[0129] For example, Figure 2 (a) The terminal device is provided with four antennas. Antennas numbered 1 and 2 are the first antennas on the terminal device. Antenna numbered 4, which is separated from antenna numbered 2 by one other antenna, is determined as the first antenna.

[0130] Method 3: Determine the second antenna based on the transmit / receive characteristics of the first antenna. It should be understood that the second antenna is at least one antenna with the same transmit / receive characteristics as the first antenna. For example, if the first antenna is a transmit antenna, then the second antenna is also a transmit antenna; or, if the first antenna is a receive antenna, then the second antenna is also a receive antenna. In other words, the first antenna and the second antenna can both be transmit antennas or both be receive antennas.

[0131] Method 4: Determine a designated antenna among other antennas on the terminal device as the second antenna. The other antenna is an antenna other than the first antenna on the terminal device. The designated antenna may be user-specified, system-defaulted, protocol-specified, or network-side specified, and this embodiment of the application does not limit this.

[0132] Mode 5: randomly selecting one or more antennas from other antennas on the terminal device as the second antenna. The other antennas are antennas other than the first antenna on the terminal device.

[0133] Optionally, the number of second antennas may be limited, for example, the number of second antennas may be less than a second preset number. The second preset number may be set by default, set by the user, specified by a protocol, or specified by a network device. The second preset number may be the same as or different from the first preset number.

[0134] After determining the second antenna, the terminal device may determine the second channel state of the second antenna according to the first channel state and the current posture of the first antenna, that is, S503.

[0135] One possible implementation method is that the channel state of the antenna on the terminal device will change under different postures. Therefore, the terminal device can predict the third channel state of the second antenna based on the first channel state and the correlation between the first antenna and the second antenna. For example, a neural network is used to learn the correlation between different antennas on the terminal device and the first channel state to predict the third channel state of the second antenna on the terminal device. Then, based on the current posture of the terminal device, the third channel state is adjusted to obtain the second channel state of the second antenna on the terminal device. Among them, the process of using a neural network to learn the correlation between different antennas on the terminal device and predicting the third channel state of the second antenna based on the first channel state of the first antenna is not described in detail in this application.

[0136] Exemplarily, when the channel state of the first antenna on the terminal device is in the first channel state, the posture of the terminal device can be continuously changed, and the changes in the channel state of the second antenna under different postures can be recorded (this process can occur before the terminal device leaves the factory). In this way, the correspondence between the changes in the channel state of the second antenna and the posture when the first antenna is in the first channel state can be recorded. Subsequently, when the third channel state is adjusted according to the current posture of the terminal device, the changes in the channel state of the second antenna can be determined in the corresponding relationship according to the current posture, and the third channel state can be adjusted according to the changes to obtain the second channel state.

[0137] In order to improve computing efficiency, the terminal device can calculate the first channel state and current posture of the first antenna through an artificial intelligence (AI) model to obtain the second channel state of the second antenna. Exemplarily, a cross-channel prediction model is stored in the terminal device, and the cross-channel prediction model can determine the channel state of another antenna based on the channel state of one antenna and the current state of the terminal device. Here, "determine" can also be understood as "predict" or "evaluate". Among them, the cross-channel prediction model can be a decision tree, logistic regression (LR), naive Bayes (NB) classification algorithm, random forest (RF) algorithm, support vector machine (SVM) classification algorithm, histogram of oriented gradients (HOG), deep learning algorithm, etc. Among them, the deep learning algorithm can include neural network, deep neural network, convolutional neural network (CNN), etc. The cross-channel prediction model can be a default model after the terminal device leaves the factory, or the terminal device has an initial model after leaving the factory, and the initial model is trained to obtain the cross-channel prediction model.

[0138] The following introduction takes the cross-channel prediction model as an example of a deep neural network.

[0139] Figure 8 This is a schematic diagram of a deep neural network provided in an embodiment of the present application. Figure 8 As shown, the deep neural network includes a first feature extraction network layer, a second feature extraction network layer and a prediction network layer. Among them, the first feature extraction network layer and the second feature extraction network layer are both connected to the prediction network layer. Among them, the first feature extraction network layer is used to extract the implicit features (denoted as the first eigenvector) in the first channel state through methods such as convolution calculation. The second feature extraction network layer is used to extract the implicit features (denoted as the second eigenvector) in the current posture through methods such as convolution calculation. The prediction network layer is used to determine the second channel state of the channel corresponding to the second antenna on the terminal device based on the first eigenvector and the second eigenvector.

[0140] The first eigenvector is digital information extracted from the first channel state, which represents more abstract, higher-dimensional feature information contained in the first channel state. For example, the first eigenvector is a vector composed of the block error rate, signal-to-noise ratio, etc. extracted from the first channel state. The second eigenvector is digital information extracted from the current posture, which represents more abstract, higher-dimensional feature information contained in the current posture. For example, the second eigenvector is a vector composed of the pitch angle and / or yaw angle extracted from the current posture.

[0141] In one example, the networks in the first feature extraction network layer, the second feature extraction network layer, and the prediction network layer can all be sub-neural networks. For example, in order to enhance the learning performance of the sub-neural network and avoid the problem of gradient diffusion or explosion when the network layer depth of the sub-neural network is large, the sub-neural network can be as follows: Figure 9 The fully connected residual network shown.

[0142] The number of sub-neural networks included in the first feature extraction network may be determined according to the number of first antennas. For example, each first antenna may have a corresponding sub-neural network in the first feature extraction network.

[0143] Based on the above S501 to S502, after obtaining the first channel state of the first antenna on the terminal device and the current posture of the terminal device, the first channel state and the current posture can be input into the cross-channel prediction model. The first channel state of the kth first antenna is processed by the kth sub-neural network contained in the first feature extraction network layer of the cross-channel prediction model to obtain the first eigenvector corresponding to the first channel state. Wherein, k and K are both integers greater than or equal to 1, and k is less than or equal to K. And the input current posture is processed by the sub-neural network contained in the second feature extraction network layer of the cross-channel prediction model to obtain the second eigenvector corresponding to the current posture.

[0144] For example, Figure 10 The schematic diagram of the cross-channel prediction model is shown in FIG. 1 . Taking the number of first antennas on the terminal device as K as an example, where K is an integer greater than or equal to 1, the first channel state of the kth first antenna on the terminal device can be expressed as h k . Where k = 1, 2, ..., K. The h k Specifically, it includes the channel state between the kth first antenna and each antenna of the network side device. For example, the channel state between the kth first antenna and the pth antenna of the network side device can be expressed as h p,k , where p = 1, 2, ..., P, where P is the total number of antennas on the network side devices to which the terminal device communicates, and P is an integer greater than or equal to 1. The current posture of the terminal device can be expressed as Where θ is the elevation angle of the antenna array on the terminal device, is the yaw angle of the antenna array on the terminal device. Then the first channel state h of the kth first antenna is obtained k Input it into the kth sub-neural network in the first feature extraction network, and input the current posture obtained into the sub-neural network in the second feature extraction network. Through the kth sub-neural network in the first feature extraction network, the first channel state h is obtained. k The corresponding first feature vector. And through the sub-neural network contained in the second feature extraction network layer, the current posture of the input Process and obtain the current posture The corresponding second eigenvector.

[0145] After obtaining the first eigenvector and the second eigenvector, the second eigenvector is concatenated with each first eigenvector through the prediction network layer of the cross-channel prediction model to obtain a fusion feature, which is then input into the neural network contained in the prediction network layer to obtain the second channel state of the second antenna on the terminal device.

[0146] As previously mentioned, the terminal device includes a cross-channel prediction model, which may be trained. The following describes the training process for the cross-channel prediction model.

[0147] The following is a detailed introduction to the training process of the cross-channel prediction model. Figure 11 A schematic diagram of a training process for a cross-channel prediction model provided in an embodiment of the present application, the process including:

[0148] S1101, a training device obtains sample data; the sample data includes the fourth channel state of the first antenna, the sample posture of the terminal device, and the fifth channel state of the second antenna.

[0149] S1102: The training device calculates the fourth channel state and the sample posture using the cross-channel prediction model to obtain a sixth channel state of the second antenna.

[0150] S1103: The training device determines whether a preset convergence condition is met based on the sixth channel state and the fifth channel state. If so, execute S1104; otherwise, execute S1105.

[0151] S1104, stop training.

[0152] S1105: Adjust the cross-channel model and execute S1101 or S1102. Adjusting the cross-channel model here can be understood as adjusting calculation parameters in the cross-channel model so that the channel state of the second antenna obtained by the adjusted cross-channel model is consistent with the fifth channel state.

[0153] The training device and the terminal device may be the same or different. Figure 2 The terminal device 100 shown may also be Figure 3 The network side device 200 is shown.

[0154] Since the antennas on different terminal devices are arranged in different ways, for example, some terminal devices have 6 evenly distributed antennas, some terminal devices have 8 evenly distributed antennas, and some terminal devices have 6 unevenly distributed antennas. Therefore, the channel state (recorded as the fourth channel state) and posture (recorded as sample posture) of the first antenna on other terminal devices (recorded as sample terminal devices) with the same antenna arrangement as the terminal device can be collected in advance, and the channel state (recorded as the fifth channel state) of the second antenna on the sample terminal device can be used as sample data. The fourth channel state, sample posture and fifth channel state corresponding to the sample terminal device are used as sample data to train the cross-channel prediction model through the sample data to obtain a trained cross-channel prediction model. Among them, the sample terminal device can be understood as the terminal device in S501.

[0155] In one example, in order to enhance the robustness of the trained cross-channel prediction model, the fourth channel state and / or the fifth channel state are both normalized channel states, that is, the fourth channel state is obtained by normalizing the original channel state of the first antenna on the sample terminal device (first original channel state), and the fifth channel state is obtained by normalizing the original channel state of the second antenna on the sample terminal device (second original channel state).

[0156] As an example, the first original channel state and / or the second original channel state may be normalized according to a preset normalization function (eg, a Sigmoid function, a tanh function, etc.).

[0157] As another example, the first original channel state and / or the second original channel state may be normalized according to the average amplitude coefficient. For example, assuming the average amplitude coefficient is σ, the first original channel state is normalized according to the average amplitude coefficient. After normalization, the fourth channel state obtained is Among them, Re{h p,k} is the real part of the first original channel, Im{h p,k) is the imaginary part of the first original channel.

[0158] The average amplitude coefficient may be pre-stored, or determined according to the first original channel state of the first antenna and the second original channel state of the second antenna in the sample data.

[0159] In an example, if the average amplitude coefficient is determined based on the first original channel state of the first antenna and the second original channel state of the second antenna in the sample data, the average channel amplitude coefficient satisfies:

[0160]

[0161] Wherein, σ is the average channel amplitude, S is the total number of sample data, H s To represent the first original channel state and the second original channel state in the s-th sample data, ‖‖ F Represents the norm.

[0162] After obtaining the sample set corresponding to the terminal device based on the above embodiment, obtain any sample data in the sample set, and input the sample data into the cross-channel prediction model. For the convenience of explanation, the untrained cross-channel prediction model can be recorded as the original cross-channel prediction model. Through the original cross-channel prediction model, based on the fourth channel state and the sample posture in the input sample data, the channel state of the second antenna on the sample terminal device is determined (recorded as the sixth channel state). Based on the sixth channel state and the fifth channel state, the parameter values ​​of each parameter in the original cross-channel prediction model are adjusted to obtain a trained cross-channel prediction model.

[0163] Since the sample set corresponding to the terminal device contains a large amount of sample data, the above operation is performed on each sample data. When the preset convergence condition is met, the cross-channel prediction model training is completed.

[0164] In one example, the trained cross-channel prediction model can make the sixth channel state consistent with the fifth channel state. Therefore, the preset convergence condition can be that the sixth channel state is consistent with the fifth channel state. Determine whether the sixth channel state obtained in the current iteration is consistent with the corresponding fifth channel state. If the sixth channel state is consistent with the corresponding fifth channel state, it means that the trained cross-channel prediction model has been obtained, and the training is stopped. If the sixth channel state is inconsistent with the corresponding fifth channel state, adjust the cross-channel model so that the channel state of the second antenna obtained by the adjusted cross-channel model is consistent with the fifth channel state.

[0165] Of course, the preset convergence condition may also be that the loss value determined based on the sixth channel state and the corresponding fifth channel state in the current iteration is less than a preset loss value threshold or reaches a minimum value, or that the number of iterations for training the original cross-channel prediction model reaches a set maximum number of iterations, etc. This setting can be flexibly made in specific implementations and is not specifically limited here.

[0166] As a possible implementation method, when training the cross-channel prediction model, the sample data in the sample set corresponding to the terminal device can be divided into training samples and test samples. The original cross-channel prediction model is first trained based on the training samples, and then the reliability of the above-mentioned trained cross-channel prediction model is verified based on the test samples.

[0167] During the cross-channel prediction model training process, an offline method is generally adopted. The training device pre-trains the original cross-channel prediction model based on the sample data in the sample set corresponding to the terminal device to obtain a trained cross-channel prediction model for the terminal device. After the trained cross-channel prediction model is obtained based on the training device, the trained cross-channel prediction model can be saved in the terminal device. Subsequently, the terminal device can use this cross-channel prediction model to predict the second channel state of the second antenna on the terminal device.

[0168] For example, in a communication system with a carrier frequency of 28 GHz, the base station is equipped with 64 antennas, and multiple sample terminal devices are each equipped with 4 antennas. The antenna arrays of the base station and the multiple sample terminal devices are uniform linear arrays, and sample data of each sample terminal device is collected in a preset motion area. The preset motion area is specifically as follows: Figure 12 As shown, the motion area is a plane measuring 3m x 30m. 4,500 locations are set within the motion area, and at each location, 900 sets of different sample terminal device fourth channel states (first antenna and fifth antenna states) in different postures are collected to obtain training samples. At the same time, 300 locations are set within the motion area, and at each location, 60 sets of different sample terminal device fourth channel states (first antenna and fifth antenna states) in different postures are collected to obtain test samples.

[0169] As a possible implementation, considering that the channel state measured by the terminal device in actual application may be interfered by noise, the fourth channel state and the fifth channel state in the sample data corresponding to the terminal device can be noise-added to improve the robustness and accuracy of the trained cross-channel prediction model. For example, the added noise is expressed as n k , according to the noise n kThe signal-to-noise ratio (SNR) determined by each sample data obtained is about 25dB.

[0170] Figure 13 is a line graph of the normalized mean square error of the channel state predicted by the cross-channel prediction model under different signal-to-noise ratios. Figure 13 As shown, two methods are used to determine the first antenna on the sample terminal device. The first method is: the first antenna is an antenna set, and the antennas in the antenna set are adjacent. Adjacent here means that there are no other antennas between the two antennas. The second method is: the first antenna is an antenna set, and any two antennas in the antenna set are separated by a certain number of antennas. For the first method, the sixth channel state of the second antenna on the sample terminal device is predicted based on the fourth channel state of the first antenna under this method through the cross-channel prediction model. The normalized mean square error determined based on the obtained sixth channel state and the corresponding fifth channel state is available Figure 13 For the second method, the cross-channel prediction model is used to predict the sixth channel state of the second antenna on the sample terminal device based on the fourth channel state of the first antenna under this method. The normalized mean square error determined based on the obtained sixth channel state and the corresponding fifth channel state can be used Figure 13 The broken line “—○—” in the figure indicates the value of the digit. Figure 13 As shown in the two broken lines, when the signal-to-noise ratio is higher than 15dB, the normalized mean square error of the two broken lines can be lower than 10 -2 When SNR = 25dB, the normalized mean square error of the first method is much higher than that of the second method. Looking at the entire line graph, the normalized mean square error of the second method is smaller than that of the first method.

[0171] In a possible implementation, considering that the current posture detected by the terminal device in actual application may also be interfered by noise, the sample posture in the sample data corresponding to the terminal device can be noise-added to further improve the robustness and accuracy of the trained cross-channel prediction model. For example, the pitch angle (θ) and yaw angle of the sample terminal device The estimated error (ζ) is the variance of Zero-mean Gaussian noise, where

[0172] Figure 14 It is a line graph of the normalized mean square error of the channel state predicted by the cross-channel prediction model under the same signal-to-noise ratio and different attitude estimation errors. Figure 14As shown, two methods are used to determine the first antenna on the sample terminal device. The first method is: the first antenna is an antenna set, and the antennas in the antenna set are adjacent. Adjacent here means that there are no other antennas between the two antennas. The second method is: the first antenna is an antenna set, and any two antennas in the antenna set are separated by a certain number of antennas. For the first method, the sixth channel state of the second antenna on the sample terminal device is predicted based on the fourth channel state of the first antenna under this method through the cross-channel prediction model. The normalized mean square error determined based on the obtained sixth channel state and the corresponding fifth channel state is available Figure 14 For the second method, the cross-channel prediction model is used to predict the sixth channel state of the second antenna on the sample terminal device based on the fourth channel state of the first antenna under this method. The normalized mean square error determined based on the obtained sixth channel state and the corresponding fifth channel state can be used Figure 14 The broken line “—○—” in the middle indicates that Figure 14 It can be seen that when the posture has an estimation error, the normalized mean square error of the second method is also smaller than that of the first method. And when ζ does not exceed 8°, the normalized mean square error of the second method can be lower than 10 -2 .

[0173] It should be noted that, due to the actual θ and Must be in the interval In the process of training the cross-channel prediction model within [-π,π], the pitch angle with added noise can be and yaw angle Corrected to and So that the pitch angle and yaw angle with added noise can meet certain range restrictions.

[0174] Example 2

[0175] This embodiment 2 is an optimization of embodiment 1. Specifically, this embodiment 2 takes into account that before using the cross-information prediction solution of embodiment 1, the first channel quality of the first antenna can also be determined based on the first channel state of the first antenna, and then it is determined whether the first channel quality meets the switching start condition. If the switching start condition is met, the cross-channel prediction solution of embodiment 1 is executed.

[0176] Figure 15 This is a flow chart of the method for determining the antenna channel state provided in the second embodiment. Figure 15 , the method comprising:

[0177] S1501: Determine a first channel state of a currently working antenna on a terminal device.

[0178] Among them, the implementation principle of S1501 is the same as the implementation principle of S501 in the previous embodiment 1. The difference is that the embodiment 1 determines the first channel state of the first antenna, and here it determines the first channel state of the current working antenna. Therefore, the principle is the same and will not be repeated here.

[0179] S1502: Determine a first channel quality of a channel corresponding to a current working antenna according to a first channel state.

[0180] As described in Example 1, the first channel state includes at least one of a retransmission rate, a block error rate, a spectrum efficiency, a signal-to-noise ratio, and a reference signal transmission / reception power. Exemplarily, S1502 may determine the first channel quality based on the retransmission rate included in the first channel state, for example, the lower the retransmission rate, the higher the first channel quality. For another example, S1502 may determine the first channel quality based on the block error rate included in the first channel state, for example, the lower the block error rate, the higher the first channel quality. Optionally, the first channel quality may be a quality level or a quality score, and a higher quality level or quality score indicates better quality.

[0181] S1503: Determine whether the first channel quality is less than threshold 1.

[0182] As mentioned above, the first channel quality may be a quality level or a quality score, and correspondingly, the threshold 1 may be a level threshold or a score threshold.

[0183] Among them, threshold 1 can be set in a variety of ways, including but not limited to: threshold 1 can be preset in advance, or it can be issued by the network side device that communicates with the terminal device, or it can be dynamically adjusted according to the service type of the data transmitted between the terminal and the network side device during communication. For example, the threshold value of service type A can be threshold value e, the threshold value of service type B can be threshold value a, the threshold value of service type C can be threshold value a, and so on. The embodiment of the present application does not limit the setting method of threshold 1. Among them, the threshold value of any service type can be determined according to the first channel quality of the antenna working on the terminal device when the data of the service type is normally transmitted between the terminal and the network side device, and can be specifically obtained based on experience or experiments. It should be noted that the embodiment of the present application does not specifically limit the numerical value of the threshold value of each service type.

[0184] In some embodiments, when threshold 1 is issued by a network-side device communicating with a terminal device, the network-side device may issue different threshold values ​​to the terminal device according to changes in the number of terminals accessed by the network-side device.

[0185] In some embodiments, when Threshold 1 is dynamically adjusted by the terminal device, the terminal device can dynamically adjust the threshold based on time. More specifically, Threshold 1 can be adjusted at midnight and again at 6:00 a.m. It is easy to understand that, during the day, the quality of the first channel is generally better between midnight and 6:00 a.m., while the quality of the first channel is relatively poor during other time periods.

[0186] In some embodiments, when threshold 1 is dynamically adjusted based on the service type of data transmitted between the terminal and the network-side device during communication, since different service types require different quality of service (QoS), threshold values ​​can be preset for each service type based on the quality of service of each service type. Before S1502, the terminal device may further include the steps of: determining the current service type of the terminal device; and determining the threshold value corresponding to the current service type based on the stored correspondence between the service type and the threshold value.

[0187] It is understood that when the first channel quality is less than threshold 1, it indicates that the first channel quality of the currently operating antenna on the terminal device is poor. To ensure efficient operation of the terminal device, consideration may be given to switching the currently operating antenna. Specifically, the terminal device needs to further determine which antenna to switch to. For example, the channel status of another antenna may be determined first. If that antenna's channel status is better, the device switches to the other antenna. This specifically includes the following steps S1504 to S1507.

[0188] S1504: When the first channel quality is less than threshold 1, determine the current posture of the terminal device.

[0189] The implementation principle of S1504 is the same as that of S502 in the first embodiment, and will not be repeated.

[0190] S1505: Determine a second channel state of the second antenna according to the first channel state and the current state.

[0191] The second channel status includes at least one of a retransmission rate, a block error rate, a spectrum efficiency, a signal-to-noise ratio, and a reference signal transmission / reception power.

[0192] Optionally, before S1505, the terminal device may also perform normalization processing on the acquired first channel state. This is done to reduce any errors that may exist in the first channel state. The terminal device may perform normalization processing on the acquired first channel state. Specifically, the process of normalizing the acquired first channel state is the same as the process of normalizing the first original channel state and / or the second original channel state in the above-mentioned embodiment, and any repetitions are not further described.

[0193] The implementation principle of the terminal device determining the second channel state of the second antenna on the terminal device according to the first channel state and the current posture is the same as the implementation principle of S503 in the previous embodiment 1, and will not be repeated.

[0194] Optionally, after determining the second channel state, the method may further include: the terminal device performs denormalization processing on the second channel state. It is understandable that if the terminal device performs normalization processing on the first channel state, then the second channel state determined by S1505 is also the result of the normalization processing. For example, the second channel states of the Q second antennas on the terminal device and the oth antenna of the network side device obtained by S1504 are: Therefore, in order to make the second channel state close to the second channel state actually measured by the terminal device, the obtained second channel state can be denormalized. The normalization function used to normalize the first channel state and the denormalization function used to denormalize the second channel state can be the same or different. For example, if the first channel state is normalized by an average amplitude coefficient, the second channel state can be denormalized by the same average amplitude coefficient.

[0195] S1506: Determine a second channel quality of the second antenna according to the second channel state.

[0196] The implementation principle of S1506 is the same as the implementation principle of determining the first channel quality of the first antenna according to the first channel state in step S1503, and is therefore not repeated here.

[0197] S1507: Determine whether the second channel quality is greater than threshold 2.

[0198] To avoid frequent antenna switching and to switch the currently operating antenna to an antenna with worse channel quality, a switching condition is preset. This switching condition can be Threshold 2, which can be the first channel quality or another value. Threshold 2 can be the same as or different from Threshold 1 in S1502. The specific method for setting Threshold 2 is the same as that for setting Threshold 1, and any overlaps are omitted here.

[0199] When the terminal device determines that the second channel quality is greater than threshold 2, it can switch to the second antenna, that is, S1508; otherwise, it means that the channel quality of the second antenna is poor, and without switching to the second antenna, the channel quality of the third antenna can be determined, such as re-executing S1505. Re-executing S1505 means re-determining the channel state of the third antenna based on the first channel state and the current posture.

[0200] S1508: If the second channel quality is greater than threshold 2, the working antenna is switched from the currently working antenna to the second antenna.

[0201] Based on S1505, if the terminal device determines that the channel quality in the second channel state on the terminal device meets the preset switching conditions, it means that the antenna with better channel quality on the terminal device is the second antenna, then the terminal device can switch the working antenna from the currently working antenna to the second antenna to communicate with the network side device through the second antenna.

[0202] Example 3

[0203] The difference between this third embodiment and the first embodiment is that, whereas in the first embodiment, the terminal device determines the first channel state and the current posture of the terminal device, and determines the second channel state of the second antenna based on the first channel state and the current posture of the terminal device, in this third embodiment, after determining the first channel state and the current posture of the terminal device, the terminal device sends the first channel state and the current posture to the network device, which then determines the second channel state of the second antenna based on the first channel state and the current posture of the terminal device.

[0204] Figure 16 This is a flow chart of the method for determining the antenna channel state provided in the third embodiment. Figure 16 , the method comprising:

[0205] S1601: The terminal device determines a first channel state of a first antenna on the terminal device.

[0206] The implementation principle of S1601 is the same as that of S501 in the first embodiment, and will not be repeated.

[0207] S1602: The terminal device determines the current posture of the terminal device.

[0208] The implementation principle of S1602 is the same as that of S502 in the first embodiment, and will not be repeated.

[0209] S1603: The terminal device sends the first channel state and the current posture to the network side device.

[0210] Optionally, before S1603 , the first channel quality may be determined according to the first channel state. If the first channel quality is less than a threshold 1 , S1603 is executed.

[0211] The terminal device may send the first channel state and the current posture to the network side device in sequence, for example, first sending the first channel state and then sending the current posture, or first sending the current posture and then sending the first channel state. The terminal device may also send the first channel state and the current posture to the network side device at the same time.

[0212] S1604: The network side device determines the second channel state of the second antenna on the terminal device according to the first channel state and the current state.

[0213] The implementation principle of S1604 is the same as that of S503 in the first embodiment, and will not be repeated.

[0214] S1605: The network side device sends the determined second channel state to the terminal device.

[0215] In the third embodiment, the terminal device only needs to detect the first channel state of the first antenna. The channel state of the second antenna can be predicted across channels by the network side device, which saves the workload of the terminal device and relieves the pressure on the terminal device.

[0216] It is understood that in Example 3, the network-side device can be replaced by a server. That is, the terminal device sends the first channel state and the current posture of the terminal device to the server, and the server determines the second channel state of the second antenna and sends it to the terminal device. The server can be a cloud server. For example, if the terminal device is a Huawei mobile phone, the server can be a Huawei cloud service.

[0217] The preceding text describes the method of the embodiment of the present application. The following text describes the device of the embodiment of the present application. The method and device are based on the same technical concept. Since the principles of the method and device to solve the problem are similar, the implementation of the device and method can refer to each other, and the repeated parts will not be repeated.

[0218] In the embodiments of the present application, the functional modules of the device can be divided according to the above method examples. For example, each function can be divided into various functional modules, or two or more functions can be integrated into one module. These modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. Other division methods may be used in specific implementations.

[0219] Based on the same technical concept as the above method, see Figure 17, provides a schematic structural diagram of a communication device 1700. The device 1700 may include a processing module 1701 and, optionally, a receiving module 1702a, a sending module 1702b, and a storage module 1703. The processing module 1701 may be connected to the storage module 1703, the receiving module 1702a, and the sending module 1702b, respectively. The storage module 1703 may also be connected to the receiving module 1702a and the sending module 1702b.

[0220] In an example, the above-mentioned receiving module 1702a and sending module 1702b can also be integrated together and defined as a transceiver module.

[0221] In one example, the device 1700 may be an electronic device, or a chip or functional unit used in an electronic device. The device 1700 has any function of the electronic device in the above method, for example, the device 1700 can execute the above Figure 2 、 Figure 5 、 Figure 15 as well as Figure 16 The steps of the method are performed by an electronic device.

[0222] The receiving module 1702a can execute the receiving action performed by the electronic device in the above method embodiment.

[0223] The sending module 1702b can execute the sending action performed by the electronic device in the above method embodiment.

[0224] The processing module 1701 may execute other actions except the sending action and the receiving action among the actions executed by the electronic device in the above method embodiment.

[0225] In one example, the processing module 1701 is used to determine a first channel state of a first antenna on a terminal device; and determine a second channel state of a second antenna on the terminal device based on a current posture of the terminal device and the first channel state.

[0226] In one example, the first antenna includes: at least two adjacent antennas on the terminal device, or at least two non-adjacent antennas, or an antenna currently in operation, or a designated antenna, or a randomly selected antenna.

[0227] In one example, the second antenna includes: at least one antenna adjacent to the first antenna; or at least one antenna spaced a certain distance from the first antenna; or

[0228] At least one antenna having the same transceiver characteristics as the first antenna; or, an antenna specified among other antennas other than the first antenna on the terminal device; or, an antenna randomly selected from other antennas other than the first antenna on the terminal device.

[0229] In one example, the processing module 1701 is specifically used to predict the third channel state of the second antenna based on the first channel state and the correlation between the first antenna and the second antenna; and adjust the predicted third channel state to obtain the second channel state according to the current posture.

[0230] In one example, the processing module 1701 is further configured to, when the channel state of the first antenna is the first channel state, record a change in the channel state of the second antenna when the terminal device is in different postures;

[0231] The processing module 1701 is specifically configured to adjust the predicted third channel state according to the current posture and the recorded channel state changes of the second antenna in different postures to obtain the second channel state.

[0232] In one example, the processing module 1701 is specifically used to use a cross-channel prediction model to calculate the current posture and the first channel state to obtain the second channel state of the second antenna; wherein the cross-channel prediction model includes a first feature extraction network, a second feature extraction network and a prediction network, the first feature extraction network is used to extract the first feature vector corresponding to the first channel state; the second feature extraction network is used to extract the second feature vector corresponding to the current posture; the prediction network is used to predict the second channel state based on the first feature vector and the second feature vector.

[0233] In one example, the processing module 1701 is also used to obtain sample data; the sample data includes the fourth channel state of the first antenna, the sample posture of the terminal device, and the fifth channel state of the second antenna; using the cross-channel prediction model, the fourth channel state and the sample posture are calculated to obtain the sixth channel state of the second antenna; if the sixth channel state is consistent with the fifth channel state, stop training; if the sixth channel state is inconsistent with the fifth channel state, adjust the cross-channel model so that the channel state of the second antenna obtained by the adjusted cross-channel model is consistent with the fifth channel state.

[0234] In one example, the fourth channel state and / or the fifth channel state is a channel state normalized according to an average channel amplitude coefficient; wherein the average channel amplitude coefficient is pre-stored, or determined based on the first original channel state of the first antenna and the second original channel state of the second antenna in the sample data, wherein the first original channel state is the channel state before the fourth channel state is normalized, and the second original channel state is the channel state before the fifth channel state is normalized.

[0235] In one example, the average channel amplitude coefficient satisfies:

[0236]

[0237] Wherein, σ is the average channel amplitude, S is the total number of sample data, H s To represent the first original channel state and the second original channel state in the s-th sample data, ‖‖ F Represents the norm.

[0238] In one example, the processing module 1701 is also used to determine the first channel quality based on the first channel state before determining the second channel state of the second antenna on the terminal device based on the current posture of the terminal device and the first channel state; and determine that the first channel quality is less than a first threshold.

[0239] In one example, the processing module 1701 is further used to determine the second channel quality based on the second channel state; determine that the second channel quality is greater than a second threshold; and switch the working antenna of the terminal device to the second antenna.

[0240] In one example, the processing module 1701 is also used when the communication device is the terminal device, or the communication device is a network side device connected to the terminal device; wherein, when the communication device is the network side device, the method also includes: the network side device sends the second channel state to the terminal device.

[0241] In an example, the storage module 1703 may store computer-executable instructions for a method executed by the electronic device, so that the processing module 1701 , the receiving module 1702 a , and the sending module 1702 b execute the method executed by the electronic device in the above example.

[0242] For example, the storage module may include one or more memories, which may be devices in one or more devices or circuits used to store programs or data. The storage module may be a register, cache, or RAM, etc., and the storage module may be integrated with the processing module. The storage module may be a ROM or other type of static storage device that can store static information and instructions, and the storage module may be independent of the processing module.

[0243] The transceiver module may be an input or output interface, a pin or a circuit, etc.

[0244] As a possible product form, the device may be implemented by a general-purpose processor (a general-purpose processor may also be referred to as a chip or a chip system).

[0245] In one possible implementation, a general-purpose processor implemented in an apparatus for electronic devices includes: a processing circuit (a processing circuit may also be referred to as a processor); optionally, it also includes: an input / output interface internally connected and communicating with the processing circuit, and a storage medium (a storage medium may also be referred to as a memory), wherein the storage medium is used to store instructions executed by the processing circuit to execute the method executed by the electronic device in the above example.

[0246] Figure 17 The processing module 1701 in can be implemented by a processing circuit.

[0247] Figure 17 The receiving module 1702a and the sending module 1702b in the embodiment can be implemented by an input / output interface. Alternatively, the input / output interface is divided into an input interface and an output interface, the input interface performs the function of the receiving module, and the output interface performs the function of the sending module.

[0248] Figure 17 The storage module 1703 can be implemented through a storage medium.

[0249] As a possible product form, the device of the embodiment of the present application can also be implemented using the following: one or more FPGAs (field programmable gate arrays), PLDs (programmable logic devices), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits that can perform the various functions described throughout this application.

[0250] Based on the same concept, Figure 18 The electronic device 1800 provided by this application is shown. The electronic device 1800 may be the mobile phone mentioned above. Figure 18As shown, electronic device 1800 may include: one or more processors 1801; one or more memories 1802; a communication interface 1803, and one or more computer programs 1804. These components may be connected via one or more communication buses 1805. The one or more computer programs 1804 are stored in the memory 1802 and configured to be executed by the one or more processors 1801. The one or more computer programs 1804 include instructions that can be used to perform the steps related to the mobile phone described in the above embodiments. The communication interface 1803 is used to implement communication with other devices. For example, the communication interface may be a transceiver.

[0251] Based on the same concept, embodiments of the present application also provide a computer-readable storage medium storing a computer program. When executed by a computer, the computer program can cause the computer to perform the aforementioned method for determining the channel state of an antenna. In other words, the computer program includes instructions for implementing the aforementioned method for determining the channel state of an antenna.

[0252] Based on the same concept, an embodiment of the present application further provides a computer program product, including: computer program code, which, when executed on a computer, enables the computer to execute the above-mentioned method for determining the channel state of an antenna.

[0253] Based on the same concept, an embodiment of the present application further provides a communication system, which includes: an electronic device that executes the above-mentioned method for determining the channel state of an antenna and one or more target devices.

[0254] In addition, the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0255] The transceiver mentioned in the embodiments of the present application may include a separate transmitter and / or a separate receiver, or may be an integrated transmitter and receiver. The transceiver may operate under the instructions of a corresponding processor. Optionally, the transmitter may correspond to a transmitter in a physical device, and the receiver may correspond to a receiver in a physical device.

[0256] Those skilled in the art will appreciate that the various method steps and units described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the steps and components of each embodiment have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0257] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.

[0258] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0259] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0260] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0261] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.

[0262] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations.

Claims

1. A method for determining the channel state of an antenna, characterized in that: Applied to a communication device, the method includes: Determine a first channel state of a first antenna on a terminal device; Determine the second channel state of the second antenna on the terminal device according to the current posture of the terminal device and the first channel state; the current posture of the terminal device includes the posture of the terminal device body and / or the posture of the antenna array on the terminal device.

2. The method according to claim 1, characterized in that The first antenna includes: At least two adjacent antennas on the terminal device, or at least two non-adjacent antennas, or an antenna currently in operation, or a designated antenna, or a randomly selected antenna.

3. The method according to claim 1 or 2, characterized in that The second antenna includes: at least one antenna adjacent to the first antenna; or at least one antenna spaced a certain distance from the first antenna; or at least one antenna having the same transceiver characteristics as the first antenna; or A designated antenna among other antennas other than the first antenna on the terminal device; or An antenna randomly selected from other antennas other than the first antenna on the terminal device.

4. The method according to claim 1, wherein The determining, according to the current posture of the terminal device and the first channel state, a second channel state of the second antenna on the terminal device includes: predicting a third channel state of the second antenna based on the first channel state and the correlation between the first antenna and the second antenna; According to the current posture, the predicted third channel state is adjusted to obtain the second channel state.

5. The method according to claim 4, characterized in that The method further comprises: When the channel state of the first antenna is the first channel state, recording the change of the channel state of the second antenna when the terminal device is in different postures; The adjusting the predicted third channel state according to the current posture to obtain the second channel state includes: According to the current posture and the recorded channel state changes of the second antenna in different postures, the predicted third channel state is adjusted to obtain the second channel state.

6. The method according to claim 1, characterized in that The determining, according to the current posture of the terminal device and the first channel state, a second channel state of the second antenna on the terminal device includes: Calculating the current posture and the first channel state using a cross-channel prediction model to obtain a second channel state of the second antenna; Among them, the cross-channel prediction model includes a first feature extraction network, a second feature extraction network and a prediction network, the first feature extraction network is used to extract the first feature vector corresponding to the first channel state; the second feature extraction network is used to extract the second feature vector corresponding to the current posture; the prediction network is used to predict the second channel state based on the first feature vector and the second feature vector.

7. The method according to claim 6, characterized in that The method further comprises: Acquire sample data; the sample data includes the fourth channel state of the first antenna, the sample posture of the terminal device, and the fifth channel state of the second antenna; Calculating the fourth channel state and the sample posture using the cross-channel prediction model to obtain a sixth channel state of the second antenna; If the sixth channel state is consistent with the fifth channel state, stopping training; If the sixth channel state is inconsistent with the fifth channel state, the cross-channel prediction model is adjusted so that the channel state of the second antenna obtained by the adjusted cross-channel prediction model is consistent with the fifth channel state.

8. The method according to claim 7, characterized in that The fourth channel state and / or the fifth channel state is a channel state normalized according to an average channel amplitude coefficient; The average channel amplitude coefficient is pre-stored, or determined based on the first original channel state of the first antenna and the second original channel state of the second antenna in the sample data, wherein the first original channel state is the channel state before the fourth channel state is normalized, and the second original channel state is the channel state before the fifth channel state is normalized.

9. The method according to claim 8, characterized in that The average channel amplitude coefficient satisfies: Wherein, σ is the average channel amplitude, S is the total number of sample data, H s To represent the first original channel state and the second original channel state in the s-th sample data, ‖‖ F Represents the norm.

10. The method according to claim 1, characterized in that Before determining the second channel state of the second antenna on the terminal device according to the current posture of the terminal device and the first channel state, the method further includes: determining a first channel quality according to the first channel state; It is determined that the first channel quality is less than a first threshold.

11. The method according to claim 1 or 10, characterized in that The method further comprises: determining a second channel quality according to the second channel state; Determining that the second channel quality is greater than a second threshold; Switch the working antenna of the terminal device to the second antenna.

12. The method according to claim 1, characterized in that The communication device is the terminal device, or the communication device is a network side device connected to the terminal device; Wherein, when the communication device is the network side device, the method further includes: the network side device sending the second channel state to the terminal device.

13. A communication device, characterized in that: include: A functional module for implementing the method according to any one of claims 1 to 12.

14. A communication device, characterized in that: comprising a processor; the processor being coupled to a memory; The memory is used to store computer programs or instructions; The processor is configured to execute part or all of the computer programs or instructions in the memory, and when the part or all of the computer programs or instructions are executed, is configured to implement the method according to any one of claims 1 to 12.

15. A chip system, characterized in that: The chip system includes: a processing circuit; the processing circuit is coupled to a storage medium; The processing circuit is used to execute part or all of the computer programs or instructions in the storage medium, and when the part or all of the computer programs or instructions are executed, it is used to implement the method according to any one of claims 1 to 12.

16. A computer-readable storage medium, characterized in that Used to store a computer program, wherein the computer program includes instructions for implementing the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method, device and system for testing MIMO (Multiple Input Multiple Output) wireless terminal

    CN112865840A

  • Determination of downlink channel state information in massive MIMO systems

    WO2020042107A1