A data processing method, device and computer readable storage medium

By introducing a parallel processing module into the terminal device to detect and mark the combined target gene data, the problem of low data processing efficiency in the existing technology is solved and efficient genetic analysis calculation is achieved.

CN110767264BActive Publication Date: 2024-10-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910980309.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-15
Publication Date
2024-10-15
Estimated Expiration
2040-09-09

AI Technical Summary

Technical Problem

When existing terminal equipment performs large-volume computing tasks such as genetic analysis, data processing efficiency is low, and the serial processing method of general-purpose processors cannot meet the needs of high computing performance and low power consumption.

Method used

The parallel processing module is used to detect and mark the combined target gene data to avoid occupying the computing resources of the serial processing module. The combined target gene data is processed in parallel, thereby improving data processing efficiency.

Benefits of technology

Through the simultaneous execution of multiple computing instructions by the parallel processing module, the efficiency of data processing is significantly improved, the computing time is reduced, and the requirements for high computing performance and low power consumption are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110767264B_ABST
    Figure CN110767264B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a data processing method, device and computer-readable storage medium, wherein the embodiment of the present application can obtain target gene data and reference gene data group, wherein the target gene data includes multiple target gene sequence data; based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; based on the arrangement order of the target gene sequence data, the target gene sequence data is combined to obtain the combined target gene data; the combined target gene data is sent to the parallel processing module; and the target gene data group after mutation detection and tagging returned by the parallel processing module after mutation detection and tagging of the combined target gene data is obtained. Thus, the efficiency of data processing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computers, and in particular to a data processing method, device and computer-readable storage medium. Background Art

[0002] In recent years, with the rapid development of integrated circuits, people have increasingly strong demands for high computing performance and low power consumption. However, Moore's Law for general-purpose processors (CPUs) has entered its twilight years, while the scale of machine learning and Web services is growing exponentially. General-purpose processors (CPUs) are generally von Neumann structures and can only execute a series of instructions serially. General-purpose processors (CPUs) are generally used as central processing units of terminals, that is, CPUs are the core hardware units that control and allocate all hardware resources of the terminal (such as memory, input and output units) and perform general operations. They are the computing and control core of the terminal. The operations of all software layers in the terminal will eventually be mapped to CPU operations through the instruction set. Therefore, the terminal in the prior art needs to serially execute all data processing instructions in all software of the terminal, and when executing large-scale computing tasks such as genetic analysis and machine learning, it takes a lot of time and the data processing efficiency is low. Summary of the invention

[0003] In view of this, embodiments of the present application provide a data processing method, device, and computer-readable storage medium, which can improve data processing efficiency.

[0004] In a first aspect, an embodiment of the present application provides a data processing method, which is applicable to a serial processing module in a terminal device, wherein the terminal device also includes a parallel processing module, including:

[0005] Acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequences;

[0006] Based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data;

[0007] Combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data;

[0008] Sending the combined target gene data to the parallel processing module;

[0009] Obtain a target gene data group after mutation detection and marking returned by the parallel processing module after performing mutation detection and marking on the combined target gene data.

[0010] In one embodiment, sending the combined target gene data to the parallel processing module includes:

[0011] Based on a preset data length, the combined target gene data is divided to obtain a plurality of target gene data groups to be processed;

[0012] Obtaining data processing instructions;

[0013] The data processing instruction, the target gene data group to be processed, and data length information corresponding to the target gene data group to be processed are sent to the parallel processing module.

[0014] In some embodiments, the parallel processing module includes a plurality of preset data processing submodules; obtaining a target gene data group after mutation detection and tagging returned by the parallel processing module after performing mutation detection and tagging on the combined target gene data includes:

[0015] Based on the data processing instruction, trigger the parallel processing module to determine the correspondence between each target gene data group to be processed and the preset data processing submodule according to the data length information; based on the correspondence, assign the target gene data group to be processed to the preset data processing submodule for variation detection and marking, and obtain the variation-marked target gene data group;

[0016] Obtain the target gene data set after mutation labeling returned by the parallel processing module.

[0017] In some embodiments, the terminal device further includes a storage module, and the step of obtaining the target gene data set after the variation labeling returned by the parallel processing module includes:

[0018] When the preset data processing submodule sends the target gene data group after mutation labeling to the storage module, receiving an interrupt instruction returned by the preset data processing submodule in the parallel processing module;

[0019] The target gene data group after each mutation mark is obtained from the storage module based on the interrupt instruction trigger.

[0020] In some embodiments, the terminal device further includes a storage module, the parallel processing module includes a preset data processing algorithm; and the data processing method further includes:

[0021] Acquire preset algorithm identification information of the preset data processing algorithm to be updated, and target algorithm identification information of the target data processing algorithm corresponding to the preset data processing algorithm to be updated;

[0022] Sending an algorithm update instruction, as well as the preset algorithm identification information and the target algorithm identification information to the parallel processing module;

[0023] Based on the algorithm update instruction, the parallel processing module is triggered to update the preset data processing algorithm to a target data processing algorithm according to the preset algorithm identification information and the target algorithm identification information.

[0024] In some embodiments, based on the algorithm update instruction, triggering the parallel processing module to update the preset data processing algorithm to the target data processing algorithm according to the preset algorithm identification information and the target algorithm identification information includes:

[0025] Based on the algorithm update instruction, trigger the parallel processing module to obtain the target data processing algorithm from the storage module according to the target algorithm identification information; based on the preset algorithm identification information, obtain the to-be-updated sub-module identification information of the preset data processing sub-module corresponding to the preset data processing algorithm to be updated; send the target data processing algorithm to the preset data processing sub-module corresponding to the to-be-updated sub-module identification information.

[0026] In some embodiments, the data processing method further includes:

[0027] Acquire a test instruction, wherein the test instruction carries the test submodule identification information and the abnormal operation condition of the preset data processing submodule to be tested;

[0028] Sending a mode switching instruction and the test submodule identification information to the parallel processing module based on the test instruction;

[0029] Acquire a test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction.

[0030] In some embodiments, obtaining a test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction includes:

[0031] Triggering the parallel processing module to send a test signal to the preset data processing submodule corresponding to the test submodule identifier based on the mode conversion instruction; obtaining a test response signal generated by the preset data processing submodule based on the test signal; and sending the test response signal to the storage module;

[0032] The test response signal returned by the parallel processing module based on the storage module is received.

[0033] In one embodiment, the receiving the test response signal returned by the parallel processing module based on the storage module includes:

[0034] receiving an interrupt instruction sent by the parallel processing module;

[0035] Based on the interrupt instruction, the test response signal is obtained from the storage module.

[0036] In a second aspect, an embodiment of the present application provides a data processing device, including:

[0037] A data acquisition unit, used to acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data;

[0038] an identification unit, configured to identify the target gene data based on the reference gene data group and determine an arrangement order of the target gene sequence data;

[0039] A combining unit, used for combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data;

[0040] A sending unit, used for sending the combined target gene data to the parallel processing module;

[0041] The result acquisition unit is used to obtain the target gene data group after mutation detection and marking returned by the parallel processing module after the combined target gene data is subjected to mutation detection and marking.

[0042] In some embodiments, the data processing device further includes an updating unit and a testing unit, including:

[0043] An updating unit, configured to trigger the parallel processing module to update the preset data processing algorithm to the target data processing algorithm based on the algorithm update instruction, the preset algorithm identification information and the target algorithm identification information;

[0044] The testing unit is used to obtain a test response signal corresponding to the testing submodule identification information returned by the parallel processing module based on the mode conversion instruction.

[0045] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program runs on a computer, the computer executes a data processing method provided in any embodiment of the present application.

[0046] The embodiment of the present application can obtain target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data; based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; based on the arrangement order of the target gene sequence data, the target gene sequence data is combined to obtain the combined target gene data; the combined target gene data is sent to the parallel processing module; and the target gene data group after mutation detection and tagging of the combined target gene data is obtained. The present application uses a parallel processing module to perform mutation detection and tagging on the combined target gene data to avoid occupying the computing resources of the serial processing module, and the parallel processing module can execute multiple computing instructions at the same time and process the combined target gene data in parallel, thereby improving the efficiency of data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present invention;

[0049] Figure 2a is a flow chart of a data processing method provided by an embodiment of the present invention;

[0050] Figure 2b is another flow chart of a data processing method provided by an embodiment of the present invention;

[0051] Figure 3a is a structural schematic diagram of a data processing device provided by an embodiment of the present invention;

[0052] Figure 3b is another structural schematic diagram of a data processing device provided by an embodiment of the present invention;

[0053] Figure 4 is a structural schematic diagram of a data processing terminal provided by an embodiment of the present invention;

[0054] Figure 5a is a schematic diagram of a data processing flow of a data processing system provided by an embodiment of the present invention;

[0055] Figure 5b is a schematic diagram of the interaction structure of the parallel processing module and the serial processing module provided in an embodiment of the present invention;

[0056] Figure 5c It is a schematic diagram of the structure of a parallel processing module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0058] Embodiments of the present invention provide a data processing method, device, and computer-readable storage medium.

[0059] The data processing method of the embodiment of the present invention can be used for data processing scenarios that require a large amount of computing, such as gene analysis. Gene analysis is used to detect the gene variation of the gene provider, so as to analyze the physiological characteristics, disease risks and other characteristics of the gene provider. A gene (also called a genetic factor) is a complete nucleotide sequence required to produce a polypeptide chain or functional RNA. A DNA fragment with genetic information is called a gene. Other DNA sequences, some of which play a role directly with their own structure, and some of which participate in regulating the expression of genetic information.

[0060] An embodiment of the present invention provides a data processing system, including a data processing device provided by any embodiment of the present invention. The data processing device can be specifically integrated in a terminal, and the terminal can include: a mobile phone, a tablet computer, a laptop computer or a personal computer (PC, Personal Computer), etc.

[0061] In addition, the data processing system may also include other devices, such as a server and the like.

[0062] For example, refer to Figure 1 The data processing system includes a terminal and a server, and the terminal and the server are connected through a network. The network includes network entities such as routers and gateways.

[0063] For example, see Figure 1, the embodiment of the present application can obtain target gene data and reference gene data groups, wherein the target gene data includes multiple target gene sequence data; based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; based on the arrangement order of the target gene sequence data, the target gene sequence data is combined to obtain the combined target gene data; the combined target gene data is sent to the parallel processing module; and the target gene data group after mutation detection and tagging of the combined target gene data is obtained. The present application uses a parallel processing module to perform mutation detection and tagging on the combined target gene data to avoid occupying the computing resources of the serial processing module, and the parallel processing module can execute multiple computing instructions at the same time and process the combined target gene data in parallel, thereby improving the efficiency of data processing.

[0064] Above Figure 1 The example is only an example of a system architecture for implementing the embodiment of the present invention. The embodiment of the present invention is not limited to the above Figure 1 The system structure shown is based on which various embodiments of the present invention are proposed.

[0065] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0066] This embodiment will be described from the perspective of a data processing device, which may be integrated into a terminal device, such as a mobile phone, a tablet computer, a notebook computer, or a personal computer (PC).

[0067] like Figure 2a As shown, a data processing method is provided, which can be executed by a serial processing module in a terminal device, and the terminal device also includes a parallel processing module. The specific process of the data processing method is as follows:

[0068] Target gene data and a reference gene data group are obtained, wherein the target gene data includes a plurality of target gene sequences.

[0069] Among them, the target gene data is the gene data to be detected, and the target gene data can be obtained from a terminal or server of other systems through a network link, or from the memory of the terminal of an embodiment of the present invention or a removable storage device connected to the terminal.

[0070] The reference gene data set is a reference gene sequence set. Specifically, the genes of some people (e.g., the 1000 Genomes Project) can be interrupted to obtain reference gene sequences, and then the reference gene sequences are spliced ​​together according to their corresponding chromosomes to obtain the entire chromosome of the genome. The reference gene data set can be pre-downloaded from the gene database to the memory of the terminal through the network, or obtained from a removable storage device connected to the terminal.

[0071] In one embodiment, due to the huge amount of gene data, in order to save data transmission bandwidth and storage costs and facilitate transmission and storage, it is usually compressed. Therefore, before performing gene analysis, the acquired target gene data and reference gene data group need to be decompressed and restored to a data format that is convenient for processing. For example, the target gene data is restored to fastq text format data, where fastq is an ASCII-encoded text format that stores biological sequences (usually nucleic acid sequences) and corresponding quality evaluations.

[0072] In one embodiment, reference Figure 5a The processor of the terminal device includes a serial processing module and a parallel processing module connected to each other. The serial processing module can read the current instruction, point out the location of the next instruction of the current instruction, decode the current instruction, and then execute the current instruction. The serial processing module cannot execute multiple instructions at the same time, so the serial processing module cannot process multiple sets of data at the same time. For steps that require strong computing power, they can be sent to the parallel processing module for processing.

[0073] Among them, the serial processing module refers to a processing module that cannot execute multiple instructions at the same time, such as a CPU (central processing unit).

[0074] In one embodiment, a gene analysis application is stored in the memory of the terminal device, and the gene analysis application includes multiple instructions, such as data acquisition instructions. When the user clicks the instruction interface in the terminal interface, the processor starts to read the data acquisition instruction, decodes the instruction, and then executes to obtain the target gene data and the reference gene data set. Among them, the instruction interface includes various forms, such as input boxes, buttons, icons, selection boxes, etc. For example, in one embodiment, the instruction interface can be expressed as a "start" button.

[0075] Based on the reference gene data set, the target gene data is identified to determine the arrangement order of the target gene sequence data.

[0076] The reference gene data set is divided according to the chromosomes corresponding to the reference gene sequences. For example, for humans, the reference gene data set may include 22 sets of reference gene sequences on autosomes and gene sequences on the two sex chromosomes X and Y, for a total of 24 sets.

[0077] In one embodiment, in the reference gene data set, each set of reference gene sequences is arranged according to its position on the chromosome.

[0078] In one embodiment, the serial processing module of the terminal can read the data identification instruction, decode the data reading instruction, and then execute the data identification instruction. Specifically, by comparing the reference gene sequence data and the target gene sequence data, the chromosome corresponding to the gene sequence of the target gene data can be determined, thereby determining the arrangement order of the target gene sequence data.

[0079] Among them, the genome is the sum of all genetic material in an organism.

[0080] In one embodiment, in order to facilitate comparison, a reference gene data set index can be established, wherein an index is a separate, physical storage structure that sorts the values ​​of one or more columns in a database table. It is a collection of values ​​of one or more columns in a table and a corresponding list of logical pointers pointing to the data pages that physically identify these values ​​in the table. The role of the index is equivalent to the catalog of a book, and the required content can be quickly found according to the page number in the catalog. The index provides pointers to the data values ​​stored in the specified columns of the table, and then sorts these pointers according to the sorting order you specify. The database uses the index to find a specific value, and then follows the pointer to find the row containing the value. This can make the SQL statement corresponding to the table execute faster and quickly access specific information in the database table. In this embodiment, a reference genome index is established in the storage table of the reference genome, and then the index value that meets the query condition is found in the reference genome index, and finally the corresponding record in the reference gene storage table is quickly found through the ROWID (equivalent to the page number) stored in the reference genome index.

[0081] In one embodiment, in order to facilitate subsequent gene detection based on the reference gene, the target gene sequence and the reference gene sequence can be combined in pairs based on the position of the target gene data sequence in the genome to obtain a gene pair to be processed. For example, the target gene data sequence and the reference gene sequence located at the same position on the same chromosome can be combined in pairs to obtain a gene pair to be processed.

[0082] 103. Based on the arrangement order of the target gene sequence data, the target gene sequence data are combined to obtain combined target gene data.

[0083] In one embodiment, in order to facilitate gene detection, the serial processing module of the terminal can read the data combination instruction, decode it, and then execute the data combination instruction. Specifically, the position order of the target gene data sequence in the genome is used to combine the target gene sequence data to obtain the combined target gene data.

[0084] In one embodiment, in order to reduce the amount of calculation, the target gene sequence with repetitions may be marked as repeated while the combination is being performed. After the combination is completed, the repeated target gene sequence data is deleted according to the repeated marking.

[0085] 104. Send the combined target gene data to the parallel processing module.

[0086] The parallel processing module is a data processing module that can execute multiple data processing instructions at the same time, that is, the parallel processing module can detect and mark multiple groups of gene data to be processed at the same time. The parallel processing module can be ASIC or FPGA.

[0087] Among them, FPGA (Field Programmable Gate Array) is a product further developed on the basis of programmable devices. It appears as a semi-custom circuit in the field of application-specific integrated circuits (ASICs), which not only solves the shortcomings of custom circuits, but also overcomes the shortcomings of the limited number of gate circuits of the original programmable devices. ASIC (Application Specific Integrated Circuit) is an integrated circuit chip technology for special applications and is considered to be an integrated circuit designed for a special purpose.

[0088] In one embodiment, the parallel processing module includes a plurality of preset data processing submodules, and sending the combined target gene data to the parallel processing module may specifically include the following steps:

[0089] Based on a preset data length, the combined target gene data is divided to obtain a plurality of target gene data groups to be processed;

[0090] Obtaining data processing instructions;

[0091] The data processing instruction, the target gene data group to be processed, and data length information corresponding to the target gene data group to be processed are sent to the parallel processing module.

[0092] Among them, reference Figure 5cThe parallel processing module includes a plurality of preset data processing submodules 501 for operation, and the preset data processing submodules 501 are configured with a variation detection algorithm and a preset variation detection algorithm. Each data processing submodule can be used to process data of a preset length. In order to make the computing power of the preset data processing submodule consistent with the data length of the target gene data group to be processed, the combined target gene data can be divided into a plurality of target gene data groups to be processed according to the preset data length.

[0093] In one embodiment, reference Figure 5b The parallel processing module also includes a preset communication submodule 502, and the parallel processing module is connected to the serial processing module through an application program interface, a driver and the preset communication submodule 502.

[0094] The driver is a program that allows hardware and software to interact, and can be used for the parallel processing module to interact with the gene analysis application. Specifically, the driver and the gene analysis application need to realize corresponding information interaction. On the one hand, the gene analysis application sends corresponding instructions to the execution driver, such as action instructions to control the parallel processing module. On the other hand, the driver transmits the read and write status of the parallel processing module and the data processing results obtained from the parallel processing module to the gene analysis application, thereby realizing the interaction between the gene analysis application and the driver.

[0095] In one embodiment, the driver includes data processing instructions. When the target gene data group to be processed is obtained, the serial processing module can read, decode and execute the data processing instructions.

[0096] The application program interface can be some predefined functions, or it can be the agreement for connecting the gene analysis application and the driver program. Using the application program interface to access the gene analysis application or driver program does not require access to the original code or understanding the details of the program's internal working mechanism.

[0097] The preset communication submodule 502 can communicate using the PCI-Express standard, wherein PCI-Express (peripheral component interconnect express) is a high-speed serial computer expansion bus standard that can improve the efficiency of data transmission.

[0098] In one embodiment, reference Figure 5cThe parallel processing module also includes a preset scheduling submodule 503, wherein the preset scheduling submodule 503 is connected to the preset communication submodule 502 via an internal bus, and the preset scheduling submodule 503 can convert the internal bus into a data bus, an instruction bus and a configuration bus based on the bus transmission protocol interpretation, thereby separating the instructions, configuration information and data passing through the internal bus. The instructions include data processing instructions, the configuration information includes the data length of the target gene data group to be processed, and the data includes the target gene data group to be processed.

[0099] First, a simple and universal internal bus is used to connect the preset sub-modules, and individual functions are implemented through independent preset sub-modules. The internal bus can avoid calling the preset scheduling sub-module 503 of the internal bus to directly participate in the implementation of the functions of each preset sub-module, thereby improving efficiency.

[0100] In addition, the entire parallel processing module is composed of preset sub-modules combined through a bus. If a local function needs to be updated or modified, only a preset sub-module corresponding to an internal bus needs to be modified, which will not affect the use of other functions in the entire parallel processing module.

[0101] In one embodiment, each preset data processing submodule 501 is connected to the preset scheduling submodule 503 through three internal buses, namely, a data bus, a configuration bus and a test bus. Therefore, when a preset data processing submodule 501 is updated, only one preset data processing submodule 501 corresponding to one configuration bus needs to be modified without affecting the use of other preset data processing submodules 501 in the entire parallel processing module.

[0102] The internal bus may be any common or custom data transmission line, such as an AXI (Advanced Xtensible Interface) bus, an Avalon bus, and the like.

[0103] In one embodiment, the preset scheduling submodule 503 may receive data and instructions from other preset submodules through an internal bus, and transmit data or call other preset submodules according to the instructions.

[0104] In one embodiment, the preset scheduling submodule 503 may also receive instructions from the serial processing module through the preset communication submodule 502, and then call other preset submodules according to the instructions (for example, the preset algorithm update submodule 505 may be called according to the algorithm update instruction).

[0105] In one embodiment, reference Figure 5cThe terminal device also includes a storage module, and the parallel processing module also includes a preset storage control submodule 504. The preset storage control submodule 504 is connected to the preset scheduling submodule 503 through an internal bus. When the preset scheduling submodule obtains the target gene data group to be processed from the serial processing module through the preset communication submodule 502, if the number of the target gene data group to be processed exceeds the number of the preset data processing submodule 501, the internal bus can be converted into a data bus through the bus transmission protocol interpretation, and the target gene data group to be processed can be sent to the preset storage control submodule 504 through the data bus, and then the preset storage control submodule 504 is called to cache the target gene data group to be processed in the storage module, and then the target gene data group to be processed is obtained from the storage module and allocated to the preset data processing submodule 501. When the preset data processing submodule 501 completes the variation detection and marking of the current target gene data group to be processed, the remaining target gene data group to be processed in the storage module is allocated to the preset data processing submodule 501.

[0106] Among them, the storage module refers to the memory in the following embodiment of the terminal device structure, and all the information in the computer, including the input raw data, computer programs, intermediate operation results and final operation results are stored in the storage module. The storage module includes a memory and a hard disk, wherein the memory is generally used to store the currently executed data and programs. In the embodiment of the present application, during the data processing process, because the amount of gene data is very large, in order to increase the speed, the target gene data group to be processed, the program being executed, etc. can be stored in the memory through the preset storage control submodule 504, and then sent to the parallel processing module for variation detection and marking.

[0107] The memory may include DDR chip particles on the FPGA hardware board or DDR (Double Data Rate, double-rate synchronous dynamic random access memory) on the terminal host board. Figure 5c The schematic diagram of the structure of the embodiment when the memory includes a DDR memory chip on the host board is shown. Of course, in another embodiment, the storage module may also include DDR chip particles arranged on the FPGA hardware board.

[0108] In one embodiment, reference Figure 5c The parallel processing module may include a preset algorithm updating submodule 505, and the preset data processing algorithm in the specific preset data processing submodule 501 may be updated by the preset algorithm updating submodule 505, wherein the preset data processing algorithm includes a variation detection algorithm and a marking algorithm. Specifically, the following steps may be included:

[0109] Acquire preset algorithm identification information of the preset data processing algorithm to be updated, and target algorithm identification information of the target data processing algorithm corresponding to the preset data processing algorithm to be updated;

[0110] Sending an algorithm update instruction, as well as the preset algorithm identification information and the target algorithm identification information to the parallel processing module;

[0111] Based on the algorithm update instruction, the parallel processing module is triggered to update the preset data processing algorithm to a target data processing algorithm according to the preset algorithm identification information and the target algorithm identification information.

[0112] In one embodiment, based on the algorithm update instruction, triggering the parallel processing module to update the preset data processing algorithm to the target data processing algorithm according to the preset algorithm identification information and the target algorithm identification information may include the following steps:

[0113] Based on the algorithm update instruction, the parallel processing module is triggered to obtain the target data processing algorithm from the storage module according to the target algorithm identification information; based on the preset algorithm identification information, the sub-module identification information to be updated of the preset data processing sub-module 501 corresponding to the preset data processing algorithm to be updated is obtained; and the target data processing algorithm is sent to the preset data processing sub-module 501 corresponding to the sub-module identification information to be updated.

[0114] The storage module refers to the memory in the following embodiments of the terminal device structure. All information in the computer, including input raw data, computer programs, intermediate operation results and final operation results, are stored in the storage module. The storage module includes a memory and a hard disk, wherein the hard disk is generally used to store the target data processing algorithm, and the parallel processing module can obtain the target data processing algorithm from the hard disk.

[0115] In one embodiment, the preset algorithm identification information and the target algorithm identification information can be obtained based on the user's selection operation on the display page of the terminal device, and based on the user's algorithm update confirmation operation on the display page of the terminal device, the sending of the algorithm update instruction, the preset algorithm identification information and the target algorithm identification information can be triggered.

[0116] In one embodiment, reference Figure 5cThe parallel processing module includes a preset algorithm update submodule 505, which is connected to the preset scheduling submodule through an internal bus. The preset algorithm update submodule 505 is also connected to the storage module through a bus. The preset scheduling submodule obtains the algorithm update instruction, preset algorithm identification information and target algorithm identification through the driver and the preset communication submodule 502. Then, the preset scheduling submodule sends the preset algorithm identification information and the target algorithm identification information to the preset algorithm update submodule 505 based on the algorithm update instruction. Then, the preset algorithm update submodule 505 determines the update submodule identification information of the preset data processing submodule 501 corresponding to the preset data processing algorithm to be updated according to the preset algorithm identification information, obtains the target data processing algorithm corresponding to the target algorithm identification from the storage module, and sends the target data processing algorithm to the preset algorithm update submodule 505 corresponding to the update submodule identification information. Among them, the target data processing algorithm, the preset algorithm identification information and the target algorithm identification information are transmitted through the configuration bus, and the algorithm update instruction is transmitted through the instruction bus.

[0117] In one embodiment, before using the data processing device of the present application to perform a genome analysis service for the first time, the preset algorithm update submodule 505 can be used to configure or upgrade the preset data processing algorithm for all preset data processing submodules 501. First, the user can select on the display interface of the terminal device according to the genome analysis service to determine the algorithm identification information of the preset data processing algorithm. Then the terminal sends the algorithm identification information and the algorithm update instruction to the preset scheduling submodule 503, and then the preset scheduling submodule 503 sends the algorithm identification information to the preset algorithm update submodule 505 based on the algorithm update instruction, and then the preset algorithm update submodule 505 obtains the preset data processing algorithm corresponding to the algorithm identification information from the storage module, and the preset data processing algorithm sends the preset data processing algorithm to the preset algorithm update submodule 505.

[0118] In one embodiment, reference Figure 5c For the convenience of testing, the parallel processing module further includes a preset algorithm testing submodule 506, which can test the preset data processing submodule 501 in the parallel processing module through the preset algorithm testing submodule 505, which may specifically include the following steps:

[0119] Obtaining a test instruction, wherein the test instruction carries the test submodule identification information of the preset data processing submodule 501 to be tested;

[0120] Sending a mode switching instruction and the test submodule identification information to the parallel processing module based on the test instruction;

[0121] Acquire a test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction.

[0122] Among them, the mode conversion instruction is an instruction for converting the working state of the parallel processing module. For example, the parallel processing module includes two working states: normal operation mode and test mode. When the parallel processing module receives the mode conversion instruction, the parallel processing module stops receiving and detecting and marking the target gene data group to be processed.

[0123] In one embodiment, the test instruction and the test submodule identification information carried by the test instruction may be acquired based on the selection operation and confirmation operation of the user on the terminal page.

[0124] In one embodiment, a test purpose selection box is also provided on the terminal page, and a plurality of options are provided in the selection box, for example, the selection box includes a "monitoring" option and a "debugging" option. When monitoring, the terminal can obtain the test response signal, and then display the test response signal on the terminal page, or send the test response signal to other terminals through a network or other communication methods based on the user's operation. When debugging, the terminal can obtain the abnormal operation condition, wherein there can be multiple methods for obtaining the abnormal operation condition, for example, it can be set by the user, and the terminal can obtain the abnormal operation condition set by the user based on the user's input operation on the page. The terminal can also determine the abnormal operation condition based on the historical abnormal test response signal.

[0125] In one embodiment, if the user selects the "debug" option, after the serial processing module obtains the test response signal from the storage module, it can determine whether the test response signal meets the abnormal operation condition. If the debug response signal meets the abnormal operation condition, the abnormal debug sub-module identifier corresponding to the debug response signal is obtained.

[0126] In one embodiment, after obtaining the abnormal test submodule identifier, the algorithm in the preset data processing submodule 501 corresponding to the abnormal test submodule identifier can be updated according to the abnormal test submodule identifier, thereby restoring the abnormal preset data processing submodule 501. The specific updating steps refer to the above embodiment and will not be repeated here.

[0127] In one embodiment, the normal test submodule identifier can be obtained according to the abnormal test submodule identifier, and then a reset instruction is sent to the preset data processing submodule 501 corresponding to the normal test submodule identifier.

[0128] The normal test submodule identifier is an identifier of the preset data processing submodule 501 in a normal operating state.

[0129] The reset instruction can restore the circuit in the preset data processing submodule 501 to the initial state, just like the function of the reset button of a calculator, so as to return to the original state and recalculate. If the preset data processing submodule 501 is not restored to the initial state, after the test process is completed, if the parallel processing module enters the normal operation mode, the preset data processing submodule 501 will not be able to perform normal operations.

[0130] In one embodiment, the step of obtaining the test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction may include the following steps:

[0131] Trigger the parallel processing module to send a test signal to the preset data processing submodule 501 corresponding to the test submodule identifier based on the mode conversion instruction; obtain a test response signal generated by the preset data processing submodule 501 based on the test signal; and send the test response signal to the storage module;

[0132] The test response signal returned by the parallel processing module based on the storage module is received.

[0133] In one embodiment, reference Figure 5c The terminal device also includes a storage module, and the parallel processing module also includes a preset storage control submodule 504. The preset storage control submodule 504 is connected to the preset scheduling submodule through an internal bus. When the preset scheduling submodule obtains a test response signal from the preset data processing submodule 501 through the internal bus, the test response signal can be sent to the storage module through the preset storage control submodule 504.

[0134] Among them, the storage module refers to the memory in the following embodiment of the terminal device structure, and all the information in the computer, including the input raw data, computer programs, intermediate operation results and final operation results are stored in the storage module. The storage module can include a memory and a hard disk, wherein the memory is generally used to store the data and programs currently being executed. In the embodiment of the present application, during the test process, due to the large number of test response signals, in order to increase the test speed, the test response information can be stored in the memory through the preset storage control submodule 504, and then transmitted to the serial processing module for the next step of operation.

[0135] The memory may include DDR chip particles on the FPGA hardware board or DDR storage chips on the terminal host board. Figure 5c The schematic diagram of the structure of the embodiment when the memory includes a DDR memory chip on the host board is shown. Of course, in another embodiment, the storage module may also include DDR chip particles arranged on the FPGA hardware board.

[0136] In one embodiment, receiving the test response signal returned by the parallel processing module based on the storage module may include the following steps:

[0137] receiving an interrupt instruction sent by the parallel processing module;

[0138] Based on the interrupt instruction, the test response signal is obtained from the storage module.

[0139] Among them, interruption refers to the process of data processing, when the serial processing module needs to intervene, the serial processing module can automatically stop the running genetic analysis application and switch to the program to handle the new situation. After the processing is completed, it returns to the original suspended program to continue running.

[0140] In one embodiment, reference Figure 5c The parallel processing module includes a preset interrupt processing submodule 507, wherein the preset interrupt processing submodule 507 is connected to the preset communication submodule 502 through an interrupt bus, the preset interrupt processing submodule is also connected to the preset interrupt interface through the interrupt bus, and the preset interrupt interface is connected to all preset data processing submodules 501. The preset interrupt processing submodule can receive an interrupt instruction sent by the preset data processing submodule 501, and then send the interrupt instruction to the serial processing module through the preset communication submodule 502. After receiving the interrupt instruction, the serial processing module suspends the running gene analysis application, obtains the test response signal from the storage module, and sends an interrupt response to the parallel processing module at the same time. The interrupt instruction and interrupt request can facilitate the interaction between the parallel processing module and the serial processing module, and avoid the interaction affecting the original process of each processing module.

[0141] 105. Obtain a target gene data group after mutation detection and tagging performed by the parallel processing module on the combined target gene data.

[0142] In one embodiment, obtaining the target gene data set after mutation detection and tagging returned by the parallel processing module after performing mutation detection and tagging on the combined target gene data may specifically include the following steps:

[0143] Based on the data processing instruction, trigger the parallel processing module to determine the correspondence between each target gene data group to be processed and the preset data processing submodule 501 according to the data length information; based on the correspondence, assign the target gene data group to be processed to the preset data processing submodule 501 for variation detection and marking, and obtain the target gene data group after variation marking;

[0144] Obtain the target gene data set after mutation labeling returned by the parallel processing module.

[0145] Among them, mutations include many situations, such as insertion, deletion, duplication, inversion, translocation, etc.

[0146] In one embodiment, the terminal device further includes a storage module, and obtaining the target gene data set after the mutation mark returned by the parallel processing module may include the following steps:

[0147] When the preset submodule sends the target gene data group after mutation labeling to the storage module, receiving an interrupt instruction returned by the preset data processing submodule 501 in the parallel processing module;

[0148] The target gene data group after each mutation mark is obtained from the storage module based on the interrupt instruction.

[0149] In one embodiment, when the preset data processing submodule 501 completes the variation detection and marking of the target gene data group to be processed assigned to it, the preset data processing submodule 501 sends the obtained variation-marked target gene data group to the storage module and simultaneously issues an interrupt instruction to the parallel processing module.

[0150] In one embodiment, reference Figure 5c The parallel processing module includes a preset interrupt processing submodule, wherein the preset interrupt processing submodule is connected to the preset communication submodule 502 via an interrupt bus, the preset interrupt processing submodule is also connected to the preset interrupt interface via the interrupt bus, and the preset interrupt interface is connected to all preset data processing submodules 501. The preset interrupt processing submodule can receive an interrupt instruction sent by the preset data processing submodule 501, and then send the interrupt instruction to the serial processing module through the preset communication submodule 502. After receiving the interrupt instruction, the serial processing module suspends the running gene analysis application, obtains the target gene data group after the mutation mark from the storage module, and sends an interrupt response to the parallel processing module at the same time.

[0151] In one embodiment, reference Figure 5c The terminal device also includes a storage module, and the parallel processing module also includes a preset storage control submodule 504. The preset storage control submodule 504 is connected to the preset scheduling submodule through an internal bus. When the preset scheduling submodule obtains the target gene data group after mutation marking from the preset data processing submodule 501 through the bus, the preset storage control submodule 504 can store the target gene data group after mutation marking in the storage module.

[0152] Among them, the storage module refers to the memory in the following embodiment of the terminal device structure, and all the information in the computer, including the input raw data, computer programs, intermediate operation results and final operation results are stored in the storage module. The storage module includes a memory and a hard disk, wherein the memory is generally used to store the currently executed data and programs. In the embodiment of the present application, in the data processing process, because the amount of gene data is very large, in order to increase the speed, the target gene data group after mutation marking, the program being executed, etc. can be stored in the memory through the preset storage control submodule 504, and then transmitted to the serial processing module for the next step of processing.

[0153] The memory may include DDR chip particles on the FPGA hardware board or DDR storage chips on the terminal host board. Figure 5c The schematic diagram of the structure of the embodiment when the memory includes a DDR memory chip on the host board is shown. Of course, in another embodiment, the storage module may also include DDR chip particles arranged on the FPGA hardware board.

[0154] As can be seen from the above, the embodiment of the present application can obtain target gene data and reference gene data groups, wherein the target gene data includes multiple target gene sequence data; based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; based on the arrangement order of the target gene sequence data, the target gene sequence data is combined to obtain the combined target gene data; the combined target gene data is sent to the parallel processing module; and the target gene data group after mutation detection and tagging returned by the parallel processing module after mutation detection and tagging of the combined target gene data is obtained. The present application uses a parallel processing module to perform mutation detection and tagging on the combined target gene data to avoid occupying the computing resources of the serial processing module, and the parallel processing module can execute multiple computing instructions at the same time and process the combined target gene data in parallel, thereby improving the efficiency of data processing.

[0155] According to the method described in the previous embodiment, the data processing device will be further described in detail below by taking the example of being specifically integrated in a terminal device.

[0156] refer to Figure 2b The specific process of the data processing method of the embodiment of the present invention is as follows:

[0157] The terminal obtains target gene data and reference gene data sets.

[0158] In one embodiment, based on a click operation of a user on a display interface of a terminal, the target gene data and the reference gene data set are acquired from a memory or from other terminals (or servers) via a network.

[0159] For example, when a user clicks on a data acquisition instruction interface on a display interface of a terminal, a data acquisition instruction is triggered, the terminal reads the data acquisition instruction, decodes it, and then starts to execute acquisition of target gene data and reference gene data sets.

[0160] The terminal identifies, combines and divides the target gene data based on the reference gene data group to obtain a plurality of target gene data groups to be processed.

[0161] In one embodiment, the terminal identifies, combines and divides the target gene data based on the reference gene data group to obtain multiple target gene data groups to be processed, which may specifically include the following steps:

[0162] In the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data;

[0163] Combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data;

[0164] Based on the preset data length, the combined target gene data is divided to obtain a plurality of target gene data groups to be processed.

[0165] The terminal allocates the target gene data group to be processed to the parallel processing module for variation detection and marking, and obtains the variation-marked target gene data group.

[0166] In one embodiment, the terminal assigns the target gene data group to be processed to the parallel processing module for variation detection and marking to obtain the variation-marked target gene data group, which may specifically include:

[0167] When the target gene data group to be processed is obtained, a data processing instruction, the target gene data group to be processed, and data length information corresponding to the target gene data group to be processed are sent to the parallel processing module;

[0168] Based on the data length information, determining the corresponding relationship between each target gene data group to be processed and the preset data processing submodule;

[0169] Based on the corresponding relationship, the target gene data group to be processed is allocated to the preset data processing submodule for variation detection and labeling to obtain the target gene data group after each variation labeling.

[0170] The structure and function of the parallel processing module refer to the above embodiment and will not be described in detail.

[0171] The terminal obtains the target gene data set after mutation labeling returned by the parallel processing module.

[0172] In one embodiment, the terminal may obtain the target gene data set after the variation marking through the following steps;

[0173] When the preset data processing submodule sends the target gene data group after mutation labeling to the storage module, receiving an interrupt instruction returned by the preset data processing submodule in the parallel processing module;

[0174] The target gene data group after each mutation mark is obtained from the storage module based on the interrupt instruction.

[0175] Among them, the specific application of the interrupt instruction and the storage module can be found in the above embodiments and will not be described in detail.

[0176] The terminal performs gene analysis based on the target gene data set after the variation markers.

[0177] In one embodiment, the terminal can count the mutated target gene sequences that have mutated based on the target gene data group after mutation marking, and can infer the disease risks and physiological characteristics such as double eyelids of the target gene data provider based on the genetic information carried by the mutated target gene sequence, thereby generating health advice for the target gene data provider as a gene analysis result, and displaying the gene analysis result on the terminal page.

[0178] Among them, the genetic information carried by the mutant target gene sequence refers to the physiological trait information that can be determined by the mutant target gene sequence, which can be downloaded from the gene bank through the Internet.

[0179] In one embodiment, the terminal can be connected to other terminals of the user through the network or other communication protocols, so that the gene analysis results can be sent to the user of the terminal through the network or other communication methods (such as text messages, emails, etc.).

[0180] As can be seen from the above, the embodiment of the present application can obtain target gene data and reference gene data groups, wherein the target gene data includes multiple target gene sequence data; based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; based on the arrangement order of the target gene sequence data, the target gene sequence data is combined to obtain the combined target gene data; the combined target gene data is sent to the parallel processing module; and the target gene data group after mutation detection and tagging returned by the parallel processing module after mutation detection and tagging of the combined target gene data is obtained. The present application uses a parallel processing module to perform mutation detection and tagging on the combined target gene data to avoid occupying the computing resources of the serial processing module, and the parallel processing module can execute multiple computing instructions at the same time and process the combined target gene data in parallel, thereby improving the efficiency of data processing.

[0181] In order to better implement the above method, an embodiment of the present invention further provides a data processing device, which can be integrated into an electronic device, and the electronic device can be a terminal device, a server, a personal computer, etc.

[0182] For example, in this embodiment, the method of the embodiment of the present invention is described in detail by taking the data processing device integrated in the terminal equipment as an example.

[0183] For example, Figure 3a As shown, the data processing device may include a data acquisition unit 301, an identification unit 302, a combination unit 303, a sending unit 304 and a result acquisition unit 305. As follows:

[0184] The data acquisition unit 301 is used to acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data.

[0185] (2) An identification unit 302, configured to identify the target gene data based on the reference gene data set and determine an arrangement order of the target gene sequence data.

[0186] (3) A combining unit 303, configured to combine the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data.

[0187] (4) A sending unit 304, used to send the combined target gene data to the parallel processing module.

[0188] In one embodiment, the parallel processing module includes a plurality of preset data processing submodules, and the sending unit 304 may be used to:

[0189] Based on a preset data length, the combined target gene data is divided to obtain a plurality of target gene data groups to be processed;

[0190] Obtaining data processing instructions;

[0191] The data processing instruction, the target gene data group to be processed, and data length information corresponding to the target gene data group to be processed are sent to the parallel processing module.

[0192] (5) A result acquisition unit 305, which is used to acquire a target gene data set after mutation detection and marking is returned by the parallel processing module after the combined target gene data is subjected to mutation detection and marking.

[0193] In one embodiment, the result acquisition unit 305 may be specifically used to:

[0194] Based on the data processing instruction, trigger the parallel processing module to determine the correspondence between each target gene data group to be processed and the preset data processing submodule according to the data length information; based on the correspondence, assign the target gene data group to be processed to the preset data processing submodule for variation detection and marking, and obtain the variation-marked target gene data group;

[0195] Obtain the target gene data set after mutation labeling returned by the parallel processing module.

[0196] In one embodiment, the result acquisition unit 305 may also be used to:

[0197] receiving an interrupt instruction sent by the parallel processing module;

[0198] Based on the interrupt instruction, the test response signal is obtained from the storage module.

[0199] In one embodiment, reference Figure 3b , the data processing device further includes an updating unit 306 and a testing unit 307, as follows:

[0200] An updating unit 306, configured to trigger the parallel processing module to update the preset data processing algorithm to the target data processing algorithm based on the algorithm update instruction, the preset algorithm identification information and the target algorithm identification information;

[0201] In one embodiment, the updating unit 306 may be specifically configured to:

[0202] Based on the algorithm update instruction, trigger the parallel processing module to obtain the target data processing algorithm from the storage module according to the target algorithm identification information; based on the preset algorithm identification information, obtain the to-be-updated sub-module identification information of the preset data processing sub-module corresponding to the preset data processing algorithm to be updated; send the target data processing algorithm to the preset data processing sub-module corresponding to the to-be-updated sub-module identification information.

[0203] The testing unit 307 is used to obtain a test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction.

[0204] In one embodiment, the testing unit 307 may be specifically used for:

[0205] Triggering the parallel processing module to send a test signal to the preset data processing submodule corresponding to the test submodule identifier based on the mode conversion instruction; obtaining a test response signal generated by the preset data processing submodule based on the test signal; and sending the test response signal to the storage module;

[0206] The test response signal returned by the parallel processing module based on the storage module is received.

[0207] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0208] As can be seen from the above, in the embodiment of the present invention, the data acquisition unit acquires the target gene data and the reference gene data group, and the target gene data includes a plurality of target gene sequence data; the identification unit identifies the target gene data based on the reference gene data group and determines the arrangement order of the target gene sequence data. The combination unit combines the target gene sequence data based on the arrangement order of the target gene sequence data to obtain the combined target gene data. The sending unit sends the combined target gene data to the parallel processing module; the result acquisition unit acquires the target gene data group after the parallel processing module performs variation detection and marking on the combined target gene data and returns it. The present application uses a parallel processing module to perform variation detection and marking on the combined target gene data to avoid occupying the computing resources of the serial processing module, and the parallel processing module can execute multiple computing instructions at the same time and process the combined target gene data in parallel, thereby improving the efficiency of data processing.

[0209] The present application also provides a terminal device, which may be a mobile phone, a tablet computer, a micro-processing box, a drone, or an image acquisition device. Figure 4 As shown, it shows a schematic diagram of the structure of the terminal device involved in the embodiment of the present application, specifically:

[0210] The terminal device may include one or more processing core processors 401, one or more computer-readable computer-readable storage media memories 402, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will appreciate that Figure 4 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0211] The processor 401 is the control center of the terminal device. It uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 402 and calling data stored in the memory 402, it executes various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. In some embodiments, the processor 401 may include one or more processing cores. For example, the processor 401 may include two processing cores, a parallel processing module and a serial processing module; in some embodiments, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0212] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0213] The terminal device also includes a power supply 403 for supplying power to various components. In some embodiments, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0214] The terminal device may further include an input module 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0215] The terminal device may further include a communication module 405. In some embodiments, the communication module 405 may include a wireless submodule, and the terminal device may perform short-range wireless transmission through the wireless submodule of the communication module 405, thereby providing wireless broadband Internet access. For example, the communication module 405 may be used to help users send and receive emails, browse web pages, and access streaming media.

[0216] Although not shown, the terminal device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the terminal device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0217] Acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data;

[0218] Based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data;

[0219] Combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data;

[0220] Sending the combined target gene data to the parallel processing module;

[0221] Obtain a target gene data group after mutation detection and marking returned by the parallel processing module after performing mutation detection and marking on the combined target gene data.

[0222] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0223] As can be seen from the above, this embodiment can obtain target gene data and reference gene data groups, wherein the target gene data includes multiple target gene sequence data; based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; based on the arrangement order of the target gene sequence data, the target gene sequence data is combined to obtain the combined target gene data; the combined target gene data is sent to the parallel processing module; and the mutation-marked target gene data group returned by the parallel processing module after performing mutation detection and marking on the combined target gene data is obtained. The present application uses a parallel processing module to perform mutation detection and marking on the combined target gene data to avoid occupying the computing resources of the serial processing module, and the parallel processing module can execute multiple computing instructions at the same time and process the combined target gene data in parallel, thereby improving the efficiency of data processing.

[0224] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions, and the instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0225] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any data processing method provided in the embodiment of the present application. For example, the instructions can execute the following steps:

[0226] Acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data;

[0227] Based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data;

[0228] Combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data;

[0229] Sending the combined target gene data to the parallel processing module;

[0230] Obtain a target gene data group after mutation detection and marking returned by the parallel processing module after performing mutation detection and marking on the combined target gene data.

[0231] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0232] Since the instructions stored in the computer-readable storage medium can execute the steps in any data processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any data processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0233] In one embodiment, the parallel processing module may include a preset data processing submodule 501, a preset communication submodule 502, a preset scheduling submodule 503, a preset storage control submodule 504, a preset algorithm testing submodule 506 and a preset interrupt processing submodule 507, as follows:

[0234] The preset data processing submodule 501 is used to perform variation detection and labeling on the target gene data set to be processed. The preset data processing submodule 501 is configured with a variation detection algorithm and a preset variation detection algorithm, and each data processing submodule can be used to process data of a preset length.

[0235] The preset communication submodule 502 is used to interact with the serial processing module to transmit data, information, instructions, etc. The parallel processing module is connected to the serial processing module via an application program interface, a driver and the preset communication submodule 502 .

[0236] The preset scheduling submodule 503 is used to schedule and arbitrate all preset submodules in the parallel processing module, and is the hub for data, instructions, and information transmission between preset submodules. The preset scheduling submodule 503 can receive data and instructions from other preset submodules through the internal bus, and transmit data or call other preset submodules according to the instructions. The preset scheduling submodule 503 can also receive instructions from the serial processing module through the preset communication submodule 502, and then call other preset submodules according to the instructions (for example, the preset algorithm update submodule 505 can be called according to the algorithm update instruction).

[0237] The preset storage control submodule 504 is used to realize data transmission between the parallel processing module and the storage module of the terminal device.

[0238] In one embodiment, the preset storage control submodule 504 is connected to the preset scheduling submodule via an internal bus, and the preset scheduling submodule 503 can call the preset storage control submodule 504 to store the data in the parallel processing module to the storage module, or transfer the data from the storage module to the parallel processing module.

[0239] The preset algorithm update submodule 505 is used to update the preset data processing algorithm in the preset data processing submodule to the target data processing algorithm. The preset algorithm update submodule 505 is connected to the preset scheduling submodule through an internal bus. Then the preset scheduling submodule 503 sends the algorithm identification information to the preset algorithm update submodule 505 based on the algorithm update instruction, and then the preset algorithm update submodule 505 obtains the preset data processing algorithm corresponding to the algorithm identification information from the storage module, and the preset data processing algorithm sends the preset data processing algorithm to the preset algorithm update submodule 505.

[0240] The preset algorithm testing submodule 506 is used to monitor or debug the preset data processing submodule. The preset algorithm testing submodule 506 is connected to the preset debugging submodule 503. After receiving the mode conversion instruction, the preset debugging submodule 503 can send a test signal to the preset data processing submodule 501 corresponding to the test submodule identifier; obtain the test response signal generated by the preset data processing submodule 501 based on the test signal; and then send the test response signal to the storage module.

[0241] The preset interrupt processing submodule 507 is used to receive and respond to interrupt instructions. The preset interrupt processing submodule 507 is connected to the preset communication submodule 502 through an interrupt bus, and the preset interrupt processing submodule is also connected to the preset interrupt interface through the interrupt bus. The preset interrupt interface is connected to all preset data processing submodules 501. The preset interrupt processing submodule can receive the interrupt instruction sent by the preset data processing submodule 501, and then send the interrupt instruction to the serial processing module through the preset communication submodule 502. After receiving the interrupt instruction, the serial processing module suspends the running gene analysis application, obtains the test response signal from the storage module, and sends an interrupt response to the parallel processing module.

[0242] During specific implementation, the above-mentioned preset submodules jointly implement the above-mentioned data processing method under the scheduling of the preset scheduling submodule. The specific implementation of the above-mentioned preset submodules can refer to the previous method embodiment, which will not be repeated here.

[0243] The above is a detailed introduction to a data processing method, device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data processing method, characterized in that: Applicable to a serial processing module in a terminal device, the terminal device also includes a parallel processing module, and the data processing method includes: Acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data; Based on the reference gene data group, the target gene data is identified to determine the arrangement order of the target gene sequence data; Combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data; Based on a preset data length, the combined target gene data is divided to obtain a plurality of target gene data groups to be processed; a data processing instruction is obtained; and the data processing instruction, the target gene data group to be processed, and data length information corresponding to the target gene data group to be processed are sent to the parallel processing module, wherein the parallel processing module includes a plurality of preset data processing submodules; Based on the data processing instruction, the parallel processing module is triggered to determine the correspondence between each target gene data group to be processed and the preset data processing submodule according to the data length information; based on the correspondence, the target gene data group to be processed is assigned to the preset data processing submodule for variation detection and marking to obtain the target gene data group after variation marking; and the target gene data after variation marking returned by the parallel processing module is obtained.

2. The data processing method according to claim 1, characterized in that: The terminal device further includes a storage module, and the step of obtaining the target gene data group after the mutation markers returned by the parallel processing module includes: When the preset data processing submodule sends the target gene data group after mutation labeling to the storage module, receiving an interrupt instruction returned by the preset data processing submodule in the parallel processing module; The target gene data group after mutation labeling is acquired from the storage module based on the interrupt instruction trigger.

3. The data processing method according to claim 1, characterized in that: The terminal device further includes a storage module, and the parallel processing module includes a preset data processing algorithm; the data processing method further includes: Acquire preset algorithm identification information of the preset data processing algorithm to be updated, and target algorithm identification information of the target data processing algorithm corresponding to the preset data processing algorithm to be updated; Sending an algorithm update instruction, as well as the preset algorithm identification information and the target algorithm identification information to the parallel processing module; Based on the algorithm update instruction, the parallel processing module is triggered to update the preset data processing algorithm to the target data processing algorithm according to the preset algorithm identification information and the target algorithm identification information.

4. The data processing method according to claim 3, characterized in that: Based on the algorithm update instruction, triggering the parallel processing module to update the preset data processing algorithm to the target data processing algorithm according to the preset algorithm identification information and the target algorithm identification information, including: Based on the algorithm update instruction, trigger the parallel processing module to obtain the target data processing algorithm from the storage module according to the target algorithm identification information; based on the preset algorithm identification information, obtain the to-be-updated sub-module identification information of the preset data processing sub-module corresponding to the preset data processing algorithm to be updated; send the target data processing algorithm to the preset data processing sub-module corresponding to the to-be-updated sub-module identification information.

5. The data processing method according to claim 1, characterized in that: The terminal device also includes a storage module; the data processing method also includes: Acquire a test instruction, wherein the test instruction carries the test submodule identification information of the preset data processing submodule to be tested; Sending a mode switching instruction and the test submodule identification information to the parallel processing module based on the test instruction; Acquire a test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction.

6. The data processing method according to claim 5, characterized in that: Acquiring a test response signal corresponding to the test submodule identification information returned by the parallel processing module based on the mode conversion instruction includes: Trigger the parallel processing module to send a test signal to the preset data processing submodule corresponding to the test submodule identifier based on the mode conversion instruction; obtain a test response signal generated by the preset data processing submodule based on the test signal; and send the test response signal to the storage module; The test response signal returned by the parallel processing module based on the storage module is received.

7. The data processing method according to claim 6, characterized in that: Receiving the test response signal returned by the parallel processing module based on the storage module includes: receiving an interrupt instruction sent by the parallel processing module; Based on the interrupt instruction, the test response signal is obtained from the storage module.

8. A data processing device, characterized in that: include: A data acquisition unit, used to acquire target gene data and a reference gene data group, wherein the target gene data includes a plurality of target gene sequence data; an identification unit, configured to identify the target gene data based on the reference gene data group and determine an arrangement order of the target gene sequence data; A combining unit, used for combining the target gene sequence data based on the arrangement order of the target gene sequence data to obtain combined target gene data; a sending unit, configured to divide the combined target gene data based on a preset data length to obtain a plurality of target gene data groups to be processed; obtain a data processing instruction; and send the data processing instruction, the target gene data group to be processed, and data length information corresponding to the target gene data group to be processed to a parallel processing module, wherein the parallel processing module includes a plurality of preset data processing submodules; A result acquisition unit, configured to trigger the parallel processing module to determine the correspondence between each target gene data group to be processed and the preset data processing submodule according to the data length information based on the data processing instruction; Based on the corresponding relationship, the target gene data group to be processed is allocated to the preset data processing submodule for variation detection and marking to obtain a variation-marked target gene data group; and the variation-marked target gene data returned by the parallel processing module is obtained.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is caused to execute the data processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for rapidly detecting human genome single base mutation and micro-insertion deletion

    CN104762402A

  • Whole genome sequencing data calculation interpretation method

    CN107194204A

  • Data processing method of next-generation sequencing (NGS) data analysis platform (IMP)

    CN107609350A

  • Base recognition method, device and equipment and storage medium

    CN110322931A

  • Comprehensive Analysis Pipeline for Discovery of Human Genetic Variation

    US20130311106A1