Communication signal processing method, device, chip and electronic device
By setting up an uplink data storage area in the mobile terminal and saving and output uplink IQ data in real time, the problem of abnormal positioning of uplink data transmission in 5G wireless communication is solved, and low-cost and efficient abnormal positioning is achieved.
Patent Information
- Application Number
- CN202111363872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-11-17
AI Technical Summary
In 5G wireless communication, how to effectively locate uplink data transmission exceptions, especially distinguishing between baseband data stream generation and radio frequency transmission errors.
By setting a fixed-size uplink data storage area in the mobile terminal, the sent original uplink IQ data is saved in real time, and the data in the storage area is output when a sending exception occurs, so as to locate the exception.
It realizes data storage when sending uplink data, and outputs uplink data that can be used for location when an exception occurs, reducing hardware cost and processor calculation amount, and is suitable for application scenarios of mobile terminals.
Smart Images

Figure CN113986144B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication signal processing method, device, chip and electronic device. Background Art
[0002] As the demand for human wireless communication and machine-to-machine communication grows exponentially, the world has put forward more extensive demands on wireless networks, which are specifically reflected in speed, latency, reliability, cost, complexity and cost, etc. For this reason, 5G wireless technology has come into being. As one of the carriers of 5G wireless communication technology, 5G mobile terminals are also being researched, produced and manufactured by many mobile communication companies.
[0003] In the application scenario of 5G wireless communication, when the terminal sends uplink data, transmission anomalies may occur. In order to avoid the subsequent transmission anomalies, it is necessary to locate the current transmission anomaly, for example, to confirm whether there is a problem with the data stream generated by the baseband or an error caused by the RF transmission. Therefore, a communication signal processing method is required to locate the transmission anomaly when uplink data transmission anomalies occur. Summary of the invention
[0004] In order to solve the problem of how to locate uplink data transmission anomalies in the prior art, the present application provides a communication signal processing method, device, chip and electronic device, and the present application also provides a computer-readable storage medium.
[0005] The present application embodiment adopts the following technical solutions:
[0006] In a first aspect, the present application provides a communication signal processing method, the method being applied to an electronic device, the electronic device comprising a first memory, the first memory comprising an uplink data storage area of a fixed size, the method comprising:
[0007] Obtaining the original uplink IQ data currently sent by the electronic device;
[0008] The original uplink IQ data is saved in the uplink data storage area, wherein when the uplink data storage area is full of data, the latest original uplink IQ data is used to overwrite the old original uplink IQ data;
[0009] When an uplink transmission exception occurs, the original uplink IQ data currently stored in the uplink data storage area is output.
[0010] In an implementation manner of the first aspect, the saving the original uplink IQ data to the uplink data storage area includes:
[0011] The original uplink IQ data and the accelerator parameters for the electronic device to send uplink data are saved in the uplink data storage area.
[0012] In an implementation of the first aspect, the saving the original uplink IQ data and the accelerator parameter of the electronic device for sending the uplink data to the uplink data storage area includes:
[0013] Packing the original uplink IQ data and the accelerator parameters for the electronic device to send the uplink data into an uplink data packet;
[0014] The uplink data packet is stored in the uplink data storage area.
[0015] In an implementation manner of the first aspect, the uplink data storage area includes N cache blocks numbered 1-N, and the saving the original uplink IQ data to the uplink data storage area includes:
[0016] The original uplink IQ data is written into cache block 1 to cache block N in sequence according to the order of numbers 1 to N, where:
[0017] After completing the writing of one cache block, writing the latest original uplink IQ data into the next cache block;
[0018] After the writing of cache block N is completed, the latest original uplink IQ data is written into cache block 1.
[0019] In an implementation of the first aspect, the method further includes:
[0020] cyclically executing the steps of acquiring the original uplink IQ data currently sent by the electronic device and saving the original uplink IQ data to the uplink data storage area;
[0021] When an uplink transmission abnormality occurs, the loop execution of acquiring the original uplink IQ data currently transmitted by the electronic device and storing the original uplink IQ data in the uplink data storage area is maintained.
[0022] In an implementation of the first aspect, the method further includes:
[0023] The steps of obtaining the original uplink IQ data currently sent by the electronic device and saving the original uplink IQ data to the uplink data storage area are executed cyclically. During the process of obtaining the original uplink IQ data currently sent by the electronic device and saving the original uplink IQ data to the uplink data storage area, whether an uplink transmission abnormality occurs is monitored.
[0024] In an implementation manner of the first aspect, after the original uplink IQ data is saved in the uplink data storage area, the method further includes:
[0025] Check whether there is any abnormality in uplink transmission;
[0026] When an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area, and then returning to the acquisition of the original uplink IQ data currently sent by the electronic device;
[0027] When no uplink transmission abnormality occurs, the method returns to the step of acquiring the original uplink IQ data currently transmitted by the electronic device.
[0028] In an implementation manner of the first aspect, when an uplink transmission exception occurs, all data in the uplink data storage area are output.
[0029] In an implementation manner of the first aspect, when an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes:
[0030] When an uplink transmission anomaly occurs, the original uplink IQ data currently stored in the uplink data storage area is output to a positioning device, and the positioning device is used to locate the uplink transmission anomaly according to the original uplink IQ data.
[0031] In an implementation manner of the first aspect, when an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes:
[0032] When an uplink transmission anomaly occurs, the original uplink IQ data currently stored in the uplink data storage area is output to an uplink transmission anomaly locating module of the electronic device, and the uplink transmission anomaly locating module is used to locate the uplink transmission anomaly according to the original uplink IQ data.
[0033] In an implementation manner of the first aspect, the electronic device further includes a second memory, and when an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes:
[0034] When an uplink transmission exception occurs, the original uplink IQ data currently stored in the uplink data storage area is stored in the second memory.
[0035] In an implementation manner of the first aspect, the second memory is a non-volatile memory.
[0036] In an implementation of the first aspect, the electronic device further includes an application processor and a communication processor;
[0037] The obtaining of the original uplink IQ data currently sent by the electronic device comprises: the communication processor obtaining the original uplink IQ data currently sent by the electronic device;
[0038] The storing the original uplink IQ data in the uplink data storage area comprises: the communication processor storing the original uplink IQ data in the uplink data storage area, wherein when the uplink data storage area is full of data, the latest original uplink IQ data is used to overwrite the old original uplink IQ data;
[0039] When an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes:
[0040] The communication processor detects whether an uplink transmission anomaly occurs, and when an uplink transmission anomaly occurs, the communication processor triggers an abnormal assertion;
[0041] When the application processor detects that the communication processor triggers an abnormal assertion, the application processor reads the data currently stored in the uplink data storage area.
[0042] In a second aspect, the present application further provides a communication signal processing device, the device being applied to an electronic device, the electronic device comprising a first memory, the first memory comprising an uplink data storage area of a fixed size, the device comprising:
[0043] A data storage module, which is used to: obtain the original uplink IQ data currently sent by the electronic device; save the original uplink IQ data to the uplink data storage area, wherein when the uplink data storage area is full of data, use the latest original uplink IQ data to overwrite the old original uplink IQ data;
[0044] The monitoring module is used for outputting the original uplink IQ data currently stored in the uplink data storage area when an uplink transmission abnormality occurs.
[0045] In a third aspect, the present application further provides an electronic chip, comprising:
[0046] A processor is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method steps described in the first aspect.
[0047] In a fourth aspect, the present application also provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps described in the first aspect.
[0048] In a fifth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect.
[0049] According to the above technical solution proposed in the embodiment of the present application, at least the following technical effects can be achieved:
[0050] According to the method of the embodiment of the present application, the uplink data can be saved when sending the uplink data and the uplink data that can effectively locate the anomaly can be output when an uplink sending anomaly occurs; the implementation of the method of the embodiment of the present application requires less storage capacity, consumes less processor computing power, has low hardware cost, and is easy to carry and operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 Shown is a schematic diagram of a mobile terminal framework according to an embodiment of the present application;
[0052] Figure 2 FIG. 1 is a flow chart of a communication data processing method according to an embodiment of the present application;
[0053] Figure 3 FIG. 1 is a partial flow chart of a method for processing communication data according to an embodiment of the present application;
[0054] Figure 4a Shown is a schematic diagram of a mobile terminal framework according to an embodiment of the present application;
[0055] Figure 4b FIG. 1 is a flow chart of a communication data processing method according to an embodiment of the present application;
[0056] Figure 5a Shown is a schematic diagram of a mobile terminal framework according to an embodiment of the present application;
[0057] Figure 5b FIG. 1 is a flow chart of a communication data processing method according to an embodiment of the present application;
[0058] Figure 6a Shown is a schematic diagram of a mobile terminal framework according to an embodiment of the present application;
[0059] Figure 6b FIG. 4 is a flow chart of a communication data processing method according to an embodiment of the present application. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0061] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0062] In the 5G (New Radio, NR) system, when an uplink data transmission exception occurs, in order to accurately determine whether the error is caused by the baseband-generated data stream or the RF transmission, a feasible solution is to locate the transmission exception by analyzing the original in-phase quadrature (IQ) data of the terminal.
[0063] Specifically, in one implementation, the terminal is connected to an FPGA-based IQ data acquisition board through a third-party instrument or the terminal itself is directly connected to the IQ data acquisition board, which monitors the uplink data transmission of the terminal in real time and saves the original IQ data, so that when an uplink data transmission abnormality occurs, the cause of the transmission abnormality can be located through the saved original IQ data. However, the IQ data acquisition board is expensive and inconvenient to carry. Using the IQ data acquisition board will not only greatly increase the cost of the equipment, but also, due to the application scenarios of mobile terminals, it is impossible for mobile terminals to be connected to third-party instruments or equipped with IQ data acquisition boards at any time.
[0064] In response to the above problems, an embodiment of the present application proposes a communication data processing method, which does not use an external IQ data acquisition board, but instead monitors the sending of uplink data based on the mobile terminal's own hardware, saves the sent uplink data, and when an uplink data sending abnormality occurs, locates the cause of the sending abnormality based on the uplink data saved by the mobile terminal itself.
[0065] Specifically, the uplink data transmission rate of the mobile terminal in the NR system is as high as 375 mbps. Therefore, the mobile terminal does not have enough storage space to save the original IQ data for a long time. However, in the application scenario of locating the transmission anomaly, when the transmission anomaly occurs, locating the transmission anomaly does not require the original IQ data for a long time, but only the uplink data of the time node where the transmission anomaly occurs. Therefore, in the scheme of the embodiment of the present application, the NR system mobile terminal uses a small storage space to store the transmitted uplink data, and when there is no uplink transmission anomaly, the uplink data stored in the storage space is continuously updated with the latest uplink data; when an uplink transmission anomaly occurs, the uplink transmission anomaly is located based on all stored uplink data.
[0066] Figure 1 FIG. 1 is a schematic diagram of a mobile terminal framework according to an embodiment of the present application. Figure 1 As shown, the mobile terminal 100 includes a memory 110, a data storage module 120 and a monitoring module 130. A fixed-size uplink data storage area 111 is divided in the memory 110. The memory 110 can be any storage device on the mobile terminal 100 with available storage space, for example, the memory of the mobile terminal 100 (for example, Double Data Rate SDRAM (DDR)), the hard disk of the mobile terminal 100, or a local storage card (for example, an embedded multimedia card (EMMC)).
[0067] Specifically, considering that locating a sending anomaly only requires the uplink data of the time node where the sending anomaly occurs, when no sending anomaly occurs, the uplink data does not need to be stored for a long time; and, if the latest uplink data is written to the uplink data storage area 111, then the data write rate of the uplink data storage area 111 will be consistent with the rate at which the mobile terminal 100 sends uplink data. Therefore, in one embodiment of the present application, the memory 110 is the internal memory of the mobile terminal 100 (for example, DDR).
[0068] Further, in one embodiment, the size of the uplink data storage area 111 is determined by the amount of data required to locate the uplink transmission anomaly. Specifically, in one implementation, the size of the uplink data storage area 111 is equal to the total amount of IQ data required to locate the uplink transmission anomaly. In another embodiment, considering data redundancy, the size of the uplink data storage area 111 is greater than the total amount of IQ data required to locate the uplink transmission anomaly.
[0069] Figure 2 FIG. 1 is a flow chart of a communication data processing method according to an embodiment of the present application. In the process of uplink data transmission by the mobile terminal 100, the mobile terminal 100 executes the following Figure 2 The following steps are shown:
[0070] S200, the data storage module 120 obtains the uplink data (original uplink IQ data) currently sent by the mobile terminal 100;
[0071] S210 , the data storage module 120 stores the uplink data currently sent by the mobile terminal 100 in the uplink data storage area 111 .
[0072] Since the size of the uplink data storage area 111 is fixed, the uplink data storage area 111 will soon be filled with uplink data when the data storage module 120 saves the uplink data currently sent by the mobile terminal 100 to the uplink data storage area 111. Since locating the uplink transmission anomaly does not require long-term original IQ data, only the uplink data of the time node where the transmission anomaly occurs is required, therefore, in S210, when there is no storage space in the uplink data storage area 111, the data storage module 120 overwrites the latest uplink data with the old uplink data, thereby ensuring that the latest uplink data can always be saved.
[0073] Specifically, in one implementation, the uplink data storage area 111 is divided into a plurality of cache blocks (e.g., cache block 1 to cache block N). After the mobile terminal 100 starts to send uplink data, the data storage module 120 writes the uplink data sent by the mobile terminal 100 into cache blocks 1 to cache blocks N in sequence according to the order of numbers 1-N. When the writing of a cache block is completed (e.g., the data on the cache block is cleared before writing, and when the cache block is full, the writing of the cache block is completed), the latest uplink data is written into the next cache block. When the writing of cache block N is completed, the data storage module 120 writes the latest uplink data into cache block 1, and then continues to save the uplink data sent by the mobile terminal 100 into cache blocks 1 to cache blocks N in sequence according to the data numbered 1-n. Thus, the cycle of cache blocks 1 to cache blocks N is continuously repeated to ensure that the latest uplink data can always be saved into the uplink data storage area 111.
[0074] Furthermore, in order to quickly and accurately locate the uplink transmission anomaly in the future, in one implementation of S210, the data storage module 120 saves the latest uplink data to the uplink data storage area 111, and also saves the relevant device parameters for sending the uplink data (for example, the various input parameters of accelerators such as the system bus (Advanced High performance Bus, AHB) control registers that are ultimately configured, including the code block size of the uplink physical shared channel (Physical Uplink Shared Channel, PUSCH), the modulation order, the number of Inverse Fast Fourier Transform (IFFT) points, the initial concentration (CINIT) parameters related to the production of the demodulation reference signal (DMRS) sequence, etc.) to the uplink data storage area 111.
[0075] For example, in an implementation of S210 , the data storage module 120 packages the uplink data and the accelerator parameters into an uplink data packet (the data packet structure is shown in Table 1), and stores the uplink data packet in the uplink data storage area 111 .
[0076] Packet Header Accelerator parameters IQ Data Check code
[0077] Table 1
[0078] In Table 1, the data packet header is used to identify that this data packet is an uplink data packet used to locate uplink transmission anomalies; the accelerator parameters are parameters of related devices used by the mobile terminal 100 to send uplink data; the IQ data is the uplink data sent by the mobile terminal 100; the check code is the check code of the uplink data packet, for example, a cyclic redundancy check (CRC).
[0079] Furthermore, in order to facilitate storage of uplink data, in one embodiment, the size of a cache block in the uplink data storage area 111 is the size of an uplink data packet.
[0080] Figure 3 FIG. 1 is a partial flow chart of a communication data processing method according to an embodiment of the present application. The uplink data storage area 111 includes N cache blocks numbered 1 to N. In an implementation of S200 and S210, the data storage module 120 executes the following steps: Figure 3 The following steps are shown.
[0081] S300, obtaining uplink data (original uplink IQ data) currently sent by the mobile terminal 100;
[0082] S311, packing the uplink data and accelerator parameters into an uplink data packet;
[0083] S312, writing the uplink data packet into the cache block numbered n, where the initial value of n is 1;
[0084] S313, determine whether the current value of n is N, and determine whether n == N?;
[0085] If not equal, S314, let the value of n be incremented by 1, and let n=n+1;
[0086] If they are equal, S315, set the value of n to 1, set n = 1;
[0087] Return to S300.
[0088] Based on the execution of S200 and S210, when an uplink transmission anomaly occurs in the mobile terminal 100, the uplink transmission anomaly can be located according to the uplink data stored in the uplink data storage area 111. However, in some application scenarios, when an uplink transmission anomaly occurs, the transmission of the uplink data does not stop. In this case, if the latest uplink data continues to be stored in the uplink data storage area 111, the new uplink data will overwrite the uplink data when the uplink transmission anomaly occurs, resulting in the inability to locate the uplink transmission anomaly. If the uplink transmission anomaly occurs, the storage of the uplink data is suspended, and the latest uplink data is continued to be stored in the uplink data storage area 111 after the uplink transmission anomaly is located, which will result in the omission of the uplink data. At this time, if a new uplink transmission anomaly occurs during the process of locating the uplink transmission anomaly, the new uplink transmission anomaly cannot be located.
[0089] In view of the above problems, in the solution of the embodiment of the present application, during the process of the mobile terminal 100 sending uplink data, the latest uplink data is always saved synchronously (S200 and S210 are always executed in a loop); at the same time, during the process of the mobile terminal 100 sending uplink data, it is monitored whether an uplink transmission anomaly occurs. When an uplink transmission anomaly occurs, the saving of the latest uplink data is not interrupted / paused (the loop execution of S200 and S210 is maintained), but the uplink data in the current uplink data storage area 111 is output, so that the uplink transmission anomaly that has occurred can be located based on the output data later. Before and after the uplink data in the uplink data storage area 111 is output, the uplink data in the uplink data storage area 111 is always kept in synchronization with the uplink data sent by the mobile terminal 100.
[0090] Furthermore, in one implementation, the acquisition and storage of uplink data and the detection of uplink transmission anomalies are performed in a loop. Figure 2As shown, in a data storage cycle, uplink data is acquired (S200) and stored (S210) in sequence, and after S210, S220 is executed, and the monitoring module 130 determines whether an uplink transmission abnormality occurs.
[0091] If no uplink transmission abnormality occurs, the process returns to S200 and executes the next data saving cycle to continue saving the latest uplink data.
[0092] If an uplink transmission anomaly occurs, S230 is executed, and the monitoring module 130 outputs the uplink data in the uplink data storage area 111. After S230, the process returns to S200, and the next data storage cycle is executed to continue to store the latest uplink data.
[0093] Further, in another implementation, the acquisition and storage of uplink data are executed cyclically, and the cycle is executed in parallel with the detection step of uplink transmission anomaly. That is, in one data storage cycle, the acquisition of uplink data (S200) and the storage of uplink data (S210) are performed in sequence. The data storage cycle is executed cyclically, and, during the cycle of the data storage cycle, S220 and S230 are executed synchronously.
[0094] Further, in one implementation, in S230 , all data in the uplink data storage area 111 are output.
[0095] In another implementation, in S230, the amount of uplink data output is determined by the need to locate the uplink transmission anomaly. For example, locating the uplink transmission anomaly requires 4 uplink data packets, assuming that the current uplink data storage area 111 is configured with 4 cache blocks, each cache block is used to store 1 uplink data packet. Then in S230, all data in the uplink data storage area 111 are output. For another example, locating the uplink transmission anomaly requires 4 uplink data packets, assuming that the current uplink data storage area 111 is configured with 6 cache blocks in consideration of data redundancy, then in S230, the data in the 4 cache blocks of the most recently written data in the uplink data storage area 111 are output.
[0096] According to the method of the embodiment of the present application, the uplink data can be saved when sending the uplink data and the uplink data that can effectively locate the anomaly can be output when an uplink sending anomaly occurs; the implementation of the method of the embodiment of the present application requires less storage capacity, consumes less processor computing power, has low hardware cost, and is easy to carry and operate.
[0097] Further, in one embodiment, in S230, the uplink data in the uplink data storage area 111 is sent to a positioning device, and the positioning device is used to locate the uplink transmission anomaly according to the uplink data. For example, in S230, the uplink data in the uplink data storage area 111 is sent to a terminal device (e.g., a personal computer (PC)) installed with uplink transmission anomaly positioning software, and the uplink transmission anomaly is located by a data processing device.
[0098] Specifically, in one embodiment, the mobile terminal includes an application processor (AP) for processing application data and implementing application functions, and a communication processor (CP) for processing communication data and implementing communication functions (e.g., 5G wireless communication). The data storage module and the monitoring module of the mobile terminal are constructed based on the AP and CP of the mobile terminal.
[0099] Figure 4a FIG. 1 is a schematic diagram of a mobile terminal framework according to an embodiment of the present application. Figure 4a As shown, the mobile terminal 400 includes a memory (DDR410), an application processor (AP420) and a communication processor (CP430). The DDR410 is divided into an uplink data storage area 411 of a fixed size.
[0100] Figure 4b FIG. 4 is a flow chart of a communication data processing method according to an embodiment of the present application. When the mobile terminal 400 sends uplink data based on the CP 430, the mobile terminal 400 executes the following Figure 4b The following steps are shown.
[0101] S400, CP430 obtains the currently transmitted uplink data (IQ data); specifically, CP430 is integrated with a data capture module capable of capturing communication data. When the mobile terminal 400 transmits uplink data based on CP430, CP430 captures the currently transmitted uplink data (IQ data) through the data capture module.
[0102] S410, CP430 packages the captured uplink data and accelerator parameters into an uplink data packet (refer to S210).
[0103] S411, CP430 saves the uplink data packet to the uplink data storage area 411 (refer to S210).
[0104] S420 and CP430 detect whether an abnormality occurs in uplink transmission.
[0105] When CP430 does not detect an abnormality in uplink transmission, it returns to S400.
[0106] When CP430 detects an abnormality in uplink transmission, S421, CP430 triggers an abnormality assertion (Assert).
[0107] S430, when the AP 420 detects that the abnormal Assert is triggered, all the data in the uplink data storage area 411 are sent to the personal computer (PC 401) (for example, the data is sent to the PC 401 via a USB or wireless connection).
[0108] After S430, PC401 executes S440 to parse the uplink data packet and obtain accelerator parameters and IQ data;
[0109] S450 and PC401 analyze accelerator parameters and IQ data to locate uplink transmission anomalies.
[0110] In the above process, since CP430 can only generate an uplink data packet after capturing the IQ data required for an uplink data packet, there is a time interval between the generation of two adjacent uplink data packets. Therefore, after executing S411 (after saving an uplink data packet), S420, S421 and S430 are executed. When the total execution time of S420, S421 and S430 is less than the time interval between the generation of two adjacent uplink data packets, the uplink data can be captured and saved uninterruptedly. Therefore, if Figure 4b As shown, in one implementation, after S430 , CP 430 returns to continue executing S400 .
[0111] Alternatively, in another implementation, after S421, CP430 returns to continue executing S400. Since there is a time interval between the generation of two adjacent uplink data packets, there is a time interval between after S421 and the next execution of S411. When S430 is executed within this time interval, the next execution of S411 after S421 will not affect the execution of S430 after S421.
[0112] Furthermore, in one embodiment, the mobile terminal 100 locates the uplink transmission anomaly that occurs in itself. Specifically, in S230, all uplink data in the uplink data storage area 111 are sent to the uplink transmission anomaly locating module of the mobile terminal 100 for locating.
[0113] Specifically, in one embodiment, the mobile terminal includes an application processor (AP) for processing application data and implementing application functions, and a communication processor (CP) for processing communication data and implementing communication functions (e.g., 5G wireless communication). The data storage module, monitoring module, and uplink transmission abnormality positioning module of the mobile terminal are constructed based on the AP and CP of the mobile terminal.
[0114] Figure 5a FIG. 1 is a schematic diagram of a mobile terminal framework according to an embodiment of the present application. Figure 5a As shown, the mobile terminal 500 includes a memory (DDR510), an application processor (AP520) and a communication processor (CP530). The DDR510 is divided into an uplink data storage area 511 of a fixed size.
[0115] Figure 5b FIG. 5 is a flow chart of a communication data processing method according to an embodiment of the present application. When the mobile terminal 500 sends uplink data based on CP530, the mobile terminal 500 executes the following Figure 5b The following steps are shown.
[0116] S500, CP530 obtains the uplink data (IQ data) currently being sent; refer to S400.
[0117] S510, CP530 packages the captured uplink data and accelerator parameters into an uplink data packet (refer to S410).
[0118] S511, CP530 saves the uplink data packet to the uplink data storage area 411 (refer to S411).
[0119] S520 and CP530 detect whether an abnormality occurs in uplink transmission.
[0120] When CP530 does not detect an abnormality in uplink transmission, it returns to S500.
[0121] When CP530 detects an abnormality in uplink transmission, S521, CP530 triggers an abnormality assertion (Assert).
[0122] S530 , when the AP 520 detects that the abnormal Assert is triggered, it reads all data in the uplink data storage area 411 .
[0123] After S530 , AP 520 executes S540 to locate the uplink transmission abnormality according to the read data, referring to S440 and S450 .
[0124] Further, such as Figure 5b As shown, in one implementation, after S530, CP530 returns to continue executing S500.
[0125] Alternatively, in another implementation, after S521 , CP530 returns to continue executing S500 .
[0126] Further, in one embodiment, when an uplink transmission anomaly occurs, the mobile terminal 100 stores data for locating the uplink transmission anomaly so as to subsequently locate the uplink transmission anomaly. Specifically, in S230 , all uplink data in the uplink data storage area 111 are stored in the local non-volatile memory of the mobile terminal 100 .
[0127] Specifically, in one embodiment, the mobile terminal includes an application processor (AP) for processing application data and implementing application functions, and a communication processor (CP) for processing communication data and implementing communication functions (e.g., 5G wireless communication). The data storage module and the monitoring module of the mobile terminal are constructed based on the AP and CP of the mobile terminal.
[0128] Figure 6a FIG. 1 is a schematic diagram of a mobile terminal framework according to an embodiment of the present application. Figure 6a As shown, the mobile terminal 600 includes a memory (DDR610), an embedded multimedia card (EMMC640), an application processor (AP620) and a communication processor (CP630). A fixed-size uplink data storage area 611 is divided in the DDR610.
[0129] Figure 6b FIG. 6 is a flow chart of a communication data processing method according to an embodiment of the present application. When the mobile terminal 600 sends uplink data based on CP630, the mobile terminal 600 executes the following Figure 6b The following steps are shown.
[0130] S600, CP630 obtains the uplink data (IQ data) currently being sent; refer to S400.
[0131] S610, CP630 packages the captured uplink data and accelerator parameters into an uplink data packet (refer to S410).
[0132] S611, CP630 saves the uplink data packet to the uplink data storage area 611 (refer to S411).
[0133] S620 and CP630 detect whether an abnormality occurs in uplink transmission.
[0134] When CP630 does not detect an abnormality in uplink transmission, it returns to S600.
[0135] When CP630 detects an abnormality in uplink transmission, S621, CP630 triggers an abnormality assertion (Assert).
[0136] S630: When the AP 620 detects that the abnormal Assert is triggered, it reads all data in the uplink data storage area 611.
[0137] After S630 , the AP 620 saves the read data to the EMMC 640 .
[0138] Further, such as Figure 6b As shown, in one implementation, after S630 , CP630 returns to continue executing S600 .
[0139] Alternatively, in another implementation, after S621 , CP630 returns to continue executing S600 .
[0140] In the description of the embodiments of the present application, for the convenience of description, the device is described by dividing it into various modules according to its functions. The division of each module is merely a division of logical functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or one or more software and / or hardware.
[0141] Specifically, the device proposed in the embodiment of the present application can be fully or partially integrated into a physical entity during actual implementation, or it can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.
[0142] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0143] In actual application scenarios, the method flow of the embodiments shown in this specification can be implemented by an electronic chip installed on an electronic device. Therefore, an embodiment of the present application proposes an electronic chip. For example, the electronic chip is installed on an electronic device, and the electronic chip includes:
[0144] A processor is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method steps described in the embodiments of the present application.
[0145] An embodiment of the present application further proposes an electronic device (e.g., a smart watch), which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps described in the embodiment of the present application.
[0146] Specifically, in one embodiment of the present application, the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.
[0147] Specifically, in one embodiment of the present application, the processor of the electronic device may be a SOC device on a chip, which may include a central processing unit (CPU), and may further include other types of processors. Specifically, in one embodiment of the present application, the processor of the electronic device may be a PWM control chip.
[0148] Specifically, in an embodiment of the present application, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0149] Specifically, in one embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or may be any computer-readable medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer.
[0150] Specifically, in an embodiment of the present application, the processor and the memory can be combined into a processing device, more commonly, they are independent components, and the processor is used to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In specific implementation, the memory can also be integrated into the processor, or independent of the processor.
[0151] Furthermore, the devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.
[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0153] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0154] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.
[0155] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.
[0156] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0157] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0159] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0160] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0161] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0162] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0163] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0164] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0165] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A communication signal processing method, characterized in that: The method is applied to an electronic device, the electronic device includes a first memory, the first memory includes an uplink data storage area of a fixed size, and the method includes: Acquire original uplink IQ data currently sent by the electronic device and an accelerator parameter for sending the uplink data by the electronic device; The original uplink IQ data and the accelerator parameters are saved in the uplink data storage area, wherein when the uplink data storage area is full of data, the latest original uplink IQ data and the accelerator parameters are used to overwrite the old original uplink IQ data and the accelerator parameters; When an uplink transmission exception occurs, the original uplink IQ data and the accelerator parameters currently stored in the uplink data storage area are output.
2. The method according to claim 1, characterized in that The step of saving the original uplink IQ data and the accelerator parameters to the uplink data storage area includes: Packing the original uplink IQ data and the accelerator parameters into an uplink data packet; The uplink data packet is stored in the uplink data storage area.
3. The method according to claim 1, characterized in that The uplink data storage area includes N cache blocks numbered 1-N, and the storing the original uplink IQ data in the uplink data storage area includes: The original uplink IQ data is written into cache block 1 to cache block N in sequence according to the order of numbers 1 to N, where: After completing the writing of one cache block, writing the latest original uplink IQ data into the next cache block; After the writing of cache block N is completed, the latest original uplink IQ data is written into cache block 1.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: cyclically executing the steps of acquiring the original uplink IQ data currently sent by the electronic device and saving the original uplink IQ data to the uplink data storage area; When an uplink transmission abnormality occurs, the loop execution of acquiring the original uplink IQ data currently transmitted by the electronic device and storing the original uplink IQ data in the uplink data storage area is maintained.
5. The method according to claim 4, characterized in that The method further comprises: The steps of obtaining the original uplink IQ data currently sent by the electronic device and saving the original uplink IQ data to the uplink data storage area are executed cyclically. During the process of obtaining the original uplink IQ data currently sent by the electronic device and saving the original uplink IQ data to the uplink data storage area, whether an uplink transmission abnormality occurs is monitored.
6. The method according to claim 4, characterized in that After the original uplink IQ data is saved in the uplink data storage area, the method further includes: Check whether there is any abnormality in uplink transmission; When an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area, and then returning to the acquisition of the original uplink IQ data currently sent by the electronic device; When no uplink transmission abnormality occurs, the method returns to the step of acquiring the original uplink IQ data currently transmitted by the electronic device.
7. The method according to any one of claims 1 to 3, characterized in that When an uplink transmission exception occurs, all data in the uplink data storage area are output.
8. The method according to any one of claims 1 to 3, characterized in that When an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes: When an uplink transmission anomaly occurs, the original uplink IQ data currently stored in the uplink data storage area is output to a positioning device, and the positioning device is used to locate the uplink transmission anomaly according to the original uplink IQ data.
9. The method according to any one of claims 1 to 3, characterized in that: When an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes: When an uplink transmission anomaly occurs, the original uplink IQ data currently stored in the uplink data storage area is output to an uplink transmission anomaly locating module of the electronic device, and the uplink transmission anomaly locating module is used to locate the uplink transmission anomaly according to the original uplink IQ data.
10. The method according to any one of claims 1 to 3, characterized in that: The electronic device further includes a second memory, and when an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes: When an uplink transmission exception occurs, the original uplink IQ data currently stored in the uplink data storage area is stored in the second memory.
11. The method according to claim 10, characterized in that The second memory is a non-volatile memory.
12. The method according to any one of claims 1 to 3, characterized in that The electronic device also includes an application processor and a communication processor; The obtaining of the original uplink IQ data currently sent by the electronic device comprises: the communication processor obtaining the original uplink IQ data currently sent by the electronic device; The storing the original uplink IQ data in the uplink data storage area comprises: the communication processor storing the original uplink IQ data in the uplink data storage area, wherein when the uplink data storage area is full of data, the latest original uplink IQ data is used to overwrite the old original uplink IQ data; When an uplink transmission exception occurs, outputting the original uplink IQ data currently stored in the uplink data storage area includes: The communication processor detects whether an uplink transmission anomaly occurs, and when an uplink transmission anomaly occurs, the communication processor triggers an abnormal assertion; When the application processor detects that the communication processor triggers an abnormal assertion, the application processor reads the data currently stored in the uplink data storage area.
13. A communication signal processing device, characterized in that: The device is applied to an electronic device, the electronic device includes a first memory, the first memory includes an uplink data storage area of a fixed size, and the device includes: A data storage module, which is used to: obtain the original uplink IQ data currently sent by the electronic device and the accelerator parameters of the electronic device for sending the original uplink IQ data; save the original uplink IQ data and the accelerator parameters to the uplink data storage area, wherein when the uplink data storage area is full of data, use the latest original uplink IQ data and the accelerator parameters to overwrite the old original uplink IQ data and the accelerator parameters; The monitoring module is used for outputting the original uplink IQ data and the accelerator parameters currently stored in the uplink data storage area when an uplink transmission abnormality occurs.
14. An electronic chip, characterized in that: include: A processor, which is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method steps of any one of claims 1-12.
15. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps as claimed in any one of claims 1 to 12.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
High-efficiency storage method of Flash storage
CN103823640A
Processing method, processing device and electronic equipment
CN111782430A