A method and apparatus for configuring an experimental manual

CN116050354BActive Publication Date: 2026-10-16SHENZHEN HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310002549.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2026-10-16
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

[0004]由于目前的轻量化语言的标签无法支持实验手册所需的问答等功能,导致目前的轻量化标记语言能够编辑的实验手册功能少,实验手册在实验平台的配置效果差

Benefits of technology

[0009] In this embodiment of the application, the computing device can configure the experimental manual on the experimental platform through various data objects, thereby improving the configuration effect of the experimental manual on the experimental platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116050354B_ABST
    Figure CN116050354B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a configuration method of an experiment manual, and is used for improving the configuration effect of the experiment manual on an experiment platform. The method of the embodiment of the application comprises the following steps: performing experiment manual editing based on a self-defined label of a mark language, obtaining a first experiment manual, the self-defined label comprising a question and answer label and a detection condition label, and the first experiment manual comprising an experiment manual in a mark language format. The first experiment manual is parsed to obtain a data object, and the data object is used for configuring the experiment manual on the experiment platform. Configuration is performed on the experiment platform based on the data object, a second experiment manual is generated, and the experiment platform is used for displaying the second experiment manual.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more particularly to a method and apparatus for configuring an experimental manual. Background Technology

[0002] A lab manual is a pre-made instruction document outlining the operational procedures of an experiment. Because lab manuals are often quite long and inconvenient to consult, lightweight markup language editors are commonly used to convert plain text lab manuals into markup language documents for display. Lightweight markup language editors, such as Markdown editors, are commonly used in this context.

[0003] Current lightweight markup language editors convert lab manuals into markup language, then use markup language tags to break down the lab manuals. The steps in the lab manuals are maintained through controls corresponding to different tags, forming data objects that are stored in a database. Users can then query the stored data objects to display the lab manuals.

[0004] Because the current lightweight markup language's tags cannot support the question-and-answer functions required for lab manuals, the current lightweight markup language can only edit limited lab manual functions, resulting in poor configuration of lab manuals on the experimental platform. Summary of the Invention

[0005] This application provides a method and apparatus for configuring an experimental manual, which improves the configuration effect of the experimental manual on the experimental platform.

[0006] The first aspect of this application provides a method for configuring an experimental manual. This method can be executed by a computing device, or by a component of the computing device, such as a processor, chip, or chip system, or by a logic module or software capable of implementing all or part of the functions of the computing device. Taking execution by a computing device as an example, the method provided in the first aspect includes: the computing device editing the experimental manual based on custom tags of a markup language to obtain a first experimental manual, wherein the markup language is, for example, Markdown markup language, and the custom tags include question-and-answer tags and detection condition tags, and the first experimental manual includes an experimental manual in markup language format. The computing device parses the first experimental manual to obtain a data object, which is used to configure the experimental manual on an experimental platform. The computing device configures the experimental manual on the experimental platform based on the data object to generate a second experimental manual, which is used by the experimental platform to display the second experimental manual.

[0007] In this embodiment, the computing device can edit the experimental manual based on custom tags of the tag language, and parse the experimental manual to obtain data objects based on the custom tags. The data objects are then used to configure the experimental manual on the experimental platform, thereby supporting the question-and-answer and detection condition functions of the experimental manual on the experimental platform and improving the configuration effect of the experimental manual on the experimental platform.

[0008] In one possible implementation, the data object includes one or more of the following: text component, image component, code component, hyperlink component, question-and-answer component, or detection condition component.

[0009] In this embodiment of the application, the computing device can configure the experimental manual on the experimental platform through various data objects, thereby improving the configuration effect of the experimental manual on the experimental platform.

[0010] In one possible implementation, during the process of parsing the first experimental manual to obtain a data object, the computing device matches different tags according to regular expression matching rules, and splits the first experimental manual into data based on the matching results, and encapsulates it into a data object. This data object is used to configure the experimental manual on the experimental platform.

[0011] In this embodiment of the application, the computing device can split the experimental manual data based on tags and repackage it into a data object. This data object can be reused to configure the experimental manual, thereby improving the configuration efficiency of the experimental manual.

[0012] In one possible implementation, during the process of editing the experiment manual based on custom tags of a markup language to obtain the first experiment manual, the computing device edits the experiment manual in a local editor based on custom tags of the markup language to obtain the first experiment manual, and then imports the first experiment manual into the experiment platform.

[0013] In this embodiment of the application, the computing device can edit the first experimental manual in a local editor and import the edited first experimental manual into the experimental platform, thereby improving the feasibility of the solution.

[0014] In one possible implementation, during the process of editing the experimental manual based on custom tags of a markup language to obtain the first experimental manual, the computing device edits the experimental manual on the experimental platform based on custom tags of the markup language to obtain the first experimental manual.

[0015] In this embodiment of the application, the computing device can also directly edit the first experimental manual online on the experimental platform, which improves the feasibility of the solution.

[0016] In one possible implementation, the computing device acquires a third experiment manual, which includes an experiment manual in text document format, and converts the third experiment manual based on a markup language to obtain a fourth experiment manual, which includes an experiment manual in markup language format.

[0017] In this embodiment of the application, the computing device can convert the experimental manual in text document format into an experimental manual in markup language format, and further edit the experimental manual in markup language format, thereby improving the configuration efficiency of the experimental manual.

[0018] In one possible implementation, during the process of editing the experiment manual based on custom tags of a markup language to obtain the first experiment manual, the computing device also edits the fourth experiment manual based on custom tags of the markup language to obtain the first experiment manual.

[0019] In this embodiment of the application, the computing device can edit the experimental manual obtained by converting text documents based on custom tags of markup language, thereby improving the editing efficiency of the experimental manual.

[0020] In one possible implementation, the computing device stores data objects in an experimental configuration database so that the computing device can reuse data objects in the experimental configuration database when configuring experimental manuals on the experimental platform.

[0021] In this embodiment of the application, the computing device can store data objects in the experimental configuration database, so that the computing device can reuse data objects in the experimental configuration database when configuring experimental manuals on the experimental platform, thereby improving the configuration efficiency of experimental manuals.

[0022] A second aspect of this application provides a configuration apparatus for an experimental manual, including a transceiver unit and a processing unit. The processing unit is used to edit the experimental manual based on custom tags in a markup language to obtain a first experimental manual. The custom tags include question-and-answer tags and detection condition tags. The first experimental manual is in markup language format. The processing unit is also used to parse the first experimental manual to obtain a data object, which is used to configure the experimental manual on an experimental platform. The processing unit is further used to configure the experimental manual on the experimental platform based on the data object to generate a second experimental manual, which is then displayed on the experimental platform.

[0023] In one possible implementation, the data object includes one or more of the following: text component, image component, code component, hyperlink component, question-and-answer component, or detection condition component.

[0024] In one possible implementation, the processing unit is specifically used to edit the experimental manual in a local editor based on custom tags of a markup language to obtain a first experimental manual, and then import the first experimental manual into the experimental platform.

[0025] In one possible implementation, the processing unit is specifically used to edit the experimental manual on the experimental platform based on custom tags of the markup language to obtain the first experimental manual.

[0026] In one possible implementation, the transceiver unit is used to acquire a third experiment manual, which includes an experiment manual in text document format. The processing unit is further used to convert the third experiment manual based on a markup language to obtain a fourth experiment manual, which includes an experiment manual in markup language format.

[0027] In one possible implementation, the processing unit is specifically used to edit the fourth experiment manual based on custom tags of a markup language to obtain the first experiment manual.

[0028] In one possible implementation, the processing unit is also used to store the data object into the experimental configuration database.

[0029] A third aspect of this application provides a computing device cluster, the computing device including one or more computing devices, the computing device including a processor, the processor being coupled to a memory, the processor being used to store instructions, and when the instructions are executed by the processor, causing the computing device cluster to perform the method described in the first aspect or any possible implementation of the first aspect.

[0030] A fourth aspect of this application provides a computer-readable storage medium having instructions stored thereon, which, when executed, cause a computer to perform the method described in the first aspect or any possible implementation thereof.

[0031] The fifth aspect of this application provides a computer program product including instructions that, when executed, cause a computer to implement the method of the first aspect or any possible implementation thereof.

[0032] It is understood that the beneficial effects achieved by any of the experimental manual configuration devices, computing device clusters, computer-readable media or computer program products provided above can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description

[0033] Figure 1 A schematic diagram of the system architecture of a configuration system for an experimental manual provided in this application embodiment;

[0034] Figure 2 A flowchart illustrating a method for configuring an experimental manual as provided in an embodiment of this application;

[0035] Figure 3A flowchart illustrating another method for configuring an experimental manual as provided in this application embodiment;

[0036] Figure 4a A schematic diagram illustrating the configuration of an experimental manual provided in an embodiment of this application;

[0037] Figure 4b A schematic diagram illustrating the configuration of another experimental manual provided in this application embodiment;

[0038] Figure 5a A flowchart illustrating another method for configuring an experimental manual as provided in this application embodiment;

[0039] Figure 5b A schematic diagram illustrating basic experimental information provided in an embodiment of this application;

[0040] Figure 5c A flowchart illustrating another method for configuring an experimental manual as provided in this application embodiment;

[0041] Figure 6 A schematic diagram illustrating an experimental platform displaying an experimental manual, provided as an embodiment of this application;

[0042] Figure 7 A schematic diagram of a configuration device for an experimental manual provided in an embodiment of this application;

[0043] Figure 8 This is a schematic diagram of the structure of a computing device provided in an embodiment of this application;

[0044] Figure 9 A schematic diagram of a computing device cluster provided in an embodiment of this application;

[0045] Figure 10 This is a schematic diagram of another computing device cluster provided in an embodiment of this application. Detailed Implementation

[0046] This application provides a method and apparatus for configuring an experimental manual, which improves the configuration effect of the experimental manual on the experimental platform.

[0047] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0048] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0049] The experimental manual, methods, and apparatus provided in the embodiments of this application are described below with reference to the accompanying drawings.

[0050] Please see Figure 1 , Figure 1 This is a schematic diagram of the system architecture used in the configuration method of an experimental manual provided in this application embodiment. Figure 1 In the example shown, the configuration system 100 includes an editing module 101, a parsing module 102, a storage module 103, and a display module 104. The parsing module 102 includes a splitting submodule 1021 and an encapsulation submodule 1022. The functions of each module in the configuration system 100 are described in detail below.

[0051] The editing module 101 is used to edit the experiment manual according to the tags of the markup language, so as to obtain the experiment manual in markup language format. The editing module 101 can be an editing module within the experiment platform or an editing module of an external editor. When the editing module 101 is an editing module within the experiment platform, the operators can edit the experiment manual on the experiment platform through the editing module 101. When the editing module 101 is an external editing module, after the operators have finished editing the experiment manual through the editing module 101, they can import the experiment manual into the experiment platform.

[0052] Parsing module 102 is used to parse the markup language formatted lab manual and obtain data objects. These data objects are used to repeatedly configure the lab manual on the experimental platform. Parsing module 102 includes a splitting submodule 1021 and an encapsulation submodule 1022. The splitting submodule 1021 splits the lab manual according to regular expression matching rules and markup language tags to obtain split lab manual data. The encapsulation submodule 1022 re-encapsulates the split lab manual data to obtain data objects. These data objects include text components, image components, code components, hyperlink components, question-and-answer components, or detection condition components.

[0053] Storage module 103 is used to store the data objects after the computing device is split into parts to the experimental platform. When the user reconfigures the experimental manual in the experimental platform, the user can reuse the data objects stored in storage module 103 to quickly configure the experimental manual.

[0054] Display module 104 is used to display the user-configured experiment manual on the experimental platform. Display module 104 is also used by the user to query data objects stored in the computing device.

[0055] It should be noted that the configuration system 100 in this application embodiment can be carried by a computing device, or by a server and a cloud server composed of computing devices. That is, users can configure the experimental manual through a browser in a computing device, server or cloud server.

[0056] Please see Figure 2 , Figure 2 This is a flowchart illustrating a method for configuring an experimental manual, as provided in an embodiment of this application. Figure 2 In the example shown, the configuration method of the experimental manual provided in this application embodiment includes the following steps:

[0057] 201. The computing device edits the experimental manual based on custom tags of markup language to obtain the first experimental manual.

[0058] The computing device edits the experiment manual based on tags from a markup language to obtain the first experiment manual. This first experiment manual is a markup language formatted manual, such as Markdown. The markup language tags include custom tags, such as question-and-answer tags and detection condition tags.

[0059] In one possible implementation, during the process of editing the experimental manual based on custom tags of a markup language, the computing device edits the experimental manual on the experimental platform based on the custom tags of the markup language to obtain the first experimental manual.

[0060] Please see Figure 3 , Figure 3This is a schematic diagram illustrating another experimental manual configuration provided in an embodiment of this application. Figure 3 In step a1 of the example shown, the computing device uses Markdown custom tags to edit the experimental manual online on the experimental platform to obtain the first experimental manual.

[0061] Please see Figure 4a , Figure 4a This is a schematic diagram illustrating the editing of an experimental manual on an experimental platform, as provided in an embodiment of this application. Figure 4a In the example shown, users can directly edit the experiment manual on the experiment platform. The left side of the experiment platform's display interface is the table of contents navigation for the experiment manual, the middle area is the editing area for the experiment manual, and the right side is the preview area for the experiment manual.

[0062] exist Figure 4a In the example shown, users can directly edit the experimental manual based on question-and-answer tags or detection tags while editing the experimental manual on the experimental platform. For example, users can add question-and-answer tags through the question-and-answer button in the middle editing area of ​​the experimental platform, or users can add detection conditions in the experimental steps through the detection condition button in the middle editing area of ​​the experimental platform. For example, when the experimental steps in the experimental manual are executed, the content of the experimental steps is displayed in green text.

[0063] In one possible implementation, during the process of editing the experimental manual based on custom tags of a markup language, the computing device edits the experimental manual in a local editor based on the custom tags of the markup language to obtain a first experimental manual, and then imports the first experimental manual into the experimental platform.

[0064] exist Figure 3 In step a2 of the example shown, the computing device edits the experimental manual using custom markdown tags in the editor to obtain the first experimental manual, and then the computing device imports the first experimental manual into the experimental platform.

[0065] Please see Figure 4b , Figure 4b This is a schematic diagram illustrating how to edit an experimental manual in a local editor, as provided in an embodiment of this application. Figure 4b In the example shown, the user edits the lab manual in the editor. The left side of the editor's display interface shows the lab manual file name, the middle area is the editing area for the lab manual, and the right side is the preview area for the lab manual. After the user finishes editing in the editor, the edited lab manual can be imported into the experimental platform.

[0066] It should be noted that, in this embodiment of the application, after the edited experimental manual is imported into the experimental platform, it can also be edited again on the experimental platform.

[0067] In one possible implementation, before the computing device edits the lab manual based on markup language tags, the computing device obtains a third lab manual, which includes a lab manual in text document format. The computing device converts the third lab manual based on markup language to obtain a fourth lab manual, which also includes a lab manual in markup language format. During the process of editing the lab manual based on markup language tags to obtain a first lab manual, the computing device edits the fourth lab manual based on custom tags in markup language to obtain the first lab manual.

[0068] For example, before editing the lab manual based on markup language, the computing device obtains a text-formatted lab manual, such as a doc format lab manual. The computing device converts the doc format lab manual using markdown language to obtain a markdown format lab manual, and then edits the lab manual based on markdown tags to obtain the edited lab manual.

[0069] Please see Figure 5a , Figure 5a This is a schematic diagram illustrating the configuration process of an experimental manual as provided in an embodiment of this application. Figure 5a In steps a through d of the example shown, the user creates an experiment on the experimental platform and enters basic experimental information. The experimental platform's display module shows the basic experimental information entered by the user. The user converts the experimental manual from a text document format to a Markdown format experimental manual and edits the manual within the editor. The user then imports the edited Markdown format experimental manual into the experimental platform.

[0070] Please see Figure 5b , Figure 5b This is a schematic diagram illustrating basic experimental information provided in an embodiment of this application. Figure 5b In the example shown, the basic information of the experiment in the user-created experiment manual includes the experiment name, experiment difficulty, experiment duration, experiment type, experiment icon, and experiment description.

[0071] exist Figure 5b In the example shown, the experiment type is, for example, an exam; the experiment duration is, for example, 30 minutes; and the experiment content is, for example, "Experiment xx, for xx certification exam".

[0072] 202. The computing device parses the first experimental manual to obtain a data object, which is used to configure the experimental manual on the experimental platform.

[0073] The computing device parses the first experimental manual to obtain a data object, which is used to configure the experimental manual on the experimental platform. Specifically, the computing device matches different tags based on regular expression matching rules, splits the first experimental manual into data based on the matching results, and encapsulates the split experimental manual into a data object, which is used to configure the experimental manual on the experimental platform.

[0074] Please continue reading. Figure 3 ,exist Figure 3 In steps b to d of the example shown, the computing device debugs the experimental manual on the experimental platform, splits the debugged experimental manual, and encapsulates the split experimental manual into different data objects for storage.

[0075] exist Figure 3 In the example shown, when the computing device splits the Markdown format lab manual, it matches and identifies the manual based on Markdown tags and regular expression rules, resulting in different data blocks, such as text blocks, image blocks, and code blocks. The computing device then encapsulates these different data blocks into different data objects; for example, it encapsulates the split text blocks into text components.

[0076] exist Figure 3 In the example shown, Markdown tags include custom tags, such as question-and-answer tags and detection condition tags. The computing device performs regular expression matching to identify the lab manual based on the question-and-answer tags, splitting it into question-and-answer data blocks. The computing device then encapsulates the split question-and-answer data blocks to obtain question-and-answer components.

[0077] The data objects in this application embodiment include one or more of the following: text components, image components, code components, hyperlink components, question-and-answer components, or detection condition components. The question-and-answer component is used to set up question-and-answer controls in the experiment manual to implement the function of expanding the question and answer. The detection condition component is used to set detection conditions in the experiment steps of the experiment manual; when the detection condition is triggered, the experiment manual changes the experiment content.

[0078] The data objects in this application embodiment can also be converted into markup language format data, that is, markup language format data and data objects can be converted to each other. For example, data objects can be converted into markdown format data.

[0079] Please refer to Table 1, which is a parameter illustration table of data objects provided in the embodiments of this application. In the example shown in Table 1, the parameters of the data object stored by the computing device include the experiment ID, experiment description, and experiment icon URL address. For example, "IsCheck" is a parameter of the detection condition component, which indicates whether the data object supports detection conditions.

[0080] Table 1

[0081] coursewareId String M Experiment Id coursewareDescription String M Experiment Description coursewareIcon String M Experiment icon URL stepId String M Step ID stepName String M Step Name level Int M Step-by-step hierarchy sort Int M Step sequence IsCheck Int M Does it support detection conditions? stepSubId String M Sub-step ID type Int M Sub-step type sort Int M Sub-step sequence content text O Sub-step configuration content

[0082] Please continue reading. Figure 5a ,exist Figure 5a In steps e and f of the example shown, the experimental platform parses the Markdown format experimental manual and stores the parsed data objects. The experimental platform can support users to query and preview the data objects.

[0083] 203. The computing device is configured on the experimental platform based on the data object to generate a second experimental manual, which is then displayed on the experimental platform.

[0084] The computing device configures the experimental manual on the experimental platform based on data objects, generating a second experimental manual. The experimental platform then displays this second experimental manual. Specifically, the computing device can reconfigure the experimental manual on the experimental platform based on data objects to generate a second experimental manual. Alternatively, the computing device can import an existing experimental manual, modify it based on data objects, and generate a second experimental manual.

[0085] Please continue reading. Figure 3 ,exist Figure 3 In step e of the example shown, the computing device configures the experiment manual based on data objects. Specifically, the computing device reads the data objects required for configuring the experiment manual from the storage module, combines the data objects to obtain the experiment manual, and displays the experiment manual on the experiment platform.

[0086] Please see Figure 5c , Figure 5c This is a flowchart illustrating the configuration of an experimental manual on an experimental platform, as provided in an embodiment of this application. Figure 5c In the example shown, the user opens the experiment manual on the experiment platform and configures the experiment manual on the experiment platform based on the data object. The user then displays the configured experiment manual through the experiment platform.

[0087] Please see Figure 6 , Figure 6 This is a schematic diagram illustrating an experimental platform displaying a second experimental manual, provided as an embodiment of this application. Figure 6 In the example shown, the left side of the experimental platform's display interface is the second experimental manual, which is an experimental manual configured based on data objects. For example, the question and answer content in the dark area of ​​the second experimental manual is the content configured by the computing device based on the question and answer component.

[0088] It should be noted that the computing device in this application embodiment can export the template of the second experimental manual, re-edit the template of the second experimental manual, and import it into the experimental platform for reconfiguration, thereby realizing the reuse configuration of the second experimental manual.

[0089] As can be seen from the above embodiments, the computing device in this application embodiment can edit the experimental manual based on the custom tags of the tag language, and parse the experimental manual to obtain data objects based on the custom tags. The experimental manual is then configured on the experimental platform using the data objects, thereby supporting the question-and-answer and detection condition functions of the experimental manual on the experimental platform and improving the configuration effect of the experimental manual on the experimental platform.

[0090] The above describes the configuration method of the experimental manual provided in the embodiments of this application. The following describes the device provided in the embodiments of this application with reference to the accompanying drawings.

[0091] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of an experimental manual configuration device provided in an embodiment of this application. Figure 7 In the example shown, the experiment manual configuration device is used to implement the various steps performed by the computing device in the above embodiments. The experiment manual configuration device 700 includes a transceiver unit 701 and a processing unit 702.

[0092] The processing unit 702 is used to edit the experimental manual based on custom tags in a markup language to obtain a first experimental manual. The custom tags include question-and-answer tags and detection condition tags. The first experimental manual is in markup language format. The processing unit 702 is also used to parse the first experimental manual to obtain a data object, which is used to configure the experimental manual on the experimental platform. The processing unit 702 is further used to generate a second experimental manual based on the configuration of the data object on the experimental platform, which is then displayed on the experimental platform.

[0093] In one possible implementation, the data object includes one or more of the following: text component, image component, code component, hyperlink component, question-and-answer component, or detection condition component.

[0094] In one possible implementation, the processing unit 702 is specifically used to edit the experimental manual in a local editor based on custom tags of a markup language to obtain a first experimental manual, and then import the first experimental manual into the experimental platform.

[0095] In one possible implementation, the processing unit 702 is specifically used to edit the experimental manual on the experimental platform based on custom tags of the markup language to obtain the first experimental manual.

[0096] In one possible implementation, the transceiver unit 701 is used to acquire a third experiment manual, which includes an experiment manual in text document format. The processing unit 702 is further used to convert the third experiment manual based on markup language to obtain a fourth experiment manual, which includes an experiment manual in markup language format.

[0097] In one possible implementation, the processing unit 702 is specifically used to edit the fourth experiment manual based on custom tags of a markup language to obtain the first experiment manual.

[0098] In one possible implementation, the processing unit 702 is also used to store the data object to the experimental configuration database.

[0099] It should be understood that the division of units in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, all units in the device can be implemented entirely through software calls from processing elements; all units can be implemented entirely in hardware; or some units can be implemented through software calls from processing elements, and others in hardware. For example, each unit can be a separate processing element, or it can be integrated into a chip within the device. Alternatively, it can be stored as a program in memory, called and executed by a processing element of the device. Moreover, these units can be fully or partially integrated together, or implemented independently. The processing element mentioned here can also be called a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units can be implemented through integrated logic circuits in the processor element or through software calls from processing elements.

[0100] It is worth noting that, for the sake of simplicity, the above method embodiments are described as a series of actions. However, those skilled in the art should know that the present invention is not limited to the order of the described actions. Furthermore, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily required by the present invention.

[0101] Other reasonable combinations of steps that can be conceived by those skilled in the art based on the above description also fall within the protection scope of this application. Furthermore, those skilled in the art should also be aware that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to this application.

[0102] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a computing device provided in an embodiment of this application. Figure 8 As shown, the computing device 800 includes a processor 801, a memory 802, a communication interface 803, and a bus 804. The processor 801, memory 802, and communication interface 803 are coupled via the bus (not shown in the figure). The memory 802 stores instructions. When the execution instructions in the memory 802 are executed, the computing device 800 performs the method executed by the computing device in the above method embodiment.

[0103] The computing device 800 may be one or more integrated circuits configured to implement the methods described above, such as: one or more application-specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these forms of integrated circuits. Furthermore, when the units in the device can be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling programs. Alternatively, these units may be integrated together to implement a system-on-a-chip (SOC).

[0104] The processor 801 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor can be a microprocessor or any conventional processor.

[0105] The memory 802 can be volatile memory or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0106] The memory 802 stores executable program code, and the processor 801 executes the executable program code to implement the functions of the aforementioned processing unit and transceiver unit, thereby implementing the above-mentioned experimental manual configuration method. That is, the memory 802 stores instructions for executing the above-mentioned experimental manual configuration method.

[0107] The communication interface 803 uses transceiver modules, such as, but not limited to, network interface cards and transceivers, to enable communication between the computing device 800 and other devices or communication networks.

[0108] In addition to the data bus, the 804 bus can also include a power bus, a control bus, and a status signal bus. The bus can be a Peripheral Component Interconnect Express (PCIe) bus, an Extended Industry Standard Architecture (EISA) bus, a Unified Bus (Ubus or UB), a Compute Express Link (CXL) bus, a Cache Coherent Interconnect for Accelerators (CCIX) bus, etc. The bus can be divided into address bus, data bus, and control bus.

[0109] Please see Figure 9 , Figure 9 This is a schematic diagram of a computing device cluster provided in an embodiment of this application. Figure 9 As shown, the computing device cluster 900 includes at least one computing device 800.

[0110] like Figure 9 As shown, the computing device cluster 900 includes at least one computing device 800. The memory 802 of one or more computing devices 800 in the computing device cluster 900 may store the same instructions for executing the configuration method described in the experimental manual.

[0111] In some possible implementations, the memory 802 of one or more computing devices 800 in the computing device cluster 900 may also store partial instructions for executing the above-described experimental manual configuration method. In other words, a combination of one or more computing devices 800 can jointly execute the instructions for executing the above-described experimental manual configuration method.

[0112] It should be noted that the memories 802 in the different computing devices 800 within the computing device cluster 900 can store different instructions, each used to execute a portion of the functions of the configuration device described in the experimental manual. That is, the instructions stored in the memories 802 of the different computing devices 800 can implement the functions of one or more modules in the transceiver unit and the processing unit.

[0113] In some possible implementations, one or more computing devices 800 in the computing device cluster 900 can be connected via a network. This network can be a wide area network (WAN) or a local area network (LAN), etc.

[0114] Please see Figure 10 , Figure 10This is a schematic diagram illustrating the network connection of computer devices in a computer cluster, as provided in an embodiment of this application. Figure 10 As shown, the two computing devices 800A and 800B are connected via a network. Specifically, they are connected to the network through the communication interfaces in each computing device.

[0115] In one possible implementation, the memory in computing device 800A stores instructions for performing the functions of the transceiver module. Meanwhile, the memory in computing device 800B stores instructions for performing the functions of the processing module.

[0116] It should be understood that Figure 10 The functions of computing device 800A shown can also be performed by multiple computing devices. Similarly, the functions of computing device 800B can also be performed by multiple computing devices.

[0117] In another embodiment of this application, a computer-readable storage medium is also provided, which stores computer-executable instructions. When the processor of the device executes the computer-executable instructions, the device executes the method executed by the computing device in the above method embodiment.

[0118] In another embodiment of this application, a computer program product is also provided, which includes computer-executable instructions stored in a computer-readable storage medium. When the processor of the device executes the computer-executable instructions, the device performs the method executed by the computing device in the above method embodiments.

[0119] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0120] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0121] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0122] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0123] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for configuring an experimental manual, characterized in that, include: The experiment manual is edited based on custom tags in markup language to obtain the first experiment manual. The custom tags include question and answer tags and detection condition tags. The first experiment manual is an experiment manual in markup language format. Based on regular expression matching rules, different tags are matched, and the first experimental manual is split into data blocks according to the matching results. The data blocks are then encapsulated to obtain data objects, which are used to configure the experimental manual on the experimental platform. The tags correspond to the split data blocks. The data objects include one or more of the following: code components, hyperlink components, question-and-answer components, or detection condition components. The question-and-answer components are used to set up question-and-answer controls in the experimental manual to implement the function of expanding the question and answer. The detection condition components are used to set detection conditions in the experimental steps of the experimental manual. When the detection conditions are triggered, the experimental manual changes the experimental content. Based on the data object, a second experimental manual is generated by configuring it on the experimental platform, and the experimental platform is used to display the second experimental manual.

2. The method according to claim 1, characterized in that, The experiment manual is edited using custom tags based on the markup language, resulting in the first experiment manual, which includes: The experiment manual is edited in a local editor using custom tags based on markup language, resulting in the first experiment manual; Import the first experimental manual into the experimental platform.

3. The method according to claim 1, characterized in that, The experiment manual is edited using custom tags based on the markup language, resulting in the first experiment manual, which includes: The first experimental manual was obtained by editing the experimental manual using custom tags based on markup language on the experimental platform.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Obtain the third experiment manual, which includes an experiment manual in text document format; The third experiment manual is converted based on the markup language to obtain the fourth experiment manual, which includes an experiment manual in markup language format.

5. The method according to claim 4, characterized in that, The custom tags based on the markup language are used to edit the experiment manual, resulting in the first experiment manual, which includes: The fourth experiment manual is edited based on the custom tags of the markup language to obtain the first experiment manual.

6. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The data object is stored in the experimental configuration database.

7. A device for configuring an experimental manual, characterized in that, include: The processing unit is used to edit the experimental manual based on custom tags in markup language to obtain a first experimental manual. The custom tags include question-and-answer tags and detection condition tags. The first experimental manual includes an experimental manual in markup language format. The processing unit is further configured to match different tags based on regular expression matching rules, and to split the first experimental manual into data blocks according to the matching results, and to encapsulate the data blocks into data objects. The data objects are used to configure the experimental manual on the experimental platform. The tags correspond to the split data blocks. The data objects include one or more of the following: code components, hyperlink components, question-and-answer components, or detection condition components. The question-and-answer components are used to set up question-and-answer controls in the experimental manual to realize the function of expanding the question and answer. The detection condition components are used to set detection conditions in the experimental steps of the experimental manual. When the detection conditions are triggered, the experimental manual changes the experimental content. The processing unit is also used to configure the experimental platform based on the data object and generate a second experimental manual, and the experimental platform is used to display the second experimental manual.

8. The apparatus according to claim 7, characterized in that, The processing unit is specifically used for: The experiment manual is edited in a local editor using custom tags based on markup language, resulting in the first experiment manual; Import the first experimental manual into the experimental platform.

9. The apparatus according to claim 7, characterized in that, The processing unit is specifically used for: The first experimental manual was obtained by editing the experimental manual using custom tags based on markup language on the experimental platform.

10. The apparatus according to any one of claims 7 to 9, characterized in that, The device further includes: A transceiver unit is used to acquire a third experimental manual, which includes an experimental manual in text document format. The processing unit is also used to convert the third experimental manual based on the markup language to obtain a fourth experimental manual, the fourth experimental manual including experimental manuals in markup language format.

11. The apparatus according to claim 10, characterized in that, The processing unit is specifically used for: The fourth experiment manual is edited based on the custom tags of the markup language to obtain the first experiment manual.

12. The apparatus according to any one of claims 7 to 9, characterized in that, The processing unit is also used for: The data object is stored in the experimental configuration database.

13. A computing device cluster, characterized in that, The system includes one or more computing devices, each including a processor coupled to a memory, the processor storing instructions which, when executed by the processor, cause the cluster of computing devices to perform the method of any one of claims 1 to 6.

14. A computer-readable storage medium having instructions stored thereon, characterized in that, When the instructions are executed, they cause the computer to perform the method of any one of claims 1 to 6.

15. A computer program product, the computer program product comprising instructions, characterized in that, When the instructions are executed, they cause the computer to implement the method of any one of claims 1 to 6.

Citation Information

Patent Citations

  • Civil aircraft flight manual compilation system and compilation method

    CN112380823A