CN107341128B - Mobile terminal and IQ data playback method thereof - Google Patents

Mobile terminal and IQ data playback method thereof Download PDF

Info

Publication number
CN107341128B
CN107341128B CN201610284655.5A CN201610284655A CN107341128B CN 107341128 B CN107341128 B CN 107341128B CN 201610284655 A CN201610284655 A CN 201610284655A CN 107341128 B CN107341128 B CN 107341128B
Authority
CN
China
Prior art keywords
data
storage
played back
information
domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610284655.5A
Other languages
Chinese (zh)
Other versions
CN107341128A (en
Inventor
田鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201610284655.5A priority Critical patent/CN107341128B/en
Publication of CN107341128A publication Critical patent/CN107341128A/en
Application granted granted Critical
Publication of CN107341128B publication Critical patent/CN107341128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Abstract

The mobile terminal and the IQ data playback method thereof, the method comprises: when the application processor receives instruction information for starting an IQ playback mode sent by an external driving device, a shared storage space is allocated in the internal memory; when an IQ data playback starting instruction is received, the IQ data playback starting instruction is sent to a coprocessor; the coprocessor analyzes information of IQ data to be played back from the received playback start instruction and sends data migration request information to the application processor; the IQ data to be played back is stored in the external memory; the application processor migrates the IQ data to be played back to the shared storage space based on the IQ data to be played back information analyzed from the data migration request information; and the coprocessor circularly injects the IQ data stored in the shared storage space into a specified register. The scheme can save the time and economic cost of IQ data playback.

Description

Mobile terminal and IQ data playback method thereof
Technical Field
The present invention relates to wireless communication technologies, and in particular, to a mobile terminal and an IQ data playback method thereof.
Background
In digital communication systems, the information communicated is data. Digital modulation is the process of carrying data on a radio frequency carrier, while demodulation is the process of extracting data from a radio frequency signal.
For the radio frequency carrier signal Acos (2 pi fct + theta), only three parameters of amplitude, frequency and phase are available for change. The modulation method for changing the amplitude of the carrier is called Amplitude Modulation (AM), the modulation method for changing the carrier frequency is called Frequency Modulation (FM), and the modulation method for changing the phase of the carrier is called Phase Modulation (PM). Since the differential in phase is the frequency, the amplitude and phase of the carrier signal can be said to be the two main modulation variables. If the information of the amplitude and the phase of the carrier wave in the modulation is recorded and the two variables of the two-dimensional space respectively represent the amplitude and the phase, the distance from any point on the polar coordinates to the origin and the phase angle can just represent the amplitude and the phase of the carrier wave, and can also represent the modulation condition of the carrier wave.
The polar modulation representation can be converted into a rectangular coordinate system, i.e., an I-Q diagram. The carrier amplitude and phase may be recorded as a point in two-dimensional space, and the vector represented by this point is projected on the horizontal and vertical axes as the I and Q values, respectively. The value of I is the In-phase (In-phase) component, which represents the projection of the vector on the horizontal axis; the Q value is the 90 degree phase shift (Quadrate) component, representing the projection of the vector on the vertical axis.
In the prior art, IQ data of a scene with a fault in a mobile terminal can be played back on an FPGA development board, but the problems of high cost and low efficiency exist.
Disclosure of Invention
The invention solves the technical problem of how to save the cost of IQ data playback and improve the efficiency.
To solve the foregoing technical problem, an embodiment of the present invention provides an IQ data playback method for a mobile terminal, where the mobile terminal includes an application processor, a coprocessor, and an internal memory, and the method includes: when the application processor receives instruction information for starting an IQ playback mode sent by an external driving device, a shared storage space is allocated in the internal memory; when receiving an IQ data playback starting instruction, the application processor sends the IQ data playback starting instruction to the coprocessor; the coprocessor analyzes information of IQ data to be played back from the received playback start instruction and sends data migration request information to the application processor, wherein the data migration request information comprises the information of the IQ data to be played back; the application processor migrates the IQ data to be played back from an external memory to the shared storage space based on the IQ data to be played back information analyzed from the data migration request information; and the coprocessor circularly injects the IQ data stored in the shared storage space into a specified register.
Optionally, the shared storage space comprises a first storage domain and a second storage domain; the first storage domain is suitable for storing the information of the IQ data to be played back, and storage identification information and migration identification information of the IQ data, so that the application processor and the coprocessor can migrate and play back the IQ data to be played back based on the information stored in the first storage domain; and the second storage domain is suitable for storing the IQ data to be played back, which is migrated to the application processor.
Optionally, the parsing, by the coprocessor, information of the IQ data to be played back from the received playback start instruction, and sending data migration request information to the application processor, includes: when the coprocessor receives the IQ data playback starting instruction, analyzing information of an original storage position, a file name and size of the IQ data to be played back from the IQ data playback starting instruction, writing the analyzed information of the original storage position, the file name and the size of the IQ data to be played back into the first storage domain, and setting the migration identifier as a preset first identification code; the original storage location is a storage location in the external memory.
Optionally, the migrating, by the application processor, the IQ data to be played back from an external memory to the shared storage space based on the information of the IQ data to be played back, which is parsed from the data migration request information, includes: when detecting that the migration identifier in the first storage domain is set as a preset first identifier, the application processor reads information of an original storage position, a file name and size of the IQ data to be played back from the first storage domain, migrates the IQ data to be played back from the original storage position to the second storage domain based on the read information of the original storage position, the file name and the size of the IQ data to be played back, and sets the storage identifier as a preset second identifier.
Optionally, the coprocessor circularly injects the IQ data stored in the shared memory space into a specified register, including: and when detecting that the storage identifier in the first storage domain is set as the second identifier code, the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register.
Optionally, when it is determined that the size of the IQ data to be played back is greater than the storage capacity of the second storage domain, the information of the IQ data to be played back, which is parsed from the data migration request information, further includes information of a data offset; when detecting that the migration identifier is the first identifier, the application processor calculates a start address of the IQ data to be played back based on the information of the data offset in the first storage domain, reads the IQ data to be played back with the storage capacity of the second storage domain from the calculated start address each time, and stores the IQ data to be played back to the second storage domain; and setting the storage identifier in the first storage domain as the second identifier code, so that the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register until the IQ data to be played back is read.
Optionally, before the IQ data stored in the shared memory space is filled into a specified register, the method further includes: and performing corresponding format conversion on the IQ data stored in the shared storage space to obtain IQ data in a preset format.
Optionally, the external driving device is adapted to send the instruction information for starting the IQ playback mode to the application processor by setting an IQ data playback switch identifier in the engineering mode to enable or send an IQ data playback start command.
An embodiment of the present invention further provides a mobile terminal, including: the application processor is suitable for allocating a shared storage space in the internal memory when receiving instruction information for starting an IQ playback mode sent by the external driving device; when an IQ data playback starting instruction is received, the IQ data playback starting instruction is sent to a coprocessor; migrating the IQ data to be played back to the shared storage space from an external storage based on the IQ data information to be played back analyzed from the data migration request information; the coprocessor is suitable for analyzing the information of the IQ data to be played back from the received playback starting instruction and sending data migration request information to the application processor, wherein the data migration request information comprises the information of the IQ data to be played back; and circularly filling the IQ data stored in the shared storage space into a specified register.
Optionally, the shared storage space comprises a first storage domain and a second storage domain; the first storage domain is suitable for storing the information of the IQ data to be played back, and storage identification information and migration identification information of the IQ data, so that the application processor and the coprocessor can migrate and play back the IQ data to be played back based on the information stored in the first storage domain; and the second storage domain is suitable for storing the IQ data to be played back, which is migrated to the application processor.
Optionally, the coprocessor is adapted to, when receiving the IQ data playback start instruction, parse information of an original storage location, a file name, and a size of the IQ data to be played back from the IQ data playback start instruction, write the parsed information of the original storage location, the file name, and the size of the IQ data to be played back into the first storage field, and set the migration identifier as a preset first identification code; the original storage location is a storage location in the external memory.
Optionally, the application processor is adapted to, when it is detected that the migration identifier in the first storage domain is set to a preset first identifier, read information of an original storage location, a file name, and a size of the IQ data to be played back from the first storage domain, migrate the IQ data to be played back from the original storage location to the second storage domain based on the read information of the original storage location, the file name, and the size of the IQ data to be played back, and set the storage identifier to a preset second identifier.
Optionally, the coprocessor is adapted to cyclically fill the IQ data stored in the second storage field into the designated register when detecting that the storage identifier in the first storage field is set to the second identification code.
Optionally, when it is determined that the size of the IQ data to be played back is greater than the storage capacity of the second storage domain, the information of the IQ data to be played back, which is parsed from the data migration request information, further includes information of a data offset, and the migrating the IQ data to be played back from the original storage location to the second storage domain includes: the application processor is suitable for calculating a starting address of the IQ data to be played back based on the information of the data offset in the first storage domain when the migration identifier is detected to be the first identifier, reading the IQ data to be played back with the storage capacity of the second storage domain each time from the calculated starting address, and storing the IQ data to be played back to the second storage domain; and setting the storage identifier in the first storage domain as the second identifier code, so that the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register until the IQ data to be played back is read.
Optionally, the coprocessor is further adapted to perform corresponding format conversion on the IQ data stored in the shared storage space before the IQ data stored in the shared storage space is filled into a specified register, so as to obtain IQ data in a preset format.
Optionally, the external driving device is adapted to send the instruction information for starting the IQ playback mode to the application processor by setting an IQ data playback switch identifier in the engineering mode to enable or send an IQ data playback start command.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
according to the scheme, the IQ data to be played back is transferred to the mobile terminal from the original storage position through the application processor and the coprocessor in the mobile terminal, and the IQ data transferred to the mobile terminal is played back, so that the IQ data of a scene with problems is not required to be captured and played back by using an FPGA development board and commercial software, and the cost can be saved.
Furthermore, the shared storage space is divided into a first storage domain and a second storage domain, when the IQ data is migrated from the original position to the shared storage space, the communication between the application processor and the coprocessor is realized by the stored migration identifier and the storage identifier in the first storage domain, the migration and playback process of the IQ data can be monitored, and the judgment is not carried out by experience, so that the efficiency and the quality of the playback of the IQ data can be improved.
Drawings
Fig. 1 is a flowchart illustrating an IQ data playback method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
As described in the background art, in the prior art, IQ data of a scene with a problem is captured and played back on a Field Programmable Gate Array (FPGA) development board, and the basic process of playback is as follows: restarting the FPGA development board, guiding IQ Data into a Double Data Rate (DDR) memory on the FPGA development board by using tools such as business software TRACE32 and the like, waiting for a period of time according to experience to play back the IQ Data, and then performing physical layer processes such as network searching, residing and the like by using a modem driving a special version.
Since the operating environment of the FPGA development board is special, when playing back IQ data of a problem scene, commercial software such as TRACE32 is required, which causes a problem of high cost.
In order to solve the above problems, in the technical solution of the embodiment of the present invention, the application processor and the coprocessor in the mobile terminal are used to transfer the IQ data to be played back from the original storage location to the mobile terminal, and play back the IQ data transferred to the mobile terminal, and therefore, the IQ data of a scene with problems does not need to be captured and played back by using an FPGA development board and business software, and the cost for playing back the IQ data can be saved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 shows a flowchart of an IQ data playback method of a mobile terminal in an embodiment of the present invention. Referring to fig. 1, in a specific implementation, an IQ data playback method of a mobile terminal in an embodiment of the present invention may include the following steps:
step S101: the external driving device TESTER sends an instruction to start the playback mode to the mobile terminal.
In a specific implementation, the external driving device TESTER may send an instruction to start a playback mode to an Application Processor (AP) in the mobile terminal according to actual needs.
Step S102: and when receiving an instruction for starting a playback mode, the application processor of the mobile terminal restarts the mobile terminal and allocates a shared storage space from the internal memory.
In a specific implementation, the AP may acquire, by way of polling, an instruction to start a playback mode, which is sent by the external drive device. In an embodiment of the present invention, an instruction obtaining process ENGPC in the AP obtains, in a polling manner, an instruction to start a playback mode, which is sent by an external drive device TESTER.
When receiving an instruction for starting a playback mode sent by an external driver device TESTER, an instruction obtaining process entpc restarts the mobile terminal, and during the restart, a preset size, such as a 128M shared storage space, is opened up for storing IQ data to be played back in an internal memory in the mobile terminal.
And meanwhile, when the instruction acquisition process ENGPC determines that the restart of the mobile terminal is completed, starting a data migration process IQEED of the AP, so that the data migration process IQEED executes corresponding initialization operation to well migrate the original IQ data stored in the TF card to the shared storage space.
Step S103: the external driving device transmits an IQ data playback start command to the application processor.
In a specific implementation, the instruction obtaining process ENGPC can obtain the IQ data playback start command sent by the external driver TESTER in a polling manner. Wherein, the IQ data playback start command comprises information of an original storage position, a file name and a size of IQ data to be played back.
Step S104: and the application processor transmits the IQ data playback starting command to the coprocessor.
In a specific implementation, the instruction obtaining process ENGPC in the AP may pass through an IQ data playback start command to a CoProcessor (co processor, CP) of the mobile terminal when receiving the IQ data playback start command sent by the external driver TESTER.
In an embodiment of the present invention, the instruction obtaining process ENGPC sends the received IQ data playback start command to the IQ data playback process IQPB of the CP, so that the CP performs a corresponding initialization operation to prepare for playback of the IQ data.
Step S105: and the coprocessor sends a data migration starting instruction to the application processor.
In a specific implementation, the CP may send a data migration start instruction to the application processor after the IQ data playback process IQPB of the CP receives the IQ data playback start command transparently transmitted by the AP according to actual needs, so that the application processor migrates the IQ data stored in the TF card to the shared storage space in the mobile terminal.
Specifically, in an embodiment of the present invention, the IQ data playback process IQPB of the CP may parse and store information of the IQ data to be played back, including information of an original storage location, a file name, a size, and the like of the IQ data to be played back, from the IQ data playback start command, and add the parsed information of the IQ data to be played back to the data migration start instruction, where the data migration start instruction includes the information of the IQ data to be played back, which is parsed from the IQ data playback start command, so that the data migration process ieqfd of the AP may migrate the IQ data to be played back to the shared storage space based on the information of the IQ data to be played back.
Step S106: and the application processor migrates the IQ data to be played back to the shared storage space based on a data migration starting instruction.
In an embodiment of the present invention, the IQ data playback start command includes information of an original storage path, size, and file name of the IQ data to be played back, and when receiving a data migration start instruction sent by the CP, the AP may parse the information of the IQ data to be played back from the original storage path, size, and file name, and migrate the IQ data to be played back from the original location to the shared storage space based on the parsed information of the IQ data to be played back.
In order to facilitate communication between the CP and the AP, in an embodiment of the present invention, the shared memory space may be divided into a first memory domain and a second memory domain. The first storage domain is suitable for storing information of storage identifiers, migration identifiers, original storage paths, sizes and file names of IQ data to be played back; the second storage domain is suitable for storing the IQ data to be played back migrated from the original position.
Through the setting of the first storage domain, when the CP needs to send a data migration start instruction, the migration identifier in the first storage domain may be set as a preset first identifier code, when the data migration process IQFEED of the AP detects that the migration identifier in the first storage domain is the first identifier code, it is determined that the CP indicates to start performing the migration of the IQ data, and the IQ data stored in the TF card is migrated to the shared storage space according to the information of the original storage path, size, and file name of the IQ data to be played back, which is read from the first storage domain.
It should be noted that, according to the size of the IQ data to be played back, the data migration process IQFEED of the AP may migrate the IQ data stored in the original storage location in different manners.
When the size of the IQ data to be played back is smaller than or equal to the storage capacity of the second storage domain, the data migration process IQFEED in the AP may directly migrate the IQ data to be played back to the second storage domain for storage, and set the storage identifier in the first storage domain as the second identification code.
When it is determined that the size of the IQ data to be played back is larger than the storage capacity of the second storage domain, the information of the data offset may be added at the IQ data playback start command, so that the CP fills the information of the data offset of the IQ data to be played back in the first storage domain, and further, the data migration process IQFEED in the AP may calculate the effective data start address of the corresponding IQ data to be played back through the data offset. For example, when storing the IQ data to be played back in the TF card, the data migration process IQFEED may add the starting physical address of the TF card and the data offset to obtain the valid data starting address of the IQ data to be played back, read the IQ data of the storage capacity size of the second storage domain from the valid data starting address of the TF card each time and store the IQ data in the second storage domain, and gradually migrate all the original IQ data stored in the TF card to the second storage domain sharing the storage space in a repeated manner.
And the IQFAEED in the data migration process sets the storage identifier in the first storage domain as the information of a preset second identification code when the IQ data with the storage capacity of the second storage domain is migrated to the second storage domain every time, so as to indicate the CP to store the IQ data to be played back in the second storage domain.
Step S107: and when determining that the IQ data to be played back is completely transferred to the shared storage space, the coprocessor of the mobile terminal injects the IQ data in the shared storage space into a specified register.
In a specific implementation, when determining that the second storage field stores the IQ data to be played back, if detecting that the storage identifier in the first storage field is the second identification code, the CP may cyclically fill the IQ data stored in the second storage field into the designated register to implement the playback of the IQ data.
In another embodiment of the present invention, before cyclically filling the IQ data in the shared storage space into the designated register, the CP first converts the IQ data in the shared storage space into a preset format according to actual needs, and then cyclically fills the IQ data obtained after format conversion into the designated register.
In specific implementation, after IQ data in a shared memory is cyclically filled into a specified register, the CP can notify an external driver to perform subsequent operations such as network finding and residing of the mobile phone; alternatively, when there are other IQ data for the problem scene to be played back, the transfer and playback of the other IQ data for the problem scene may be performed through the above steps S101 to S106.
The IQ data playback method of the mobile terminal in the embodiment of the present invention is described in detail above by taking an example that the IQ data to be played back is already placed in the root directory of the TF card and the TF is normally inserted into the mobile terminal.
It can be understood by those skilled in the art that the external memory in the embodiment of the present invention is not limited to the existing mobile storage devices such as the virtual external memory of the smart mobile terminal, the TF card, the SD card, and the mobile hard disk, and may also include storage devices such as a computer hard disk and an optical disk.
In another embodiment of the present invention, when the IQ data to be played back is stored in the fixed hard disk of the computer or the shared path, the original IQ data stored in the fixed hard disk of the computer or the shared path may be migrated to the shared storage space in the mobile terminal in a manner of carrying the IQ data by a message, for example, the AP may carry 10KB IQ data by a message each time, and the IQ data migrated to the shared storage space is played back, which is not described herein again.
The corresponding apparatus of the above method will be described in further detail with reference to fig. 2.
Fig. 2 shows a structure of an IQ data playback apparatus of a mobile terminal in an embodiment of the present invention. Referring to fig. 2, in a specific implementation, an IQ data playback apparatus 200 of a mobile terminal in an embodiment of the present invention may include an application processor 201, a shared memory space 202, and a coprocessor 203, where:
the application processor 201 is adapted to allocate a shared storage space in the internal memory when receiving instruction information for starting an IQ playback mode sent by the external driving device; when an IQ data playback starting instruction is received, the IQ data playback starting instruction is sent to a coprocessor; migrating the IQ data to be played back to the shared storage space from an external storage based on the IQ data information to be played back analyzed from the data migration request information; the coprocessor is suitable for analyzing the information of the IQ data to be played back from the received playback starting instruction and sending data migration request information to the application processor, wherein the data migration request information comprises the information of the IQ data to be played back; and circularly filling the IQ data stored in the shared storage space into a specified register.
In a specific implementation, the external driving device is adapted to send the instruction information for starting the IQ playback mode to the application processor by setting an IQ data playback switch identifier in the engineering mode to enable or send an IQ data playback start command.
In an embodiment of the present invention, the shared storage space 202 includes a first storage domain and a second storage domain; the first storage domain is suitable for storing the information of the IQ data to be played back, and storage identification information and migration identification information of the IQ data, so that the application processor and the coprocessor can migrate and play back the IQ data to be played back based on the information stored in the first storage domain; and the second storage domain is suitable for storing the IQ data to be played back, which is migrated to the application processor.
In an embodiment of the present invention, the coprocessor 203 is adapted to, when receiving the IQ data playback start instruction, parse information of an original storage location, a file name, and a size of the IQ data to be played back from the IQ data playback start instruction, write the parsed information of the original storage location, the file name, and the size of the IQ data to be played back into the first storage field, and set the migration identifier as a preset first identifier code; the original storage location is a storage location in the external memory.
In an embodiment of the present invention, the application processor 201 is adapted to, when detecting that the migration identifier in the first storage domain is set to the preset first identifier, read information of an original storage location, a file name, and a size of the IQ data to be played back from the first storage domain, migrate the IQ data to be played back from the original storage location to the second storage domain based on the read information of the original storage location, the file name, and the size of the IQ data to be played back, and set the storage identifier as the preset second identifier.
In an embodiment of the present invention, the coprocessor 203 is adapted to cyclically fill IQ data stored in the second storage field into a designated register when detecting that the storage identifier in the first storage field is set as the second identification code.
In an embodiment of the present invention, when it is determined that the size of the IQ data to be played back is greater than the storage capacity of the second storage domain, the information of the IQ data to be played back, which is analyzed from the data migration request information, further includes information of a data offset;
the application processor 201 is adapted to, when detecting that the migration identifier is the first identifier, calculate a start address of the IQ data to be played back based on the information of the data offset in the first storage domain, read the IQ data to be played back in the storage capacity of the second storage domain each time from the calculated start address, and store the IQ data to be played back in the second storage domain; and setting the storage identifier in the first storage domain as the second identifier code, so that the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register until the IQ data to be played back is read.
In an embodiment of the present invention, the coprocessor 203 is further adapted to perform corresponding format conversion on the IQ data stored in the shared memory space before the IQ data stored in the shared memory space is filled into a specified register, so as to obtain IQ data in a preset format.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
according to the scheme, the IQ data to be played back is transferred to the mobile terminal from the original storage position through the application processor and the coprocessor in the mobile terminal, and the IQ data transferred to the mobile terminal is played back, so that the IQ data of a scene with problems is not required to be captured and played back by using an FPGA development board and commercial software, and the cost can be saved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. An IQ data playback method of a mobile terminal, the mobile terminal comprising an application processor, a coprocessor and an internal memory, the method comprising:
when the application processor receives instruction information for starting an IQ playback mode sent by an external driving device, a shared storage space is allocated in the internal memory;
when receiving an IQ data playback starting instruction, the application processor sends the IQ data playback starting instruction to the coprocessor;
the coprocessor analyzes information of IQ data to be played back from the received playback start instruction and sends data migration request information to the application processor, wherein the data migration request information comprises the information of the IQ data to be played back;
the application processor migrates the IQ data to be played back from an external memory to the shared storage space based on the IQ data to be played back information analyzed from the data migration request information;
and the coprocessor circularly injects the IQ data stored in the shared storage space into a specified register.
2. The IQ data playback method for a mobile terminal according to claim 1, characterized in that the shared memory space comprises a first memory domain and a second memory domain;
the first storage domain is suitable for storing the information of the IQ data to be played back, and storage identification information and migration identification information of the IQ data, so that the application processor and the coprocessor can migrate and play back the IQ data to be played back based on the information stored in the first storage domain;
the second storage domain is suitable for storing IQ data to be played back, which is migrated to the shared storage space by the application processor.
3. The IQ data playback method of a mobile terminal according to claim 2 wherein the co-processor parses out the IQ data to be played back information from the received playback start instruction and sends data migration request information to the application processor, comprising:
when the coprocessor receives the IQ data playback starting instruction, analyzing information of an original storage position, a file name and size of the IQ data to be played back from the IQ data playback starting instruction, writing the analyzed information of the original storage position, the file name and the size of the IQ data to be played back into the first storage domain, and setting the migration identifier as a preset first identification code; the original storage location is a storage location in the external memory.
4. The IQ data playback method for a mobile terminal according to claim 3 wherein the migrating the IQ data to be played back from an external memory to the shared memory space by the application processor based on the IQ data to be played back information parsed from the data migration request information comprises:
when detecting that the migration identifier in the first storage domain is set as a preset first identifier, the application processor reads information of an original storage position, a file name and size of the IQ data to be played back from the first storage domain, migrates the IQ data to be played back from the original storage position to the second storage domain based on the read information of the original storage position, the file name and the size of the IQ data to be played back, and sets the storage identifier as a preset second identifier.
5. The IQ data playback method for a mobile terminal according to claim 4, wherein the coprocessor cyclically injects IQ data stored in the shared memory space into a specified register, comprising:
and when detecting that the storage identifier in the first storage domain is set as the second identifier code, the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register.
6. The IQ data playback method for a mobile terminal according to claim 4, wherein when determining that the size of the IQ data to be played back is larger than the storage capacity of the second storage domain, the IQ data to be played back information parsed from the data migration request information further includes information of data offset, the migrating the IQ data to be played back from the original storage location to the second storage domain includes:
when detecting that the migration identifier is the first identifier, the application processor calculates a start address of the IQ data to be played back based on the information of the data offset in the first storage domain, reads the IQ data to be played back with the storage capacity of the second storage domain from the calculated start address each time, and stores the IQ data to be played back to the second storage domain; and setting the storage identifier in the first storage domain as the second identifier code, so that the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register until the IQ data to be played back is read.
7. The IQ data playback method for a mobile terminal according to claim 1, characterized in that before the IQ data stored in the shared memory space is filled into a designated register, it further comprises: and performing corresponding format conversion on the IQ data stored in the shared storage space to obtain IQ data in a preset format.
8. The IQ data playback method for a mobile terminal according to claim 1, characterized in that the external drive means is adapted to send the instruction information to start the IQ playback mode to the application processor by setting an IQ data playback switch identification in engineering mode to enable or send an IQ data playback start command.
9. A mobile terminal, comprising:
the application processor is suitable for allocating a shared storage space in the internal memory when receiving instruction information for starting an IQ playback mode sent by the external driving device; when an IQ data playback starting instruction is received, the IQ data playback starting instruction is sent to a coprocessor; migrating the IQ data to be played back to the shared storage space from an external storage based on the IQ data information to be played back analyzed from the data migration request information;
the coprocessor is suitable for analyzing the information of the IQ data to be played back from the received playback starting instruction and sending data migration request information to the application processor, wherein the data migration request information comprises the information of the IQ data to be played back; and circularly filling the IQ data stored in the shared storage space into a specified register.
10. The mobile terminal of claim 9, wherein the shared memory space comprises a first memory domain and a second memory domain;
the first storage domain is suitable for storing the information of the IQ data to be played back, and storage identification information and migration identification information of the IQ data, so that the application processor and the coprocessor can migrate and play back the IQ data to be played back based on the information stored in the first storage domain;
the second storage domain is suitable for storing IQ data to be played back, which is migrated to the shared storage space by the application processor.
11. The mobile terminal of claim 10,
the coprocessor is suitable for analyzing the information of the original storage position, the file name and the size of the IQ data to be played back from the IQ data playback starting instruction when the IQ data playback starting instruction is received, writing the analyzed information of the original storage position, the file name and the size of the IQ data to be played back into the first storage domain, and setting the migration identifier as a preset first identification code; the original storage location is a storage location in the external memory.
12. The mobile terminal of claim 11,
the application processor is suitable for reading information of an original storage position, a file name and a size of the IQ data to be played back from the first storage domain when detecting that the migration identifier in the first storage domain is set as a preset first identifier, migrating the IQ data to be played back from the original storage position to the second storage domain based on the read information of the original storage position, the file name and the size of the IQ data to be played back, and setting the storage identifier as a preset second identifier.
13. The mobile terminal of claim 12,
the coprocessor is suitable for circularly filling IQ data stored in the second storage domain into a specified register when the storage identifier in the first storage domain is detected to be set as the second identification code.
14. The mobile terminal according to claim 12, wherein when it is determined that the size of the IQ data to be played back is larger than the storage capacity of the second storage domain, the information of the IQ data to be played back parsed from the data migration request information further includes information of data offset;
the application processor is suitable for calculating a starting address of the IQ data to be played back based on the information of the data offset in the first storage domain when the migration identifier is detected to be the first identifier, reading the IQ data to be played back with the storage capacity of the second storage domain each time from the calculated starting address, and storing the IQ data to be played back to the second storage domain; and setting the storage identifier in the first storage domain as the second identifier code, so that the coprocessor circularly injects the IQ data stored in the second storage domain into a specified register until the IQ data to be played back is read.
15. The mobile terminal of claim 9,
the coprocessor is also suitable for carrying out corresponding format conversion on the IQ data stored in the shared storage space before the IQ data stored in the shared storage space is filled into a specified register so as to obtain IQ data in a preset format.
16. The mobile terminal according to claim 9, wherein the external driving device is adapted to send the instruction information for starting the IQ playback mode to the application processor by setting an IQ data playback switch flag in the engineering mode to enable or send an IQ data playback start command.
CN201610284655.5A 2016-04-29 2016-04-29 Mobile terminal and IQ data playback method thereof Active CN107341128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610284655.5A CN107341128B (en) 2016-04-29 2016-04-29 Mobile terminal and IQ data playback method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610284655.5A CN107341128B (en) 2016-04-29 2016-04-29 Mobile terminal and IQ data playback method thereof

Publications (2)

Publication Number Publication Date
CN107341128A CN107341128A (en) 2017-11-10
CN107341128B true CN107341128B (en) 2020-04-03

Family

ID=60222686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610284655.5A Active CN107341128B (en) 2016-04-29 2016-04-29 Mobile terminal and IQ data playback method thereof

Country Status (1)

Country Link
CN (1) CN107341128B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322112A (en) * 2005-04-04 2008-12-10 哈里公司 Icon bar display for video editing system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101722972B (en) * 2009-12-24 2012-02-29 卡斯柯信号有限公司 Processing method for playing back ATS subsystem
CN103199879A (en) * 2013-04-11 2013-07-10 中国电子科技集团公司第十四研究所 Digital receiver signal detection method
CN104155630A (en) * 2014-08-08 2014-11-19 浙江大学 High-speed data record storage and playback system
US10477260B2 (en) * 2014-10-17 2019-11-12 Cox Communications, Inc. Network based digital video recorder playback adapter
CN104503407B (en) * 2014-12-20 2017-06-06 北京首钢自动化信息技术有限公司 Data acquisition playback system and method in a kind of industrial processes
CN105243037B (en) * 2015-09-25 2018-07-03 中国船舶重工集团公司第七二六研究所 Multi-channel data record and back method based on FPGA

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322112A (en) * 2005-04-04 2008-12-10 哈里公司 Icon bar display for video editing system

Also Published As

Publication number Publication date
CN107341128A (en) 2017-11-10

Similar Documents

Publication Publication Date Title
EP3082353A1 (en) Method and terminal device for sending and receiving user data
CN106487742B (en) Method and device for verifying source address validity
CN109640294B (en) Unmanned vehicle data transmission method, device, system and storage medium
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN105700918A (en) System upgrading method and device
JP2018520439A (en) Electronic unit and method carried out in the electronic unit
CN105095265A (en) Method and apparatus for implementing page display of mobile device
CN108667936B (en) Data processing method, terminal, mobile edge computing server and storage medium
CN104598266A (en) Client application service logic updating method and device and equipment
CN105704296A (en) Application environment cloning method and device
CN107341128B (en) Mobile terminal and IQ data playback method thereof
CN107741965B (en) Database synchronous processing method and device, computing equipment and computer storage medium
CN104834723A (en) Display processing method and device of map
CN105227351A (en) Log acquisition system, journal obtaining method and electronic equipment
CN108563492B (en) Data acquisition method, virtual machine and electronic equipment
CN106933646B (en) Method and device for creating virtual machine
CN102255999B (en) Method for determining communication protocol between terminal and smart card and expansion card
CN105488047B (en) Metadata reading/writing method and device
CN114422537B (en) Multi-cloud storage system, multi-cloud data reading and writing method and electronic equipment
CN113032021B (en) System switching and data processing method, device, equipment and storage medium thereof
CN107766385B (en) Method and equipment for converting file format of virtual disk
CN109347896B (en) Information processing method, equipment and computer readable storage medium
CN105471930A (en) Method, system and equipment for reading distributed data
CN111372187B (en) Method, device and equipment for determining position of base station and storage medium
CN113392091A (en) Distributed cluster data migration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant