Data processing apparatus, method, electronic device, and storage medium

By optimizing data storage methods in electromagnetic field simulations, and by using graphics processing units to merge memory access requests and arrange data according to the number of sensing data directions, the problems of large computational load and high parallelism in electromagnetic wave time-domain differential calculations are solved, thereby improving simulation efficiency and processor performance.

CN116301648BActive Publication Date: 2026-02-10KUNLUNXIN TECHNOLOGY (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310310366.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2026-02-10
Estimated Expiration
2043-03-24

AI Technical Summary

Technical Problem

In electromagnetic field simulation, existing technologies for electromagnetic wave time-domain difference calculations involve large computational loads and high parallelism, resulting in long memory access requests, addressing, and data transmission times, which affects simulation efficiency.

Method used

The graphics processing unit merges memory access requests and determines the order of data to be processed based on the number of directions of the sensed data, then writes them sequentially to consecutive addresses in the memory unit, thus optimizing data storage.

Benefits of technology

It improves the processor's memory access efficiency, reduces memory access latency, and enhances the parallel processing capability and simulation efficiency of the data processing device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116301648B_ABST
    Figure CN116301648B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data processing apparatus, relates to the technical field of computers, in particular to the technical field of integrated circuits, and can be applied to the scene of electromagnetic field data processing. The apparatus comprises a storage unit and a processor configured to: acquire a plurality of to-be-processed data, wherein the plurality of to-be-processed data represent sensing data along a first direction, a second direction and a third direction respectively; determine an arrangement order of the plurality of to-be-processed data according to the number of the sensing data along the first direction, the second direction and the third direction; and write the plurality of to-be-processed data into a plurality of continuous addresses of the storage unit in sequence according to the arrangement order. The present disclosure also provides a data processing method, an electronic device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to the field of integrated circuit technology, and can be applied to electromagnetic field data processing scenarios. More specifically, this disclosure provides a data processing apparatus, method, device, electronic device, and storage medium. Background Technology

[0002] With the development of computer technology, electromagnetic field simulation can be performed using electromagnetic wave time-domain difference technology. Electromagnetic wave time-domain difference technology involves large computational loads and high parallelism, which can be accelerated using graphics processing units (GPUs). Summary of the Invention

[0003] This disclosure provides a data processing apparatus, method, device, and storage medium.

[0004] According to one aspect of this disclosure, a data processing apparatus is provided, the apparatus comprising: a storage unit; and a processor configured to: acquire a plurality of data to be processed, wherein the plurality of data to be processed represents sensing data along a first direction, a second direction, and a third direction, respectively; determine an arrangement order of the plurality of data to be processed based on the number of sensing data in the first direction, the second direction, and the third direction; and sequentially write the plurality of data to be processed into a plurality of consecutive addresses in the storage unit according to the arrangement order.

[0005] According to another aspect of this disclosure, a data processing method is provided, the method comprising: acquiring a plurality of data to be processed, wherein the plurality of data to be processed represents sensing data along a first direction, a second direction and a third direction respectively; determining an arrangement order of the plurality of data to be processed based on the number of sensing data in the first direction, the second direction and the third direction; and sequentially writing the plurality of data to be processed into a plurality of consecutive addresses in a storage unit according to the arrangement order.

[0006] According to another aspect of this disclosure, an electronic device is provided, including the data processing apparatus provided in this disclosure.

[0007] According to another aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a method provided according to this disclosure.

[0008] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing a computer to perform the methods provided according to this disclosure.

[0009] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method provided according to this disclosure.

[0010] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0011] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0012] Figure 1A This is a schematic diagram of high-dimensional vector data according to an embodiment of the present disclosure;

[0013] Figure 1B This is a schematic diagram of high-dimensional vector data according to an embodiment of the present disclosure;

[0014] Figure 2 This is a schematic block diagram of a data processing apparatus according to an embodiment of the present disclosure;

[0015] Figure 3A This is a schematic diagram of multiple data to be processed according to an embodiment of the present disclosure;

[0016] Figure 3B This is a schematic diagram of multiple data to be processed corresponding to a first arrangement order according to an embodiment of the present disclosure;

[0017] Figure 3C This is a schematic diagram of multiple data to be processed corresponding to a second arrangement order according to an embodiment of the present disclosure;

[0018] Figure 3D This is a schematic diagram of multiple data to be processed corresponding to a third arrangement order according to an embodiment of the present disclosure;

[0019] Figure 4 This is a flowchart of a data processing method according to an embodiment of the present disclosure;

[0020] Figure 5 This is a schematic block diagram of an electronic device according to an embodiment of the present disclosure; and

[0021] Figure 6 This is a block diagram of an electronic device to which a data processing method can be applied, according to an embodiment of the present disclosure. Detailed Implementation

[0022] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0023] It can simulate or model the propagation and arrangement of electromagnetic fields in three-dimensional materials, obtaining three-dimensional electromagnetic field data. Using the finite-difference time-domain technique for electromagnetic waves, an approximate solution to Maxwell's equations can be obtained. The iterative formula for the magnetic field is as follows:

[0024]

[0025]

[0026]

[0027] It can be the first magnetic field data at time (i, j, k) at time n+0.5. It can be the second magnetic field data at time (i, j, k) at time n+0.5. It can be the third magnetic field data at time (i, j, k) at time n+0.5. It can be the first magnetic field data at time (i, j, k) at time n-0.5. It can be the second magnetic field data at time (i, j, k) at time n-0.5. It can be the third magnetic field data at time (i, j, k) at time n-0.5.

[0028] It can be the second electric field data at time n (i, j, k+1). It can be the second electric field data at time n (i, j, k). It can be the third electric field data at time n (i, j+1, k). It can be the third electric field data at time n (i, j, k). It can be the first electric field data at time n (i+1,j,k). It can be the first electric field data at time n (i, j, k).

[0029] As shown in Formulas 1 through 3, the calculations of the first, second, and third magnetic field data are independent and can be performed in parallel. During parallel computing, the time required for processing memory access requests, addressing, reading data, and transferring data is greater than the time required for data processing itself. Therefore, the graphics processing unit can merge memory access requests to reduce memory access latency. When merging memory access requests, the data in memory needs to be contiguous.

[0030] The graphics processing unit (GPU) may include multiple processor cores, local memory units, and global memory units. Processor cores can connect to the global memory units via Direct Memory Access (DMA). Electromagnetic field data used for simulation can be stored in the global memory units, resulting in data read speed having a greater impact on simulation efficiency.

[0031] High-dimensional vectors can be stored in memory (e.g., global storage) as one-dimensional data. The following will combine... Figure 1A and Figure 1B Please provide an explanation.

[0032] Figure 1A This is a schematic diagram of high-dimensional vector data according to an embodiment of the present disclosure.

[0033] like Figure 1A As shown, data D100 can be two-dimensional data. Data D100 may include, for example, four rows of data. Data D100 can be rearranged according to the row direction to obtain the first data Dr100. Dr100 can be stored in a global storage unit.

[0034] Figure 1B This is a schematic diagram of high-dimensional vector data according to an embodiment of the present disclosure.

[0035] like Figure 1B As shown, data D100 can be two-dimensional data. Data D100 may include, for example, four columns of data. Data D100 can be rearranged according to the column direction to obtain a second data Dc100. Dc100 can be stored in a global storage unit.

[0036] It is understood that the above description of this disclosure uses high-dimensional vector data as two-dimensional data. The electromagnetic field data in this disclosure can be three-dimensional data, which will be further explained below.

[0037] For example, electric field data E(i, j, k) or magnetic field data at (i, j, k) can be stored in global memory along the direction of dimension k. Thus, data of dimension k is contiguous in global memory. In this case, for each electromagnetic field data point, if the component of dimension k is small, memory access efficiency will be low. For example, if k is 20 bits, 20 bits of data of dimension k can be read. However, if the processor core can read a total of 64 bits of data, then each read will waste 44 bits of data transmission capacity. The direction of dimension k can be the thickness direction of a three-dimensional material. It can be understood that the components of dimension k are merely examples.

[0038] Figure 2 This is a schematic block diagram of a data processing apparatus according to an embodiment of the present disclosure.

[0039] like Figure 2 As shown, the device 200 may include a storage unit 210 and a processor 220.

[0040] Storage unit 210 may include the global storage unit described above.

[0041] The processor 220 can be configured to acquire a plurality of data to be processed. In embodiments of this disclosure, the plurality of data to be processed represents sensing data along a first direction, a second direction, and a third direction. For example, the first direction can be a direction of dimension k. The second direction can be a direction of dimension j. The third direction can be a direction of dimension i.

[0042] The processor 220 can also be configured to determine the order of multiple data to be processed based on the number of sensing data in the first direction, the second direction, and the third direction. For example, if the second number of sensing data in the second direction is greater than the third number of sensing data in the third direction, and the third number of sensing data in the third direction is greater than or equal to the first number of sensing data in the first direction, the determined order can indicate that the data to be processed at multiple locations are processed sequentially in the order of the second direction, the third direction, and the first direction.

[0043] The processor 220 can also be configured to sequentially write multiple data to be processed to consecutive addresses in the storage unit according to their arrangement order. In this embodiment of the present disclosure, the data to be processed can be written to multiple consecutive addresses in the storage unit along the second direction. For example, taking the number of sensing data in the second direction as 4, the number of sensing data in the third direction as 2, and the number of sensing data in the first direction as 2, the 4 data to be processed in the second direction can be considered as one object to be written. Next, one or more write operations can be performed to write the 4 objects to be written (a total of 16 data to be processed) to the storage unit.

[0044] By writing multiple data to be processed sequentially to multiple consecutive addresses in a storage unit according to the arrangement order through the embodiments of this disclosure, the memory access efficiency of the processor when performing subsequent operations can be improved, which helps to improve the performance of the processor.

[0045] It is understood that the data processing apparatus of this disclosure has been described above, and the data to be processed in this disclosure will be described below in conjunction with relevant embodiments.

[0046] In this embodiment of the disclosure, multiple data to be processed characterize electromagnetic field data at multiple locations within a detection object. The detection object can be a three-dimensional cube. Therefore, the data to be processed can be three-dimensional data. The data to be processed may include first electric field data, second electric field data, and third electric field data.

[0047] It is understood that the data to be processed in this disclosure has been described above, and the processor of this disclosure will be further described below in conjunction with relevant embodiments.

[0048] In some embodiments, the processor may further be configured to: determine a first arrangement order of the plurality of data to be processed as a first arrangement order in response to determining that a first number of sensing data in a first direction is greater than or equal to a second number of sensing data in a second direction, and the second number is greater than or equal to a third number of sensing data in a third direction. For example, when the first number is the largest, the arrangement order may be determined as the first arrangement order.

[0049] In this embodiment of the disclosure, the first arrangement order can indicate that data to be processed at multiple locations are processed sequentially in the order of a first direction, a second direction, and a third direction. For example, a first coordinate system can be established according to the first arrangement order. For the position (x, y, z) in the first coordinate system, x can represent the coordinate of the target position within the detection object in the third direction, y can represent the coordinate of the target position within the detection object in the second direction, and z can represent the coordinate of the target position within the detection object in the first direction.

[0050] In this embodiment of the present disclosure, the processor may further be configured to read first electric field data, second electric field data, and third electric field data from the storage unit at positions (x, y, z), (x+1, y, z), (x, y+1, z), and (x, y, z+1), respectively. For example, the first electric field data E1[x][y][z], the second electric field data E2[x][y][z], and the third electric field data E3[x][y][z] at position (x, y, z) may be read. The first electric field data E1[x+1][y][z], the second electric field data E2[x+1][y][z], and the third electric field data E3[x+1][y][z] at position (x+1, y, z) may be read. The first electric field data E1[x][y+1][z], the second electric field data E2[x][y+1][z], and the third electric field data E3[x][y+1][z] at position (x, y+1, z) may be read. It can read the first electric field data E1[x][y][z+1], the second electric field data E2[x][y][z+1], and the third electric field data E3[x][y][z+1] at position (x, y, z+1).

[0051] In this embodiment of the disclosure, the processor may further be configured to: determine the first magnetic field data at (x, y, z) based on the second electric field data at (x, y, z+1), the second electric field data at (x, y, z), the third electric field data at (x, y+1, z), and the third electric field data at (x, y, z). For example, the first magnetic field data H1[x][y][z] at (x, y, z) can be determined by the following formula:

[0052] H1[x][y][z]+=E2[x][y][z+1]-E2[x][y][z]-(E3[x][y+1][z]-E3[x][y][z]) (Formula 4)

[0053] += can represent iterative operations.

[0054] In this embodiment of the disclosure, the processor may further be configured to: determine the second magnetic field data at (x, y, z) based on the first electric field data at (x+1, y, z), the third electric field data at (x, y+1, z), and the third electric field data at (x, y, z). For example, the second magnetic field data H2[x][y][z] at (x, y, z) can be determined by the following formula:

[0055] H2[x][y][z]+=E3[x][y+1][z]-E3[x][y][z]-(E1[x+1][y][z]-E1[x][y][z]) (Formula 5)

[0056] In this embodiment of the disclosure, the processor may further be configured to: determine the third magnetic field data at (x, y, z) based on the first electric field data at (x+1, y, z), the second electric field data at (x, y, z+1), and the second electric field data at (x, y, z). For example, the third magnetic field data H3[x][y][z] at (x, y, z) can be determined by the following formula:

[0057] H3[x][y][z]+=E1[x+1][y][z]-E1[x][y][z]-(E2[x][y][z+1]-E2[x][y][z]) (Formula 6)

[0058] As can be understood, as mentioned above, the first direction can be the direction of dimension k. The second direction can be the direction of dimension j. The third direction can be the direction of dimension i. When x represents the coordinates of the target position within the detected object in the third direction, y represents the coordinates of the target position within the detected object in the second direction, and z represents the coordinates of the target position within the detected object in the first direction, Formula 4 is another representation of Formula 1, Formula 5 is another representation of Formula 2, and Formula 6 is another representation of Formula 3.

[0059] It is understood that the processor of this disclosure has been described above using the example of a first number being greater than or equal to a second number and a second number being greater than or equal to a third number. However, this disclosure is not limited thereto, and the processor of this disclosure will be further described below using the example of a second number being greater than or equal to a third number and a third number being greater than or equal to a first number.

[0060] In some embodiments, the processor may further be configured to: determine a second arrangement order of the plurality of data to be processed as a second arrangement order in response to determining that a second number of sensing data in a second direction is greater than or equal to a third number of sensing data in a third direction, and that the third number is greater than or equal to a first number of sensing data in a first direction. For example, when the second number is the largest, the arrangement order may be determined as the second arrangement order.

[0061] In this embodiment of the disclosure, the second arrangement order is used to indicate that data to be processed at multiple locations are processed sequentially in the order of second direction, third direction, and first direction. For example, a second coordinate system can be established according to the second arrangement order. For the position (x, y, z) in the second coordinate system, x can represent the coordinate of the target position within the detection object in the first direction, y can represent the coordinate of the target position within the detection object in the third direction, and z can represent the coordinate of the target position within the detection object in the second direction.

[0062] In this embodiment of the present disclosure, the processor may further be configured to read first electric field data, second electric field data, and third electric field data from the storage unit at positions (x, y, z), (x+1, y, z), (x, y+1, z), and (x, y, z+1), respectively. For example, the first electric field data E1[x][y][z], the second electric field data E2[x][y][z], and the third electric field data E3[x][y][z] at position (x, y, z) may be read. The first electric field data E1[x+1][y][z], the second electric field data E2[x+1][y][z], and the third electric field data E3[x+1][y][z] at position (x+1, y, z) may be read. The first electric field data E1[x][y+1][z], the second electric field data E2[x][y+1][z], and the third electric field data E3[x][y+1][z] at position (x, y+1, z) may be read. It can read the first electric field data E1[x][y][z+1], the second electric field data E2[x][y][z+1], and the third electric field data E3[x][y][z+1] at position (x, y, z+1).

[0063] In this embodiment of the disclosure, the processor may further be configured to: determine the first magnetic field data at (x, y, z) based on the second electric field data at (x+1, y, z), the second electric field data at (x, y, z), the third electric field data at (x, y, z+1), and the third electric field data at (x, y, z). For example, the first magnetic field data H1[x][y][z] at (x, y, z) can be determined by the following formula:

[0064] H1[x][y][z]+=E2[x+1][y][z]-E2[x][y][z]-(E3[x][y][z+1]-E3[x][y][z]) (Formula 7)

[0065] In this embodiment of the disclosure, the processor may further be configured to: determine the second magnetic field data at (x, y, z) based on the first electric field data at (x, y+1, z), the third electric field data at (x, y, z+1), and the third electric field data at (x, y, z). For example, the second magnetic field data H2[x][y][z] at (x, y, z) can be determined by the following formula:

[0066] H2[x][y][z]+=E3[x][y][z+1]-E3[x][y][z]-(E1[x][y+1][z]-E1[x][y][z]) (Formula 8)

[0067] In this embodiment of the disclosure, the processor may further be configured to: determine the third magnetic field data at (x, y, z) based on the first electric field data at (x, y+1, z), the second electric field data at (x+1, y, z), and the second electric field data at (x, y, z). For example, the third magnetic field data H3[x][y][z] at (x, y, z) can be determined by the following formula:

[0068] H3[x][y][z]+=E1[x][y+1][z]-E1[x][y][z]-(E2[x+1][y][z]-E2[x][y][z]) (Formula 9)

[0069] It is understood that the processor of this disclosure has been described above using the example of a second number being greater than or equal to a third number and a third number being greater than or equal to a first number. However, this disclosure is not limited thereto, and the processor of this disclosure will be further described below using the example of a third number being greater than or equal to a first number and a first number being greater than or equal to a second number.

[0070] In some embodiments, the processor may further be configured to: determine a third arrangement order of the plurality of data to be processed as a third arrangement order in response to determining that a third number of sensing data in a third direction is greater than a first number of sensing data in a first direction, and the first number is greater than a second number of sensing data in a second direction. For example, in the case where the third number is the largest, the arrangement order may be determined as a third arrangement order.

[0071] In this embodiment of the disclosure, the third arrangement order is used to indicate that data to be processed at multiple locations are processed sequentially in the order of third direction, first direction, and second direction. For example, a third coordinate system can be established according to the third arrangement order. For the position (x, y, z) in the third coordinate system, x can represent the coordinate of the target position within the detection object in the second direction, y can represent the coordinate of the target position within the detection object in the first direction, and z can represent the coordinate of the target position within the detection object in the third direction.

[0072] In this embodiment of the present disclosure, the processor may further be configured to read first electric field data, second electric field data, and third electric field data from the storage unit at positions (x, y, z), (x+1, y, z), (x, y+1, z), and (x, y, z+1), respectively. For example, the first electric field data E1[x][y][z], the second electric field data E2[x][y][z], and the third electric field data E3[x][y][z] at position (x, y, z) may be read. The first electric field data E1[x+1][y][z], the second electric field data E2[x+1][y][z], and the third electric field data E3[x+1][y][z] at position (x+1, y, z) may be read. The first electric field data E1[x][y+1][z], the second electric field data E2[x][y+1][z], and the third electric field data E3[x][y+1][z] at position (x, y+1, z) may be read. It can read the first electric field data E1[x][y][z+1], the second electric field data E2[x][y][z+1], and the third electric field data E3[x][y][z+1] at position (x, y, z+1).

[0073] In this embodiment of the disclosure, the processor may further be configured to: determine the first magnetic field data at (x, y, z) based on the second electric field data at (x, y+1, z), the third electric field data at (x+1, y, z), and the third electric field data at (x, y, z). For example, the first magnetic field data H1[x][y][z] at (x, y, z) can be determined by the following formula:

[0074] H1[x][y][z]+=E2[x][y+1][z]-E2[x][y][z]-(E3[x+1][y][z]-E3[x][y][z]) (Formula 10)

[0075] In this embodiment of the disclosure, the processor may further be configured to: determine the second magnetic field data at (x, y, z) based on the first electric field data at (x, y, z+1), the third electric field data at (x+1, y, z), and the third electric field data at (x, y, z). For example, the second magnetic field data H2[x][y][z] at (x, y, z) can be determined by the following formula:

[0076] H2[x][y][z]+=E3[x+1][y][z]-E3[x][y][z]-(E1[x][y][z+1]-E1[x][y][z]) (Formula 11)

[0077] In this embodiment of the disclosure, the processor may further be configured to: determine the third magnetic field data at (x, y, z) based on the first electric field data at (x, y, z+1), the second electric field data at (x, y+1, z), and the second electric field data at (x, y, z). For example, the third magnetic field data H3[x][y][z] at (x, y, z) can be determined by the following formula:

[0078] H3[x][y][z]+=E1[x][y][z+1]-E1[x][y][z]-(E2[x][y+1][z]-E2[x][y][z]) (Formula 12)

[0079] It is understood that the above description uses the first, second, and third arrangement orders as examples to illustrate the magnetic field iteration method of this disclosure. In the embodiments of this disclosure, the processor can be configured to execute multiple target instructions corresponding to the first arrangement order. The multiple target instructions are executed to determine the first magnetic field data, the second magnetic field data, and the third magnetic field data at position (x, y, z) in the first coordinate system. To simplify and reduce the maintenance cost of the instructions, when the arrangement order is the second or third arrangement order, multiple target instructions can also be used to determine the magnetic field data at position (x, y, z) in the second or third coordinate system. In this case, at least some parameters related to the multiple target instructions can be adjusted so that the processor can perform correct data processing, which will be discussed below in conjunction with... Figures 3A to 3D Further explanation is needed.

[0080] Figure 3A This is a schematic diagram of multiple data to be processed according to an embodiment of the present disclosure.

[0081] like Figure 3A As shown, the multiple data to be processed may include, for example, 16 data to be processed. When determining the first to third magnetic field data of the data to be processed 301, data to be processed 302, data to be processed 303, and data to be processed 304 can be used. For example, the processor can execute the aforementioned multiple target instructions to determine the multiple magnetic field data of the data to be processed 301. Furthermore, as described above, the target instructions may correspond to the aforementioned first arrangement order.

[0082] In the first coordinate system established based on the first arrangement order, for the position (x, y, z), x can represent the coordinates of the target position within the detected object in the third direction, y can represent the coordinates of the target position within the detected object in the second direction, and z can represent the coordinates of the target position within the detected object in the first direction. For example... Figure 3AAs shown, for the data to be processed, the first direction can be the direction of dimension k. The second direction can be the direction of dimension j. The third direction can be the direction of dimension i.

[0083] If multiple target instructions are used directly Figure 3A The simulation of multiple data sets to be processed can be performed in the first order. Figure 3A The multiple data items to be processed shown are sequentially written to consecutive addresses in the memory cell, resulting in the following: Figure 3B The diagram shown illustrates multiple data sets to be processed, corresponding to the first arrangement order.

[0084] Figure 3B This is a schematic diagram of multiple data to be processed corresponding to a first arrangement order according to an embodiment of the present disclosure.

[0085] like Figure 3B As shown, according to the first arrangement order, the data to be processed 301 can be stored at the target address of the storage unit. The data to be processed 302 can be stored at a first address adjacent to the target address. The data to be processed 303 can be stored at a second address adjacent to the first address. The data to be processed 304 is stored at a third address five consecutive addresses away from the second address. It can be understood that in this embodiment of the disclosure, the address of the global storage unit can store one piece of data to be processed.

[0086] In this embodiment of the disclosure, the data to be processed may include first electric field data, second electric field data, and third electric field data. Data to be processed 301 may be the data to be processed at position (x, y, z). Data to be processed 302 may be the data to be processed at position (x, y, z+1). Data to be processed 303 may be the data to be processed at position (x, y+1, z). Data to be processed 304 may be the data to be processed at position (x+1, y, z). Next, the processor may execute multiple target instructions to determine, for example, the first magnetic field data H1[x][y][z], the second magnetic field data H2[x][y][z], and the third magnetic field data H3[x][y][z] at position (x, y, z) corresponding to the data to be processed 301, based on formulas four to six.

[0087] like Figure 3A and Figure 3B As shown, according to the first arrangement order, a maximum of two pieces of data to be processed (e.g., data to be processed 301 and data to be processed 302) can be read along the first direction when reading data, resulting in low memory access efficiency. To improve memory access efficiency, in this embodiment of the disclosure, the processor can be configured to determine the arrangement order of multiple pieces of data to be processed based on the number of sensing data in the first direction, the second direction, and the third direction. For example... Figure 3AAs shown, in response to determining that the second number of sensing data in the second direction is greater than or equal to the third number of sensing data in the third direction, and the third number is greater than or equal to the first number of sensing data in the first direction, the arrangement order of the multiple data to be processed is determined as a second arrangement order. In the second coordinate system established based on the second arrangement order, for the position (x, y, z), x can represent the coordinates of the target position within the detected object in the first direction, y can represent the coordinates of the target position within the detected object in the third direction, and z can represent the coordinates of the target position within the detected object in the second direction.

[0088] Therefore, the processor can also be configured to: write multiple data to be processed sequentially into consecutive addresses of memory cells according to the second arrangement order, to obtain, as shown below. Figure 3C The diagram shown illustrates multiple data to be processed corresponding to the second arrangement order.

[0089] Figure 3C This is a schematic diagram of multiple data to be processed corresponding to a second arrangement order according to an embodiment of the present disclosure.

[0090] like Figure 3C As shown, following the second arrangement, the data to be processed 301 can also be stored at the target address of the storage unit. The difference from the first arrangement is that the data to be processed 303 can be stored at the first address adjacent to the target address. The data to be processed 304 is stored at the fourth address, which is two consecutive addresses away from the first address. The data to be processed 302 is stored at the third address, which is three consecutive addresses away from the fourth address. Figure 3A and Figure 3C As shown, according to the second arrangement order, a maximum of four pieces of data to be processed (e.g., data to be processed 301, data to be processed 302, data to be processed 305, and data to be processed 306) can be read along the second direction when reading data. Therefore, through this embodiment of the present disclosure, the arrangement order of multiple pieces of data to be processed is determined based on the number of sensing data in the first, second, and third directions, and the multiple pieces of data to be processed are sequentially written to multiple consecutive addresses in the storage unit according to the arrangement order. This can improve memory access efficiency, reduce memory access latency, and thus effectively enhance the data parallel processing capability of the data processing device.

[0091] Furthermore, after the processor writes multiple data to be processed into the storage unit in the second order, data to be processed 301 can be used as data to be processed at position (x, y, z). Data to be processed 303 can be used as data to be processed at position (x, y, z+1). Data to be processed 304 can be used as data to be processed at position (x, y+1, z). Data to be processed 302 can be used as data to be processed at position (x+1, y, z).

[0092] After the processor writes multiple data items to the memory unit in the second order, the magnetic field data at any location can be accurately determined according to Formulas 7 to 9 above. However, Formulas 7 to 9 correspond to the second coordinate system and cannot be directly implemented by multiple target instructions.

[0093] In this embodiment of the disclosure, the processor may further be configured to: determine a plurality of target instructions corresponding to the first arrangement order according to the first arrangement order. In response to determining that the arrangement order of the plurality of data to be processed is a second arrangement order, for the plurality of target instructions, the first electric field data, the second electric field data, and the third electric field data are respectively replaced with the second electric field data, the third electric field data, and the first electric field data; and the first magnetic field data, the second magnetic field data, and the third magnetic field data are respectively used as the second magnetic field data, the third magnetic field data, and the first magnetic field data.

[0094] For example, a processor can execute multiple target instructions to achieve the following operation: determining the first magnetic field data at (x, y, z) based on the second electric field data at (x, y, z), the third electric field data at (x, y+1, z), and the third electric field data at (x, y, z). In response to determining the arrangement order as a second arrangement order, the second electric field data can be replaced with the third electric field data, or the third electric field data can be replaced with the first electric field data, or the obtained first magnetic field data can be used as the second magnetic field data. That is, the second magnetic field data at (x, y, z) can be determined based on the third electric field data at (x, y, z+1), the third electric field data at (x, y, z), the first electric field data at (x, y+1, z), and the first electric field data at (x, y, z). Therefore, the second magnetic field data at (x, y, z) can be determined using the following formula:

[0095] H2[x][y][z]+=E3[x][y][z+1]-E3[x][y][z]-(E1[x][y+1][z]-E1[x][y][z]) (Formula 13)

[0096] Formula 13 and Formula 8 are identical in form. After writing data according to the second arrangement order, in the corresponding second coordinate system, E3[x][y][z+1] can be the third electric field data of the data to be processed 303, E3[x][y][z] can be the third electric field data of the data to be processed 301, E1[x][y+1][z] can be the first electric field data of the data to be processed 304, and E1[x][y][z] can be the first electric field data of the data to be processed 301. Thus, the second magnetic field data of the data to be processed 301 can be obtained based on Formula 13. Through the embodiments of this disclosure, the electric field data in the target computer program code has been replaced. Thus, during the execution of multiple target instructions, by changing the read parameters, data processing can be performed correctly, which can improve the accuracy of electromagnetic field data simulation and reduce the maintenance cost of multiple target instructions executed by the processor.

[0097] For example, a processor can execute multiple target instructions to achieve the following operation: Determine the second magnetic field data at (x, y, z) based on the first electric field data at (x+1, y, z), the third electric field data at (x, y+1, z), and the third electric field data at (x, y, z). In response to determining the arrangement order as the second arrangement order, the first electric field data can be replaced with the second electric field data, or the third electric field data can be replaced with the first electric field data, or the obtained second magnetic field data can be used as the third magnetic field data. That is, determine the third magnetic field data at (x, y, z) based on the second electric field data at (x+1, y, z), the second electric field data at (x, y, z), the first electric field data at (x, y+1, z), and the first electric field data at (x, y, z). Therefore, the third magnetic field data at (x, y, z) can be determined using the following formula:

[0098] H3[x][y][z]+=E1[x][y+1][z]-E1[x][y][z]-(E2[x+1][y][z]-E2[x][y][z]) (Formula 14)

[0099] Formula 14 and Formula 9 have the same form. After writing the data according to the second arrangement order, in the corresponding second coordinate system, E1[x][y+1][z] can be the first electric field data of the data to be processed 304, E1[x][y][z] can be the first electric field data of the data to be processed 301, E2[x+1][y][z] can be the first electric field data of the data to be processed 302, and E2[x][y][z] can be the first electric field data of the data to be processed 301. Therefore, the third magnetic field data of the data to be processed 301 can be obtained based on Formula 13.

[0100] For example, a processor can execute multiple target instructions to achieve the following operation: Determine the third magnetic field data at (x, y, z) based on the first electric field data at (x+1, y, z), the second electric field data at (x, y, z+1), and the third electric field data at (x, y, z). In response to determining the arrangement order as a second arrangement order, the first electric field data can be replaced with the second electric field data, or the second electric field data can be replaced with the third electric field data, or the obtained third magnetic field data can be used as the first magnetic field data. That is, determine the first magnetic field data at (x, y, z) based on the second electric field data at (x+1, y, z), the second electric field data at (x, y, z), the third electric field data at (x, y, z+1), and the third electric field data at (x, y, z). Therefore, the first magnetic field data at (x, y, z) can be determined using the following formula:

[0101] H1[x][y][z]+=E2[x+1][y][z]-E2[x][y][z]-(E3[x][y][z+1]-E3[x][y][z]) (Formula 15)

[0102] Formula 15 and Formula 7 have the same form. After writing the data according to the second arrangement order, in the corresponding second coordinate system, E2[x+1][y][z] can be the second electric field data of the data to be processed 302, E2[x][y][z] can be the second electric field data of the data to be processed 301, E3[x][y][z+1] can be the third electric field data of the data to be processed 303, and E3[x][y][z] can be the third electric field data of the data to be processed 301. Therefore, the first magnetic field data of the data to be processed 301 can be obtained based on Formula 15.

[0103] It is understood that the above description has outlined some methods for performing magnetic field simulation in a second coordinate system using multiple target instructions. However, this disclosure is not limited to this; the processor can execute multiple target instructions to perform magnetic field simulation in a third coordinate system, as will be further explained below.

[0104] In this embodiment of the disclosure, the processor may further be configured to: sequentially write multiple data to be processed into consecutive addresses of memory units according to a third arrangement order, to obtain, as shown below. Figure 3D The diagram shown illustrates multiple data to be processed corresponding to the third arrangement order.

[0105] Figure 3D This is a schematic diagram of multiple data to be processed corresponding to a third arrangement order according to an embodiment of the present disclosure.

[0106] like Figure 3DAs shown, following the third arrangement, the data to be processed 301 can also be stored at the target address of the storage unit. The difference from the first arrangement is that the data to be processed 304 can be stored at the first address adjacent to the target address. The data to be processed 302 is stored at the second address adjacent to the first address. The data to be processed 303 is stored at the fifth address, one address away from the second address. Figure 3A and Figure 3D As shown, following the third arrangement order, when reading data, two pieces of data to be processed (e.g., data to be processed 301 and data to be processed 304) can be read from the third direction first, resulting in lower memory access efficiency. It is understood that in this embodiment of the disclosure, Figure 3A The arrangement of the multiple data to be processed shown is the second arrangement order. The explanation of determining the magnetic field data according to the third arrangement order is to describe how to use multiple target instructions to determine the magnetic field data at position (x, y, z) under the third arrangement order.

[0107] In the third coordinate system established based on the third permutation order, for the position (x, y, z), x can represent the coordinates of the target position within the detected object in the second direction, y can represent the coordinates of the target position within the detected object in the first direction, and z can represent the coordinates of the target position within the detected object in the third direction.

[0108] Furthermore, after the processor writes multiple data to be processed into the storage unit in the third order, data to be processed 301 can be used as data to be processed at position (x, y, z). Data to be processed 304 can be used as data to be processed at position (x, y, z+1). Data to be processed 302 can be used as data to be processed at position (x, y+1, z). Data to be processed 303 can be used as data to be processed at position (x+1, y, z).

[0109] After the processor writes multiple data items to the memory unit in the third order, the magnetic field data at any location can be accurately determined according to Formulas 10 to 12 above. However, Formulas 10 to 12 correspond to the third coordinate system and cannot be directly implemented by multiple target instructions.

[0110] In this embodiment of the disclosure, the processor may further be configured to: determine a plurality of target instructions corresponding to the first arrangement order according to the first arrangement order. In response to determining that the arrangement order of the plurality of data to be processed is a third arrangement order, for the plurality of target instructions, the first electric field data, the second electric field data, and the third electric field data are respectively replaced with the third electric field data, the first electric field data, and the second electric field data; and the first magnetic field data, the second magnetic field data, and the third magnetic field data are respectively used as the third magnetic field data, the first magnetic field data, and the second magnetic field data.

[0111] For example, a processor can execute multiple target instructions to achieve the following operation: determining first magnetic field data at (x, y, z) based on second electric field data at (x, y, z), second electric field data at (x, y, z), third electric field data at (x, y+1, z), and third electric field data at (x, y, z). In response to determining the arrangement order as a third arrangement order, the second electric field data can be replaced with the first electric field data, or the third electric field data can be replaced with the second electric field data, or the obtained first magnetic field data can be used as the third magnetic field data. That is, determining third magnetic field data at (x, y, z) based on the first electric field data at (x, y, z+1), the first electric field data at (x, y, z), the second electric field data at (x, y+1, z), and second electric field data at (x, y, z).

[0112] For example, a processor can execute multiple target instructions to achieve the following operation: determining second magnetic field data at (x, y, z) based on first electric field data at (x+1, y, z), third electric field data at (x, y+1, z), and the third electric field data at (x, y, z). In response to determining the arrangement order as the third arrangement order, the first electric field data can be replaced with the third electric field data, or the third electric field data can be replaced with the second electric field data, or the obtained second magnetic field data can be used as the first magnetic field data. That is, determining the first magnetic field data at (x, y, z) based on the third electric field data at (x+1, y, z), the third electric field data at (x, y, z), the second electric field data at (x, y+1, z), and the second electric field data at (x, y, z).

[0113] For example, a processor can execute multiple target instructions to achieve the following operation: determining third magnetic field data at (x, y, z) based on first electric field data at (x+1, y, z), second electric field data at (x, y, z+1), and second electric field data at (x, y, z). In response to determining the arrangement order as the third arrangement order, the first electric field data can be replaced with the third electric field data, or the second electric field data can be replaced with the first electric field data, or the obtained third magnetic field data can be used as the second magnetic field data. That is, determining the second magnetic field data at (x, y, z) based on the third electric field data at (x+1, y, z), the third electric field data at (x, y, z), the first electric field data at (x, y, z+1), and first electric field data at (x, y, z).

[0114] In some embodiments, when the size of multiple data to be processed is (373, 806, 20), the arrangement order of these data to be processed can be determined as a second arrangement order. The multiple data to be processed can be written to a storage unit according to the second arrangement order. Next, multiple adjusted target instructions corresponding to the second arrangement order can be used for processing, and the data processing apparatus of this disclosure can determine multiple magnetic field data at positions (x, y, z) in a second coordinate system within 1 millisecond (ms).

[0115] In other embodiments, when the size of multiple data to be processed is (373, 806, 20), if the multiple data to be processed are written into the storage unit in a first arrangement order and processed using multiple target instructions corresponding to the first arrangement order, the data processing device can determine multiple magnetic field data at positions (x, y, z) in the first coordinate system within 7 milliseconds.

[0116] It is understood that the data processing apparatus of this disclosure has been described above, and the data processing method of this disclosure will be described below.

[0117] Figure 4 This is a flowchart of a data processing method according to an embodiment of the present disclosure.

[0118] like Figure 4 As shown, the method 400 may include operations S410 to S430.

[0119] The S410 is used to acquire multiple data items to be processed.

[0120] In this embodiment of the disclosure, multiple data to be processed represent sensing data along a first direction, a second direction, and a third direction, respectively.

[0121] In operation S420, the order of multiple data to be processed is determined based on the number of sensing data in the first direction, the second direction, and the third direction.

[0122] In operation S430, multiple data to be processed are sequentially written to multiple consecutive addresses in the storage unit according to the arrangement order.

[0123] It is understandable that the processor 220 described above can be used to execute method 400.

[0124] In some embodiments, multiple data to be processed characterize electromagnetic field data at multiple locations within the object being detected.

[0125] In some embodiments, determining the arrangement order of multiple data to be processed based on the number of sensing data in the first direction, the second direction, and the third direction includes: in response to determining that a first number of sensing data in the first direction is greater than or equal to a second number of sensing data in the second direction, and the second number is greater than or equal to a third number of sensing data in the third direction, determining the arrangement order of the data to be processed as a first arrangement order. For example, the first arrangement order is used to indicate that the data to be processed at multiple locations are processed sequentially in the order of the first direction, the second direction, and the third direction.

[0126] In some embodiments, method 400 further includes: reading first electric field data, second electric field data, and third electric field data at positions (x, y, z), (x+1, y, z), (x, y+1, z), and (x, y, z+1) from a storage unit, respectively, wherein x, y, and z are positive integers, representing the coordinates of the target position within the detected object in the third direction, the second direction, and the first direction, respectively; and based on the second electric field data at (x, y, z+1), the second electric field data at (x, y, z), the third electric field data at (x, y+1, z), and the third electric field data at (x, y, z+1), the third electric field data at (x, y, z+1) and the third electric field data at (x, y, z+1), the third electric field data at (x, y, z+1), the second electric field data at (x, y, z+1), the third electric field data at (x, y, z+1), and the third electric field data at (x, y, z+1), ... The first magnetic field data at (x, y, z) is determined based on the field data; the second magnetic field data at (x, y, z) is determined based on the first electric field data at (x+1, y, z), the first electric field data at (x, y, z), the third electric field data at (x, y+1, z), and the third electric field data at (x, y, z); and the third magnetic field data at (x, y, z) is determined based on the first electric field data at (x+1, y, z), the first electric field data at (x, y, z), the second electric field data at (x, y, z+1), and the second electric field data at (x, y, z).

[0127] In some embodiments, determining the arrangement order of multiple data to be processed based on the number of sensing data in the first direction, the second direction, and the third direction includes: in response to determining that a second number of sensing data in the second direction is greater than or equal to a third number of sensing data in the third direction, and that the third number is greater than or equal to a first number of sensing data in the first direction, determining the arrangement order of the data to be processed as a second arrangement order. For example, the second arrangement order is used to indicate that the data to be processed at multiple locations are processed sequentially in the order of the second direction, the third direction, and the first direction.

[0128] In some embodiments, method 400 further includes: reading first electric field data, second electric field data, and third electric field data at positions (x, y, z), (x+1, y, z), (x, y+1, z), and (x, y, z+1) from a storage unit, respectively, wherein x, y, and z are positive integers, representing the coordinates of the target position within the detected object in the first direction, the third direction, and the second direction, respectively; and calculating the second electric field data at (x+1, y, z), the second electric field data at (x, y, z), the third electric field data at (x, y, z+1), and the third electric field data at (x, y, z+1) based on the second electric field data at (x+1, y, z), the second electric field data at (x, y, z+1), and the third electric field data at (x, y, z+1). The first magnetic field data at (x, y, z) is determined based on the field data; the second magnetic field data at (x, y, z) is determined based on the first electric field data at (x, y+1, z), the first electric field data at (x, y, z), the third electric field data at (x, y, z+1), and the third electric field data at (x, y, z); and the third magnetic field data at (x, y, z) is determined based on the first electric field data at (x, y+1, z), the first electric field data at (x, y, z), the second electric field data at (x+1, y, z), and the second electric field data at (x, y, z).

[0129] In some embodiments, determining the arrangement order of multiple data to be processed based on the number of sensing data in the first direction, the second direction, and the third direction includes: in response to determining that a third number of sensing data in the third direction is greater than or equal to a first number of sensing data in the first direction, and the first number is greater than or equal to a second number of sensing data in the second direction, determining the arrangement order of the data to be processed as a third arrangement order. For example, the third arrangement order is used to indicate that the data to be processed at multiple locations are processed sequentially in the order of the third direction, the first direction, and the second direction.

[0130] In some embodiments, method 400 further includes: reading first electric field data, second electric field data, and third electric field data at positions (x, y, z), (x+1, y, z), (x, y+1, z), and (x, y, z+1) respectively from the storage unit, wherein x, y, and z are positive integers, representing the coordinates of the target position within the detected object in the third direction, the first direction, and the second direction, respectively; and calculating the second electric field data at (x, y+1, z), the second electric field data at (x, y, z), the third electric field data at (x+1, y, z), and the third electric field data at (x, y, z+1) based on the second electric field data at (x, y+1, z), the second electric field data at (x, y, z), the third electric field data at (x+1, y, z+1), and the third electric field data at (x, y, z+1) based on the third electric field data at (x, y, z+1). The first magnetic field data at (x, y, z) is determined based on the field data; the second magnetic field data at (x, y, z) is determined based on the first electric field data at (x, y, z+1), the first electric field data at (x, y, z), the third electric field data at (x+1, y, z), and the third electric field data at (x, y, z); and the third magnetic field data at (x, y, z) is determined based on the first electric field data at (x, y, z+1), the first electric field data at (x, y, z), the second electric field data at (x, y+1, z), and the second electric field data at (x, y, z).

[0131] It is understood that the data processing method of this disclosure has been described above, and the electronic equipment including the data processing device will be described below.

[0132] Figure 5 This is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.

[0133] like Figure 5 As shown, electronic device 50 may include data processing device 500. It is understood that a detailed description of data processing device 500 can be found in the device 200 described above.

[0134] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0135] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0136] Figure 6A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0137] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded from storage unit 608 into random access memory (RAM) 603. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.

[0138] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of monitors, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0139] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as data processing methods. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform data processing methods by any other suitable means (e.g., by means of firmware).

[0140] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0141] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0142] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) monitor or an LCD (liquid crystal display)) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0144] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0145] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.

[0146] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0147] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A data processing apparatus, comprising: Storage unit; as well as The processor is configured as follows: Acquire multiple data to be processed, wherein the multiple data to be processed represent sensing data along a first direction, a second direction and a third direction respectively, and the multiple data to be processed also represent electromagnetic field data at multiple locations within the detection object; In response to determining that a first number of sensing data in the first direction is greater than or equal to a second number of sensing data in the second direction, and the second number is greater than or equal to a third number of sensing data in the third direction, the arrangement order of the plurality of data to be processed is determined to be a first arrangement order; According to the stated arrangement order, the plurality of data to be processed are sequentially written into the plurality of consecutive addresses of the storage unit; The processor is also configured to: Read the first electric field data, the second electric field data, and the third electric field data at positions (x,y,z), (x+1,y,z), (x,y+1,z), and (x,y,z+1) respectively from the storage unit, where x, y, and z are positive integers and represent the coordinates of the target position within the detection object in the third direction, the second direction, and the first direction, respectively; Based on the second electric field data at (x,y,z+1), the second electric field data at (x,y,z), the third electric field data at (x,y+1,z), and the third electric field data at (x,y,z), determine the first magnetic field data at (x,y,z); Based on the first electric field data at (x+1,y,z), the third electric field data at (x,y,z), and the third electric field data at (x,y+1,z), determine the second magnetic field data at (x,y,z); and Based on the first electric field data at (x+1,y,z), the second electric field data at (x,y,z), the third magnetic field data at (x,y,z+1), and the second electric field data at (x,y,z), determine the third magnetic field data at (x,y,z).

2. The apparatus according to claim 1, wherein, The first arrangement order is used to indicate: Data to be processed at multiple locations is processed sequentially in the order of the first direction, the second direction, and the third direction.

3. A data processing apparatus, comprising: Storage unit; as well as The processor is configured as follows: Acquire multiple data to be processed, wherein the multiple data to be processed represent sensing data along a first direction, a second direction and a third direction respectively, and the multiple data to be processed also represent electromagnetic field data at multiple locations within the detection object; In response to determining that a second number of sensing data in the second direction is greater than or equal to a third number of sensing data in the third direction, and that the third number is greater than or equal to a first number of sensing data in the first direction, the arrangement order of the plurality of data to be processed is determined to be a second arrangement order; According to the stated arrangement order, the plurality of data to be processed are sequentially written into the plurality of consecutive addresses of the storage unit; The processor is also configured to: Read the first electric field data, the second electric field data, and the third electric field data at positions (x,y,z), (x+1,y,z), (x,y+1,z), and (x,y,z+1) respectively from the storage unit, where x, y, and z are positive integers, representing the coordinates of the target position within the detection object in the first direction, the third direction, and the second direction, respectively; Based on the second electric field data at (x+1,y,z), the third electric field data at (x,y,z), and the third electric field data at (x,y,z+1), determine the first magnetic field data at (x,y,z). Based on the first electric field data at (x,y+1,z), the third electric field data at (x,y,z+1), and the third electric field data at (x,y,z), determine the second magnetic field data at (x,y,z); and Based on the first electric field data at (x,y+1,z), the second electric field data at (x+1,y,z), and the second electric field data at (x,y,z), determine the third magnetic field data at (x,y,z).

4. The apparatus according to claim 3, wherein, The second arrangement order is used to indicate: Data to be processed at multiple locations is processed sequentially in the order of the second direction, the third direction, and the first direction.

5. A data processing apparatus, comprising: Storage unit; as well as The processor is configured as follows: Acquire multiple data to be processed, wherein the multiple data to be processed represent sensing data along a first direction, a second direction and a third direction respectively, and the multiple data to be processed also represent electromagnetic field data at multiple locations within the detection object; In response to determining that the third number of sensing data in the third direction is greater than the first number of sensing data in the first direction, and the first number is greater than the second number of sensing data in the second direction, the arrangement order of the plurality of data to be processed is determined to be a third arrangement order; According to the stated arrangement order, the plurality of data to be processed are sequentially written into the plurality of consecutive addresses of the storage unit; The processor is also configured to: Read the first electric field data, the second electric field data, and the third electric field data at positions (x,y,z), (x+1,y,z), (x,y+1,z), and (x,y,z+1) respectively from the storage unit, where x, y, and z are positive integers and represent the coordinates of the target position within the detection object in the third direction, the first direction, and the second direction, respectively; Based on the second electric field data at (x,y+1,z), the third electric field data at (x+1,y,z), and the third electric field data at (x,y,z), determine the first magnetic field data at (x,y,z); Based on the first electric field data at (x,y,z+1), the second electric field data at (x,y,z), the third electric field data at (x+1,y,z), and the third electric field data at (x,y,z), determine the second magnetic field data at (x,y,z); and Based on the first electric field data at (x,y,z+1), the second electric field data at (x,y,z), and the second electric field data at (x,y+1,z), determine the third magnetic field data at (x,y,z).

6. The apparatus according to claim 5, wherein, The third arrangement order is used to indicate: Data to be processed at multiple locations is processed sequentially in the order of the third direction, the first direction, and the second direction.

7. A data processing method, comprising: Acquire multiple data to be processed, wherein the multiple data to be processed represent sensing data along a first direction, a second direction and a third direction respectively, and the multiple data to be processed represent electromagnetic field data at multiple locations within the detection object; In response to determining that a first number of sensing data in the first direction is greater than or equal to a second number of sensing data in the second direction, and the second number is greater than or equal to a third number of sensing data in the third direction, the arrangement order of the data to be processed is determined to be a first arrangement order; According to the stated arrangement order, the plurality of data to be processed are sequentially written into a plurality of consecutive addresses in the storage unit; Read the first electric field data, the second electric field data, and the third electric field data at positions (x,y,z), (x+1,y,z), (x,y+1,z), and (x,y,z+1) respectively from the storage unit, where x, y, and z are positive integers and represent the coordinates of the target position within the detection object in the third direction, the second direction, and the first direction, respectively; Based on the second electric field data at (x,y,z+1), the second electric field data at (x,y,z), the third electric field data at (x,y+1,z), and the third electric field data at (x,y,z), determine the first magnetic field data at (x,y,z); Based on the first electric field data at (x+1,y,z), the third electric field data at (x,y,z), and the third electric field data at (x,y+1,z), determine the second magnetic field data at (x,y,z); and Based on the first electric field data at (x+1,y,z), the second electric field data at (x,y,z), the third magnetic field data at (x,y,z+1), and the second electric field data at (x,y,z), determine the third magnetic field data at (x,y,z).

8. The method according to claim 7, wherein, The first arrangement order is used to indicate: Data to be processed at multiple locations is processed sequentially in the order of the first direction, the second direction, and the third direction.

9. A data processing method, comprising: Acquire multiple data to be processed, wherein the multiple data to be processed represent sensing data along a first direction, a second direction and a third direction respectively, and the multiple data to be processed represent electromagnetic field data at multiple locations within the detection object; In response to determining that a second number of sensing data in the second direction is greater than or equal to a third number of sensing data in the third direction, and that the third number is greater than or equal to a first number of sensing data in the first direction, the arrangement order of the data to be processed is determined to be a second arrangement order; According to the stated arrangement order, the plurality of data to be processed are sequentially written into a plurality of consecutive addresses in the storage unit; Read the first electric field data, the second electric field data, and the third electric field data at positions (x,y,z), (x+1,y,z), (x,y+1,z), and (x,y,z+1) respectively from the storage unit, where x, y, and z are positive integers, representing the coordinates of the target position within the detection object in the first direction, the third direction, and the second direction, respectively; Based on the second electric field data at (x+1,y,z), the third electric field data at (x,y,z), and the third electric field data at (x,y,z+1), determine the first magnetic field data at (x,y,z). Based on the first electric field data at (x,y+1,z), the third electric field data at (x,y,z+1), and the third electric field data at (x,y,z), determine the second magnetic field data at (x,y,z); and Based on the first electric field data at (x,y+1,z), the second electric field data at (x+1,y,z), and the second electric field data at (x,y,z), determine the third magnetic field data at (x,y,z).

10. The method according to claim 9, wherein, The second arrangement order is used to indicate: Data to be processed at multiple locations is processed sequentially in the order of the second direction, the third direction, and the first direction.

11. A data processing method, comprising: Acquire multiple data to be processed, wherein the multiple data to be processed represent sensing data along a first direction, a second direction and a third direction respectively, and the multiple data to be processed represent electromagnetic field data at multiple locations within the detection object; In response to determining that the third number of sensing data in the third direction is greater than or equal to the first number of sensing data in the first direction, and the first number is greater than or equal to the second number of sensing data in the second direction, the arrangement order of the data to be processed is determined to be the third arrangement order; According to the stated arrangement order, the plurality of data to be processed are sequentially written into a plurality of consecutive addresses in the storage unit; Read the first electric field data, the second electric field data, and the third electric field data at positions (x,y,z), (x+1,y,z), (x,y+1,z), and (x,y,z+1) respectively from the storage unit, where x, y, and z are positive integers and represent the coordinates of the target position within the detection object in the third direction, the first direction, and the second direction, respectively; Based on the second electric field data at (x,y+1,z), the third electric field data at (x+1,y,z), and the third electric field data at (x,y,z), determine the first magnetic field data at (x,y,z); Based on the first electric field data at (x,y,z+1), the second electric field data at (x,y,z), the third electric field data at (x+1,y,z), and the third electric field data at (x,y,z), determine the second magnetic field data at (x,y,z); and Based on the first electric field data at (x,y,z+1), the second electric field data at (x,y,z), and the second electric field data at (x,y+1,z), determine the third magnetic field data at (x,y,z).

12. The method according to claim 11, wherein, The third arrangement order is used to indicate: Data to be processed at multiple locations is processed sequentially in the order of the third direction, the first direction, and the second direction.

13. An electronic device, comprising: The data processing apparatus according to any one of claims 1 to 6.

14. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 7 to 12.

15. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 7 to 12.

16. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 7 to 12.

Citation Information

Patent Citations

  • Data storage method, device and system

    CN110968253A

  • Data storage method, computing core, chip and electronic equipment

    CN112799599A