A knowledge base system and its application method
By utilizing the management, search, and cloud computing modules of the knowledge base system, the problem of chaotic data management for astrochemical reactions has been solved, enabling unified management, querying, and simulation of data. This improves the accuracy and real-time performance of the data, supporting rapid analysis by researchers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2026-03-10
AI Technical Summary
The current technology for managing data related to astrochemical reactions is chaotic and lacks a systematic approach, resulting in ineffective management and utilization.
A knowledge base system, including a management module, a search module, and a cloud computing module, is used to manage, query, and simulate astrochemical reaction data. It provides functions for adding, deleting, and modifying data, and simulates the abundance changes of molecules during the reaction process through cloud computing.
It enables unified management and querying of astrochemical reaction data, supports efficient data simulation and visualization, improves data accuracy and real-time performance, and facilitates data processing and analysis for researchers.
Smart Images

Figure CN117133383B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of astronomical data retrieval technology, and in particular to a knowledge base system and a method for applying the knowledge base system. Background Technology
[0002] The Astrochemical Reaction Network is a knowledge network used to describe the chemical reaction processes of interstellar molecules in the universe, to study the formation and consumption mechanisms of interstellar molecules, and thus to reveal the formation and evolution of the universe. Therefore, the collection and management of data related to astrochemical reactions is of great significance.
[0003] Currently, with the development of observation, experimentation, and theory, the number of molecules verified in interstellar space is increasing daily, and the corresponding number of astrochemical reactions is also growing. However, the management of data related to astrochemical reactions is chaotic and lacks a systematic approach, resulting in an inability to effectively manage such data.
[0004] Therefore, how to effectively manage data related to astrochemical reactions is an urgent problem to be solved. Summary of the Invention
[0005] This specification provides a knowledge base system and a method for applying the knowledge base system, in order to partially solve the aforementioned problems existing in the prior art.
[0006] The following technical solution is adopted in this specification:
[0007] This specification provides a knowledge base system, which includes: a management module, a search module, and a cloud computing module;
[0008] The management module is used to respond to the astrochemical reaction data management instructions sent by the user and execute the data management operations corresponding to the astrochemical reaction data management instructions in order to manage the astrochemical reaction data stored in the database.
[0009] The search module is used to respond to the query request sent by the user and return astrochemical reaction data that matches the query request to the user;
[0010] The cloud computing module is used to respond to the simulation request sent by the user, determine the basic astrochemical reaction data, physical environment parameters and simulation condition parameters, simulate the process of the astrochemical reaction corresponding to the basic astrochemical reaction data under the physical environment corresponding to the physical environment parameters, determine the change relationship of the abundance of each molecule contained in the astrochemical reaction process over time, and display the change relationship to the user.
[0011] Optionally, the data management operation includes: a data addition operation;
[0012] When the management module performs the data addition operation, the management module determines the astrochemical reaction data to be added according to the astrochemical reaction data management instruction, and determines each reactant contained in the astrochemical reaction data to be added;
[0013] For each reactant, the reactant is coded according to the number of atoms in that reactant, thus obtaining the coded characteristic representation of that reactant;
[0014] Determine whether there exists a coded feature representation in the stored coded feature representations of each reactant that is consistent with the coded feature representation of that reactant;
[0015] If so, then based on the empirical molecular formula of the reactant, determine whether the reactant is one of the reactants that have been stored.
[0016] If not, then it is determined that the reactant is not one of the reactants already stored, and the reactant and the data of the astrochemical reaction to be added are saved to the database.
[0017] Optionally, the knowledge base system further includes: a storage module;
[0018] The storage module is used to determine the data table corresponding to each data in the astrochemical reaction data according to the preset correspondence between the data types and data tables, and to store each data in the astrochemical reaction data into the corresponding data table.
[0019] Optionally, the search module is used to determine the query type corresponding to the query request based on the query request sent by the user, and the query type includes: normal query and advanced query;
[0020] If the query request is determined to be a normal query, then the specified query field contained in the query request is determined, and astrochemical reaction data matching the specified field is queried for the user.
[0021] If the query request is determined to be an advanced query, then the specified query statement contained in the query request is determined, and astrochemical reaction data matching the specified query statement is retrieved for the user.
[0022] Optionally, the search module is used to determine, based on the query request sent by the user, each reactant that matches the query request from the reactants stored in the database, and to select each target reactant.
[0023] Based on the target reactants, return to the user astrochemical reaction data that matches the target reactants.
[0024] Optionally, the search module is used to determine the isomers of each target reactant from the reactants stored in the database, and to use the isomers as supplementary target reactants;
[0025] Based on the target reactants and supplementary target reactants, the system returns astrochemical reaction data to the user that matches the target reactants and supplementary target reactants.
[0026] Optionally, the knowledge base system further includes: a download module;
[0027] The download module is used to respond to the download request sent by the user, generate file data corresponding to the astrochemical reaction data that matches the query request returned by the search module, and save the file data to the local device used by the user. The file data includes at least one of the following: comma-separated value CSV file data and standard template library STL file data.
[0028] Optionally, the cloud computing module is used to determine the abundance of each molecule contained in the process of each astrochemical reaction after the completion of each astrochemical reaction corresponding to each basic astrochemical reaction data under the physical environment corresponding to the physical environment parameters, as the sample abundance, and compare the sample abundance with the observed abundance determined according to the observed data of the astrochemical reactions corresponding to each basic astrochemical reaction data, and display the comparison result to the user.
[0029] Optionally, the knowledge base system further includes: a presentation module;
[0030] The presentation module is used to generate a visualization interface based on the astrochemical reaction data that matches the query request returned by the search module, and to display the astrochemical reaction data that matches the query request to the user through the visualization interface.
[0031] This manual provides an application method for a knowledge base system, including:
[0032] The system receives astrochemical reaction data management instructions sent by users and responds to these instructions through the management module, performing data management operations corresponding to the instructions to manage the astrochemical reaction data stored in the database.
[0033] The system receives a query request from the user and responds to the query request through the search module, returning astrochemical reaction data that matches the query request to the user.
[0034] The system receives simulation requests sent by the user and responds to these requests via a cloud computing module. It determines the basic astrochemical reaction data, physical environment parameters, and simulation condition parameters. It then simulates the astrochemical reaction process corresponding to the basic astrochemical reaction data under the physical environment parameters, determines the change in the abundance of each molecule involved in the astrochemical reaction over time, and displays this change relationship to the user.
[0035] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects:
[0036] The knowledge base system provided in this specification includes: a management module, a search module, and a cloud computing module. The management module responds to user-sent astrochemical reaction data management commands, executes data management operations corresponding to these commands, and manages the astrochemical reaction data stored in the database. The search module responds to user-sent query requests, returns astrochemical reaction data matching the query request, and the cloud computing module responds to user-sent simulation requests, determines the basic astrochemical reaction data, physical environment parameters, and simulation condition parameters, simulates the astrochemical reaction process corresponding to each basic astrochemical reaction data under the physical environment parameters, determines the change in the abundance of each molecule involved in the astrochemical reaction over time, and displays this change to the user.
[0037] As can be seen from the above methods, the management module provided by the knowledge base system can be used to manage the data of various astrochemical reactions in a unified manner. The search module can respond to user query requests and search for the astrochemical reaction data required by the user. Furthermore, the cloud computing module can be used to simulate the reaction process of the astrochemical reaction data, thereby effectively managing the data related to astrochemical reactions. Attached Figure Description
[0038] The accompanying drawings, which are included to provide a further understanding of this specification and form part of this specification, illustrate exemplary embodiments and are used to explain this specification, but do not constitute an undue limitation thereof. In the drawings:
[0039] Figure 1 This is a schematic diagram of a knowledge base system provided in this specification;
[0040] Figure 2 A diagram illustrating the data addition process for the management module provided in this manual;
[0041] Figure 3A This is a schematic diagram of the reactant data table provided in this specification;
[0042] Figure 3B This is a schematic diagram of the chemical reaction data table provided in this specification;
[0043] Figure 4 This is a schematic diagram of the astrochemical reaction network provided in this specification;
[0044] Figure 5 This is a schematic diagram illustrating the simulation process of the cloud computing module provided in this specification;
[0045] Figure 6 This is a flowchart illustrating an application method of a knowledge base system provided in this specification;
[0046] Figure 7 This specification provides a corresponding Figure 1 A schematic diagram of an electronic device. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.
[0048] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0049] Figure 1 This is a schematic diagram of a knowledge base system provided in this specification.
[0050] Combination Figure 1 As can be seen from this specification, the knowledge base system may include: a business layer, a storage layer, and a presentation layer. The business layer may include: a management module, a search module, a cloud computing module, and a download module. The storage layer may include: a storage module. The presentation layer may include: a presentation module.
[0051] In the above content, the management module can be used to respond to the astrochemical reaction data management instructions sent by the user, and execute the data management operations corresponding to the astrochemical reaction data management instructions in order to manage the astrochemical reaction data stored in the database.
[0052] The data management operations mentioned above can include: data addition, data deletion, and data modification.
[0053] Furthermore, when the management module performs a data addition operation, it can determine the astrochemical reaction data to be added based on the astrochemical reaction data management instructions, and save the data to be added to the database, specifically as follows: Figure 2 As shown.
[0054] Figure 2 This diagram illustrates the process of adding data to the management module provided in this manual.
[0055] Combination Figure 2 As can be seen, the management module can determine the astrochemical reaction data to be added based on the astrochemical reaction data management instructions, and determine each reactant contained in the astrochemical reaction data to be added. For each reactant, the reactant is encoded according to the number of atoms of the reactant to obtain the coded feature representation of the reactant.
[0056] For example, if the reactant is Therefore, based on the number of atoms contained in the reactant, the reactant can be coded as {"C": 3, "H": 1}.
[0057] Furthermore, the management module can determine whether there is a coded feature representation in the stored coded feature representations that is consistent with the coded feature representation of the reactant. If not, it can determine that the reactant is not one of the stored reactants, and save the reactant and the astrochemical reaction data to be added to the database.
[0058] If so, then the reactant whose coded feature is consistent with the coded feature of the reactant can be identified as the target reactant corresponding to the reactant. It is then determined whether the empirical molecular formula of the reactant is consistent with the empirical molecular formula of the target reactant corresponding to the reactant. If they are consistent, then the reactant and the target reactant corresponding to the reactant are the same chemical substance. If they are inconsistent, then the reactant can be identified as a suspected substitute for the target reactant corresponding to the reactant.
[0059] It should be noted that, in the above context, if the management module determines that the reactant is not one of the stored reactants, it can determine if it is a spelling error. If not, the reactant can be saved to a preset list of missing reactants, pending further confirmation from the administrator that it is not one of the stored reactants before being saved to the database. If the management module determines that the empirical formula of the reactant matches the empirical formula of the corresponding target reactant, the reactant can be saved to a preset list of alternative reactants, pending further confirmation from the administrator that the reactant and the corresponding target reactant are the same substance. If the management module determines that the empirical formula of the reactant does not match the empirical formula of the corresponding target reactant, it can determine if it is a spelling error. If not, the reactant can be saved to a preset list of ambiguous reactants, pending further confirmation from the administrator that the reactant and the corresponding target reactant are the same substance.
[0060] If the administrator determines that the reactant and the target reactant are the same substance, then there is no need to store the reactant in the database. If the administrator determines that the reactant and the target reactant are not the same substance, then the reactant can be stored as an isomer of the target reactant.
[0061] It is worth noting that the management module can also automatically retrieve documents from various open-source literature databases as candidate documents through a preset Large Language Model (LLM). For each candidate document, it automatically identifies the abstract keywords contained in the candidate document and determines the probability value of the candidate document containing astrochemical reaction data not stored in the database based on the abstract keywords. If the determined probability value exceeds a preset threshold, the candidate document can be selected as the target document, downloaded and sent to the device used by the designated user, so that the designated user can review the target document to determine whether it contains astrochemical reaction data not stored in the database, and save the astrochemical reaction data not stored in the database contained in the target document to the database.
[0062] In addition, the HTML structure of the open-source astrochemical reaction database homepage can be queried in advance to determine how the astrochemical reaction data contained in the database is presented and its position on the page.
[0063] Then, the management module can automatically obtain and parse the HTML page of the open-source astrochemical reaction database homepage to obtain the astrochemical reaction data contained in the open-source astrochemical reaction database. The obtained astrochemical reaction data contained in the open-source astrochemical reaction database is stored in data structures such as lists, dictionaries, or databases. The obtained astrochemical reaction data contained in the open-source astrochemical reaction database is cleaned and processed to ensure the consistency and accuracy of the obtained astrochemical reaction data contained in the open-source astrochemical reaction database. The cleaned astrochemical reaction data contained in the open-source astrochemical reaction database is used as the astrochemical reaction data to be added, and the above method is used to determine whether to store the astrochemical reaction data to be added into the database.
[0064] As can be seen from the above, the management module can automatically identify and retrieve astrochemical reaction data from various open-source platforms on a regular or periodic basis to update the astrochemical reaction data stored in the database, thereby improving the comprehensiveness and accuracy of the astrochemical reaction data stored in the database.
[0065] Furthermore, when the management module performs a data deletion operation, it can determine the astrochemical reaction data to be deleted based on the astrochemical reaction data management instructions, and then delete the astrochemical reaction data to be deleted from the database.
[0066] Furthermore, when the management module performs a data modification operation, it can determine the astrochemical reaction data to be modified based on the astrochemical reaction data management instructions, and then modify the astrochemical reaction data to be modified.
[0067] It is worth noting that the aforementioned astrochemical reaction data can include: reactant data, chemical reaction data, and observational data (such as observed abundance). Reactant data can include: molecular formula, structural formula, molecular weight, isomers, and 3D structural models of the reactants. Chemical reaction data can include: chemical reaction equations, reaction rate constants, chemical reaction types, chemical reaction rate formulas, temperature dependence, pressure dependence, molecular collision effects, and chemical reaction network references. The chemical reaction equations here can include gas-phase reaction equations, dust surface reaction equations, and ice chemical reaction equations. The chemical reaction types here can include unimolecular and bimolecular reactions. The chemical reaction rate formulas here can include cosmic ray ionization formulas, photodissociation formulas, modified Arrhenius formulas, ionic polarity reaction formulas, and three-phase reaction rate formulas. In gas-phase reactions, the reaction rate constant can include formula parameters such as α, β, and γ; in dust surface reactions, the reaction rate constant can include dissociation energy.
[0068] The unimolecular reactions described above can include ionization and dissociation reactions caused by cosmic ray particles or ultraviolet photons induced by cosmic ray particles. The bimolecular reactions described above can include all reactions between two chemical species.
[0069] In this specification, the storage module can be used to determine the data table corresponding to each data in the astrochemical reaction data according to the preset correspondence between the data types and data tables, and to store each data in the astrochemical reaction data into the corresponding data table.
[0070] The aforementioned data tables include: reactant data table, chemical reaction data table, and observation data table, as detailed below. Figure 3A , 3B As shown.
[0071] Figure 3A This is a schematic diagram of the chemical reaction data table provided in this specification.
[0072] Combination Figure 3A As can be seen, the storage module can store the reactant, product, channel type, formula, reaction parameters alpha, beta, gamma, minimum reaction temperature temp_min, maximum reaction temperature temp_max, reference or source origin, and comment.
[0073] Figure 3B This is a schematic diagram of the reactant data table provided in this specification.
[0074] Combination Figure 3B As can be seen, the storage module can store the unique identifier key, number of atoms, normal formula, simplified linear input standard, international compound identifier, and empirical formula of the reactant data in the astrochemical reaction data.
[0075] In this specification, the search module can be used to respond to query requests sent by users and return astrochemical reaction data that match the query request. The query type can include: normal query and advanced query.
[0076] Specifically, the search module can determine the reactants that match the query request from the reactants stored in the database, based on the query request sent by the user, and use them as target reactants. Based on the target reactants, the module returns astrochemical reaction data that match the target reactants to the user.
[0077] In addition, the search module can identify the isomers of each target reactant from the database and use them as supplementary target reactants. Based on the target reactants and supplementary target reactants, the module can return astrochemical reaction data that matches the target reactants and supplementary target reactants to the user.
[0078] If the query request is determined to be a normal query, the specified query fields included in the query request are identified, and astrochemical reaction data matching the specified fields are retrieved for the user. If the query request is determined to be an advanced query, the specified query statement included in the query request is identified, and astrochemical reaction data matching the specified query statement are retrieved for the user. The specified query statement can be a user-written SQL statement.
[0079] Furthermore, after identifying astrochemical reaction data that matches the user's query request, the search module can construct an astrochemical reaction network based on this data. The presentation module then displays this network to the user. The astrochemical reaction network is shown as follows: Figure 4 As shown.
[0080] Figure 4 This is a schematic diagram of the astrochemical reaction network provided in this specification.
[0081] Combination Figure 4 As can be seen, there are two types of nodes in the constructed astrochemical reaction network: material nodes and reaction nodes. Each material node is used to represent each reactant in the astrochemical reaction data that matches the query request sent by the user. For at least some of the material nodes, if these material nodes are all material nodes corresponding to reactants in the same astrochemical reaction, then these material nodes can be connected through a reaction node. Each reaction node is used to represent each astrochemical reaction in the astrochemical reaction data that matches the query request sent by the user.
[0082] In this specification, the cloud computing module can be used to respond to simulation requests sent by users, determine the basic astrochemical reaction data, physical environment parameters, and simulation condition parameters, and simulate the astrochemical reaction process corresponding to the basic astrochemical reaction data under the physical environment parameters. It also determines the change in the abundance of each molecule involved in the astrochemical reaction over time and displays this change to the user, as detailed below. Figure 5 As shown.
[0083] Figure 5This is a schematic diagram illustrating the simulation process of the cloud computing module provided in this manual.
[0084] Combination Figure 5 As can be seen, users can input the physical environment parameters and simulation condition parameters required for simulation based on the basic astrochemical reaction data, and generate simulation requests based on the physical environment parameters and simulation condition parameters. The physical environment parameters can include: extinction of the environment, temperature and hydrogen nucleus density, etc. The simulation condition parameters can include: the initial abundance, initial time, end time and numerical accuracy of each molecule contained in the basic astrochemical reaction data.
[0085] Furthermore, after receiving a simulation request from a user, the cloud computing module can simulate the process of astrochemical reactions corresponding to basic astrochemical reaction data under the physical environment corresponding to the physical parameters using a preset algorithm. It can also determine the relationship between the abundance of each molecule contained in the astrochemical reaction and time, and display the relationship to the user through a visualization interface using the presentation module. The preset algorithm can be, for example, a rate equation algorithm or a Monte Carlo algorithm.
[0086] In addition, the cloud computing module can also determine the abundance of each molecule contained in the process of each astrochemical reaction after the completion of each astrochemical reaction corresponding to each basic astrochemical reaction data under the physical environment corresponding to the physical environment parameters. This is used as the sample abundance. The sample abundance is then compared with the observed abundance determined based on the observation data of the astrochemical reactions corresponding to each basic astrochemical reaction data, and the comparison results are displayed to the user.
[0087] It should be noted that the aforementioned basic astrochemical reaction data can be astrochemical reaction data input by the user, or it can be the astrochemical reaction data contained in the astrochemical reaction network composed of astrochemical reaction data that match the query request and are found by the user through the search module.
[0088] In this specification, the download module is used to respond to the download request sent by the user, generate file data corresponding to the astrochemical reaction data returned by the search module that matches the query request, and save the file data to the local device used by the user. The file data here includes at least one of the following: comma-separated value CSV file data and standard template library STL file data.
[0089] In this specification, the presentation module can be used to generate a visualization interface based on the astrochemical reaction data that matches the query request returned by the search module, and to display the astrochemical reaction data that matches the query request to the user through the visualization interface.
[0090] As can be seen from the above, the aforementioned knowledge base system can collect and update astrochemical reaction data in a timely manner through dynamic and automatic data identification and capture, ensuring the accuracy and real-time nature of the astrochemical reaction data stored in the database. Furthermore, the knowledge base system can organize, classify, and visualize the astrochemical reaction data, making it easier to understand and analyze. Simultaneously, the database will automatically capture and store relevant information about observed molecules, such as abundance, interstellar environment, and observation methods. The knowledge base will also support cloud computing, providing various data simulation methods (rate equations, Monte Carlo, etc.) and automatically comparing simulation results with observed molecular abundances. Through this knowledge base system, researchers can easily simulate and process data and obtain rapid results.
[0091] To facilitate understanding, the following will provide a detailed explanation of the application of the aforementioned knowledge base system in practical application scenarios.
[0092] Figure 6 This is a flowchart illustrating an application method for a knowledge base system provided in this specification, including the following steps:
[0093] S601: Receive the astrochemical reaction data management instruction sent by the user, and respond to the astrochemical reaction data management instruction sent by the user through the management module, and execute the data management operation corresponding to the astrochemical reaction data management instruction to manage the astrochemical reaction data stored in the database.
[0094] S602: Receive the query request sent by the user, and respond to the query request sent by the user through the search module, and return astrochemical reaction data that matches the query request to the user;
[0095] S603: Receive the simulation request sent by the user, and respond to the simulation request sent by the user through the cloud computing module, determine the basic astrochemical reaction data, physical environment parameters and simulation condition parameters, and simulate the process of the astrochemical reaction corresponding to the basic astrochemical reaction data under the physical environment corresponding to the physical environment parameters, determine the change relationship of the abundance of each molecule contained in the astrochemical reaction process over time, and display the change relationship to the user.
[0096] As can be seen from the above, the aforementioned knowledge base system can collect and update astrochemical reaction data in a timely manner through dynamic and automatic data identification and capture, ensuring the accuracy and real-time nature of the astrochemical reaction data stored in the database. Furthermore, the knowledge base system can organize, classify, and visualize the astrochemical reaction data, making it easier to understand and analyze. Simultaneously, the database will automatically capture and store relevant information about observed molecules, such as abundance, interstellar environment, and observation methods. The knowledge base will also support cloud computing, providing various data simulation methods (rate equations, Monte Carlo, etc.) and automatically comparing simulation results with observed molecular abundances. Through this knowledge base system, researchers can easily simulate and process data and obtain rapid results.
[0097] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 This provides an application method for a knowledge base system.
[0098] This instruction manual also provides Figure 7 One of the corresponding Figure 1 A schematic diagram of the structure of an electronic device. (e.g.) Figure 7 At the hardware level, the electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for the business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to achieve the above-mentioned functions. Figure 1 The application method of the knowledge base system described above. Of course, in addition to the software implementation method, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0099] Improvements in a technology can be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many improvements to the methodology can now be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that an improvement in methodology cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0100] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0101] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0102] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.
[0103] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0104] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0105] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0106] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0107] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0108] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0109] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0110] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0111] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0112] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0113] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0114] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.
Claims
1. A knowledge base system, characterized by The knowledge base system comprises a management module, a search module and a cloud computing module; The management module is configured to respond to an astronomical chemical reaction data management instruction sent by a user, perform a data management operation corresponding to the astronomical chemical reaction data management instruction, and manage astronomical chemical reaction data stored in a database; the data management operation comprises a data addition operation; When the management module performs the data addition operation, the management module determines to-be-added astronomical chemical reaction data and reactants contained in the to-be-added astronomical chemical reaction data according to the astronomical chemical reaction data management instruction; for each reactant, the management module encodes the reactant according to the number of atoms of the reactant to obtain an encoded feature representation of the reactant; It is determined whether the encoded feature representation of each reactant that has been stored is consistent with the encoded feature representation of the reactant; If yes, a reactant whose encoded feature representation is consistent with the encoded feature representation of the reactant among the reactants that have been stored is determined as a target reactant corresponding to the reactant, and it is determined whether the empirical formula of the reactant is consistent with the empirical formula of the target reactant corresponding to the reactant; if yes, the reactant is saved to a preset replacement reactant list, and if not, the reactant is saved to a preset fuzzy reactant list under the condition that it is determined that the reactant is not a spelling error; If no, it is determined that the reactant is not one of the reactants that have been stored, and the reactant is saved to a preset missing reactant list under the condition that it is determined that the reactant is not a spelling error; The search module is configured to respond to a query request sent by the user, and return astronomical chemical reaction data matched with the query request to the user; The cloud computing module is configured to respond to a simulation request sent by the user, determine each basic astronomical chemical reaction data, a physical environment parameter and a simulation condition parameter, simulate a process of an astronomical chemical reaction corresponding to the basic astronomical chemical reaction data in a physical environment corresponding to the physical environment parameter, determine a change relationship of the abundance of each molecule with time in the process of the astronomical chemical reaction, and display the change relationship to the user; the physical environment parameter comprises extinction, temperature and hydrogen nucleus density of the environment; and the simulation condition parameter comprises initial abundance, initial time, end time and numerical precision of each molecule contained in each basic astronomical chemical reaction data.
2. The knowledge base system of claim 1, wherein, The knowledge base system further comprises a storage module; The storage module is configured to determine a data table corresponding to each data contained in the astronomical chemical reaction data according to a preset correspondence relationship between each type of data and each data table, and store each data contained in the astronomical chemical reaction data in the corresponding data table.
3. The knowledge base system of claim 1, wherein, The search module is configured to determine a query type corresponding to the query request according to the query request sent by the user; the query type comprises a normal query and an advanced query. If it is determined that the query request is a normal query, a specified query field included in the query request is determined, and the user is queried for astrophysical chemical reaction data matching the specified query field; If it is determined that the query request is an advanced query, a specified query statement included in the query request is determined, and the user is queried for astrophysical chemical reaction data matching the specified query statement.
4. The knowledge base system of claim 1, wherein, The search module is configured to determine, according to the query request sent by the user, each target reactant matching the query request from each reactant stored in the database. According to the target reactants, the user is returned astrophysical chemical reaction data matching the target reactants.
5. The knowledge base system of claim 4, wherein, The search module is configured to determine, for each target reactant, isomers of the target reactant from each reactant stored in the database, and the isomers are taken as supplementary target reactants. According to the target reactants and the supplementary target reactants, the user is returned astrophysical chemical reaction data matching the target reactants and the supplementary target reactants.
6. The knowledge base system of claim 1, wherein, The knowledge base system further comprises a download module. The download module is configured to, in response to a download request sent by the user, generate file data corresponding to the astrophysical chemical reaction data matching the query request returned by the search module, and save the file data into a local device used by the user, the file data including at least one of comma-separated value (CSV) format file data and standard template library (STL) format file data.
7. The knowledge base system of claim 1, wherein, The cloud computing module is configured to determine, in a physical environment corresponding to the physical environment parameter, a sample abundance of each molecule included in a process of each astrophysical chemical reaction after an end of the astrophysical chemical reaction corresponding to each basic astrophysical chemical reaction data, and compare the sample abundance with an observed abundance determined according to observation data of the astrophysical chemical reaction corresponding to each basic astrophysical chemical reaction data, and display the comparison result to the user.
8. The knowledge base system of claim 1, wherein, The knowledge base system further comprises a presentation module. The presentation module is configured to, according to the astrophysical chemical reaction data matching the query request returned by the search module, generate a visual interface, and display the astrophysical chemical reaction data matching the query request to the user through the visual interface.
9. An application method of a knowledge base system, characterized by, The method comprises: The celestial body chemical reaction data management instruction sent by the user is received, and a management module responds to the celestial body chemical reaction data management instruction sent by the user, performs a data management operation corresponding to the celestial body chemical reaction data management instruction, and manages the celestial body chemical reaction data stored in the database; wherein the data management operation includes: a data addition operation; when the management module performs the data addition operation, the management module determines the to-be-added celestial body chemical reaction data according to the celestial body chemical reaction data management instruction, and determines each reactant contained in the to-be-added celestial body chemical reaction data; for each reactant, the reactant is encoded according to the number of atoms of the reactant to obtain the encoded feature representation of the reactant; it is judged whether the encoded feature representation of each reactant stored is consistent with the encoded feature representation of the reactant; if yes, the reactant whose encoded feature representation is consistent with the encoded feature representation of the reactant among the reactants stored is determined as the target reactant corresponding to the reactant, it is judged whether the empirical formula of the reactant is consistent with the empirical formula of the target reactant corresponding to the reactant; if consistent, the reactant is saved to a preset replacement reactant list, if not consistent, the reactant is saved to a preset fuzzy reactant list under the condition that it is determined that it is not a spelling error; if not, it is determined that the reactant is not one of the reactants stored, then the reactant is saved to a preset missing reactant list under the condition that it is determined that it is not a spelling error; The user sends a query request, and a search module responds to the query request sent by the user, and returns the celestial body chemical reaction data matched with the query request to the user; The user sends a simulation request, and a cloud computing module responds to the simulation request sent by the user, determines each basic celestial body chemical reaction data, physical environment parameters and simulation condition parameters, simulates the process of the celestial body chemical reaction corresponding to the basic celestial body chemical reaction data in the physical environment corresponding to the physical environment parameters, determines the change relationship of the abundance of each molecule contained in the process of the celestial body chemical reaction with time, and displays the change relationship to the user; the physical environment parameters include: extinction, temperature and hydrogen nucleus density of the environment; the simulation condition parameters include: initial abundance of each molecule contained in each basic celestial body chemical reaction data, initial time, end time and numerical accuracy.
Citation Information
Patent Citations
Chemical reaction graph coding software, corresponding method and related data application
CN116075900A
Knowledge base system and device for multi-dimensional rapid radio storm data and storage medium
CN116340390A