Method for processing data and electronic device
By acquiring channel data and simulating antenna patterns, including left-hand and right-hand circular polarization vectors, the initial antenna pattern is corrected and decomposed, thus solving the accuracy problem of satellite positioning accuracy assessment during the antenna design phase and improving the simulation accuracy of satellite positioning signals.
Patent Information
- Application Number
- PCT/CN2025/095242
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-06
- Filing Date
- 2025-05-15
- Publication Date
- 2025-12-11
AI Technical Summary
During the antenna design phase of portable electronic devices such as smartwatches, it is impossible to effectively assess the impact of antenna parameters on satellite positioning accuracy.
By acquiring first channel data and a simulated antenna pattern, including left-hand and right-hand circular polarization vectors, the received data is simulated to evaluate the impact of antenna parameters on satellite positioning accuracy. Attitude information is used to correct the initial antenna pattern and vector orthogonal decomposition is performed to improve the accuracy of the simulated received data.
This improves the accuracy of satellite positioning accuracy assessment during the antenna design phase and enhances the simulation accuracy of satellite positioning signals by using a more realistic circularly polarized antenna pattern to simulate received data.
Smart Images

Figure CN2025095242_11122025_PF_FP_ABST
Abstract
Description
Data processing method and electronic device
[0001] The present application claims priority from the Chinese patent application No. 202410737618.X filed on June 6, 2024, and entitled "Data processing method and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of antennas, and more particularly, to a data processing method and an electronic device. BACKGROUND
[0003] With the development of positioning technology, some portable electronic devices can also receive satellite positioning signals and perform positioning according to the satellite positioning signals.
[0004] For example, an antenna provided in a smartwatch can receive satellite positioning signals sent by a satellite, and then the smartwatch processes the satellite positioning signals to calculate the position information of the smartwatch, thereby realizing satellite positioning function. However, in the antenna design stage of the smartwatch, the influence of the parameters of the antenna and the (Global Navigation Satellite System) GNSS specification on the satellite positioning accuracy cannot be effectively evaluated.
[0005] Therefore, how to improve the evaluation of the influence of the parameters of the antenna on the satellite positioning accuracy in the antenna design stage of the electronic device has become a problem to be solved. SUMMARY
[0006] The present application provides a data processing method, which can evaluate the influence of the parameters of the antenna on the satellite positioning accuracy in the antenna design stage of the electronic device.
[0007] In a first aspect, a data processing method is provided, comprising:
[0008] obtaining first channel data, the first channel data being data simulating a channel state between a first electronic device and a second electronic device, the first electronic device comprising a receiving device for receiving satellite positioning signals, and the second electronic device comprising a satellite;
[0009] obtaining a simulated antenna pattern, the simulated antenna pattern being data simulating a pattern of an antenna in the first electronic device, the simulated antenna pattern comprising a first sub-vector and a second sub-vector, the first sub-vector comprising a first left-handed circularly polarized vector, and the second sub-vector comprising a first right-handed circularly polarized vector;
[0010] According to the first channel data and the simulated antenna pattern, simulated receiving data is obtained, the simulated receiving data is data of a simulated second positioning signal, the second positioning signal is a signal obtained by the antenna in the first electronic device receiving a first positioning signal sent by the second electronic device, and the second positioning signal is used to determine the position information of the first electronic device.
[0011] The data processing method provided in the embodiments of the present application comprises the following steps: obtaining first channel data, obtaining a simulated antenna pattern, and obtaining simulated receiving data according to the first channel data and the simulated antenna pattern, wherein the first channel data is data simulating the channel state between a first electronic device and a second electronic device, the first electronic device comprises a receiving device for receiving a satellite positioning signal, the second electronic device comprises a satellite, the simulated antenna pattern is data simulating the pattern of an antenna in the first electronic device, the simulated antenna pattern comprises a first sub-vector and a second sub-vector, the first sub-vector comprises a first left-hand circularly polarized vector, and the second sub-vector comprises a first right-hand circularly polarized vector, the simulated receiving data is data of a simulated second positioning signal, the second positioning signal is a signal obtained by the antenna in the first electronic device receiving a first positioning signal sent by the second electronic device, and the second positioning signal is used to determine the position information of the first electronic device. That is to say, the embodiments of the present application can simulate the second positioning signal received by the antenna in the first electronic device based on the simulated receiving data obtained according to the first channel data and the simulated antenna pattern, that is, the influence of the antenna parameters of the first electronic device on the received satellite positioning signal is simulated, and then the accuracy of the satellite positioning signal can be evaluated according to the simulated receiving data. Further, in the traditional method, the antenna pattern used for simulation is usually a linearly polarized antenna pattern, which is quite different from the circularly polarized antenna pattern used in actual use. However, the simulated antenna pattern used to determine the simulated receiving data in the embodiments of the present application is a circularly polarized antenna pattern comprising a first sub-vector and a second sub-vector, which is closer to the antenna pattern used in actual use. Therefore, the simulated receiving data obtained based on the first channel data and the simulated antenna pattern is more close to the actual receiving data, and the accuracy of the simulated second positioning signal based on the simulated receiving data is improved.
[0012] In combination with the first aspect, in some embodiments of the first aspect, the above-mentioned obtaining the simulated antenna pattern comprises: obtaining the simulated antenna pattern, comprising: obtaining the attitude information of the first electronic device at the current time; obtaining the initial antenna pattern of the first electronic device; and correcting the initial antenna pattern according to the attitude information to obtain the simulated antenna pattern.
[0013] With reference to the first aspect, in some embodiments of the first aspect, the correcting the initial antenna pattern according to the attitude information to obtain the simulated antenna pattern comprises: rotating the initial antenna pattern according to the attitude information to obtain a rotated antenna pattern; and performing vector orthogonal decomposition on the rotated antenna pattern to obtain the simulated antenna pattern.
[0014] For example, the initial antenna pattern can be as shown in (a) of FIG. 7, the rotated antenna pattern can be as shown in (b) of FIG. 7, and the simulated antenna pattern can be as shown in (c) of FIG. 7.
[0015] The data processing method provided by the embodiments of the present application, in the process of obtaining the simulated receiving data by the first channel data and the simulated antenna pattern, the simulated antenna pattern is obtained by correcting the initial antenna pattern according to the attitude information of the electronic device to obtain the rotated antenna pattern, and is obtained by correcting the direction of the vector in the rotated antenna pattern by orthogonal vector decomposition, so that the simulated antenna pattern obtained finally can be closer to the antenna pattern of the receiving device in the actual use process, and the direction of the vector is the same as that of the initial antenna pattern, thereby making the obtaining of the simulated receiving data by the first channel data and the simulated antenna pattern more accurate, and improving the accuracy of the actual positioning signal obtained according to the simulated receiving data.
[0016] With reference to the first aspect, in some embodiments of the first aspect, the attitude information comprises azimuth information, the initial antenna pattern comprises N initial antenna patterns, the N initial antenna patterns are N antenna patterns obtained based on different attitudes of the first electronic device, the rotated antenna pattern comprises N rotated antenna patterns, the N initial antenna patterns and the N rotated antenna patterns correspond to each other, and the rotating the initial antenna pattern according to the attitude information to obtain the rotated antenna pattern comprises: rotating the N initial antenna patterns according to the azimuth information respectively to obtain the corresponding N rotated antenna patterns.
[0017] The data processing method provided in the embodiments of the present application comprises the following steps: obtaining first channel data, obtaining posture information of the smart bracelet, determining a corresponding initial sub antenna pattern according to the posture information of the smart bracelet, rotating the initial sub antenna pattern to obtain a corresponding rotated sub antenna pattern, performing vector orthogonal decomposition on the rotated sub antenna pattern to obtain a simulated antenna pattern, and obtaining simulated receiving data according to the first positioning data and the simulated antenna pattern. The initial antenna pattern comprises N initial sub antenna patterns, and each initial sub antenna pattern corresponds to the posture information of the smart bracelet. Since each initial sub antenna pattern corresponds to the posture information of the smart bracelet, the roll angle information and the pitch angle information of the corresponding antenna are different between each initial sub antenna pattern. This means that the initial sub antenna pattern is an antenna pattern that has been adjusted based on the roll angle information and the pitch angle information of the antenna. Therefore, when the initial sub antenna pattern is rotated based on the posture information, the initial sub antenna pattern can be rotated based only on the direction angle information. Compared with rotating the initial sub antenna pattern based on the direction angle information, the pitch angle information and the roll angle information, the efficiency of rotating the initial sub antenna pattern can be improved, thereby improving the efficiency of determining the simulated receiving data according to the simulated antenna pattern and the first positioning data.
[0018] With reference to the first aspect, in some embodiments of the first aspect, the posture information comprises direction angle information, pitch angle information and roll angle information, and rotating the initial antenna pattern according to the posture information to obtain the rotated antenna pattern comprises: rotating the initial antenna pattern according to the direction angle information, the pitch angle information and the roll angle information to obtain the rotated antenna pattern.
[0019] With reference to the first aspect, in some embodiments of the first aspect, the initial antenna pattern comprises a second left-hand circular polarization vector and a second right-hand circular polarization vector, the direction of the second left-hand circular polarization vector is the same as the direction of the first left-hand circular polarization vector, and the direction of the second right-hand circular polarization vector is the same as the direction of the first right-hand circular polarization vector.
[0020] With reference to the first aspect, in some embodiments of the first aspect, the first channel data is obtained by: obtaining altitude information and latitude and longitude information of the first electronic device at the current time; and obtaining the first channel data according to the altitude information and the latitude and longitude information.
[0021] With reference to the first aspect, in some embodiments of the first aspect, the first channel data comprises one simulated direct path data and N simulated multipath data, the number of first sub-vectors is N+1, the number of second sub-vectors is N+1, the simulated direct path data corresponds to one first sub-vector and one second sub-vector, and the N simulated multipath data correspond to the N first sub-vectors and the N second sub-vectors one by one.
[0022] For example, one analog direct path data and N analog multipath data can be as shown in Table 5.
[0023] One of the one analog direct path data and the N analog multipath data can be represented by formula (1), which includes:
[0024] wherein, may represent a first left-handed circular polarization vector, may represent a second right-handed circular polarization vector.
[0025] With reference to the first aspect, in some embodiments of the first aspect, the first electronic device is a smart bracelet.
[0026] In a second aspect, a data processing apparatus is provided, including units for performing any of the methods in the first aspect. The apparatus can be a server, or a terminal device, or a chip in a terminal device. The apparatus can include an input unit and a processing unit.
[0027] When the apparatus is a terminal device, the processing unit can be a processor, and the input unit can be a communication interface; the terminal device can further include a memory for storing computer program code, which, when executed by the processor, causes the terminal device to perform any of the methods in the first aspect.
[0028] When the apparatus is a chip in a terminal device, the processing unit can be a processing unit inside the chip, and the input unit can be an output interface, a pin, or a circuit, etc.; the chip can further include a memory, which can be a memory inside the chip (e.g., a register, a cache, etc.), or a memory outside the chip (e.g., a read-only memory, a random access memory, etc.); the memory is configured to store computer program code, which, when executed by the processor, causes the chip to perform any of the methods in the first aspect.
[0029] In a possible implementation, the memory is configured to store computer program code; and the processor is configured to execute the computer program code stored in the memory, and when the computer program code stored in the memory is executed, the processor is configured to perform: obtaining first channel data, the first channel data being data simulating a channel state between a first electronic device and a second electronic device, the first electronic device comprising a receiving device configured to receive a satellite positioning signal, and the second electronic device comprising a satellite; obtaining a simulated antenna pattern, the simulated antenna pattern being data simulating a pattern of an antenna in the first electronic device, and the simulated antenna pattern comprising a first sub-vector and a second sub-vector, the first sub-vector comprising a first left-hand circularly polarized vector, and the second sub-vector comprising a first right-hand circularly polarized vector; and obtaining simulated receiving data according to the first channel data and the simulated antenna pattern, the simulated receiving data being data simulating a second positioning signal, the second positioning signal being a signal obtained by receiving, by the antenna in the first electronic device, a first positioning signal transmitted by the second electronic device, and the second positioning signal being used to determine position information of the first electronic device.
[0030] In a third aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores computer program code. When the computer program code is run by a data processing apparatus, the data processing apparatus is caused to perform any of the data processing methods in the first aspect.
[0031] In a fourth aspect, a computer program product is provided, and the computer program product includes computer program code. When the computer program code is run by a data processing apparatus, the data processing apparatus is caused to perform any of the methods in the first aspect.
[0032] The data processing method and the electronic device provided in the embodiments of the present application can obtain first channel data, obtain a simulated antenna pattern, and then obtain simulated receiving data according to the first channel data and the simulated antenna pattern, wherein the first channel data is data simulating a channel state between a first electronic device and a second electronic device, the first electronic device includes a receiving device for receiving a satellite positioning signal, the second electronic device includes a satellite, the simulated antenna pattern is data simulating a pattern of an antenna in the first electronic device, the simulated antenna pattern includes a first sub-vector and a second sub-vector, the first sub-vector includes a first left-hand circularly polarized vector, and the second sub-vector includes a first right-hand circularly polarized vector, and the simulated receiving data is data simulating a second positioning signal. The second positioning signal is a signal obtained by receiving, by the antenna in the first electronic device, the first positioning signal transmitted by the second electronic device, and the second positioning signal is used to determine position information of the first electronic device. That is, the embodiments of the present application can simulate the second positioning signal received by the antenna in the first electronic device based on the simulated receiving data obtained based on the first channel data and the simulated antenna pattern, that is, the influence of the antenna parameters of the first electronic device on the received satellite positioning signal is simulated, and then the accuracy of the satellite positioning signal can be evaluated according to the simulated receiving data. Further, in the traditional method, the antenna pattern used for simulation is usually a linearly polarized antenna pattern, which is quite different from the circularly polarized antenna pattern in the actual use. However, the simulated antenna pattern used to determine the simulated receiving data in the embodiments of the present application is a circularly polarized antenna pattern including the first sub-vector and the second sub-vector, which is closer to the antenna pattern used in actual use. Therefore, the simulated receiving data obtained based on the first channel data and the simulated antenna pattern is more close to the actual receiving data, and the accuracy of the simulated second positioning signal based on the simulated receiving data is improved. BRIEF DESCRIPTION OF DRAWINGS
[0033] FIG. 1 is a schematic diagram of an azimuth angle, a roll angle and a pitch angle;
[0034] FIG. 2 is a schematic diagram of a direct path signal and a multipath signal;
[0035] FIG. 3 is a schematic diagram of a hardware system of an electronic device suitable for the present application;
[0036] FIG. 4 is a schematic diagram of an application scenario of a data processing method provided in the embodiments of the present application;
[0037] FIG. 5 is a flowchart of a data processing method provided in the embodiments of the present application;
[0038] FIG. 6 is a schematic diagram of an arm swinging action provided in the embodiments of the present application;
[0039] FIG. 7 is a schematic diagram of conversion of an antenna pattern provided in the embodiments of the present application;
[0040] FIG. 8 is a flow diagram of another data processing method according to an embodiment of the present application;
[0041] FIG. 9 is a flow diagram of another data processing method according to an embodiment of the present application;
[0042] FIG. 10 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
[0043] FIG. 11 is a schematic diagram of an electronic device for data processing according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in this document only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0045] Hereinafter, the terms "first", "second", "third" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second", "third" can explicitly or implicitly include one or more features.
[0046] For ease of understanding, some examples are given below to illustrate the concepts related to the embodiments of the present application for reference.
[0047] 1. Roll angle.
[0048] The roll angle shown in the embodiments of the present application can refer to the angle of rotation of the device receiving the satellite positioning signal along the longitudinal axis. For example, as shown in FIG. 1, the antenna carried on the airplane can receive the positioning signal sent by the satellite, and the A axis refers to the connection between the head vertex and the tail vertex of the airplane, which is the longitudinal axis of the airplane. Among them, the angle of rotation of the airplane along the A axis is the roll angle.
[0049] 2. Pitch angle.
[0050] The pitch angle shown in the embodiments of the present application can refer to the angle of rotation of the device receiving the satellite positioning signal along the transverse axis. For example, as shown in FIG. 1, the antenna carried on the airplane can receive the positioning signal sent by the satellite, and the B axis refers to the connection between the two wing vertices of the airplane, which is the transverse axis of the airplane. Among them, the angle of rotation of the airplane along the B axis is the pitch angle.
[0051] 3. Azimuth angle.
[0052] The azimuth angle shown in the embodiments of the present application can refer to the angle of rotation of a device receiving satellite positioning signals along a vertical axis. For example, as shown in FIG. 1, an antenna carried on an airplane can receive positioning information transmitted by a satellite, and the C axis refers to the axis perpendicular to the ground. The angle of rotation of the airplane along the C axis is the azimuth angle.
[0053] 4. Antenna pattern.
[0054] The antenna pattern can refer to the pattern of the relative field strength (normalized modulus) of the radiation field around the antenna, which is usually represented by two mutually perpendicular plane patterns in the maximum radiation direction of the antenna. It can be understood that in some cases, the antenna pattern can also be represented by a table of two orthogonal vectors. For example, as shown in Table 1:
[0055] Table 1
[0056] Wherein, θ can represent the left-hand circular polarization vector of the antenna, can represent the right-hand circular polarization vector of the antenna. Amp0-θ and Angle0-θ can represent the left-hand circular polarization vector of the signal at an azimuth angle of 0° and an elevation angle of 0°, and Amp0-θ and Angle0-θ can represent the right-hand circular polarization vector of the signal at an azimuth angle of 0° and an elevation angle of 0°; Amp0-θ and Angle0-θ can represent the left-hand circular polarization vector of the signal at an azimuth angle of 0° and an elevation angle of 5°, and Amp0-θ and Angle0-θ can represent the right-hand circular polarization vector of the signal at an azimuth angle of 0° and an elevation angle of 5°; …… It can be understood that generally the antenna pattern represents the values of the signal amplitude and phase at an azimuth angle of 0°-180°, and the values of the signal amplitude and phase at an elevation angle of 0°-360°.
[0057] 5. Direct path signal.
[0058] The satellite transmits positioning signals to the receiving device, and the receiving device can receive the positioning signals transmitted by the satellite through multiple paths. For example, as shown in FIG. 2, the receiving device can receive the positioning signals transmitted by the satellite through multiple paths, wherein the path along the straight line, i.e. the path with the shortest length, is the direct path signal. It can be understood that the direct path signal is the earliest signal received by the receiving device, and the signal amplitude is the highest.
[0059] 6. Multipath signal.
[0060] Continuing as shown in FIG. 2, in addition to the direct-path signals, positioning signals transmitted by the satellite are also received by the receiving device via reflection off of obstacles, which can be referred to as multipath signals. As can be appreciated, multipath signals are received by the receiving device via reflection off of obstacles, and thus, the transmission path of a multipath signal is longer than the transmission path of a direct-path signal, resulting in the multipath signal being received later than the direct-path signal (i.e., multipath signals exhibit a delay), and the multipath signal is attenuated more than the direct-path signal, resulting in the multipath signal having a smaller amplitude than the direct-path signal.
[0061] The data processing method provided by the embodiments of the present application can be applied to an electronic device. Optionally, the electronic device includes a terminal device, which can also be referred to as a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device can be a mobile phone, a smart television, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiments of the present application do not limit the specific technology and specific device form of the terminal device.
[0062] For example, the terminal device provided by the embodiments of the present application can be a smart bracelet.
[0063] Exemplarily, FIG. 3 shows a structural schematic diagram of the electronic device 100. The electronic device 100 can 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 loudspeaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
[0064] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0065] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), and the like. Different processing units can be independent devices, or can be integrated in one or more processors.
[0066] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0067] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.
[0068] The antenna 1 and the antenna 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.
[0069] The mobile communication module 150 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied on the electronic device 100. The mobile communication module 150 can 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 the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert the signals into electromagnetic waves radiated by the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be arranged in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be arranged in the same device.
[0070] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a 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. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a microphone 170B, etc.), or displays an image or a video through the display 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110 and disposed in the same device as the mobile communication module 150 or other functional modules.
[0071] The wireless communication module 160 can provide a wireless communication solution including a wireless local area network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and the like, which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification thereon, and radiate the signal as an electromagnetic wave via the antenna 2.
[0072] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can 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), the 5th Generation of wireless communication system (5G), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0073] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.
[0074] It should be noted that any electronic device mentioned in the embodiments of the present application can include more or less modules in the electronic device 100.
[0075] The application scenarios provided by the embodiments of the present application are described below in conjunction with the drawings.
[0076] FIG. 4 is a schematic diagram of an application scenario of the data processing method provided by the embodiment of the present application. As shown in FIG. 4, the satellite 200 sends a first positioning signal to a receiving device (for example, a smart bracelet) 300, and the first positioning signal is received by the receiving device through a first channel. At this time, the signal received by the receiving device 300 can be a composite signal (a second positioning signal) composed of a direct-path signal and a multipath signal. It can be understood that the second positioning signal is the signal input into the receiving device 300, and the second positioning signal needs to pass through the antenna of the receiving device 300 to reach the processor and be processed by the processor to determine the position information of the receiving device 300. The first positioning signal needs to pass through the antenna of the receiving device to be received by the first electronic device after passing through the first channel, and the second positioning signal generally refers to the signal after the antenna in the first electronic device. It can be understood that after the signal passes through the antenna, the signal will be affected by the antenna pattern of the antenna and thus change. Therefore, the second positioning signal is different from the signal received by the first electronic device through the first channel and reaching the receiving port of the first electronic device.
[0077] In some possible cases, the signal received by the receiving device 300 can also be a composite signal including only a plurality of multipath signals, and the embodiment of the present application does not limit this.
[0078] In this case, the altitude information and the latitude and longitude information of the current receiving device 300 can be obtained first, the first channel data between the satellite 200 and the receiving device 300 is simulated and calculated by the electronic device 100, then the simulated first channel data and the simulated antenna pattern of the antenna in the receiving device 300 are input into the satellite simulator 400, the simulated receiving data corresponding to the second positioning signal is simulated by the satellite simulator 400, and then the simulated receiving data is sent to the receiving device 300. The position data corresponding to the simulated receiving data is obtained by processing the simulated receiving data by the processor in the receiving device 300, and then the position data corresponding to the simulated receiving data is compared with the actual position information of the receiving device, so as to evaluate the influence of the parameters of the antenna in the receiving device 300 on the satellite positioning accuracy.
[0079] The satellite 200 can be a Beidou positioning satellite, a GPS positioning satellite, a Galileo satellite, or a Glonass satellite, and the embodiment of the present application does not limit this. In one possible case, the satellite 200 can also be a combination of at least two of the above satellites. It should be noted that the same satellite can generally emit signals of multiple frequency bands, and the data processing method provided by the embodiment of the present application can be for one emission frequency band of the satellite or for multiple emission frequency bands of the satellite.
[0080] It should be understood that the above is an example of an application scenario, and does not limit the application scenario of the present application.
[0081] The data processing method provided by the embodiment of the present application will be described in detail below in combination with FIG. 5 to FIG. 10.
[0082] FIG. 5 is a flowchart of a data processing method provided by an embodiment of the present application. As shown in FIG. 5, the method comprises the following steps.
[0083] S101, obtaining pose information of a first electronic device.
[0084] The first electronic device can be used to receive a second positioning signal and determine position information of the first electronic device based on the second positioning signal, wherein the second positioning signal is a signal obtained by the first positioning signal sent by a second electronic device through a first channel, and the first channel is a channel between the first electronic device and the second electronic device.
[0085] It should be noted that the first electronic device can refer to a smart bracelet or other devices that receive positioning signals sent by the second electronic device, and the embodiment of the present application does not limit this. The second electronic device can refer to a satellite or other positioning signal sending devices, and the embodiment of the present application does not limit this.
[0086] The following will be described taking the first electronic device as a smart bracelet and the second electronic device as a satellite as an example.
[0087] The pose information of the smart bracelet can include position information and / or attitude information of the smart bracelet. The position information can refer to altitude information and longitude and latitude information of the smart bracelet at the current time, and the attitude information can refer to azimuth information, pitch information and roll information of the smart bracelet at the current time.
[0088] For example, the pose information can refer to the position information of the smart bracelet at the current time.
[0089] For another example, the pose information can refer to the position information and the attitude information of the smart bracelet at the current time.
[0090] The smart bracelet can obtain the altitude information and the longitude and latitude information of the smart bracelet at the current time, and determine the position information of the smart bracelet.
[0091] The smart bracelet can obtain the coordinate information of the smart bracelet at each sampling time, and then obtain the attitude information of the smart bracelet according to the coordinate changes at each time.
[0092] In one possible case, obtaining the attitude information of the smart bracelet can be moving the smart bracelet according to a preset path, obtaining the coordinate information of the smart bracelet at each sampling time according to a preset sampling period, and then determining the pose information of the smart bracelet according to the obtained coordinate information.
[0093] In a possible case, the posture information of the smart bracelet can also be obtained through simulation calculation.
[0094] For example, as shown in FIG. 6, when the user wears the smart bracelet to run in a straight line, the coordinate change of the smart bracelet presents periodic change along with the swing movement of the user. As shown in FIG. 6, in the first swing period, that is, from T10 to T16, the coordinate change of the smart bracelet is as shown in FIG. 6. In other swing periods, for example, from T20 to T26 (not shown in the figure), from T30 to T36 (not shown in the figure), and so on, the coordinate change of the smart bracelet is similar to the coordinate change in the first swing period.
[0095] For example, as shown in Table 2, in one swing period, sampling is performed once every T0, and a total of (2N-1) times of sampling are performed. In the first sampling period, the coordinate change of the smart bracelet along with the swing movement is as shown in Table 3. At 1T0, the X-axis coordinate of the smart bracelet is X1, the Y-axis coordinate is Y1, and the Z-axis coordinate is Z1; at 2T0, the X-axis coordinate of the smart bracelet is X2, the Y-axis coordinate is Y2, and the Z-axis coordinate is Z2; and so on, until at (2N-2)T0, the X-axis coordinate of the smart bracelet is X(2N-2), the Y-axis coordinate is Y(2N-2), and the Z-axis coordinate is Z(2N-2). At (2N-1)T0, that is, the first sampling time of the second period, the X-axis coordinate of the smart bracelet is X1, the Y-axis coordinate is Y1, and the Z-axis coordinate is Z1, and then the coordinates of the X-axis, the Y-axis, and the Z-axis of the smart bracelet change according to the coordinate change in the first period.
[0096] Table 2
[0097] For example, as shown in Table 3, in the first sampling period, at 1T0, the X-axis coordinate of the smart bracelet is 0, the Y-axis coordinate is V*T0, and the Z-axis coordinate is 0; at 2T0, the X-axis coordinate of the smart bracelet is 0, the Y-axis coordinate is V*2T0, and the Z-axis coordinate is 0; and so on, until at (2N-2)T0, the X-axis coordinate of the smart bracelet is 0, the Y-axis coordinate is V*(2N-2)T0, and the Z-axis coordinate is 0. At (2N-1)T0, that is, the first sampling time of the second period, the X-axis coordinate of the smart bracelet is 0, the Y-axis coordinate is V*(2N-1)T0, and the Z-axis coordinate is 0. Wherein, V represents the speed of the uniform motion of the user.
[0098] Table 3
[0099] The coordinate change of the smart bracelet when the user moves along a straight line at a constant speed can be obtained by combining the coordinate change in Table 2 and the coordinate change in Table 3.
[0100] In a possible case, when the user wearing the smart bracelet moves along a curved path, the coordinate change of the smart bracelet presents a periodic change with the swinging motion of the user. For example, the coordinate change of the smart bracelet caused by the swinging motion of the user can be shown in Table 2, which is not described herein again.
[0101] For example, the user moves along a 90° circular arc at a constant speed combined with a straight line. The coordinate change of the user moving along the curved path can be shown in Table 4. As shown in Table 4, in the first sampling period, at 1T0, the smart bracelet has an X-axis coordinate of 0, a Y-axis coordinate of V*T0*2 / π, and a Z-axis coordinate of 0 when the user moves along a 90° circular arc at a constant speed. At 2T0, the smart bracelet has an X-axis coordinate of V*2T0*2 / π*sin(1*π / 2N), a Y-axis coordinate of V*2T0*2 / π*cos(1*π / 2N), and a Z-axis coordinate of 0. In the second period, that is, at N*T0, the smart bracelet has an X-axis coordinate of v*N*T0*2 / π, a Y-axis coordinate of 0, and a Z-axis coordinate of 0. At (N+1)T0, the smart bracelet has an X-axis coordinate of v*N*T0*2 / π, a Y-axis coordinate of V*T0, and a Z-axis coordinate of 0. At (2N-1)T0, that is, the first sampling time in the second period, the smart bracelet has an X-axis coordinate of v*N*T0*2 / π, a Y-axis coordinate of V*(N-1)T0, and a Z-axis coordinate of 0. Wherein, V represents the speed of the user moving at a constant speed.
[0102] Table 4
[0103] The coordinate change of the smart bracelet when the user moves along a curved path at a constant speed can be obtained by combining the coordinate change in Table 2 and the coordinate change in Table 4.
[0104] After obtaining the coordinate change of the smart bracelet, the attitude information of the smart bracelet can be obtained by comparing the coordinate change of the smart bracelet at each time.
[0105] In S102, first channel data is obtained, the first channel data being data simulating a channel state between the first electronic device and the second electronic device.
[0106] The first channel data can be obtained by obtaining the altitude information and the latitude and longitude information of the smart bracelet at the current time to obtain the position information, and then simulating and calculating the first channel data between the smart bracelet and the satellite based on the position information of the smart bracelet at the current time.
[0107] Optionally, the first channel data can include one analog line of sight (LOS) data and N analog not line of sight (NLOS) data, the number of the first sub-vectors is N+1, the number of the second sub-vectors is N+1, the analog line of sight data corresponds to one first sub-vector and one second sub-vector, and the N analog not line of sight data respectively correspond to N first sub-vectors and N second sub-vectors.
[0108] The first channel data can be represented by a table shown in Table 5. As shown in Table 5, the first channel data can be:
[0109] Table 5
[0110] It can be understood that one line of sight data includes one first sub-vector and one second sub-vector, and each analog not line of sight data can also include one first sub-vector and one second sub-vector.
[0111] Any data in the one analog line of sight data and the N analog not line of sight data can be represented by formula (1). For example, the analog line of sight data can be represented by formula (1)
[0112] wherein, the first left-hand circular polarization vector can be represented by formula (2) the second right-hand circular polarization vector can be represented by formula (3).
[0113] In a possible case, the first channel data can also only include multiple not line of sight data and does not include line of sight data.
[0114] For example, the first channel data can include (N+1) analog not line of sight data, and any data in each analog not line of sight data can be represented by formula (1).
[0115] S103, obtaining an initial antenna pattern of an antenna in the first electronic device.
[0116] The electronic device can calculate the initial antenna pattern of the antenna according to the environmental information and size information of the antenna on the smart bracelet. For example, the electronic device can simulate and calculate the environmental information and size information of the antenna on the smart bracelet by using simulation software to obtain the initial antenna pattern.
[0117] wherein, the initial antenna pattern can include a third sub-vector and a fourth sub-vector, and the third sub-vector and the fourth sub-vector can be sub-vectors obtained by orthogonal vector decomposition of the initial antenna pattern. For example, the third sub-vector can be a second left-hand circular polarization vector, and the fourth sub-vector can be a second right-hand circular polarization vector.
[0118] It can be understood that the third sub-vector can refer to the second left-hand circular polarized vector, and the fourth sub-vector can refer to the second right-hand circular polarized vector, and this does not constitute a limitation on the third sub-vector and the fourth sub-vector. The third sub-vector and the fourth sub-vector in the initial antenna pattern can also be sub-vectors obtained according to other decomposition manners, for example, the third sub-vector can be a vertical polarized vector, and the fourth sub-vector can be a horizontal polarized vector.
[0119] The obtained initial antenna pattern can be represented by formula (2). Wherein, formula (2) includes:
[0120] Wherein, may represent the second left-hand circular polarized vector, may represent the second right-hand circular polarized vector.
[0121] S104, according to the attitude information, the initial antenna pattern is rotated to obtain a rotated antenna pattern, wherein the attitude information includes azimuth angle information, pitch angle information and roll angle information.
[0122] In the use process of the receiving device, with the movement of the user, the antenna pattern will change accordingly, for example, the coordinate changes shown in Tables 2, 3 and 4. In one possible case, when the user wears a smart bracelet for exercise, the coordinates of the smart bracelet change with the user's arm swinging action. In this case, according to the pose information of the receiving device, the initial antenna pattern is rotated to obtain a rotated antenna pattern, which can be closer to the antenna pattern in actual use. For example, the antenna pattern can be rotated according to the attitude information of the smart bracelet at the current time and the attitude information at the initial time, so that the rotated antenna pattern can be closer to the antenna pattern of the receiving device at the current time, and thus the accuracy of the simulated received data determined according to the antenna pattern is improved.
[0123] For example, the smart bracelet can determine a rotation matrix R according to the pose information at the current time and the pose information at the initial time (the time corresponding to the initial antenna pattern), and the antenna pattern at the current time (that is, the initial antenna pattern) can be rotated by the rotation matrix R to obtain a rotated antenna pattern.
[0124] The rotation of the initial antenna pattern can be a rotation of each point in the initial antenna pattern. The following illustrates how to rotate by taking one point in the initial antenna pattern, that is, point A as an example.
[0125] Exemplarily, as shown in (a) of FIG. 7, the initial antenna pattern can include a plurality of points, wherein A point is one point in the initial antenna pattern. The signal at the A point can be represented by formula (2), wherein, as shown in (a) of FIG. 7, the signal at the A point includes E θ2 component and component.
[0126] At this time, the rotation matrix R is determined according to the posture information of the smart bracelet, and then the A point in the initial antenna pattern is rotated based on the rotation matrix R to obtain the A' point in the rotated antenna pattern. The signal at the A' point can also be represented by formula (3), that is:
[0127] Wherein, as shown in (b) of FIG. 7, the signal at the A' point includes E' θ2 component and component. It can be seen that the directions of E θ2 component and E' θ2 component are different, component and component are different.
[0128] If the rotated antenna direction and the first channel data are directly used to determine the analog received data, since the directions of the signal components in the rotated antenna pattern and the initial antenna pattern are different, the analog received data determined by the rotated antenna direction and the first channel data will be distorted, thereby causing the difference between the analog received data and the second positioning data to be large. In this case, the rotated antenna pattern can be subjected to vector orthogonal decomposition, so that the directions of the signal components in the analog antenna pattern and the initial antenna pattern are the same, and thus the distortion of the analog received data determined by the rotated antenna direction and the first channel data is small.
[0129] S105, vector orthogonal decomposition is performed on the rotated antenna pattern to obtain an analog antenna pattern.
[0130] Exemplarily, as shown in (c) of FIG. 7, the rotated antenna pattern is subjected to vector orthogonal decomposition to obtain an analog antenna pattern, wherein the A" point in the analog antenna pattern is the point after the vector orthogonal decomposition of the A' point in the rotated antenna pattern, and the signal at the A" point can be represented by formula (4), that is:
[0131] Wherein, as shown in (c) of FIG. 7, the signal at the A" point includes E" θ2 component and component. It can be seen that the directions of E' θ2 component and E" θ2The directions of the components are different, but E θ2 The directions of the components are different, but E θ2 The directions of the components are the same. The directions of the components are different, but E The directions of the components are different, but E θ2 The directions of the components are the same. The directions of the components are the same.
[0132] In a possible case, E θ2 The directions of the components are different, but E θ2 The directions of the components are different, but E θ2 The directions of the components are the same. The directions of the components are different, but E
[0133] The initial antenna pattern includes a second left-handed circularly polarized vector and a second right-handed circularly polarized vector, the simulated antenna pattern includes a third left-handed circularly polarized vector and a third right-handed circularly polarized vector, the direction of the second left-handed circularly polarized vector is the same as the direction of the third left-handed circularly polarized vector, and the direction of the second right-handed circularly polarized vector is the same as the direction of the third right-handed circularly polarized vector.
[0134] The data processing method provided by the embodiment of the application, in the process of obtaining the simulated receiving data through the first channel data and the simulated antenna pattern, the simulated antenna pattern is an antenna pattern rotated by correcting an initial antenna pattern through the attitude information of the electronic device, and is obtained by correcting the direction of a vector in the rotated antenna pattern through orthogonal vector decomposition, so that the simulated antenna pattern obtained finally can be closer to the antenna pattern of the receiving device in the actual use process, and the direction of the vector is the same as that of the initial antenna pattern, thereby making the first channel data and the simulated antenna pattern obtain the simulated receiving data more accurately, and improving the accuracy of the actual positioning signal obtained according to the simulated receiving data.
[0135] S106, obtaining simulated receiving data according to the first channel data and the simulated antenna pattern, the simulated receiving data being data of a simulated second positioning signal, the second positioning signal being a signal obtained by receiving, by an antenna in the first electronic device, a first positioning signal sent by a second electronic device, and the second positioning signal being used to determine the position information of the first electronic device.
[0136] The first channel data can be represented by formula (1), the simulated antenna pattern can be represented by formula (4), and the simulated receiving data can be represented by the product of formula (1) and formula (4), that is, formula (5):
[0137] It can be understood that the acquired first channel data and the simulated antenna pattern can be obtained by calculation, for example, by simulation, and the first channel data and the simulated antenna pattern can be taken as input data to input a satellite simulator, and the satellite simulator can obtain simulated receiving data based on the above formula (5). Then the satellite simulator can send the simulated receiving data to the smart bracelet, so that the smart bracelet determines the corresponding position information according to the simulated receiving data, and then determines the position information of the smart bracelet, and determines whether the parameters of the antenna in the smart bracelet affect the satellite positioning accuracy.
[0138] In a possible case, the attitude information of the smart bracelet is azimuth angle information, and the movement of the smart bracelet also causes changes in pitch angle and roll angle. It can be understood that the changes in the pitch angle and the roll angle of the smart bracelet caused by the arm swinging action of the user are generally related to the arm swinging angle of the user. Therefore, in this case, the corresponding initial sub-antenna pattern can be selected according to the arm swinging angle of the user, and the initial sub-antenna pattern is rotated respectively, so as to obtain the simulated antenna pattern. The following will be described in detail by taking FIG. 8 as an example.
[0139] FIG. 8 is a flowchart of another data processing method provided by an embodiment of the present application. As shown in FIG. 8, the method comprises the following steps:
[0140] S201, acquiring first channel data.
[0141] The first channel data is data simulating the channel state between the smart bracelet and the satellite, and can be obtained by acquiring the altitude information and the latitude and longitude information of the smart bracelet, and then performing simulation calculation according to the altitude information and the latitude and longitude information.
[0142] S202, acquiring attitude information of the smart bracelet.
[0143] The attitude information can be azimuth angle information.
[0144] The specific process of acquiring the attitude information of the smart bracelet, that is, the specific process of acquiring the azimuth angle information of the smart bracelet can be referred to the method steps shown in S101, which will not be described herein.
[0145] It should be noted that the azimuth angle information, the roll angle information and the pitch angle information can be obtained according to the method steps shown in S101. In the step shown in S202, only the azimuth angle information can be calculated.
[0146] S203, determining a corresponding initial sub-antenna pattern according to the attitude information of the smart bracelet.
[0147] The number of the initial sub-antenna patterns can be N, and each initial sub-antenna pattern is related to the attitude information of the smart bracelet.
[0148] It can be understood that the relative position between the smart bracelet and the user will also change with the swing action of the user. Since the human body will affect the antenna pattern, the human body will affect the antenna pattern of the antenna in the smart bracelet with the change of the relative position between the smart bracelet and the user. That is to say, with the swing of the user, the relative position relationship between the smart bracelet and the human body changes, which causes the change of the environmental information of the antenna in the smart bracelet, and further causes the change of the simulated antenna pattern of the antenna in the smart bracelet. In this case, the corresponding initial sub-antenna pattern can be selected for different arm swing angles of the user, so that the selected initial sub-antenna pattern can approach the antenna pattern in the actual use process.
[0149] For example, the arm position with an included angle between the arm and the horizontal direction of [0°, -30°) can be taken as category 1, the arm position with an included angle between the arm and the horizontal direction of (-30°, -60°] can be taken as category 2, and the arm position with an included angle between the arm and the horizontal direction of (-60°, -90°] can be taken as category 3. Then the corresponding initial sub-antenna pattern is selected for the arm position in the same category.
[0150] It can be understood that the above classification of arm positions is only an example and does not constitute a limitation on the classification of arm positions.
[0151] One of the arm positions in the same category can be selected to determine the initial antenna pattern. For example, for the arm position in category 1, an arm position with an included angle of -15° between the arm and the horizontal direction can be selected as a sample, and then the arm position with an included angle of -15° between the arm and the horizontal direction and the human body are taken as the environmental information of the antenna in the smart bracelet for simulation to obtain the initial sub-antenna pattern 1. For the arm position in category 2, an arm position with an included angle of -45° between the arm and the horizontal direction can be selected as a sample, and then the arm position with an included angle of -45° between the arm and the horizontal direction and the human body are taken as the environmental information of the antenna in the smart bracelet for simulation to obtain the initial sub-antenna pattern 2. For the arm position in category 3, an arm position with an included angle of -90° between the arm and the horizontal direction can be selected as a sample, and then the arm position with an included angle of -90° between the arm and the horizontal direction and the human body are taken as the environmental information of the antenna in the smart bracelet for simulation to obtain the initial sub-antenna pattern 3.
[0152] S204, rotating the initial sub-antenna pattern according to the azimuth angle information to obtain a corresponding rotated sub-antenna pattern.
[0153] The rotation of the initial sub-antenna pattern is similar to the method steps shown in S104, which will not be described here.
[0154] The number of initial sub-antenna patterns is N, and the number of rotated sub-antenna patterns is also N.
[0155] S205, vector orthogonally decompose the rotated sub-antenna patterns to obtain simulated antenna patterns.
[0156] The vector orthogonally decomposing the rotated sub-antenna patterns can refer to the method steps shown in S105, which will not be repeated here.
[0157] It can be understood that the number of rotated sub-antenna patterns is also N, and the vector orthogonally decomposing the N rotated sub-antenna patterns can obtain N simulated sub-antenna patterns. That is, the simulated antenna pattern can include N simulated sub-antenna patterns.
[0158] S206, obtaining simulated receiving data according to the first positioning data and the simulated antenna pattern.
[0159] The simulated antenna pattern can include N simulated sub-antenna patterns, so obtaining simulated receiving data according to the simulated antenna pattern and the first positioning data can be obtaining N simulated sub-receiving data according to N simulated sub-antenna patterns and the first positioning data respectively, and then obtaining simulated receiving data according to the N simulated sub-receiving data.
[0160] The specific process of obtaining simulated sub-receiving data according to the first positioning data and the simulated sub-antenna pattern can refer to the method steps shown in S106, which will not be repeated here.
[0161] The data processing method provided in the embodiments of the present application comprises the following steps: obtaining first channel data, obtaining posture information of a smart bracelet, determining a corresponding initial sub-antenna directional diagram according to the posture information of the smart bracelet, rotating the initial sub-antenna directional diagram to obtain a corresponding rotated sub-antenna directional diagram, performing vector orthogonal decomposition on the rotated sub-antenna directional diagram to obtain a simulated antenna directional diagram, and obtaining simulated receiving data according to the first positioning data and the simulated antenna directional diagram. The initial antenna directional diagram comprises N initial sub-antenna directional diagrams, and each initial sub-antenna directional diagram corresponds to the posture information of the smart bracelet. Since each initial sub-antenna directional diagram corresponds to the posture information of the smart bracelet, the roll angle information and the pitch angle information of the corresponding antenna are different between each initial sub-antenna directional diagram. This means that the initial sub-antenna directional diagram is an antenna directional diagram that has been adjusted based on the roll angle information and the pitch angle information of the antenna. Therefore, when the initial sub-antenna directional diagram is rotated based on the posture information, the initial sub-antenna directional diagram can be rotated based only on the directional angle information. Compared with rotating the initial sub-antenna directional diagram based on the directional angle information, the pitch angle information and the roll angle information, the efficiency of rotating the initial sub-antenna directional diagram can be improved, thereby improving the efficiency of determining the simulated receiving data according to the simulated antenna directional diagram and the first positioning data.
[0162] FIG. 9 is a flowchart of another data processing method provided in the embodiments of the present application. As shown in FIG. 9, the method comprises the following steps:
[0163] S301, obtaining first channel data, the first channel data being data simulating a channel state between a first electronic device and a second electronic device, the first electronic device comprising a receiving device for receiving a satellite positioning signal, and the second electronic device comprising a satellite.
[0164] S302, obtaining a simulated antenna directional diagram, the simulated antenna directional diagram being directional diagram data simulating an antenna in the first electronic device, and the simulated antenna directional diagram comprising a first sub-vector and a second sub-vector, the first sub-vector comprising a first left-hand circularly polarized vector, and the second sub-vector comprising a first right-hand circularly polarized vector.
[0165] S303, obtaining simulated receiving data according to the first channel data and the simulated antenna directional diagram, the simulated receiving data being data simulating a second positioning signal, the second positioning signal being a signal obtained by receiving, by the antenna in the first electronic device, a first positioning signal transmitted by the second electronic device, and the second positioning signal being used to determine position information of the first electronic device.
[0166] The data processing method provided in the embodiments of the present application comprises the following steps: obtaining first channel data, and obtaining an analog antenna pattern; and obtaining analog receiving data according to the first channel data and the analog antenna pattern, wherein the first channel data is data simulating a channel state between a first electronic device and a second electronic device, the first electronic device comprises a receiving device for receiving a satellite positioning signal, the second electronic device comprises a satellite, the analog antenna pattern is data simulating a pattern of an antenna in the first electronic device, the analog antenna pattern comprises a first sub-vector and a second sub-vector, the first sub-vector comprises a first left-hand circularly polarized vector, and the second sub-vector comprises a first right-hand circularly polarized vector, and the analog receiving data is data simulating a second positioning signal. The second positioning signal is a signal obtained by receiving, by the antenna in the first electronic device, a first positioning signal transmitted by the second electronic device, and the second positioning signal is used to determine position information of the first electronic device. That is to say, the embodiments of the present application can simulate the second positioning signal received by the antenna in the first electronic device based on the analog receiving data obtained based on the first channel data and the analog antenna pattern, that is, the influence of the antenna parameters of the first electronic device on the received satellite positioning signal is simulated, and then the accuracy of the satellite positioning signal can be evaluated according to the simulated analog receiving data. Further, in the traditional method, the antenna pattern used for simulation is usually a linearly polarized antenna pattern, which is quite different from the circularly polarized antenna pattern in the actual use. However, the analog antenna pattern used for determining the analog receiving data in the embodiments of the present application is a circularly polarized antenna pattern comprising the first sub-vector and the second sub-vector, which is closer to the antenna pattern used in the actual use. Therefore, the analog receiving data obtained based on the first channel data and the analog antenna pattern is closer to the actual receiving data, and the accuracy of the simulated second positioning signal based on the analog receiving data is improved.
[0167] It should be understood that, although each step in the flowchart in the above embodiments is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart can comprise multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.
[0168] It can be understood that, in order to realize the above functions, the electronic device comprises hardware and / or software modules corresponding to the respective functions. The algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of the present application.
[0169] The embodiments of the present application can divide the functional modules of the electronic device according to the above method examples, for example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical functional division. Actual implementation can have another division manner. It should be noted that the names of the modules in the embodiments of the present application are illustrative, and the names of the modules are not limited in actual implementation.
[0170] FIG. 10 is a schematic structural diagram of a data processing apparatus provided by an embodiment of the present application.
[0171] It should be understood that the data processing apparatus 600 can perform the data processing method shown in FIGS. 5 to 9; the data processing apparatus 600 comprises an acquisition unit 610 and a processing unit 620.
[0172] The acquisition unit 610 is configured to acquire first channel data, the first channel data being data simulating a channel state between a first electronic device and a second electronic device, the first electronic device comprising a receiving device receiving a satellite positioning signal, and the second electronic device comprising a satellite; and acquire a simulated antenna pattern, the simulated antenna pattern being data simulating a pattern of an antenna in the first electronic device, the simulated antenna pattern comprising a first sub-vector and a second sub-vector, the first sub-vector comprising a first left-handed circularly polarized vector, and the second sub-vector comprising a first right-handed circularly polarized vector.
[0173] The processing unit 620 is configured to obtain simulated receiving data according to the first channel data and the simulated antenna pattern, the simulated receiving data being data simulating a second positioning signal, the second positioning signal being a signal obtained by an antenna in the first electronic device receiving a first positioning signal transmitted by the second electronic device, and the second positioning signal being used to determine position information of the first electronic device. The processing unit 620 obtains simulated receiving data according to the first channel data and the simulated antenna pattern, and the simulated receiving data is used to generate an actual positioning signal, the actual positioning signal being a positioning signal transmitted by the second electronic device.
[0174] The data processing apparatus provided in this embodiment is used to execute the data processing method in the above-described embodiments, and has similar technical principles and technical effects, which will not be described herein again.
[0175] It should be noted that the data processing apparatus 600 is embodied in the form of a functional unit. The term "unit" herein can be implemented in the form of software and / or hardware, which is not specifically limited.
[0176] For example, the "unit" can be a software program, a hardware circuit or a combination of both, which realizes the above-described functions. The hardware circuit can include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combination logic circuit and / or other suitable components supporting the described functions.
[0177] Therefore, the units of each example described in the embodiments of the present application can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0178] FIG. 11 shows a structural schematic diagram of an electronic device provided in the present application. The dashed line in FIG. 11 indicates that the unit or the module is optional. The electronic device 700 can be used to implement the data processing method described in the above-described method embodiments.
[0179] The electronic device 700 includes one or more processors 701, which can support the electronic device 700 to implement the data processing method in the method embodiments. The processor 701 can be a general-purpose processor or a dedicated processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, such as discrete gates or transistor logic devices or discrete hardware components.
[0180] The processor 701 can be configured to control the electronic device 700, execute a software program, and process data of the software program. The electronic device 700 can further include a communication unit 705 configured to implement input (reception) and output (transmission) of signals.
[0181] For example, the electronic device 700 can be a chip, the communication unit 705 can be an input and / or output circuit of the chip, or the communication unit 705 can be a communication interface of the chip. The chip can be a component of a terminal device or other electronic device.
[0182] For another example, the electronic device 700 can be a terminal device, and the communication unit 705 can be a transceiver of the terminal device, or the communication unit 705 can be a transceiving circuit of the terminal device.
[0183] One or more memories 702 can be included in the electronic device 700, and a program 704 can be stored in the memory 702. The program 704 can be run by the processor 701 to generate an instruction 703, so that the processor 701 executes the impedance matching method described in the above method embodiments according to the instruction 703.
[0184] Optionally, the memory 702 can further store data. Optionally, the processor 701 can further read the data stored in the memory 702. The data can be stored in the same storage address as the program 704, or the data can be stored in a different storage address from the program 704.
[0185] The processor 701 and the memory 702 can be separately arranged, or can be integrated together. For example, the processor 701 and the memory 702 can be integrated on a system on chip (SOC) of the terminal device.
[0186] Exemplarily, the memory 702 can be configured to store a program 704 related to the data processing method provided in the embodiments of the present application, and the processor 701 can be configured to invoke the program 704 related to the data processing method stored in the memory 702 when performing data processing, and execute the data processing method of the embodiments of the present application. The data processing method includes obtaining first channel data, the first channel data is data simulating a channel state between a first electronic device and a second electronic device, the first electronic device includes a receiving device for receiving a satellite positioning signal, and the second electronic device includes a satellite; obtaining a simulated antenna pattern, the simulated antenna pattern is data simulating a pattern of an antenna in the first electronic device, the simulated antenna pattern includes a first sub-vector and a second sub-vector, the first sub-vector includes a first left-handed circularly polarized vector, and the second sub-vector includes a first right-handed circularly polarized vector; and obtaining simulated receiving data according to the first channel data and the simulated antenna pattern, the simulated receiving data is data simulating a second positioning signal, the second positioning signal is a signal obtained by receiving, by the antenna in the first electronic device, a first positioning signal transmitted by the second electronic device, and the second positioning signal is used to determine position information of the first electronic device.
[0187] The present application also provides a computer program product, which, when executed by the processor 701, implements the data processing method of any method embodiment of the present application.
[0188] The computer program product can be stored in the memory 702, for example, the program 704, which is finally converted into an executable object file capable of being executed by the processor 701 through preprocessing, compiling, assembling, and linking, etc.
[0189] The present application also provides a computer readable storage medium, which stores a computer program, and the computer program, when executed by a computer, implements the data processing method of any method embodiment of the present application. The computer program can be a high-level language program or an executable target program.
[0190] The computer-readable storage medium is, for example, the memory 702. The memory 702 can be a volatile memory or a nonvolatile memory, or the memory 702 can include both volatile and nonvolatile memory. The nonvolatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically EPROM (EEPROM), or a flash memory, among others. The volatile memory can be a random access memory (RAM), which is used as the external cache. By way of example, and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM), among others.
[0191] In this application, "at least one", "multiple", "plurality" mean one or more, unless otherwise indicated. "At least one of the following (a)" or the like means any combination of these items, including a single item (a) or a combination of multiple items. For example, at least one of a, b, or c can mean a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
[0192] It should be understood that the size of the sequence number of the above-mentioned processes in various embodiments of the present application does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0193] Those skilled in the art can clearly understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0194] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
[0195] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic; for example, the division of units is only a logical function division, and actual implementation can have another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0196] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0197] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit.
[0198] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A data processing method, characterized by, The method comprises: obtaining first channel data, the first channel data being data simulating a channel state between a first electronic device and a second electronic device, the first electronic device comprising a receiving device receiving a satellite positioning signal, and the second electronic device comprising the satellite; obtaining a simulated antenna pattern, the simulated antenna pattern being data simulating a pattern of an antenna in the first electronic device, the simulated antenna pattern comprising a first sub-vector and a second sub-vector, the first sub-vector comprising a first left-hand circularly polarized vector, and the second sub-vector comprising a first right-hand circularly polarized vector; obtaining simulated receiving data according to the first channel data and the simulated antenna pattern, the simulated receiving data being data simulating a second positioning signal, the second positioning signal being a signal obtained by receiving, by the antenna in the first electronic device, a first positioning signal transmitted by the second electronic device, and the second positioning signal being used to determine position information of the first electronic device.
2. The method of claim 1, wherein, The method comprises: obtaining attitude information of the first electronic device at a current time; obtaining an initial antenna pattern of the first electronic device; correcting the initial antenna pattern according to the attitude information to obtain the simulated antenna pattern.
3. The method of claim 2, wherein, The method comprises: rotating the initial antenna pattern according to the attitude information to obtain a rotated antenna pattern; performing vector orthogonal decomposition on the rotated antenna pattern to obtain the simulated antenna pattern.
4. The method of claim 3, wherein, The attitude information comprises azimuth information, the initial antenna pattern comprises N initial antenna patterns, the N initial antenna patterns being N antenna patterns obtained based on different attitudes of the first electronic device, the rotated antenna pattern comprises N rotated antenna patterns, the N initial antenna patterns and the N rotated antenna patterns corresponding to each other, and the method comprises: rotating the N initial antenna patterns according to the azimuth information respectively to obtain corresponding N rotated antenna patterns.
5. The method of claim 3, wherein, The attitude information comprises azimuth information, pitch information and roll information, and the method comprises: rotating the initial antenna pattern according to the azimuth information, the pitch information and the roll information to obtain the rotated antenna pattern.
6. The method according to any one of claims 3 to 5, characterized in that, The initial antenna pattern comprises a second left-hand circularly polarized vector and a second right-hand circularly polarized vector, a direction of the second left-hand circularly polarized vector being the same as that of the first left-hand circularly polarized vector, and a direction of the second right-hand circularly polarized vector being the same as that of the first right-hand circularly polarized vector.
7. The method according to any one of claims 1 to 6, characterized in that, The method comprises: obtaining altitude information and latitude and longitude information of the first electronic device at a current time; The first channel data is obtained according to the altitude information and the latitude and longitude information.
8. The method according to any one of claims 1 to 7, characterized in that, The first channel data comprises one analog direct path data and N analog multi-path data, the number of the first sub-vectors is N+1, the number of the second sub-vectors is N+1, the analog direct path data corresponds to one first sub-vector and one second sub-vector, and the N analog multi-path data respectively correspond to N first sub-vectors and N second sub-vectors.
9. The method according to any one of claims 1 to 8, characterized in that, The first electronic device is a smart bracelet.
10. An electronic device, comprising: The electronic device comprises a module for executing the method as claimed in any one of claims 1 to 9.
11. An electronic device, comprising: Comprise: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the electronic device executes the method as claimed in any one of claims 1 to 9.
12. A chip system, characterized by The chip system comprises a processor for calling and running a computer program from a memory, so that the electronic device installed with the chip system executes the method as claimed in any one of claims 1 to 9.
13. A computer readable storage medium comprising a computer program, characterized in that, When the computer program is running on the electronic device, the electronic device executes the method as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Data processing method and electronic equipment
CN120742357A
Active antenna pattern testing system and method
CN103384835A
Antenna pattern simulation method and device for satellite navigation simulation and apparatus
CN113435069A
Antenna switching method and terminal antenna
CN115084867A
Antenna test method, device and system, channel simulation instrument and readable storage medium
CN115290991A