WO2021168710A1 - Information processing method, information processing apparatus and storage medium - Google Patents
Information processing method, information processing apparatus and storage medium Download PDFInfo
- Publication number
- WO2021168710A1 WO2021168710A1 PCT/CN2020/076847 CN2020076847W WO2021168710A1 WO 2021168710 A1 WO2021168710 A1 WO 2021168710A1 CN 2020076847 W CN2020076847 W CN 2020076847W WO 2021168710 A1 WO2021168710 A1 WO 2021168710A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- simulation
- value
- condition information
- data
- information
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/37—Compiler construction; Parser generation
Definitions
- the embodiments of the present invention relate to the field of computer technology, and in particular, to an information processing method, an information processing device, and a storage medium.
- the embodiments of the present invention provide an information processing method, an information processing device, and a storage medium to solve the technical problem that it is difficult to quickly and stably access data obtained by simulation in the prior art.
- the first aspect of the embodiments of the present invention provides an information processing method, including:
- the simulation result corresponding to the condition information input by the user is output.
- a second aspect of the embodiments of the present invention provides an information processing device, including:
- Memory used to store computer programs
- the processor is configured to run a computer program stored in the memory to realize:
- the simulation result corresponding to the condition information input by the user is output.
- a third aspect of the embodiments of the present invention provides a computer-readable storage medium in which program instructions are stored, and the program instructions are used to implement the method described in the first aspect.
- the information processing method, information processing device, and storage medium provided by the embodiments of the present invention can only read data files in the corresponding range when there are many data obtained by simulation, thereby quickly and stably accessing the simulation results, improving the efficiency and accuracy of reading sex.
- FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present invention
- Embodiment 1 of the present invention is a flowchart of an information processing method provided by Embodiment 1 of the present invention
- FIG. 3 is a flowchart of an information processing method provided by Embodiment 2 of the present invention.
- FIG. 4 is a schematic diagram of a process of compressing data in an information processing method according to Embodiment 3 of the present invention.
- FIG. 5 is a schematic flowchart of data decompression in an information processing method according to Embodiment 3 of the present invention.
- FIG. 6 is a schematic flowchart of an information processing method provided by Embodiment 4 of the present invention.
- FIG. 7 is a first schematic diagram of displaying a simulation result in an information processing method according to the fourth embodiment of the present invention.
- FIG. 8 is a second schematic diagram of displaying simulation results in an information processing method according to the fourth embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of an information processing device according to Embodiment 5 of the present invention.
- the embodiments of the present invention provide an information processing method and device, which can store simulation results obtained by simulation tests in corresponding files according to condition information, and access the simulation results by reading the corresponding files.
- Fig. 1 is a schematic diagram of an application scenario of an embodiment of the present invention.
- the embodiment of the present invention can be applied to a DSP system.
- a DSP system may include two parts: a hardware system and a software system.
- the software system can be composed of a simulator (Simulator) and a tool chain.
- the simulator is mainly used to simulate the behavior of the DSP hardware system. The development of the simulator can take precedence over the hardware system, aiming at better modeling of the DSP system.
- the tool chain is mainly composed of a compiler (Compiler) and an integrated development environment (Integrated Development Environment, IDE).
- the compiler can be used to compile C code, assembly code, etc. into machine language;
- IDE can provide a set of programming interface, in which functions such as project creation, compilation, debugging, and performance analysis can be realized.
- the IDE When using the IDE to develop software code, the IDE needs to rely on the compiler to compile the project and the simulator to debug the project and perform performance analysis.
- the simulator When performing performance analysis, the simulator will obtain simulation results through simulation tests, and the IDE can display the simulation results generated by the simulator to the user. Users can optimize the code according to the simulation results shown in the figure, improve the parallelism of the code, and reduce the running time of the code.
- the following uses a DSP system as an example to describe the technical solutions of the embodiments of the present invention. It is understandable that in addition to being applied to the DSP system, the embodiments of the present invention can also be applied to any other scenarios that require access to simulation results.
- FIG. 2 is a flowchart of an information processing method according to Embodiment 1 of the present invention. As shown in Figure 1, the method in this embodiment may include:
- Step 201 Obtain condition information input by the user.
- condition information may be a condition input by the user when querying the simulation result. Since the simulation test often produces a lot of simulation results corresponding to different condition information, the user can input the corresponding condition information to obtain the simulation result that he wants to view when querying the simulation result.
- condition information may be time information, and the simulation test outputs different results at different times. If the user wants to view the simulation result at time T1, he can enter "T1".
- the time information may be any information that can measure time or that changes with time.
- the time information may be a specific time, or may be the number of clock cycles that have elapsed.
- the parameter Cycles is a way to measure time. Each time an assembly instruction is executed, the value of Cycles can be increased by one, so the parameter Cycles can be used as time information.
- condition information may be frequency information, and simulation results at different frequencies can be obtained through simulation tests. If the user wants to view the simulation result corresponding to 1kHz, he can enter "1kHz".
- condition information can be directly written in the input box.
- a scroll bar may be displayed to the user, and the corresponding condition information may be determined according to the position to which the user drags the scroll bar.
- Step 202 Read a corresponding data file according to the range of the condition information, where the data file includes the simulation result corresponding to the condition information in the range.
- the range is a time period; if the condition information is frequency information, the range is a frequency range.
- the condition information can be divided into multiple ranges, and the simulation results corresponding to the condition information in each range are stored in a data file. According to the range of the condition information input by the user, the corresponding data file can be read.
- Step 203 Output the simulation result corresponding to the condition information input by the user.
- the simulation result corresponding to the condition information input by the user can be read from the data file.
- the simulation results can be divided according to frequency, divided into a range every 100 Hz, the simulation results corresponding to 0 Hz to 100 Hz are stored in the first data file, and the simulation results corresponding to 101 Hz to 200 Hz are stored in the second data file.
- the simulation result corresponding to the last range is stored in the last data file.
- the user wants to query the simulation result of 150Hz, he can input "150Hz". After obtaining the frequency information input by the user, it can be determined that the range of 150 Hz is from 101 Hz to 200 Hz, and the data file corresponding to 101 Hz to 200 Hz is the second data file. The file stores simulation results corresponding to each frequency information from 101 Hz to 200 Hz. From the second data file, the simulation result corresponding to 150Hz can be found and output.
- the data files may be temporary files, and these data files may be deleted after the debugging ends, thereby releasing storage resources.
- the IDE mainly displays partial results instead of all results when displaying the simulation results, you only need to read the data file with partial simulation results instead of all the data files each time, which can reduce the number of data reads and speed up Reading and writing speed. By increasing the number of data files and reducing the size of each data file, the amount of data read each time can be reduced, so that users will not be stuck when using the IDE.
- the information processing method provided in this embodiment can obtain the condition information input by the user, and read the data file corresponding to the range according to the range in which the condition information is located, and the data file contains the condition information in the range. According to the corresponding simulation result, the simulation result corresponding to the condition information input by the user can be determined through the data file and the corresponding simulation result can be output. When the data obtained by the simulation is large, only the data file of the corresponding range can be read. Thereby, the simulation results can be accessed quickly and stably, and the efficiency and accuracy of reading can be improved.
- the data file may be stored in the memory, and the data file can be obtained by reading the memory. This method can conveniently and quickly read and write the saved simulation results, but memory overflow may occur when there are too many simulation results.
- reading the corresponding data file according to the range of the condition information in step 202 may include: reading the range corresponding to the condition information from the external memory through the mapping relationship between the input and output ports and the memory And save the data file in the memory.
- the simulation result included in the data file may be a simulation result after decompression.
- the simulator performs the simulation test and obtains the simulation results, it can compress the simulation results and save them in the external memory.
- the IDE can read the compressed simulation results from the disk, decompress them, and store the decompressed simulation results according to the range.
- the data files are stored in the external memory.
- the corresponding data file can be read from the external memory through the mapping relationship between the input and output ports and the memory. Reading data files through memory mapped IO can effectively improve the reading speed of data files.
- the output of the simulation result corresponding to the condition information input by the user in step 203 may include: obtaining the simulation result corresponding to the condition information input by the user from a memory; and sending the simulation result to the display module for display by the display module The simulation results.
- the corresponding data file is determined by the condition information input by the user, and the data file is read from the external memory and saved in the memory.
- the memory overflow can be avoided, and the simulation result corresponding to the condition information input by the user can be quickly found from the memory, and the user experience can be improved.
- FIG. 3 is a flowchart of an information processing method according to Embodiment 2 of the present invention. As shown in Figure 3, the method in this embodiment may include:
- Step 301 Divide the multiple simulation results obtained through the simulation test into multiple groups according to the condition information, each group of simulation results is stored in a corresponding data file, and the attribute information of the multiple data files is stored through multiple block objects.
- the block management object stores the mapping relationship between the range corresponding to the data file and the block object.
- multiple simulation results obtained through the simulation test can be obtained, and the multiple simulation results obtained by the simulation test can be stored through at least two data files. Simulation results, the multiple simulation results can be partially read according to the condition information input by the user.
- the multiple simulation results can be divided into multiple groups according to the condition information. Specifically, they can be divided into multiple chunks (chunks). Each chunk contains a part of the simulation results, and each chunk corresponds to the data file. The simulation results in Chunk are stored in a corresponding data file.
- the simulation results of different ranges can be stored in different data files, and each data file stores the simulation results of the condition information in the corresponding range.
- the condition information is Cycles in the simulation process. Cycles are divided into groups of 20,000. Each Chunk includes simulation results corresponding to 20,000 Cycles. Assuming that 90,000 Cycles are run in this simulation, it can be divided into five. Group, the simulation results corresponding to each group of Cycles are stored in the corresponding data file. Table 1 is an example of the correspondence between Cycles and data files.
- multiple Block objects can be constructed, and the content of each Chunk can be written to a file.
- One Chunk corresponds to a data file.
- the data file can be a temporary file, and each data file can have a readable Writable attributes.
- Multiple block objects can store attribute information of multiple data files, where the multiple block objects correspond to the multiple data files one-to-one, and each block object stores the attribute information of a corresponding data file.
- the attribute information includes the storage path of the data file and the range of the condition information corresponding to the data file, and may also include other information such as the ID of the Chunk.
- a Block Manager object can be constructed, which can construct a mapping relationship between a range corresponding to a data file and a block object, so that the multiple simulation results in the multiple data files are based on the mapping relationship It is partially read.
- the block management object can store the mapping relationship between the value range of Cycles and the block object, so that according to the Cycles input by the user, the corresponding block object can be quickly queried, and then the corresponding data file can be obtained.
- Step 302 Obtain condition information input by the user.
- step 301 After storing multiple simulation results using multiple data files in step 301, the user can view the simulation results.
- the specific implementation principle and method of step 302 are similar to step 201 in the first embodiment, and will not be repeated here.
- Step 303 Query the block object corresponding to the range where the condition information is located through the block management object.
- Step 304 Determine the storage path of the corresponding data file by querying the obtained block object.
- Step 305 Read the corresponding data file through the determined storage path.
- step 303 to step 305 it is possible to read the corresponding data file according to the scope of the condition information input by the user.
- the block object can not only write Chunk to the data file, but also read the data in the data file.
- the block object can read and write the data in each Chunk by means of memory mapped IO to speed up the file read and write speed.
- Step 306 Output the simulation result corresponding to the condition information input by the user.
- step 306 The specific implementation principle and method of step 306 are similar to step 203 in the first embodiment, and will not be repeated here.
- a fixed division strategy can be preset for the range of condition information.
- An optional strategy is: Cycles are divided into a group every preset range, such as every 20,000 Cycles; the other can be divided into groups.
- the selected strategy is: divide all the simulation results obtained in the simulation test into a fixed number of groups, such as fixed division into 5 groups, if the simulation results corresponding to 50,000 Cycles are obtained in this simulation test, divide every 10,000 Cycles into one Group.
- the simulation results may not be stored in the order of the condition information.
- each data file stores the simulation results corresponding to 20,000 Cycles
- the first data file can store the 0-9999 cycles.
- the simulation results of the 30000-39999 Cycles may not be stored in the order of the condition information.
- the block object After obtaining the condition information input by the user, the block object can be determined according to the range of the condition information, and then the storage path of the data file can be determined according to the block object, and the file can be read through memory-mapped IO, and the conditions within the range can be determined.
- the simulation result corresponding to the information is stored in the memory, and the display module can obtain the simulation result from the memory and display it to the user.
- the information processing method provided in this embodiment can divide the multiple simulation results into multiple groups according to condition information, each group of simulation results is stored in a corresponding data file, and multiple data files are stored through multiple block objects
- the attribute information may include the storage path of the data file and the range of the condition information corresponding to the data file.
- the mapping relationship between the range corresponding to the data file and the block object is stored by the block management object, so that the data files are The plurality of simulation results can be partially read according to the mapping relationship, which can quickly realize that the simulation results are stored in files according to different ranges, and the path to the corresponding simulation results is searched through the condition information to ensure the simulation result access process The progress went smoothly.
- the third embodiment of the present invention provides an information processing method. This embodiment is based on the technical solutions provided by the above-mentioned embodiments, and after the simulation results are obtained by the simulation test through the simulator, the simulation results are compressed and saved.
- the simulation start instruction input by the user can be acquired, and the simulation test can be performed according to the simulation start instruction to obtain the simulation result.
- the simulation start instruction may be an instruction that can start a simulation test, and the user can input the simulation start instruction in a variety of ways, such as through a simulation button on the simulator interface.
- a simulation test can be performed according to the simulation start instruction to obtain multiple data sets, each data set includes a condition information and a corresponding simulation result, and the simulation result includes the values of multiple simulation items; Multiple data sets are compressed and stored.
- the condition information is Cycles
- the simulation item may be any item that needs to be monitored in a simulation test.
- the simulation item may include program pointer (Program Counter, PC) and working status information of system components (Component).
- PC program pointer
- Component working status information of system components
- the components may include but are not limited to: Reduced Instruction Set Computing (Risc), Vector Execution Unit (VEU), Vector Float Point Unit, VFPU), memory (Memory), etc., these components are all execution units in the DSP system.
- the value of the condition information and the value of each simulation item may change continuously.
- the value of Cycles can be increased by 1 each time an assembly instruction is executed.
- the value of Cycles is 0, the value of PC is 0, and when the value of Cycles is 1, the PC is also Changing from 0 to 1, it is convenient for developers to optimize the program according to the changes of various simulation items during the simulation process.
- the simulator can count the Cycles value, PC value, and status information of each component in the simulation test. Table 2 is an example of simulation results obtained by the simulator.
- the working status of a component can include Read, Write, Process, Idle, which are represented by numbers 0, 1, 2, and 3, respectively.
- Each row of data in Table 2 can be used as a data set. Compress and store multiple data sets obtained by simulation.
- FIG. 4 is a schematic diagram of a process of compressing data in an information processing method according to Embodiment 3 of the present invention. As shown in Figure 4, in this embodiment, compressing and storing multiple data sets obtained from simulation experiments may include:
- Step 401 Write attribute information in the storage file. Then step 402 is executed.
- the attribute information may include the name, identification, and length information of the condition information, and the name, identification, and length information of the simulation item in the simulation result.
- the identification can be a number or an index, and the corresponding condition information or simulation item can be quickly determined through the identification.
- the simulation items include PC and VEU, and the identifiers of Cycles, PC, and VEU are 0, 1, and 2, respectively. If the values of Cycles, PC, and VEU are 4, 4, and 2 bytes in length respectively, the following attribute information can be written in the storage file: Cycles, 0, 4, PC, 1, 4, VEU, 2, 2.
- the value of Cycles is 4 bytes in length. By decompressing the data in the storage file with this information, the value of the condition information and the value of the simulation item can be restored.
- the length information can also be represented by a maximum value.
- the value range of Cycles can be 0-4294967295
- the value range of PC can be 0-4294967295
- the value range of VEU can be 0-3.
- the length information of the persons can be 4294967295, 4294967295, 3 respectively.
- the length information can also be omitted from the attribute information.
- the length information corresponding to the condition information and each simulation item can be defaulted to be 4 bytes, and there is no need to write the length information in the storage file.
- the attribute information in step 401 in this embodiment is used to reduce the size of the compressed file. In other optional implementation manners, if it is not necessary to indicate the condition information or the simulation item through the identifier, or the condition information or the simulation item If the logo uses the default settings, this step can also be omitted.
- Step 402 Write the condition information and corresponding simulation results in the first data set into a storage file. Then step 403 is executed.
- the value of the condition information obtained by the simulation test and the value of the simulation item are stored.
- the condition information or simulation items are expressed by the identifier, only the identifier and corresponding value in each data set can be written into the storage file, instead of writing the name into the storage file, which can effectively reduce the data written into the file. Increase the compression rate.
- writing the condition information and corresponding simulation results in the first data set into a storage file may include: writing the identifier and value of the condition information in the first data set in the storage file, and writing each The identification and value of the simulation item;
- condition information Cycles is identified as 0, and the simulation items PC and VEU are identified as 1, 2 respectively.
- the values of Cycles, PC and VEU are 0, 0, and 0 respectively, you can store the file Write in:
- Step 403 Read the next data set, and determine whether the value of each simulation item in the data set has changed relative to the value of the corresponding simulation item in the previous data set: if there are changes in the value of one or more simulation items, then Step 404 is executed, otherwise, step 405 is executed.
- Step 404 Write the condition information of the data set and the value of the changed simulation item in the storage file. Then step 406 is executed.
- the condition information of the data set and the value of the changed simulation item can be written in the storage file.
- writing the condition information of the data set and the value of the changed simulation item in the storage file may include: writing the identifier and value of the condition information of the data set in the storage file, and Write the identification and value of the changed simulation item.
- VEU The value of VEU is not written into the storage file, which can effectively save file space.
- Step 405 Write the condition information of the data set in the storage file. Then step 406 is executed.
- condition information of the data set can be written in the storage file. Specifically, the identifier and value of the condition information can be written .
- Step 406 Determine whether the reading of all data sets is completed, if yes, end, and if not, execute step 403 again.
- the information compression can be divided into two parts: the first part is storage condition information and the attribute information of the simulation item, and this part of information is directly written into the storage file in the form of a string without compression.
- the second part is the compressed storage of the data set.
- the simulation results can be compressed and stored by the simulator while the simulation test is performed, or the simulation results obtained can be compressed and stored after the simulation test is over.
- the current simulation item can be determined Whether the value of is the same as the value at the previous moment, if it is the same, the value of the simulation item may not be written to the file, if it is not the same, the value of the simulation item is written to the file in binary mode, and so on until all simulations are traversed result.
- the process of compressing simulation results provided in this embodiment is to determine whether the value of each simulation item in the data set has changed relative to the value of the corresponding simulation item in the previous data set, and the value of one or more simulation items changes when there are one or more simulation items.
- writing the condition information of the data set and the value of the changed simulation item in the storage file can effectively save storage space, reduce the size of the storage file, and save computer resources.
- the compressed data can be stored in the external memory.
- the compressed data can be decompressed through the IDE, and the decompressed data can be used for display.
- the IDE may decompress the storage file storing the simulation results according to the viewing instruction input by the user to obtain multiple simulation results obtained through the simulation test, and store the multiple simulation results in the external memory; wherein, Each simulation result includes the values of multiple simulation items.
- FIG. 5 is a schematic flowchart of data decompression in an information processing method according to Embodiment 3 of the present invention. As shown in FIG. 5, in this embodiment, decompressing the storage file storing the simulation results to obtain multiple simulation results obtained through the simulation test may include:
- Step 501 Obtain the attribute information stored in the storage file.
- the attribute information may include the name and identification of the condition information, and the name and identification of the simulation item.
- the attribute information may further include length information of the value of the condition information and length information of the value of the simulation item.
- Step 502 Read the identifier from the storage file.
- Step 503 Determine whether the read identifier is the identifier of the condition information in the data set: if it is the identifier of the condition information in the data set, perform step 504; if the identifier is the identifier of the simulation item in the data set, perform step 508 .
- the attribute information can be used to determine whether the identifier is an identifier of condition information or an identifier of an emulation item.
- Step 504 Read the next data as the value of the condition information. Then step 505 is executed.
- condition information or the length information of the value of the simulation item can be determined according to the attribute information, so that data of the corresponding length is read as the condition information or the value of the simulation item. value.
- Step 505 Determine whether the value of the condition information is zero: if yes, go to step 506, otherwise, go to step 507.
- Step 506 Set the value of the simulation item corresponding to the condition information as an initial value. Then step 509 is executed.
- the initial value of each simulation item may be 0.
- Step 507 Set the value of the simulation item corresponding to the condition information to the value of the corresponding simulation item in the previous data set. Then step 509 is executed.
- Step 508 Update the value of the simulation item in the data set to the value of the next data. Then step 509 is executed.
- Step 509 Determine whether all the data in the storage file has been read: if yes, end, if not, execute step 502 again.
- the identifier 0 represents the condition information Cycles, and the next data 0 is read, indicating that the value of Cycles is 0.
- the values of the simulation items PC and VEU can be set to 0, and then Read the following 10 and 20, and update the values of PC and VEU to 0, so that the first data set can be restored to: 00, 10, 20.
- the identifier 0 represents the condition information Cycles, and the next data 1 is read, which means the value of Cycles is 1.
- the values of the simulation items PC and VEU can be set to the values in the previous data set. , That is, set the values of PC and VEU to 0, and then read the following 11, the first 1 means that the identifier is 1, which represents PC, and the second 1 means that the value of PC is 1, and the value of PC is updated to 1,
- the VEU logo does not appear, which means that it has not changed from the previous data set, so the second data set can be restored as: 01, 11, 20.
- the identifier 0 represents the condition information Cycles, and the next data 2 is read, indicating that the value of Cycles is 2.
- the values of the simulation items PC and VEU can be kept as the values in the previous data set. , That is, set the value of PC to 1, and set the value of VEU to 0, so that the third data set can be restored: 02, 11, 20.
- data decompression can be divided into two parts.
- the first part directly reads the attribute information corresponding to Cycles, PC, and component status information in the form of character strings.
- the second part reads the data set information of Cycles, PC, Component by byte, first reads 2 bytes to obtain the identification, and then reads 2 or 4 bytes according to the identification to obtain the value, and then according to the read identification and The value restores the simulation result obtained by the simulator simulation until the content in the storage file is read.
- the identifier is read from the storage file. If the identifier is the identifier of the condition information in the data set, the next data is read as the value of the condition information: If the value of the condition information is zero, the value of the simulation item corresponding to the condition information is set to the initial value; if the value of the condition information is not zero, the value of the simulation item corresponding to the condition information is set Is the value of the corresponding simulation item in the previous data set, if the identifier is the identifier of the simulation item in the data set, the value of the simulation item in the data set is updated to the value of the next data, which can quickly and accurately restore the simulation result.
- the first data set may also be read first, and then the other data sets are processed in a unified manner.
- reading the remaining data set may specifically include: repeating the following steps until all the data in the storage file is read: reading the identifier from the storage file; if the identifier is a data set Then read the next data as the value of the condition information, and set the value of the simulation item corresponding to the condition information to the value of the corresponding simulation item in the previous data set; if the identifier is If the identification of the simulation item in the data set is used, the value of the simulation item in the data set is updated to the value of the next data.
- FIG. 6 is a schematic flowchart of an information processing method according to Embodiment 4 of the present invention. As shown in Figure 6, the method in this embodiment may include:
- Step 601 Obtain condition information input by the user.
- Step 602 Read a corresponding data file according to the range of the condition information, where the data file includes the simulation result corresponding to the condition information in the range.
- step 601 to step 602 in this embodiment reference may be made to the foregoing embodiment, which will not be repeated here.
- Step 603 According to the data file, search for a simulation result corresponding to the condition information input by the user.
- Step 604 Determine a corresponding graph according to the found state information of the component in the simulation result, where different state information corresponds to different graphs.
- the simulation result may be a result obtained by simulating a DSP
- the simulation item in the simulation result may include pointer information and status information of components in the DSP.
- Step 605 Display the graphics corresponding to the condition information, pointer information, and component status information.
- step 603 to step 605 the simulation result corresponding to the condition information input by the user can be output.
- SWT Standard Widget Toolkit
- different graphics may refer to different shapes, different sizes, or different colors of the graphics.
- the relationship between working status and graphics can be set according to actual needs.
- each component can correspond to a state box, the read state is filled with horizontal stripes, the write state is filled with vertical stripes, the processing state is filled with dots, and the idle state is not filled.
- the read state is green, the write state is red, the processing state is blue, and the idle state is white.
- FIG. 7 is a first schematic diagram of displaying a simulation result in an information processing method according to Embodiment 4 of the present invention.
- the value of Cycles and the value of PC are directly represented by numbers, and the status information of the components can be represented by graphics.
- the vertical line in the figure represents the time when the user wants to view.
- the time Cycles is 301, and Risc corresponds to
- the graph is filled with grid graphs, indicating that Risc is in the processing state (Process) at this moment, and the graph corresponding to VEU is not filled, indicating that it is in the idle state (Idle).
- FIG. 8 is a second schematic diagram of displaying a simulation result in an information processing method according to the fourth embodiment of the present invention.
- the display space corresponding to each of the Cycles value and the PC value is smaller than the display space corresponding to each of the Cycles value and the PC value corresponding to FIG. 7. Comparing Figure 7 and Figure 8, it can be found that after the display space of the value corresponding to each moment is reduced, the time range that can be displayed in the figure will increase. The Cycles value and PC value can only be displayed on the far left, and only the value at the moment the user wants to view is displayed.
- Both Fig. 7 and Fig. 8 can show the simulation results for a period of time. From Fig. 7 and Fig. 8 it can be clearly seen that the working status of the component changes over a period of time.
- the simulator can be used to perform simulation tests first, and the simulation results obtained are compressed and stored.
- the simulation results can be decompressed through the IDE and based on the condition information input by the user Access the simulation results. After the simulation results are successfully read, they are displayed to the user in a graphical manner, which is convenient for the user to check the usage and performance of each component from time to time, provide the user with a basis for optimizing the code, and help the user make full use of the status information optimization of each component Code, improve the parallelism of the code, reduce the running time of the code, and write more efficient code.
- the information processing method provided in this embodiment can determine the corresponding graphics and display the corresponding graphics according to the status information of the simulation item. Different status information corresponds to different graphics, and the simulation results can be presented to the user in a graphical manner, which is convenient Users can view and debug to improve development efficiency and user experience.
- querying based on condition information in addition to querying based on condition information, other querying methods may also be provided, for example, querying based on simulation results.
- the value of the simulation item input by the user can be accepted, and then the data file is sequentially read into the memory, and the data file is searched in the memory whether there is a simulation result that satisfies the user input condition.
- the IDE's display interface can display a confirmation button. After the user enters the query conditions, click the confirmation button, the IDE will display the first simulation result found to the user, and the user clicks the confirmation button to start searching and display the next simulation result .
- FIG. 9 is a schematic structural diagram of an information processing device according to Embodiment 5 of the present invention.
- the information processing device can execute the information processing method corresponding to FIG. 2 described above.
- the information processing apparatus provided in this embodiment may include:
- the memory 11 is used to store computer programs
- the processor 12 is configured to run a computer program stored in the memory to realize:
- the simulation result corresponding to the condition information input by the user is output.
- the structure of the information processing apparatus may further include a communication interface 13 for communicating with other devices or a communication network.
- condition information is time information, and the range is a time period
- condition information is frequency information
- range is a frequency range
- the processor 12 when reading the corresponding data file according to the scope of the condition information, is specifically configured to:
- the simulation result included in the data file is the simulation result after decompression.
- the processor 12 when outputting the simulation result corresponding to the condition information input by the user, the processor 12 is specifically configured to:
- the simulation result is sent to the display module to display the simulation result through the display module.
- the processor 12 before reading the corresponding data file, the processor 12 is further configured to:
- the multiple simulation results can be partially read according to the condition information input by the user.
- the processor 12 when storing the multiple simulation results in at least two data files, the processor 12 is specifically configured to:
- the attribute information of multiple data files is stored through multiple block objects, where the multiple block objects correspond to the multiple data files one-to-one, and each block object stores the attribute information of a corresponding data file.
- the information includes the storage path of the data file and the range of condition information corresponding to the data file;
- the block management object stores the mapping relationship between the range corresponding to the data file and the block object, so that the multiple simulation results in the multiple data files are partially read according to the mapping relationship.
- the processor 12 when reading the corresponding data file according to the scope of the condition information, is specifically configured to:
- processor 12 is further configured to:
- the processor 12 when a simulation test is performed according to the simulation start instruction and a simulation result is obtained, the processor 12 is specifically configured to:
- each data set includes a condition information and a corresponding simulation result
- the simulation result includes the value of a plurality of simulation items
- the multiple data sets are compressed and stored.
- the processor 12 when compressing and storing the multiple data sets, is specifically configured to:
- processor 12 is further configured to:
- condition information of the data set is written in the storage file.
- the processor 12 when the condition information and corresponding simulation results in the first data set are written into the storage file, the processor 12 is specifically configured to: write the first data set in the storage file.
- the processor 12 is specifically configured to: write the identifier of the condition information of the data set in the storage file And value, and write the identifier and value of the changed simulation item.
- processor 12 is further configured to:
- the attribute information is written in the storage file, where the attribute information includes the name and identification of the condition information, and the name and identification of the simulation item in the simulation result.
- the attribute information further includes length information of the value of the condition information and length information of the value of the simulation item.
- processor 12 is further configured to:
- each simulation result includes the value of multiple simulation items.
- the processor 12 when the storage file storing the simulation results is decompressed to obtain multiple simulation results obtained through the simulation test, the processor 12 is specifically configured to:
- the condition information and the value of the simulation item in each remaining data set are obtained from the storage file. If the value of one or more simulation items of the data set is missing in the storage file, the one or more The value of each simulation item is set to the value of the corresponding simulation item in the previous data set.
- the processor 12 when the condition information and the value of the simulation item in each remaining data set are obtained from the storage file, if one or more simulation items of the data set are missing from the storage file, the processor 12 is specifically configured to:
- the identifier is the identifier of the condition information in the data set
- the next data is read as the value of the condition information
- the value of the simulation item corresponding to the condition information is set as the value of the corresponding simulation item in the previous data set value
- the value of the simulation item in the data set is updated to the value of the next data.
- the processor 12 when the storage file storing the simulation results is decompressed to obtain multiple simulation results obtained through the simulation test, the processor 12 is specifically configured to:
- the identifier is the identifier of the condition information in the data set, read the next data as the value of the condition information: if the value of the condition information is zero, set the value of the simulation item corresponding to the condition information Set as an initial value; if the value of the condition information is not zero, set the value of the simulation item corresponding to the condition information to the value of the corresponding simulation item in the previous data set;
- the value of the simulation item in the data set is updated to the value of the next data.
- processor 12 is further configured to:
- attribute information includes the name and identification of the condition information, and the name and identification of the simulation item
- the processor 12 After reading the identifier from the storage file, the processor 12 is further configured to determine whether the identifier is an identifier of condition information or an identifier of an emulation item through the attribute information.
- the attribute information further includes length information of the value of the condition information, and length information of the value of the simulation item;
- the processor 12 After reading the identifier from the storage file, the processor 12 is further configured to determine condition information or length information of the value of the simulation item according to the attribute information.
- the simulation result is a result obtained by simulating a digital signal processor
- the simulation items in the simulation result include pointer information and status information of components in the digital signal processor.
- the processor 12 when the simulation result corresponding to the condition information input by the user is output, the processor 12 is specifically configured to:
- the graphics corresponding to the condition information, pointer information, and component status information are displayed.
- the information processing device shown in Fig. 9 can execute the methods of the embodiments shown in Figs.
- the implementation process and technical effects of this technical solution please refer to the description in the embodiment shown in FIG. 1 to FIG. 8, which will not be repeated here.
- an embodiment of the present invention provides a storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the embodiments shown in FIGS. 1 to 8 above.
- the disclosed related remote control device and method can be implemented in other ways.
- the embodiments of the remote control device described above are merely illustrative.
- the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, remote control devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
- the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本发明实施例涉及计算机技术领域,尤其涉及一种信息处理方法、信息处理装置和存储介质。The embodiments of the present invention relate to the field of computer technology, and in particular, to an information processing method, an information processing device, and a storage medium.
随着计算机技术的不断发展和设备开发要求的不断提高,通过计算机进行的仿真试验也得到越来越广泛的应用。例如,在数字信号处理器(Digital Signal Processor,DSP)上进行代码开发时,可以通过计算机对DSP进行仿真,帮助开发人员充分利用DSP的各方面功能写出更加高效的代码。随着仿真的深入和复杂化,仿真得到的数据也越来越多。如何快速稳定地访问仿真得到的数据成为亟待解决的问题。With the continuous development of computer technology and the continuous improvement of equipment development requirements, simulation tests carried out by computers have also been more and more widely used. For example, when developing code on a digital signal processor (Digital Signal Processor, DSP), the DSP can be simulated by a computer to help developers make full use of all aspects of the DSP to write more efficient code. With the deepening and complexity of simulation, more and more data are obtained from simulation. How to quickly and stably access the data obtained by simulation has become an urgent problem to be solved.
发明内容Summary of the invention
本发明实施例提供了一种信息处理方法、信息处理装置和存储介质,用以解决现有技术中难以快速稳定地访问仿真得到的数据的技术问题。The embodiments of the present invention provide an information processing method, an information processing device, and a storage medium to solve the technical problem that it is difficult to quickly and stably access data obtained by simulation in the prior art.
本发明实施例第一方面提供一种信息处理方法,包括:The first aspect of the embodiments of the present invention provides an information processing method, including:
获取用户输入的条件信息;Obtain the condition information entered by the user;
根据所述条件信息所在的范围,读取对应的数据文件,其中,所述数据文件包括所述范围内的条件信息对应的仿真结果;Reading a corresponding data file according to the range in which the condition information is located, where the data file includes simulation results corresponding to the condition information in the range;
输出所述用户输入的条件信息对应的仿真结果。The simulation result corresponding to the condition information input by the user is output.
本发明实施例第二方面提供一种信息处理装置,包括:A second aspect of the embodiments of the present invention provides an information processing device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
获取用户输入的条件信息;Obtain the condition information entered by the user;
根据所述条件信息所在的范围,读取对应的数据文件,其中,所述数据文件包括所述范围内的条件信息对应的仿真结果;Reading a corresponding data file according to the range in which the condition information is located, where the data file includes simulation results corresponding to the condition information in the range;
输出所述用户输入的条件信息对应的仿真结果。The simulation result corresponding to the condition information input by the user is output.
本发明实施例第三方面提供一种计算机可读存储介质,所述计算机可读存储介质中存储有程序指令,所述程序指令用于实现第一方面所述的方法。A third aspect of the embodiments of the present invention provides a computer-readable storage medium in which program instructions are stored, and the program instructions are used to implement the method described in the first aspect.
本发明实施例提供的信息处理方法、信息处理装置和存储介质,在仿真得到的数据较多时,可以仅读取对应范围的数据文件,从而快速稳定地访问仿真结果,提高读取的效率和准确性。The information processing method, information processing device, and storage medium provided by the embodiments of the present invention can only read data files in the corresponding range when there are many data obtained by simulation, thereby quickly and stably accessing the simulation results, improving the efficiency and accuracy of reading sex.
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and the description thereof are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1为本发明实施例的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present invention;
图2为本发明实施例一提供的一种信息处理方法的流程图;2 is a flowchart of an information processing method provided by Embodiment 1 of the present invention;
图3为本发明实施例二提供的一种信息处理方法的流程图;FIG. 3 is a flowchart of an information processing method provided by Embodiment 2 of the present invention;
图4为本发明实施例三提供的一种信息处理方法中压缩数据的流程示意图;4 is a schematic diagram of a process of compressing data in an information processing method according to Embodiment 3 of the present invention;
图5为本发明实施例三提供的一种信息处理方法中解压数据的流程示意图;FIG. 5 is a schematic flowchart of data decompression in an information processing method according to Embodiment 3 of the present invention;
图6为本发明实施例四提供的一种信息处理方法的流程示意图;6 is a schematic flowchart of an information processing method provided by Embodiment 4 of the present invention;
图7为本发明实施例四提供的一种信息处理方法中仿真结果的显示示意图一;FIG. 7 is a first schematic diagram of displaying a simulation result in an information processing method according to the fourth embodiment of the present invention;
图8为本发明实施例四提供的一种信息处理方法中仿真结果的显示示意图二;FIG. 8 is a second schematic diagram of displaying simulation results in an information processing method according to the fourth embodiment of the present invention;
图9为本发明实施例五提供的一种信息处理装置的结构示意图。FIG. 9 is a schematic structural diagram of an information processing device according to Embodiment 5 of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
本发明实施例提供一种信息处理方法及装置,能够将仿真试验得到的仿真结果按照条件信息存储在对应的文件中,并通过读取对应的文件来访问仿真结果。The embodiments of the present invention provide an information processing method and device, which can store simulation results obtained by simulation tests in corresponding files according to condition information, and access the simulation results by reading the corresponding files.
图1为本发明实施例的一种应用场景示意图。如图1所示,本发明实施例可以应用于DSP系统中,图1示出的DSP系统的架构中,一套DSP系统可以包含硬件系统和软件系统两部分。软件系统可以由模拟器(Simulator)和工具链组成。模拟器主要用来模拟DSP的硬件系统行为,模拟器的开发可以优先于硬件系统,旨在于对DSP系统进行更好的建模。Fig. 1 is a schematic diagram of an application scenario of an embodiment of the present invention. As shown in FIG. 1, the embodiment of the present invention can be applied to a DSP system. In the architecture of the DSP system shown in FIG. 1, a DSP system may include two parts: a hardware system and a software system. The software system can be composed of a simulator (Simulator) and a tool chain. The simulator is mainly used to simulate the behavior of the DSP hardware system. The development of the simulator can take precedence over the hardware system, aiming at better modeling of the DSP system.
工具链主要由编译器(Compiler)和集成开发环境(Integrated Development Environment,IDE)组成。编译器可以用来将C代码、汇编代码等编译成机器语言;IDE可以提供一套编程界面,在该界面中可以实现工程的创建、编译、调试、性能分析等功能。The tool chain is mainly composed of a compiler (Compiler) and an integrated development environment (Integrated Development Environment, IDE). The compiler can be used to compile C code, assembly code, etc. into machine language; IDE can provide a set of programming interface, in which functions such as project creation, compilation, debugging, and performance analysis can be realized.
使用IDE开发软件代码时,IDE需要依赖编译器来编译工程,需要依赖模拟器来调试工程以及进行性能分析。在进行性能分析时,模拟器会通过仿真试验得到仿真结果,IDE可以将模拟器产生的仿真结果显示给用户。用户可以根据图中显示的仿真结果优化代码,提高代码的并行度,减少代码的运行时间。When using the IDE to develop software code, the IDE needs to rely on the compiler to compile the project and the simulator to debug the project and perform performance analysis. When performing performance analysis, the simulator will obtain simulation results through simulation tests, and the IDE can display the simulation results generated by the simulator to the user. Users can optimize the code according to the simulation results shown in the figure, improve the parallelism of the code, and reduce the running time of the code.
为了便于描述,以下以DSP系统为例来对本发明实施例的技术方案进行描述,可以理解的是,除了应用于DSP系统以外,本发明实施例还可以应用于其它任意需要访问仿真结果的场景。For ease of description, the following uses a DSP system as an example to describe the technical solutions of the embodiments of the present invention. It is understandable that in addition to being applied to the DSP system, the embodiments of the present invention can also be applied to any other scenarios that require access to simulation results.
实施例一Example one
本发明实施例一提供一种信息处理方法。图2为本发明实施例一提供的一种信息处理方法的流程图。如图1所示,本实施例中的方法,可以包括:The first embodiment of the present invention provides an information processing method. FIG. 2 is a flowchart of an information processing method according to Embodiment 1 of the present invention. As shown in Figure 1, the method in this embodiment may include:
步骤201、获取用户输入的条件信息。Step 201: Obtain condition information input by the user.
其中,所述条件信息可以为用户查询仿真结果时输入的条件。由于仿真试验往往会产生对应于不同条件信息的很多个仿真结果,用户在查询仿真结果时,可以输入对应的条件信息以获取想要查看的仿真结果。Wherein, the condition information may be a condition input by the user when querying the simulation result. Since the simulation test often produces a lot of simulation results corresponding to different condition information, the user can input the corresponding condition information to obtain the simulation result that he wants to view when querying the simulation result.
可选的,所述条件信息可以为时间信息,仿真试验在不同的时间输出不同的结果。若用户想要查看T1时刻的仿真结果,可以输入“T1”。Optionally, the condition information may be time information, and the simulation test outputs different results at different times. If the user wants to view the simulation result at time T1, he can enter "T1".
其中,所述时间信息可以为能够度量时间的或者随时间变化的任意信息,例如,时间信息可以是具体的时刻,或者,可以是经过的时钟周期个数等。在DSP系统中,参数Cycles是度量时间的一种方式,每执行一条汇编指令,Cycles的值可以加一,因此可以用参数Cycles作为时间信息。Wherein, the time information may be any information that can measure time or that changes with time. For example, the time information may be a specific time, or may be the number of clock cycles that have elapsed. In the DSP system, the parameter Cycles is a way to measure time. Each time an assembly instruction is executed, the value of Cycles can be increased by one, so the parameter Cycles can be used as time information.
或者,所述条件信息可以为频率信息,通过仿真试验可以得到不同频率下的仿真结果。若用户想要查看1kHz对应的仿真结果,可以输入“1kHz”。Alternatively, the condition information may be frequency information, and simulation results at different frequencies can be obtained through simulation tests. If the user wants to view the simulation result corresponding to 1kHz, he can enter "1kHz".
用户可以通过多种方式来实现条件信息的输入,例如,可以直接在输入框中写入条件信息。或者,可以通过在时间轴或频率轴上点击对应的位置来输入条件信息。或者,可以向用户显示滚动条,根据用户拖动滚动条所至的位置,确定对应的条件信息。The user can input the condition information in a variety of ways, for example, the condition information can be directly written in the input box. Or, you can input condition information by clicking the corresponding position on the time axis or frequency axis. Alternatively, a scroll bar may be displayed to the user, and the corresponding condition information may be determined according to the position to which the user drags the scroll bar.
步骤202、根据所述条件信息所在的范围,读取对应的数据文件,其中,所述数据文件包括所述范围内的条件信息对应的仿真结果。Step 202: Read a corresponding data file according to the range of the condition information, where the data file includes the simulation result corresponding to the condition information in the range.
若所述条件信息为时间信息,则所述范围为时间段;若所述条件信息为频率信息,则所述范围为频率段。If the condition information is time information, the range is a time period; if the condition information is frequency information, the range is a frequency range.
可以将条件信息划分为多个范围,每个范围内的条件信息对应的仿真结果存储在一个数据文件中,根据用户输入的条件信息所在的范围,可以读取对应的数据文件。The condition information can be divided into multiple ranges, and the simulation results corresponding to the condition information in each range are stored in a data file. According to the range of the condition information input by the user, the corresponding data file can be read.
步骤203、输出所述用户输入的条件信息对应的仿真结果。Step 203: Output the simulation result corresponding to the condition information input by the user.
在获取到用户输入的条件信息所在的范围对应的数据文件后,可以从该数据文件中读取用户输入的条件信息对应的仿真结果。After obtaining the data file corresponding to the range of the condition information input by the user, the simulation result corresponding to the condition information input by the user can be read from the data file.
例如,可以将仿真结果按照频率进行划分,每隔100Hz划分一个范围,则0Hz至100Hz对应的仿真结果存储在第一数据文件中,101Hz至200Hz对应的仿真结果存储在第二数据文件中,以此类推,最后一个数据文件中存储最后一个范围对应的仿真结果。For example, the simulation results can be divided according to frequency, divided into a range every 100 Hz, the simulation results corresponding to 0 Hz to 100 Hz are stored in the first data file, and the simulation results corresponding to 101 Hz to 200 Hz are stored in the second data file. By analogy, the simulation result corresponding to the last range is stored in the last data file.
在用户想要查询150Hz的仿真结果时,可以输入“150Hz”。获取到用户输入的频率信息后,可以确定150Hz所在的范围为101Hz至200Hz,101Hz至200Hz对应的数据文件为第二数据文件,该文件中存储有101Hz至200Hz中各个频率信息对应的仿真结果。从第二数据文件中,可以查找到150Hz对应的仿真结果并输出。When the user wants to query the simulation result of 150Hz, he can input "150Hz". After obtaining the frequency information input by the user, it can be determined that the range of 150 Hz is from 101 Hz to 200 Hz, and the data file corresponding to 101 Hz to 200 Hz is the second data file. The file stores simulation results corresponding to each frequency information from 101 Hz to 200 Hz. From the second data file, the simulation result corresponding to 150Hz can be found and output.
在本实施例中,所述数据文件可以是临时文件,在调试结束后,可以删除这些数据文件,从而释放存储资源。In this embodiment, the data files may be temporary files, and these data files may be deleted after the debugging ends, thereby releasing storage resources.
在实际应用中,用户可以通过模拟器进行仿真试验,获取到的仿真结果可以按照范围分别存储在不同的数据文件(例如,临时文件)中,防止所有仿真结果存放到一个文件,导致文件太大读写文件时速度较慢。由于IDE显示仿真结果时主要是显示部分结果,而非全部结果,因此每次只需读取保存有部分仿真结果的数据文件,而不是所有的数据文件,从而可以减少数据的读取数量,加快读写速度。通过增加数据文件的数量,减少每个数据文件的大小,可以减少每次读取的数据量,使得用户在使用IDE时不会出现卡顿现象。In practical applications, users can perform simulation experiments through the simulator, and the obtained simulation results can be stored in different data files (for example, temporary files) according to the scope, to prevent all simulation results from being stored in one file, which causes the file to be too large It is slow when reading and writing files. Since the IDE mainly displays partial results instead of all results when displaying the simulation results, you only need to read the data file with partial simulation results instead of all the data files each time, which can reduce the number of data reads and speed up Reading and writing speed. By increasing the number of data files and reducing the size of each data file, the amount of data read each time can be reduced, so that users will not be stuck when using the IDE.
本实施例提供的信息处理方法,可以获取用户输入的条件信息,根据所述条件信息所在的范围,读取对应于所述范围的数据文件,所述数据文件中包含所述范围内的条件信息对应的仿真结果,通过所述数据文件可以确定所述用户输入的条件信息对应的仿真结果并输出所述对应的仿真结果,在仿真得到的数据较多时,可以仅读取对应范围的数据文件,从而快速稳定地访问仿真结果,提高读取的效率和准确性。The information processing method provided in this embodiment can obtain the condition information input by the user, and read the data file corresponding to the range according to the range in which the condition information is located, and the data file contains the condition information in the range. According to the corresponding simulation result, the simulation result corresponding to the condition information input by the user can be determined through the data file and the corresponding simulation result can be output. When the data obtained by the simulation is large, only the data file of the corresponding range can be read. Thereby, the simulation results can be accessed quickly and stably, and the efficiency and accuracy of reading can be improved.
本发明实施例中,数据文件可以存储在内存中,通过读取内存来获取数据文件。这种方法可以方便快速地读写保存的仿真结果,但仿真结果太多时可能会出现内存溢出。In the embodiment of the present invention, the data file may be stored in the memory, and the data file can be obtained by reading the memory. This method can conveniently and quickly read and write the saved simulation results, but memory overflow may occur when there are too many simulation results.
除此之外,也可以将数据文件存储在外存储器如磁盘中。可选的,步骤202中的根据所述条件信息所在的范围,读取对应的数据文件,可以包括:通过输入输出端口和内存的映射关系,自外存储器读取所述条件信息所在的范围对应的数据文件,并将所述数据文件保存在内存中。In addition, data files can also be stored in external storage such as disks. Optionally, reading the corresponding data file according to the range of the condition information in
其中,所述数据文件包括的仿真结果可以为解压后的仿真结果。具体的,模拟器进行仿真试验得到仿真结果后,可以将仿真结果压缩后存入外存储器,IDE可以从磁盘读取压缩后的仿真结果,进行解压,并将解压得到的仿真结果按照范围分别存储在不同的数据文件,数据文件存储在外存储器中。Wherein, the simulation result included in the data file may be a simulation result after decompression. Specifically, after the simulator performs the simulation test and obtains the simulation results, it can compress the simulation results and save them in the external memory. The IDE can read the compressed simulation results from the disk, decompress them, and store the decompressed simulation results according to the range. Among the different data files, the data files are stored in the external memory.
在用户查询仿真结果时,可以通过输入输出端口和内存的映射关系,自外存储器读取对应的数据文件。通内存映射IO的方式读取数据文件,能够有效提高数据文件的读取速度。When the user queries the simulation result, the corresponding data file can be read from the external memory through the mapping relationship between the input and output ports and the memory. Reading data files through memory mapped IO can effectively improve the reading speed of data files.
步骤203中的输出所述用户输入的条件信息对应的仿真结果,可以包括: 从内存获取用户输入的条件信息对应的仿真结果;将所述仿真结果发送给显示模块,以通过所述显示模块显示所述仿真结果。The output of the simulation result corresponding to the condition information input by the user in
通过将仿真结果按照条件信息的范围分别存储在不同的数据文件中,在需要查看时,通过用户输入的条件信息确定对应的数据文件,并从外存储器读取数据文件后保存在内存中,既能避免内存溢出,又能从内存中快速查找用户输入的条件信息对应的仿真结果,提升用户体验度。By storing the simulation results in different data files according to the scope of the condition information, when you need to view, the corresponding data file is determined by the condition information input by the user, and the data file is read from the external memory and saved in the memory. The memory overflow can be avoided, and the simulation result corresponding to the condition information input by the user can be quickly found from the memory, and the user experience can be improved.
实施例二Example two
本发明实施例二提供一种信息处理方法。本实施例是在上述实施例提供的技术方案的基础上,通过块对象和块管理对象来实现仿真结果的存储。图3为本发明实施例二提供的一种信息处理方法的流程图。如图3所示,本实施例中的方法,可以包括:The second embodiment of the present invention provides an information processing method. In this embodiment, on the basis of the technical solution provided by the foregoing embodiment, the storage of the simulation result is realized through the block object and the block management object. FIG. 3 is a flowchart of an information processing method according to Embodiment 2 of the present invention. As shown in Figure 3, the method in this embodiment may include:
步骤301、将通过仿真试验得到的多个仿真结果按照条件信息划分为多组,每一组仿真结果存储在对应的一个数据文件中,通过多个块对象存储多个数据文件的属性信息,通过块管理对象存储数据文件对应的范围与块对象的映射关系。Step 301: Divide the multiple simulation results obtained through the simulation test into multiple groups according to the condition information, each group of simulation results is stored in a corresponding data file, and the attribute information of the multiple data files is stored through multiple block objects. The block management object stores the mapping relationship between the range corresponding to the data file and the block object.
本实施例中,在根据用户输入的条件信息所在的范围,读取对应的数据文件之前,可以获取通过仿真试验得到的多个仿真结果,并通过至少两个数据文件存储仿真试验得到的多个仿真结果,所述多个仿真结果能够依据所述用户输入的条件信息而被部分读取。In this embodiment, before reading the corresponding data file according to the range of the condition information input by the user, multiple simulation results obtained through the simulation test can be obtained, and the multiple simulation results obtained by the simulation test can be stored through at least two data files. Simulation results, the multiple simulation results can be partially read according to the condition information input by the user.
可选的,可以将所述多个仿真结果按照条件信息划分为多组,具体可以划分为多个Chunk(组块),每个Chunk包含一部分仿真结果,Chunk与数据文件一一对应,每一个Chunk中的仿真结果存储在对应的一个数据文件中。Optionally, the multiple simulation results can be divided into multiple groups according to the condition information. Specifically, they can be divided into multiple chunks (chunks). Each chunk contains a part of the simulation results, and each chunk corresponds to the data file. The simulation results in Chunk are stored in a corresponding data file.
通过Chunk可以实现将不同范围的仿真结果分别存储在不同的数据文件中,每个数据文件中存储所对应的范围内的条件信息的仿真结果。Through Chunk, the simulation results of different ranges can be stored in different data files, and each data file stores the simulation results of the condition information in the corresponding range.
例如,所述条件信息为仿真过程中的Cycles,将Cycles按照20000一组进行划分,每个Chunk包括20000个Cycles对应的仿真结果,假设本次仿真共运行了90000个Cycles,那么可以划分为五组,每一组Cycles对应的仿真结果存储在对应的数据文件中。表1为Cycles与数据文件的对应关系示例。For example, the condition information is Cycles in the simulation process. Cycles are divided into groups of 20,000. Each Chunk includes simulation results corresponding to 20,000 Cycles. Assuming that 90,000 Cycles are run in this simulation, it can be divided into five. Group, the simulation results corresponding to each group of Cycles are stored in the corresponding data file. Table 1 is an example of the correspondence between Cycles and data files.
表1Table 1
如表1所示,Cycles20000至39999的仿真结果存储在第二数据文件中。As shown in Table 1, the simulation results of Cycles 20000 to 39999 are stored in the second data file.
可选的,可以构建多个块(Block)对象,将每个Chunk的内容写到文件中,一个Chunk对应于一个数据文件,该数据文件可以是临时文件,每个数据文件均可以具有可读可写属性。Optionally, multiple Block objects can be constructed, and the content of each Chunk can be written to a file. One Chunk corresponds to a data file. The data file can be a temporary file, and each data file can have a readable Writable attributes.
通过多个块对象可以存储多个数据文件的属性信息,其中,所述多个块对象与所述多个数据文件一一对应,每个块对象存储对应的一个数据文件的属性信息,所述属性信息包括数据文件的存储路径和数据文件对应的条件信息的范围,还可以包括其他信息如Chunk的ID等信息。Multiple block objects can store attribute information of multiple data files, where the multiple block objects correspond to the multiple data files one-to-one, and each block object stores the attribute information of a corresponding data file. The attribute information includes the storage path of the data file and the range of the condition information corresponding to the data file, and may also include other information such as the ID of the Chunk.
进一步地,可以构建块管理(Block Manager)对象,该对象可以构造数据文件对应的范围和块对象的映射关系,以使得所述多个数据文件中的所述多个仿真结果依据所述映射关系而被部分读取。例如,块管理对象中可以存储有Cycles的数值范围与块对象的映射关系,从而根据用户输入的Cycles,可以快速查询到对应的块对象,进而获取对应的数据文件。Further, a Block Manager object can be constructed, which can construct a mapping relationship between a range corresponding to a data file and a block object, so that the multiple simulation results in the multiple data files are based on the mapping relationship It is partially read. For example, the block management object can store the mapping relationship between the value range of Cycles and the block object, so that according to the Cycles input by the user, the corresponding block object can be quickly queried, and then the corresponding data file can be obtained.
步骤302、获取用户输入的条件信息。Step 302: Obtain condition information input by the user.
在通过步骤301实现利用多个数据文件存储多个仿真结果后,用户可以对仿真结果进行查看。步骤302的具体实现原理和方法与实施例一中的步骤201类似,此处不再赘述。After storing multiple simulation results using multiple data files in
步骤303、通过所述块管理对象查询所述条件信息所在的范围对应的块对象。Step 303: Query the block object corresponding to the range where the condition information is located through the block management object.
步骤304、通过查询得到的块对象,确定对应的数据文件的存储路径。Step 304: Determine the storage path of the corresponding data file by querying the obtained block object.
步骤305、通过所确定的存储路径读取对应的数据文件。Step 305: Read the corresponding data file through the determined storage path.
通过步骤303至步骤305可以实现根据用户输入的条件信息所在的范围,读取对应的数据文件。Through
其中,块对象不仅能写Chunk到数据文件中,也能将数据文件中的数据读出。可选的,块对象可以使用内存映射IO的方式读写每个Chunk中的数据,加快文件的读写速度。Among them, the block object can not only write Chunk to the data file, but also read the data in the data file. Optionally, the block object can read and write the data in each Chunk by means of memory mapped IO to speed up the file read and write speed.
步骤306、输出所述用户输入的条件信息对应的仿真结果。Step 306: Output the simulation result corresponding to the condition information input by the user.
步骤306的具体实现原理和方法与实施例一中的步骤203类似,此处不再赘述。The specific implementation principle and method of
在实际应用中,可以对条件信息的范围预先设置固定的划分策略,一种可选策略是:Cycles每隔预设的范围划分一组,如每隔20000个Cycles划分一组;另一种可选的策略是:将仿真试验获取到的全部仿真结果划分为固定的组数,如固定划分为5组,若本次仿真试验得到50000个Cycles对应的仿真结果,则每隔10000个Cycles划分一组。In practical applications, a fixed division strategy can be preset for the range of condition information. An optional strategy is: Cycles are divided into a group every preset range, such as every 20,000 Cycles; the other can be divided into groups. The selected strategy is: divide all the simulation results obtained in the simulation test into a fixed number of groups, such as fixed division into 5 groups, if the simulation results corresponding to 50,000 Cycles are obtained in this simulation test, divide every 10,000 Cycles into one Group.
在一些可选的实现方式中,仿真结果也可以不按照条件信息顺序存储,例如,每个数据文件中存储20000个Cycles对应的仿真结果,第一个数据文件中可以存储第0-9999个Cycles的仿真结果和第30000-39999个Cycles的仿真结果。In some optional implementations, the simulation results may not be stored in the order of the condition information. For example, each data file stores the simulation results corresponding to 20,000 Cycles, and the first data file can store the 0-9999 cycles. And the simulation results of the 30000-39999 Cycles.
在获取到用户输入的条件信息后,可以根据条件信息所在的范围,确定块对象,进而根据块对象确定数据文件的存储路径,并通过内存映射IO的方式读取文件,将该范围内的条件信息对应的仿真结果保存在内存中,显示模块可以从内存获取仿真结果并显示给用户。After obtaining the condition information input by the user, the block object can be determined according to the range of the condition information, and then the storage path of the data file can be determined according to the block object, and the file can be read through memory-mapped IO, and the conditions within the range can be determined. The simulation result corresponding to the information is stored in the memory, and the display module can obtain the simulation result from the memory and display it to the user.
本实施例提供的信息处理方法,可以将所述多个仿真结果按照条件信息划分为多组,每一组仿真结果存储在对应的一个数据文件中,并通过多个块对象存储多个数据文件的属性信息,所述属性信息可以包括数据文件的存储路径和数据文件对应的条件信息的范围,通过块管理对象存储数据文件对应的范围与块对象的映射关系,使得所述多个数据文件中的所述多个仿真结果可以依据所述映射关系而被部分读取,能够快速实现仿真结果按不同的范围分文件存储,并保存通过条件信息查找到对应仿真结果的路径,保证仿真结果访问过程的顺利进行。The information processing method provided in this embodiment can divide the multiple simulation results into multiple groups according to condition information, each group of simulation results is stored in a corresponding data file, and multiple data files are stored through multiple block objects The attribute information may include the storage path of the data file and the range of the condition information corresponding to the data file. The mapping relationship between the range corresponding to the data file and the block object is stored by the block management object, so that the data files are The plurality of simulation results can be partially read according to the mapping relationship, which can quickly realize that the simulation results are stored in files according to different ranges, and the path to the corresponding simulation results is searched through the condition information to ensure the simulation result access process The progress went smoothly.
实施例三Example three
本发明实施例三提供一种信息处理方法。本实施例是在上述实施例提供的技术方案的基础上,在通过模拟器进行仿真试验得到仿真结果后,将仿真结果压缩后保存。The third embodiment of the present invention provides an information processing method. This embodiment is based on the technical solutions provided by the above-mentioned embodiments, and after the simulation results are obtained by the simulation test through the simulator, the simulation results are compressed and saved.
具体地,可以获取用户输入的仿真开始指令,根据所述仿真开始指令进行仿真试验,得到仿真结果。Specifically, the simulation start instruction input by the user can be acquired, and the simulation test can be performed according to the simulation start instruction to obtain the simulation result.
其中,所述仿真开始指令可以是能够启动仿真试验的指令,用户可以通过多种方式输入仿真开始指令,如通过模拟器界面的仿真按键等。Wherein, the simulation start instruction may be an instruction that can start a simulation test, and the user can input the simulation start instruction in a variety of ways, such as through a simulation button on the simulator interface.
可选的,可以根据所述仿真开始指令进行仿真试验,得到多个数据集,每个数据集包括一个条件信息及对应的仿真结果,所述仿真结果包括多个仿真项的值;将所述多个数据集进行压缩并存储。Optionally, a simulation test can be performed according to the simulation start instruction to obtain multiple data sets, each data set includes a condition information and a corresponding simulation result, and the simulation result includes the values of multiple simulation items; Multiple data sets are compressed and stored.
本实施例中,所述条件信息为Cycles,所述仿真项可以是仿真试验中任意的需要监控状态的项目。可选的,所述仿真项可以包括程序指针(Program Counter,PC)和系统的部件(Component)的工作状态信息。以DSP系统为例,所述部件可以包括但不限于:精简指令集计算机(Reduced Instruction Set Computing,Risc)、向量执行单元(Vector Execution Unit,VEU)、向量浮点处理单元(Vector Float Point Unit,VFPU)、存储器(Memory)等,这些部件都是DSP系统中的执行单元。In this embodiment, the condition information is Cycles, and the simulation item may be any item that needs to be monitored in a simulation test. Optionally, the simulation item may include program pointer (Program Counter, PC) and working status information of system components (Component). Taking a DSP system as an example, the components may include but are not limited to: Reduced Instruction Set Computing (Risc), Vector Execution Unit (VEU), Vector Float Point Unit, VFPU), memory (Memory), etc., these components are all execution units in the DSP system.
在仿真试验的过程中,条件信息的值以及各仿真项的值可能会不断发生变化,例如,每执行一条汇编指令,Cycles的值可以加1。通过记录仿真过程中条件信息的值和仿真项的值,可以了解仿真项随条件信息变化而变化的情况,例如在Cycles的值为0时,PC值为0,在Cycles为1时,PC也由0变为1,方便开发人员根据仿真过程中各仿真项的变化情况对程序作出优化。模拟器可以对仿真试验中的Cycles值、PC值、以及各个部件的状态信息进行统计。表2为模拟器得到的仿真结果示例。During the simulation test, the value of the condition information and the value of each simulation item may change continuously. For example, the value of Cycles can be increased by 1 each time an assembly instruction is executed. By recording the value of the condition information and the value of the simulation item in the simulation process, you can understand how the simulation item changes with the change of the condition information. For example, when the value of Cycles is 0, the value of PC is 0, and when the value of Cycles is 1, the PC is also Changing from 0 to 1, it is convenient for developers to optimize the program according to the changes of various simulation items during the simulation process. The simulator can count the Cycles value, PC value, and status information of each component in the simulation test. Table 2 is an example of simulation results obtained by the simulator.
表2Table 2
从表2可知在不同Cycles时的PC值和各个部件的工作状态。部件的工作状态可以包括读(Read)、写(Write)、处理(Process)、空闲(Idle), 分别用数字0、1、2、3表示。表2中的每一行数据可以作为一个数据集。将仿真得到的多个数据集进行压缩并存储。From Table 2 we can know the PC value and the working status of each component at different Cycles. The working status of a component can include Read, Write, Process, Idle, which are represented by numbers 0, 1, 2, and 3, respectively. Each row of data in Table 2 can be used as a data set. Compress and store multiple data sets obtained by simulation.
图4为本发明实施例三提供的一种信息处理方法中压缩数据的流程示意图。如图4所示,本实施例中,将仿真试验得到的多个数据集进行压缩并存储,可以包括:FIG. 4 is a schematic diagram of a process of compressing data in an information processing method according to Embodiment 3 of the present invention. As shown in Figure 4, in this embodiment, compressing and storing multiple data sets obtained from simulation experiments may include:
步骤401、在存储文件中写入属性信息。然后执行步骤402。Step 401: Write attribute information in the storage file. Then step 402 is executed.
其中,所述属性信息可以包括条件信息的名称、标识、长度信息,以及仿真结果中仿真项的名称、标识、长度信息。所述标识可以为编号或索引,通过标识可以快速确定对应的条件信息或仿真项。Wherein, the attribute information may include the name, identification, and length information of the condition information, and the name, identification, and length information of the simulation item in the simulation result. The identification can be a number or an index, and the corresponding condition information or simulation item can be quickly determined through the identification.
本实施例中,假设仿真项包括PC和VEU,并且Cycles、PC、VEU的标识分别为0、1、2。如果Cycles、PC、VEU的值的长度分别为4、4、2个字节,则可以在存储文件中写入如下的属性信息:Cycles、0、4、PC、1、4、VEU、2、2。在解压时通过属性信息可以获知标识0代表Cycles,Cycles的值长度为4字节等信息,通过这些信息解压存储文件中的数据可以还原条件信息的值及仿真项的值。In this embodiment, it is assumed that the simulation items include PC and VEU, and the identifiers of Cycles, PC, and VEU are 0, 1, and 2, respectively. If the values of Cycles, PC, and VEU are 4, 4, and 2 bytes in length respectively, the following attribute information can be written in the storage file: Cycles, 0, 4, PC, 1, 4, VEU, 2, 2. When decompressing, it can be learned from the attribute information that the identifier 0 represents Cycles, and the value of Cycles is 4 bytes in length. By decompressing the data in the storage file with this information, the value of the condition information and the value of the simulation item can be restored.
所述长度信息还可以用最大取值来表示,例如,Cycles的取值范围可以为0-4294967295,PC的取值范围可以为0-4294967295,VEU的取值范围可以为0-3,则三者的长度信息可以分别为4294967295、4294967295、3。The length information can also be represented by a maximum value. For example, the value range of Cycles can be 0-4294967295, the value range of PC can be 0-4294967295, and the value range of VEU can be 0-3. The length information of the persons can be 4294967295, 4294967295, 3 respectively.
在其它可选的实施方式中,还可以在属性信息中省略长度信息,例如可以默认条件信息与各个仿真项对应的长度信息均为4字节,则无需在存储文件中写入长度信息。In other optional implementation manners, the length information can also be omitted from the attribute information. For example, the length information corresponding to the condition information and each simulation item can be defaulted to be 4 bytes, and there is no need to write the length information in the storage file.
本实施例中的步骤401中的属性信息用于减少压缩后的文件大小,在其它可选的实施方式中,若不需要通过标识来表示条件信息或仿真项,或者,条件信息或仿真项的标识采用默认设置,则本步骤也可以省略。The attribute information in
步骤402、将第一个数据集中的条件信息及对应的仿真结果写入存储文件。然后执行步骤403。Step 402: Write the condition information and corresponding simulation results in the first data set into a storage file. Then step 403 is executed.
从步骤402开始,存储仿真试验得到的条件信息的值及仿真项的值。可选的,在通过标识表示条件信息或仿真项时,可以仅将每个数据集中的标识和对应的值写入存储文件,而无需将名称写入存储文件,能够有效减少写入文件的数据量,提高压缩率。Starting from
相应的,所述将第一个数据集中的条件信息及对应的仿真结果写入存储 文件,可以包括:在存储文件中写入第一个数据集中的条件信息的标识及值,以及写入各个仿真项的标识及值;Correspondingly, writing the condition information and corresponding simulation results in the first data set into a storage file may include: writing the identifier and value of the condition information in the first data set in the storage file, and writing each The identification and value of the simulation item;
如前所述,条件信息Cycles的标识为0,仿真项PC、VEU的标识分别为1、2,假设T0时刻,Cycles、PC、VEU的值分别为0、0、0,则可以在存储文件中写入:As mentioned above, the condition information Cycles is identified as 0, and the simulation items PC and VEU are identified as 1, 2 respectively. Assuming that at time T0, the values of Cycles, PC and VEU are 0, 0, and 0 respectively, you can store the file Write in:
00、10、20。00, 10, 20.
步骤403、读取下一个数据集,判断所述数据集中的各个仿真项的值相对于前一数据集中相应仿真项的值是否发生变化:若存在一个或多个仿真项的值发生变化,则执行步骤404,反之则执行步骤405。Step 403: Read the next data set, and determine whether the value of each simulation item in the data set has changed relative to the value of the corresponding simulation item in the previous data set: if there are changes in the value of one or more simulation items, then Step 404 is executed, otherwise,
步骤404、在存储文件中写入所述数据集的条件信息以及发生变化的仿真项的值。然后执行步骤406。Step 404: Write the condition information of the data set and the value of the changed simulation item in the storage file. Then step 406 is executed.
本实施例中,若存在一个或多个仿真项的值发生变化,则可以在存储文件中写入所述数据集的条件信息以及发生变化的仿真项的值。In this embodiment, if the value of one or more simulation items changes, the condition information of the data set and the value of the changed simulation item can be written in the storage file.
可选的,所述在存储文件中写入所述数据集的条件信息以及发生变化的仿真项的值,可以包括:在存储文件中写入所述数据集的条件信息的标识及值,以及写入所述发生变化的仿真项的标识及值。Optionally, writing the condition information of the data set and the value of the changed simulation item in the storage file may include: writing the identifier and value of the condition information of the data set in the storage file, and Write the identification and value of the changed simulation item.
假设T1时刻,Cycles、PC、VEU的值分别为1、1、0,说明相对于T1时刻,仅Cycles、PC的值发生的变化,VEU的值没有发生变化,则可以在存储文件中写入:Assuming that at time T1, the values of Cycles, PC, and VEU are 1, 1, and 0 respectively, it means that compared to time T1, only the values of Cycles and PC have changed, and the value of VEU has not changed, so you can write in the storage file :
01、11。01, 11.
VEU的值不写入存储文件,可以有效节省文件空间。The value of VEU is not written into the storage file, which can effectively save file space.
步骤405、在存储文件中写入所述数据集的条件信息。然后执行步骤406。Step 405: Write the condition information of the data set in the storage file. Then step 406 is executed.
本实施例中,若不存在一个或多个仿真项的值发生变化,则可以在存储文件中仅写入所述数据集的条件信息,具体的,可以写入所述条件信息的标识和值。In this embodiment, if there is no change in the value of one or more simulation items, only the condition information of the data set can be written in the storage file. Specifically, the identifier and value of the condition information can be written .
假设T1时刻,Cycles、PC、VEU的值分别为1、0、0,仿真项PC、VEU的值均与T0时刻相同,则可以在存储文件中写入条件信息cycles的标识0以及值1,即:Assuming that at time T1, the values of Cycles, PC, and VEU are 1, 0, and 0, respectively, and the values of simulation items PC and VEU are the same as those at time T0, then the identifier 0 and value 1 of the condition information cycles can be written in the storage file. which is:
01。01.
由于PC、VEU的值没有发生变化,因此可以在存储文件中省略T1时刻PC、VEU的值。Since the values of PC and VEU have not changed, the values of PC and VEU at time T1 can be omitted from the storage file.
在其他可选的实施方式中,若仿真项的值相对于上一条数据集均没有发生变化,则可以不用存储任何数据,Cycles的值也不用存储,以进一步节约存储资源。In other optional implementation manners, if the value of the simulation item does not change from the previous data set, there is no need to store any data, and the value of Cycles does not need to be stored, so as to further save storage resources.
步骤406、判断全部数据集是否读取完毕,若是则结束,若否,则重新执行步骤403。Step 406: Determine whether the reading of all data sets is completed, if yes, end, and if not, execute
本实施例中,信息的压缩可以分为两部分:第一部分为存储条件信息和仿真项的属性信息,该部分信息无需压缩直接以字符串的形式写入存储文件中。第二部分为数据集的压缩存储。In this embodiment, the information compression can be divided into two parts: the first part is storage condition information and the attribute information of the simulation item, and this part of information is directly written into the storage file in the form of a string without compression. The second part is the compressed storage of the data set.
在实际应用中,可以通过模拟器在仿真试验的同时,对仿真获得的仿真结果进行压缩存储,也可以在仿真试验结束后,对获取到的仿真结果进行压缩存储。在存储时,针对每一条数据集,可以判断该数据集的Cycles是否为0,若为0,则将数据集中的数据以二进制的方式写入存储文件,若Cycles不为0,判定当前仿真项的值是否与前一时刻的值相同,如果相同则仿真项的值可以不写入文件,如果不相同则将仿真项的值以二进制的方式写入文件,以此类推直至遍历完所有的仿真结果。In practical applications, the simulation results can be compressed and stored by the simulator while the simulation test is performed, or the simulation results obtained can be compressed and stored after the simulation test is over. During storage, for each data set, it can be judged whether the Cycles of the data set is 0. If it is 0, the data in the data set will be written into the storage file in binary mode. If Cycles is not 0, the current simulation item can be determined Whether the value of is the same as the value at the previous moment, if it is the same, the value of the simulation item may not be written to the file, if it is not the same, the value of the simulation item is written to the file in binary mode, and so on until all simulations are traversed result.
本实施例提供的压缩仿真结果的流程,通过判断所述数据集中的各个仿真项的值相对于前一数据集中相应仿真项的值是否发生变化,在存在一个或多个仿真项的值发生变化时,在存储文件中写入所述数据集的条件信息以及发生变化的仿真项的值,能够有效节约存储空间,减小存储文件的大小,节约计算机资源。The process of compressing simulation results provided in this embodiment is to determine whether the value of each simulation item in the data set has changed relative to the value of the corresponding simulation item in the previous data set, and the value of one or more simulation items changes when there are one or more simulation items. At the time, writing the condition information of the data set and the value of the changed simulation item in the storage file can effectively save storage space, reduce the size of the storage file, and save computer resources.
压缩后的数据可以存储在外存储器中,当用户使用IDE进行调试时,可以通过IDE对压缩后的数据进行解压,并将解压后的数据应用于显示。The compressed data can be stored in the external memory. When the user uses the IDE to debug, the compressed data can be decompressed through the IDE, and the decompressed data can be used for display.
具体的,IDE可以根据用户输入的查看指令,对存储有仿真结果的存储文件进行解压,以获取通过仿真试验得到的多个仿真结果,将所述多个仿真结果存储于外存储器中;其中,每个仿真结果包括多个仿真项的值。Specifically, the IDE may decompress the storage file storing the simulation results according to the viewing instruction input by the user to obtain multiple simulation results obtained through the simulation test, and store the multiple simulation results in the external memory; wherein, Each simulation result includes the values of multiple simulation items.
图5为本发明实施例三提供的一种信息处理方法中解压数据的流程示意图。如图5所示,本实施例中,对存储有仿真结果的存储文件进行解压,以获取通过仿真试验得到的多个仿真结果,可以包括:FIG. 5 is a schematic flowchart of data decompression in an information processing method according to Embodiment 3 of the present invention. As shown in FIG. 5, in this embodiment, decompressing the storage file storing the simulation results to obtain multiple simulation results obtained through the simulation test may include:
步骤501、获取所述存储文件中存储的属性信息。Step 501: Obtain the attribute information stored in the storage file.
其中,所述属性信息可以包括条件信息的名称和标识、以及仿真项的名 称和标识。Wherein, the attribute information may include the name and identification of the condition information, and the name and identification of the simulation item.
可选的,所述属性信息还可以包括所述条件信息的值的长度信息,以及仿真项的值的长度信息。Optionally, the attribute information may further include length information of the value of the condition information and length information of the value of the simulation item.
步骤502、从所述存储文件中读取标识。Step 502: Read the identifier from the storage file.
步骤503、判断读取的标识是否为数据集中的条件信息的标识:若为数据集中的条件信息的标识,则执行步骤504;若所述标识为数据集中的仿真项的标识,则执行步骤508。Step 503: Determine whether the read identifier is the identifier of the condition information in the data set: if it is the identifier of the condition information in the data set, perform
可选的,在从所述存储文件中读取标识后,可以通过所述属性信息,确定所述标识是否为条件信息的标识或仿真项的标识。Optionally, after the identifier is read from the storage file, the attribute information can be used to determine whether the identifier is an identifier of condition information or an identifier of an emulation item.
步骤504、读取下一数据作为所述条件信息的值。然后执行步骤505。Step 504: Read the next data as the value of the condition information. Then step 505 is executed.
可选的,在从所述存储文件中读取标识之后,还可以根据所述属性信息,确定条件信息或仿真项的值的长度信息,从而读取相应长度的数据作为条件信息或者仿真项的值。Optionally, after the identifier is read from the storage file, the condition information or the length information of the value of the simulation item can be determined according to the attribute information, so that data of the corresponding length is read as the condition information or the value of the simulation item. value.
步骤505、判断所述条件信息的值是否为零:若是,则执行步骤506,反之,则执行步骤507。Step 505: Determine whether the value of the condition information is zero: if yes, go to step 506, otherwise, go to step 507.
步骤506、将所述条件信息对应的仿真项的值设定为初始值。然后执行步骤509。Step 506: Set the value of the simulation item corresponding to the condition information as an initial value. Then step 509 is executed.
可选的,各仿真项的初始值可以均为0。Optionally, the initial value of each simulation item may be 0.
步骤507、将所述条件信息对应的仿真项的值设定为前一数据集中相应仿真项的值。然后执行步骤509。Step 507: Set the value of the simulation item corresponding to the condition information to the value of the corresponding simulation item in the previous data set. Then step 509 is executed.
步骤508、将所述数据集中的仿真项的值更新为下一数据的值。然后执行步骤509。Step 508: Update the value of the simulation item in the data set to the value of the next data. Then step 509 is executed.
步骤509、判断是否存储文件中的全部数据被读取完毕:若是则结束,若否,则重新执行步骤502。Step 509: Determine whether all the data in the storage file has been read: if yes, end, if not, execute
假设存储文件中存储了以下信息:00、10、20;01、11;02。则首先读取第一个数据集中的标识,标识0代表条件信息Cycles,读取下一个数据0,表示Cycles的值为0,此时可以将仿真项PC和VEU的值都设置为0,然后读取后面的10和20,将PC和VEU的值更新为0,由此可以还原第一个数据集为:00、10、20。Suppose the following information is stored in the storage file: 00, 10, 20; 01, 11; 02. Then first read the identifier in the first data set. The identifier 0 represents the condition information Cycles, and the next data 0 is read, indicating that the value of Cycles is 0. At this time, the values of the simulation items PC and VEU can be set to 0, and then Read the following 10 and 20, and update the values of PC and VEU to 0, so that the first data set can be restored to: 00, 10, 20.
读取第二个数据集中的标识,标识0代表条件信息Cycles,读取下一个数据1,表示Cycles的值为1,此时可以将仿真项PC和VEU的值都设置前一数据集 中的值,即将PC和VEU的值都设置为0,然后读取后面的11,第一个1表示标识为1,代表PC,第二个1说明PC的值为1,将PC的值更新为1,VEU的标识没有出现,代表其相对于前一数据集没有发生改变,由此可以还原第二个数据集为:01、11、20。Read the identifier in the second data set. The identifier 0 represents the condition information Cycles, and the next data 1 is read, which means the value of Cycles is 1. At this time, the values of the simulation items PC and VEU can be set to the values in the previous data set. , That is, set the values of PC and VEU to 0, and then read the following 11, the first 1 means that the identifier is 1, which represents PC, and the second 1 means that the value of PC is 1, and the value of PC is updated to 1, The VEU logo does not appear, which means that it has not changed from the previous data set, so the second data set can be restored as: 01, 11, 20.
读取第三个数据集中的标识,标识0代表条件信息Cycles,读取下一个数据2,表示Cycles的值为2,此时可以将仿真项PC和VEU的值都保持前一数据集中的值,即将PC的值设置为1,VEU的值设置为0,由此可以还原第三个数据集为:02、11、20。Read the identifier in the third data set. The identifier 0 represents the condition information Cycles, and the next data 2 is read, indicating that the value of Cycles is 2. At this time, the values of the simulation items PC and VEU can be kept as the values in the previous data set. , That is, set the value of PC to 1, and set the value of VEU to 0, so that the third data set can be restored: 02, 11, 20.
在实际应用中,对数据解压可以分为两部分,第一部分直接以字符串的方式读取Cycles、PC、部件状态信息对应的属性信息。第二部分按字节读取Cycles、PC、Component的数据集信息,先读取2字节获取标识,再根据标识读取2字节或4字节来获取值,然后根据读取的标识和值恢复模拟器仿真得到的仿真结果,直到将存储文件中的内容读完。In practical applications, data decompression can be divided into two parts. The first part directly reads the attribute information corresponding to Cycles, PC, and component status information in the form of character strings. The second part reads the data set information of Cycles, PC, Component by byte, first reads 2 bytes to obtain the identification, and then reads 2 or 4 bytes according to the identification to obtain the value, and then according to the read identification and The value restores the simulation result obtained by the simulator simulation until the content in the storage file is read.
本实施例提供的解压仿真结果的流程,通过从存储文件中读取标识,若所述标识为数据集中的条件信息的标识,则读取下一数据作为所述条件信息的值:若所述条件信息的值为零,则将所述条件信息对应的仿真项的值设定为初始值;若所述条件信息的值不为零,则将所述条件信息对应的仿真项的值设定为前一数据集中相应仿真项的值,若所述标识为数据集中的仿真项的标识,则将所述数据集中的仿真项的值更新为下一数据的值,可以快速、准确地还原仿真结果。In the process of decompressing simulation results provided in this embodiment, the identifier is read from the storage file. If the identifier is the identifier of the condition information in the data set, the next data is read as the value of the condition information: If the value of the condition information is zero, the value of the simulation item corresponding to the condition information is set to the initial value; if the value of the condition information is not zero, the value of the simulation item corresponding to the condition information is set Is the value of the corresponding simulation item in the previous data set, if the identifier is the identifier of the simulation item in the data set, the value of the simulation item in the data set is updated to the value of the next data, which can quickly and accurately restore the simulation result.
在图5所示的流程中,每次读取到条件信息的值后,判断条件信息的值是否为0,并以此做出不同的选择。在其它可选的实施方式中,也可以先读取第一个数据集,然后统一对其它数据集进行处理。In the process shown in FIG. 5, each time the value of the condition information is read, it is judged whether the value of the condition information is 0, and different choices are made accordingly. In other optional implementation manners, the first data set may also be read first, and then the other data sets are processed in a unified manner.
具体来说,可以先从所述存储文件中获取第一个数据集的条件信息及仿真项的值,然后读取剩余的数据集:从所述存储文件中获取剩余的每个数据集中的条件信息及仿真项的值,若所述存储文件中缺少所述数据集的一个或多个仿真项的值,则将所述一个或多个仿真项的值设定为前一数据集中相应仿真项的值。Specifically, you can first obtain the condition information of the first data set and the value of the simulation item from the storage file, and then read the remaining data sets: obtain the conditions of each remaining data set from the storage file Information and the value of the simulation item, if the value of one or more simulation items of the data set is missing in the storage file, the value of the one or more simulation items is set to the corresponding simulation item in the previous data set Value.
可选的,读取剩余的数据集可以具体包括:重复执行如下步骤,直至所述存储文件中的全部数据被读取完毕:从所述存储文件中读取标识;若所述标识为数据集中的条件信息的标识,则读取下一数据作为所述条件信息的值, 并将所述条件信息对应的仿真项的值设定为前一数据集中相应仿真项的值;若所述标识为数据集中的仿真项的标识,则将所述数据集中的仿真项的值更新为下一数据的值。Optionally, reading the remaining data set may specifically include: repeating the following steps until all the data in the storage file is read: reading the identifier from the storage file; if the identifier is a data set Then read the next data as the value of the condition information, and set the value of the simulation item corresponding to the condition information to the value of the corresponding simulation item in the previous data set; if the identifier is If the identification of the simulation item in the data set is used, the value of the simulation item in the data set is updated to the value of the next data.
这样,无需每次判断条件信息的值是否为零,有效节约了程序,提高了解压的效率。In this way, there is no need to judge whether the value of the condition information is zero every time, which effectively saves the program and improves the efficiency of decompression.
实施例四Example four
本发明实施例四提供一种信息处理方法。本实施例是在上述实施例提供的技术方案的基础上,通过图形化的显示方式来输出仿真结果。图6为本发明实施例四提供的一种信息处理方法的流程示意图。如图6所示,本实施例中的方法,可以包括:The fourth embodiment of the present invention provides an information processing method. In this embodiment, on the basis of the technical solution provided by the above embodiment, the simulation result is output through a graphical display mode. FIG. 6 is a schematic flowchart of an information processing method according to Embodiment 4 of the present invention. As shown in Figure 6, the method in this embodiment may include:
步骤601、获取用户输入的条件信息。Step 601: Obtain condition information input by the user.
步骤602、根据所述条件信息所在的范围,读取对应的数据文件,其中,所述数据文件包括所述范围内的条件信息对应的仿真结果。Step 602: Read a corresponding data file according to the range of the condition information, where the data file includes the simulation result corresponding to the condition information in the range.
本实施例中的步骤601至步骤602的具体实现原理和过程可以参照前述实施例,此处不再赘述。For the specific implementation principles and processes of
步骤603、根据所述数据文件,查找所述用户输入的条件信息对应的仿真结果。Step 603: According to the data file, search for a simulation result corresponding to the condition information input by the user.
步骤604、根据查找到的仿真结果中部件的状态信息,确定对应的图形,其中,不同的状态信息对应不同的图形。Step 604: Determine a corresponding graph according to the found state information of the component in the simulation result, where different state information corresponds to different graphs.
本实施例中,所述仿真结果可以为仿真DSP得到的结果,所述仿真结果中的仿真项可以包括指针信息以及DSP中部件的状态信息等。In this embodiment, the simulation result may be a result obtained by simulating a DSP, and the simulation item in the simulation result may include pointer information and status information of components in the DSP.
步骤605、显示所述条件信息、指针信息以及部件的状态信息对应的图形。Step 605: Display the graphics corresponding to the condition information, pointer information, and component status information.
通过步骤603至步骤605可以实现输出所述用户输入的条件信息对应的仿真结果。Through
可选的,可以在IDE中使用标准部件工具包(Standard Widget Toolkit,SWT)实现数据的图形化功能。使用SWT中提供的自定义画图功能,可以将各个部件的不同工作状态以不同的图形展示。Optionally, a Standard Widget Toolkit (SWT) can be used in the IDE to implement data graphical functions. Using the custom drawing function provided in SWT, the different working status of each component can be displayed in different graphics.
具体地,不同的图形可以是指图形的形状不同、尺寸不同或颜色不同等。工作状态与图形的关系可以根据实际需要来设置。例如,每个部件可以对应一个状态框,读状态用横纹填充,写状态用竖纹填充,处理状态用点填充, 空闲状态不填充。或者,读状态为绿色,写状态为红色,处理状态为蓝色,空闲状态为白色。Specifically, different graphics may refer to different shapes, different sizes, or different colors of the graphics. The relationship between working status and graphics can be set according to actual needs. For example, each component can correspond to a state box, the read state is filled with horizontal stripes, the write state is filled with vertical stripes, the processing state is filled with dots, and the idle state is not filled. Or, the read state is green, the write state is red, the processing state is blue, and the idle state is white.
图7为本发明实施例四提供的一种信息处理方法中仿真结果的显示示意图一。如图7所示,Cycles的值和PC值直接用数字来表示,部件的状态信息可以用图形来表示,图中的竖线表示用户想要查看的时刻,该时刻Cycles为301,Risc对应的图形为网格图形填充,说明Risc在该时刻处于处理状态(Process),VEU对应的图形无填充,说明处于空闲状态(Idle)。FIG. 7 is a first schematic diagram of displaying a simulation result in an information processing method according to Embodiment 4 of the present invention. As shown in Figure 7, the value of Cycles and the value of PC are directly represented by numbers, and the status information of the components can be represented by graphics. The vertical line in the figure represents the time when the user wants to view. The time Cycles is 301, and Risc corresponds to The graph is filled with grid graphs, indicating that Risc is in the processing state (Process) at this moment, and the graph corresponding to VEU is not filled, indicating that it is in the idle state (Idle).
进一步的,当用户还可以通过鼠标或键盘等对显示示意图进行缩放。图8为本发明实施例四提供的一种信息处理方法中仿真结果的显示示意图二。如图8所示,Cycles的值和PC值中的每一个数值对应的显示空间比图7对应的Cycles的值和PC值中的每一个数值对应的显示空间小。将图7和图8相比较可以发现每个时刻对应的数值的显示空间缩小后,图中可以显示的时间范围会增大。Cycles的值和PC值可以仅在最左侧显示,只显示用户当前想要查看的时刻的值。Further, the user can also zoom in and out of the displayed schematic diagram through a mouse or a keyboard. FIG. 8 is a second schematic diagram of displaying a simulation result in an information processing method according to the fourth embodiment of the present invention. As shown in FIG. 8, the display space corresponding to each of the Cycles value and the PC value is smaller than the display space corresponding to each of the Cycles value and the PC value corresponding to FIG. 7. Comparing Figure 7 and Figure 8, it can be found that after the display space of the value corresponding to each moment is reduced, the time range that can be displayed in the figure will increase. The Cycles value and PC value can only be displayed on the far left, and only the value at the moment the user wants to view is displayed.
图7和图8中均可以显示一段时间的仿真结果,从图7和图8中可以清楚地看出部件的工作状态在一段时间内的变化。Both Fig. 7 and Fig. 8 can show the simulation results for a period of time. From Fig. 7 and Fig. 8 it can be clearly seen that the working status of the component changes over a period of time.
在实际应用中,结合上述实施例,可以首先利用模拟器进行仿真试验,将得到的仿真结果压缩后存储,当使用IDE进行代码调试时,可以通过IDE解压仿真结果,并根据用户输入的条件信息访问仿真结果,仿真结果读取成功后,通过图形化的方式显示给用户,方便用户时时查看各部件的使用情况和性能,给用户提供优化代码的依据,帮助用户充分利用各个部件的状态信息优化代码,提高代码的并行度,减少代码的运行时间,从而写出更加高效的代码。In practical applications, in combination with the above embodiments, the simulator can be used to perform simulation tests first, and the simulation results obtained are compressed and stored. When using IDE for code debugging, the simulation results can be decompressed through the IDE and based on the condition information input by the user Access the simulation results. After the simulation results are successfully read, they are displayed to the user in a graphical manner, which is convenient for the user to check the usage and performance of each component from time to time, provide the user with a basis for optimizing the code, and help the user make full use of the status information optimization of each component Code, improve the parallelism of the code, reduce the running time of the code, and write more efficient code.
本实施例提供的信息处理方法,可以根据仿真项的状态信息,确定对应的图形并显示对应的图形,不同的状态信息对应不同的图形,能够将仿真结果以图形化的方式呈现给用户,方便用户进行查看和调试,提高开发效率和用户体验度。The information processing method provided in this embodiment can determine the corresponding graphics and display the corresponding graphics according to the status information of the simulation item. Different status information corresponds to different graphics, and the simulation results can be presented to the user in a graphical manner, which is convenient Users can view and debug to improve development efficiency and user experience.
本发明各实施例中,除了按照条件信息进行查询以外,还可以提供其他查询方式,例如通过仿真结果来进行查询。可选的,可以接受用户输入的仿真项的值,然后,依次将数据文件读取到内存中,在内存中查找该数据文件中是否有满足用户输入条件的仿真结果。In each embodiment of the present invention, in addition to querying based on condition information, other querying methods may also be provided, for example, querying based on simulation results. Optionally, the value of the simulation item input by the user can be accepted, and then the data file is sequentially read into the memory, and the data file is searched in the memory whether there is a simulation result that satisfies the user input condition.
例如,用户想要查询PC值等于3的仿真结果,则可以在输入界面输入PC值=3,然后,IDE可以将第一个数据文件读取到内存中,在内存中查找速度较快,能够迅速找出第一个数据文件中是否有满足PC值=3的仿真结果,第一个数据文件查询完毕后,在内存中删除第一个数据文件,并读取第二个数据文件,对内存中的第二个数据文件进行查询,以此类推,直到所有的数据文件查询完毕。For example, if the user wants to query the simulation result with a PC value equal to 3, he can enter the PC value=3 in the input interface. Then, the IDE can read the first data file into the memory, and the search speed in the memory is faster. Quickly find out whether there is a simulation result that satisfies the PC value = 3 in the first data file. After the first data file is inquired, delete the first data file in the memory and read the second data file. Query the second data file in, and so on, until all the data files are queried.
在显示结果时,可以一次性地将所有查询到的PC值=3的仿真结果显示给用户。或者,IDE的显示界面可以显示有确认按钮,用户输入查询条件后,点击确认按钮,IDE将查找到的第一仿真结果显示给用户,用户再点一下确认按钮,开始查找并显示下一个仿真结果。通过提供不同的查询方式,可以方便用户根据自身实际需要来进行查询,满足用户的个性化需求。When displaying the results, it is possible to display all the queried simulation results of PC value=3 to the user at one time. Or, the IDE's display interface can display a confirmation button. After the user enters the query conditions, click the confirmation button, the IDE will display the first simulation result found to the user, and the user clicks the confirmation button to start searching and display the next simulation result . By providing different query methods, it is convenient for users to query according to their actual needs and meet the individual needs of users.
实施例五Example five
图9为本发明实施例五提供的一种信息处理装置的结构示意图。所述信息处理装置可以执行上述图2所对应的信息处理方法。参考图9所示,本实施例提供的信息处理装置,可以包括:FIG. 9 is a schematic structural diagram of an information processing device according to Embodiment 5 of the present invention. The information processing device can execute the information processing method corresponding to FIG. 2 described above. As shown in FIG. 9, the information processing apparatus provided in this embodiment may include:
存储器11,用于存储计算机程序;The
处理器12,用于运行所述存储器中存储的计算机程序以实现:The
获取用户输入的条件信息;Obtain the condition information entered by the user;
根据所述条件信息所在的范围,读取对应的数据文件,其中,所述数据文件包括所述范围内的条件信息对应的仿真结果;Reading a corresponding data file according to the range in which the condition information is located, where the data file includes simulation results corresponding to the condition information in the range;
输出所述用户输入的条件信息对应的仿真结果。The simulation result corresponding to the condition information input by the user is output.
可选的,该信息处理装置的结构中还可以包括通信接口13,用于与其他设备或通信网络通信。Optionally, the structure of the information processing apparatus may further include a
在一个可选的实施方式中,所述条件信息为时间信息,所述范围为时间段;In an optional implementation manner, the condition information is time information, and the range is a time period;
或者,所述条件信息为频率信息,所述范围为频率段。Alternatively, the condition information is frequency information, and the range is a frequency range.
在一个可选的实施方式中,在根据所述条件信息所在的范围,读取对应的数据文件时,所述处理器12具体用于:In an optional implementation manner, when reading the corresponding data file according to the scope of the condition information, the
通过输入输出端口和内存的映射关系,自外存储器读取所述条件信息所在的范围对应的数据文件,并将所述数据文件保存在内存中;Read the data file corresponding to the range where the condition information is located from the external memory through the mapping relationship between the input and output ports and the memory, and save the data file in the memory;
其中所述数据文件包括的仿真结果为解压后的仿真结果。The simulation result included in the data file is the simulation result after decompression.
在一个可选的实施方式中,在输出所述用户输入的条件信息对应的仿真结果时,所述处理器12具体用于:In an optional implementation manner, when outputting the simulation result corresponding to the condition information input by the user, the
从内存获取用户输入的条件信息对应的仿真结果;Obtain the simulation result corresponding to the condition information input by the user from the memory;
将所述仿真结果发送给显示模块,以通过所述显示模块显示所述仿真结果。The simulation result is sent to the display module to display the simulation result through the display module.
在一个可选的实施方式中,在读取对应的数据文件之前,所述处理器12还用于:In an optional implementation manner, before reading the corresponding data file, the
获取通过仿真试验得到的多个仿真结果;Obtain multiple simulation results obtained through simulation tests;
通过至少两个数据文件存储所述多个仿真结果;Storing the multiple simulation results in at least two data files;
其中,所述多个仿真结果能够依据所述用户输入的条件信息而被部分读取。Wherein, the multiple simulation results can be partially read according to the condition information input by the user.
在一个可选的实施方式中,在通过至少两个数据文件存储所述多个仿真结果时,所述处理器12具体用于:In an optional implementation manner, when storing the multiple simulation results in at least two data files, the
将所述多个仿真结果按照条件信息划分为多组,其中,多组仿真结果与多个数据文件一一对应,每一组仿真结果存储在对应的一个数据文件中;Dividing the multiple simulation results into multiple groups according to the condition information, wherein the multiple groups of simulation results correspond to multiple data files one-to-one, and each group of simulation results is stored in a corresponding data file;
通过多个块对象存储多个数据文件的属性信息,其中,所述多个块对象与所述多个数据文件一一对应,每个块对象存储对应的一个数据文件的属性信息,所述属性信息包括数据文件的存储路径和数据文件对应的条件信息的范围;The attribute information of multiple data files is stored through multiple block objects, where the multiple block objects correspond to the multiple data files one-to-one, and each block object stores the attribute information of a corresponding data file. The information includes the storage path of the data file and the range of condition information corresponding to the data file;
通过块管理对象存储数据文件对应的范围与块对象的映射关系,以使得所述多个数据文件中的所述多个仿真结果依据所述映射关系而被部分读取。The block management object stores the mapping relationship between the range corresponding to the data file and the block object, so that the multiple simulation results in the multiple data files are partially read according to the mapping relationship.
在一个可选的实施方式中,在根据所述条件信息所在的范围,读取对应的数据文件时,所述处理器12具体用于:In an optional implementation manner, when reading the corresponding data file according to the scope of the condition information, the
通过所述块管理对象查询所述条件信息所在的范围对应的块对象;Query the block object corresponding to the range where the condition information is located through the block management object;
通过查询得到的块对象,确定对应的数据文件的存储路径;Determine the storage path of the corresponding data file by querying the block object;
通过所确定的存储路径读取对应的数据文件。Read the corresponding data file through the determined storage path.
在一个可选的实施方式中,所述处理器12还用于:In an optional implementation manner, the
获取用户输入的仿真开始指令,根据所述仿真开始指令进行仿真试验,得到仿真结果。Acquire the simulation start instruction input by the user, perform a simulation test according to the simulation start instruction, and obtain a simulation result.
在一个可选的实施方式中,在根据所述仿真开始指令进行仿真试验,得 到仿真结果时,所述处理器12具体用于:In an optional implementation manner, when a simulation test is performed according to the simulation start instruction and a simulation result is obtained, the
根据所述仿真开始指令进行仿真试验,得到多个数据集,每个数据集包括一个条件信息及对应的仿真结果,所述仿真结果包括多个仿真项的值;Performing a simulation test according to the simulation start instruction to obtain a plurality of data sets, each data set includes a condition information and a corresponding simulation result, the simulation result includes the value of a plurality of simulation items;
将所述多个数据集进行压缩并存储。The multiple data sets are compressed and stored.
在一个可选的实施方式中,在将所述多个数据集进行压缩并存储时,所述处理器12具体用于:In an optional implementation manner, when compressing and storing the multiple data sets, the
将第一个数据集中的条件信息及对应的仿真结果写入存储文件;Write the condition information and corresponding simulation results in the first data set into the storage file;
对剩余的每个数据集执行以下操作:判断所述数据集中的各个仿真项的值相对于前一数据集中相应仿真项的值是否发生变化,若存在一个或多个仿真项的值发生变化,则在存储文件中写入所述数据集的条件信息以及发生变化的仿真项的值。Perform the following operations on each remaining data set: Determine whether the value of each simulation item in the data set has changed relative to the value of the corresponding simulation item in the previous data set, if there are changes in the value of one or more simulation items, Then, the condition information of the data set and the value of the changed simulation item are written in the storage file.
在一个可选的实施方式中,所述处理器12还用于:In an optional implementation manner, the
若不存在一个或多个仿真项的值发生变化,则在存储文件中写入所述数据集的条件信息。If there is no change in the value of one or more simulation items, the condition information of the data set is written in the storage file.
在一个可选的实施方式中,在所述将第一个数据集中的条件信息及对应的仿真结果写入存储文件时,所述处理器12具体用于:在存储文件中写入第一个数据集中的条件信息的标识及值,以及写入各个仿真项的标识及值;In an optional implementation manner, when the condition information and corresponding simulation results in the first data set are written into the storage file, the
在所述在存储文件中写入所述数据集的条件信息以及发生变化的仿真项的值时,所述处理器12具体用于:在存储文件中写入所述数据集的条件信息的标识及值,以及写入所述发生变化的仿真项的标识及值。When the condition information of the data set and the value of the changed simulation item are written in the storage file, the
在一个可选的实施方式中,所述处理器12还用于:In an optional implementation manner, the
在存储文件中写入属性信息,其中,所述属性信息包括条件信息的名称和标识、以及仿真结果中仿真项的名称和标识。The attribute information is written in the storage file, where the attribute information includes the name and identification of the condition information, and the name and identification of the simulation item in the simulation result.
在一个可选的实施方式中,所述属性信息还包括所述条件信息的值的长度信息,以及仿真项的值的长度信息。In an optional implementation manner, the attribute information further includes length information of the value of the condition information and length information of the value of the simulation item.
在一个可选的实施方式中,所述处理器12还用于:In an optional implementation manner, the
根据用户输入的查看指令,对存储有仿真结果的存储文件进行解压,以获取通过仿真试验得到的多个仿真结果,以及将所述多个仿真结果存储于外存储器中;According to the viewing instruction input by the user, decompress the storage file storing the simulation results to obtain multiple simulation results obtained through the simulation test, and store the multiple simulation results in the external memory;
其中,每个仿真结果包括多个仿真项的值。Among them, each simulation result includes the value of multiple simulation items.
在一个可选的实施方式中,在对存储有仿真结果的存储文件进行解压, 以获取通过仿真试验得到的多个仿真结果时,所述处理器12具体用于:In an optional implementation manner, when the storage file storing the simulation results is decompressed to obtain multiple simulation results obtained through the simulation test, the
从所述存储文件中获取第一个数据集的条件信息及仿真项的值;Obtain the condition information of the first data set and the value of the simulation item from the storage file;
从所述存储文件中获取剩余的每个数据集中的条件信息及仿真项的值,若所述存储文件中缺少所述数据集的一个或多个仿真项的值,则将所述一个或多个仿真项的值设定为前一数据集中相应仿真项的值。The condition information and the value of the simulation item in each remaining data set are obtained from the storage file. If the value of one or more simulation items of the data set is missing in the storage file, the one or more The value of each simulation item is set to the value of the corresponding simulation item in the previous data set.
在一个可选的实施方式中,在从所述存储文件中获取剩余的每个数据集中的条件信息及仿真项的值,若所述存储文件中缺少所述数据集的一个或多个仿真项的值,则将所述一个或多个仿真项的值设定为前一数据集中相应仿真项的值时,所述处理器12具体用于:In an optional implementation manner, when the condition information and the value of the simulation item in each remaining data set are obtained from the storage file, if one or more simulation items of the data set are missing from the storage file When setting the value of the one or more simulation items to the value of the corresponding simulation item in the previous data set, the
重复执行如下步骤,直至所述存储文件中的全部数据被读取完毕:Repeat the following steps until all the data in the storage file has been read:
从所述存储文件中读取标识;Read the identifier from the storage file;
若所述标识为数据集中的条件信息的标识,则读取下一数据作为所述条件信息的值,并将所述条件信息对应的仿真项的值设定为前一数据集中相应仿真项的值;If the identifier is the identifier of the condition information in the data set, the next data is read as the value of the condition information, and the value of the simulation item corresponding to the condition information is set as the value of the corresponding simulation item in the previous data set value;
若所述标识为数据集中的仿真项的标识,则将所述数据集中的仿真项的值更新为下一数据的值。If the identifier is the identifier of the simulation item in the data set, the value of the simulation item in the data set is updated to the value of the next data.
在一个可选的实施方式中,在对存储有仿真结果的存储文件进行解压,以获取通过仿真试验得到的多个仿真结果时,所述处理器12具体用于:In an optional implementation manner, when the storage file storing the simulation results is decompressed to obtain multiple simulation results obtained through the simulation test, the
重复执行如下步骤,直至所述存储文件中的全部数据被读取完毕:Repeat the following steps until all the data in the storage file has been read:
从所述存储文件中读取标识;Read the identifier from the storage file;
若所述标识为数据集中的条件信息的标识,则读取下一数据作为所述条件信息的值:若所述条件信息的值为零,则将所述条件信息对应的仿真项的值设定为初始值;若所述条件信息的值不为零,则将所述条件信息对应的仿真项的值设定为前一数据集中相应仿真项的值;If the identifier is the identifier of the condition information in the data set, read the next data as the value of the condition information: if the value of the condition information is zero, set the value of the simulation item corresponding to the condition information Set as an initial value; if the value of the condition information is not zero, set the value of the simulation item corresponding to the condition information to the value of the corresponding simulation item in the previous data set;
若所述标识为数据集中的仿真项的标识,则将所述数据集中的仿真项的值更新为下一数据的值。If the identifier is the identifier of the simulation item in the data set, the value of the simulation item in the data set is updated to the value of the next data.
在一个可选的实施方式中,所述处理器12还用于:In an optional implementation manner, the
获取所述存储文件中存储的属性信息,其中,所述属性信息包括条件信息的名称和标识、以及仿真项的名称和标识;Acquiring the attribute information stored in the storage file, where the attribute information includes the name and identification of the condition information, and the name and identification of the simulation item;
在从所述存储文件中读取标识后,所述处理器12还用于:通过所述属性信息,确定所述标识是否为条件信息的标识或仿真项的标识。After reading the identifier from the storage file, the
在一个可选的实施方式中,所述属性信息还包括所述条件信息的值的长度信息,以及仿真项的值的长度信息;In an optional implementation manner, the attribute information further includes length information of the value of the condition information, and length information of the value of the simulation item;
在从所述存储文件中读取标识之后,所述处理器12还用于:根据所述属性信息,确定条件信息或仿真项的值的长度信息。After reading the identifier from the storage file, the
在一个可选的实施方式中,所述仿真结果为仿真数字信号处理器得到的结果;In an optional implementation manner, the simulation result is a result obtained by simulating a digital signal processor;
所述仿真结果中的仿真项包括指针信息以及数字信号处理器中部件的状态信息。The simulation items in the simulation result include pointer information and status information of components in the digital signal processor.
在一个可选的实施方式中,在所述输出所述用户输入的条件信息对应的仿真结果时,所述处理器12具体用于:In an optional implementation manner, when the simulation result corresponding to the condition information input by the user is output, the
根据所述数据文件,查找所述用户输入的条件信息对应的仿真结果;According to the data file, search for a simulation result corresponding to the condition information input by the user;
根据查找到的仿真结果中部件的状态信息,确定对应的图形,其中,不同的状态信息对应不同的图形;According to the found state information of the component in the simulation result, determine the corresponding graph, where different state information corresponds to different graphs;
显示所述条件信息、指针信息以及部件的状态信息对应的图形。The graphics corresponding to the condition information, pointer information, and component status information are displayed.
图9所示信息处理装置可以执行图1-图8所示实施例的方法,本实施例未详细描述的部分,可参考对图1-图8所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1-图8所示实施例中的描述,在此不再赘述。The information processing device shown in Fig. 9 can execute the methods of the embodiments shown in Figs. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 8, which will not be repeated here.
另外,本发明实施例提供了一种存储介质,该存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图1-图8所示实施例中的信息处理方法。In addition, an embodiment of the present invention provides a storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the embodiments shown in FIGS. 1 to 8 above. Information processing methods in.
以上各个实施例中的技术方案、技术特征在与本相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本发明保护范围内的等同实施例。The technical solutions and technical features in each of the above embodiments can be singly or combined in case of conflict with the present invention, as long as they do not exceed the cognitive scope of those skilled in the art, they all belong to equivalent embodiments within the protection scope of the present invention. .
在本发明所提供的几个实施例中,应该理解到,所揭露的相关遥控装置和方法,可以通过其它的方式实现。例如,以上所描述的遥控装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,遥控装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed related remote control device and method can be implemented in other ways. For example, the embodiments of the remote control device described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, remote control devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁盘或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. , Including several instructions to make a computer processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of the present invention.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. Scope.
Claims (45)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2020/076847 WO2021168710A1 (en) | 2020-02-26 | 2020-02-26 | Information processing method, information processing apparatus and storage medium |
| CN202080004540.0A CN112585572A (en) | 2020-02-26 | 2020-02-26 | Information processing method, information processing apparatus, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2020/076847 WO2021168710A1 (en) | 2020-02-26 | 2020-02-26 | Information processing method, information processing apparatus and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021168710A1 true WO2021168710A1 (en) | 2021-09-02 |
Family
ID=75145520
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/076847 Ceased WO2021168710A1 (en) | 2020-02-26 | 2020-02-26 | Information processing method, information processing apparatus and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112585572A (en) |
| WO (1) | WO2021168710A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115712567A (en) * | 2022-11-17 | 2023-02-24 | 深圳市德明利技术股份有限公司 | Running state query method and device and electronic equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102073743A (en) * | 2011-02-01 | 2011-05-25 | 苏州同元软控信息技术有限公司 | Large-capacity simulation result file storage and access method |
| CN102855278A (en) * | 2012-07-23 | 2013-01-02 | 电信科学技术研究院 | Simulation method and system |
| US20140143745A1 (en) * | 2012-11-19 | 2014-05-22 | International Business Machines Corporation | Techniques for segmenting of hardware trace and verification of individual trace segments |
| CN104461696A (en) * | 2014-12-23 | 2015-03-25 | 浪潮(北京)电子信息产业有限公司 | Simulation result preservation method |
| CN105183624A (en) * | 2015-08-28 | 2015-12-23 | 北京理工大学 | Data matching based simulation playback method |
| CN106843759A (en) * | 2017-01-17 | 2017-06-13 | 苏州同元软控信息技术有限公司 | A kind of rapid read-write method based on dynamical system result data |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109951494B (en) * | 2019-03-29 | 2021-07-30 | 北京润科通用技术有限公司 | Simulation data processing method and device, simulation equipment and storage medium |
-
2020
- 2020-02-26 WO PCT/CN2020/076847 patent/WO2021168710A1/en not_active Ceased
- 2020-02-26 CN CN202080004540.0A patent/CN112585572A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102073743A (en) * | 2011-02-01 | 2011-05-25 | 苏州同元软控信息技术有限公司 | Large-capacity simulation result file storage and access method |
| CN102855278A (en) * | 2012-07-23 | 2013-01-02 | 电信科学技术研究院 | Simulation method and system |
| US20140143745A1 (en) * | 2012-11-19 | 2014-05-22 | International Business Machines Corporation | Techniques for segmenting of hardware trace and verification of individual trace segments |
| CN104461696A (en) * | 2014-12-23 | 2015-03-25 | 浪潮(北京)电子信息产业有限公司 | Simulation result preservation method |
| CN105183624A (en) * | 2015-08-28 | 2015-12-23 | 北京理工大学 | Data matching based simulation playback method |
| CN106843759A (en) * | 2017-01-17 | 2017-06-13 | 苏州同元软控信息技术有限公司 | A kind of rapid read-write method based on dynamical system result data |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115712567A (en) * | 2022-11-17 | 2023-02-24 | 深圳市德明利技术股份有限公司 | Running state query method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112585572A (en) | 2021-03-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10534773B2 (en) | Intelligent query parameterization of database workloads | |
| CN107239392B (en) | Test method, test device, test terminal and storage medium | |
| US9639453B2 (en) | Method and system for determining functional tests to execute based on code coverage | |
| CN111177113B (en) | Data migration method, device, computer equipment and storage medium | |
| CN112035159B (en) | Configuration method, device, equipment and storage medium of audit model | |
| CN111389014A (en) | Game resource data monitoring method, device, computer equipment and storage medium | |
| CN107133329A (en) | Data processing method, data processing equipment and storage medium | |
| WO2022089652A1 (en) | Method and system for processing data tables and automatically training machine learning model | |
| US20170228423A1 (en) | Declarative partitioning for data collection queries | |
| CN103176894B (en) | A kind of test data automatic derivatization method and apparatus of data base-oriented | |
| CN114968817A (en) | Method, device, equipment and storage medium for evaluating code change influence range | |
| CN111078276B (en) | Application redundant resource processing method, device, equipment and storage medium | |
| CN111090397B (en) | A data deduplication method, system, device and computer-readable storage medium | |
| WO2021168710A1 (en) | Information processing method, information processing apparatus and storage medium | |
| CN116244387A (en) | Entity relationship construction method, device, electronic equipment and storage medium | |
| US10732946B2 (en) | Simulation-based code duplication | |
| CN110389714A (en) | Method, apparatus and computer storage medium for data input and output | |
| CN109344083B (en) | A program debugging method, apparatus, device and readable storage medium | |
| WO2024250877A1 (en) | Data card application building method and system, electronic device, and storage medium | |
| CN117155779A (en) | Binding method, storage medium, monitoring terminal and Internet of things system | |
| CN116701143A (en) | Performance analysis method, device, system, computing equipment and storage medium | |
| CN116093454A (en) | Battery parameter table loading method, device, computer equipment and storage medium | |
| CN115292178A (en) | Test data searching method, device, storage medium and terminal | |
| CN108958654B (en) | Management method and related device of storage system | |
| CN108875008A (en) | A kind of Large Volume Data analysis method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20921273 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20921273 Country of ref document: EP Kind code of ref document: A1 |