Visual modeling method and device for standard files

By visually modeling the standard files and using image recognition and modeling strategies to generate intuitive models, the information query problem caused by the complexity of the standard files is solved, and users can quickly understand and comprehensively query the standard files.

CN117573801BActive Publication Date: 2024-11-19BEIJING CESI TECH CO LTD +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202311452251.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-02
Publication Date
2024-11-19
Estimated Expiration
2043-11-02

AI Technical Summary

Technical Problem

The complexity and professionalism of standard files make it difficult for ordinary users to understand and query. The existing technology can only provide text information, resulting in information omissions and misunderstandings, and cannot meet users' needs for comprehensive understanding of standard files and quick query.

Method used

Provide a visual modeling method for standard files, and model the standard files by determining the standard files based on the target objects in the image to be detected and selecting suitable modeling strategies (such as tree structure, flow chart, relationship diagram, etc.) , and use visualization tools to process modeling results to generate intuitive visual models.

Benefits of technology

Through visual models, users can quickly understand the structure and content of standard files, reduce reading and parsing burden, reduce information omissions and misunderstandings, and achieve users' comprehensive understanding of standard files and quick query.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117573801B_ABST
    Figure CN117573801B_ABST
Patent Text Reader

Abstract

The present invention provides a visual modeling method and device for standard files, which relates to the field of computer technology, wherein the method comprises: determining the standard file associated with the target object based on the target object in the image to be detected; determining the first modeling strategy corresponding to the standard file based on the file type of the standard file; modeling the standard file based on the first modeling strategy to obtain a first modeling result; processing the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file. Through the above method, the standard file can be intuitively queried and displayed, so that the user can quickly understand the structure and content of the standard, thereby quickly locating the required information, and realizing the user's comprehensive understanding and rapid query of the standard file; the display method based on the visualization model can also reduce the user's burden of reading and parsing the standard file, reduce the omission and misunderstanding of information, and allow the user to better understand the structure and content of the standard file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a visual modeling method and device for standard files. Background Art

[0002] In recent years, with the continuous deepening and promotion of standardization work, more and more enterprises and organizations have begun to pay attention to the use and application of standards. Standard documents refer to normative documents approved and issued by standardization authorities, which are of great significance to economic and technological development and have unified standards within a certain range.

[0003] However, due to the complexity and professionalism of the content of standard documents, ordinary users often find it difficult to understand and apply the standards, and even querying the corresponding standard information is an extremely challenging task.

[0004] In the related technology, the standard query system can basically only provide text information, and users need to read and parse the standard documents extensively, which can easily lead to information omissions and misunderstandings, and it is difficult to meet users' needs for comprehensive understanding and quick query of standard documents.

[0005] Therefore, how to enable users to fully understand and quickly query standard documents is an urgent problem to be solved. Summary of the invention

[0006] In view of the problems existing in the prior art, an embodiment of the present invention provides a visual modeling method and device for standard files.

[0007] The present invention provides a visual modeling method for a standard file, comprising:

[0008] Based on the target object in the image to be detected, determining a standard file associated with the target object;

[0009] Based on the file type of the standard file, determining a first modeling strategy corresponding to the standard file;

[0010] Modeling the standard file based on the first modeling strategy to obtain a first modeling result;

[0011] The first modeling result is processed based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0012] Optionally, the first modeling strategy includes at least one of the following:

[0013] Tree structure modeling strategy;

[0014] Flowchart modeling strategies;

[0015] Relationship graph modeling strategies;

[0016] Statistical model building strategies.

[0017] Optionally, the determining, based on the file type of the standard file, a first modeling strategy corresponding to the standard file includes:

[0018] Inputting the file type into a target modeling strategy model to obtain at least one modeling strategy output by the target modeling strategy model; the target modeling strategy model is obtained by training an initial modeling strategy model based on a file type sample;

[0019] Based on the modeling strategies, the first modeling strategy is determined.

[0020] Optionally, determining the first modeling strategy based on each of the modeling strategies includes:

[0021] The first modeling strategy is determined from the modeling strategies in response to a first input from a user, wherein the first input is used to determine the first modeling strategy.

[0022] Optionally, before determining the modeling strategy corresponding to the standard file based on the file type of the standard file, the method further includes:

[0023] Obtaining target keywords corresponding to the standard file;

[0024] The target keyword is matched with a preset file type keyword to determine the file type of the standard file.

[0025] Optionally, after modeling the standard file based on the modeling strategy to obtain a first modeling result, the method further includes:

[0026] In response to a second input from a user, the second input is used to indicate a target modeling strategy;

[0027] Modeling the standard file based on the target modeling strategy to obtain a second modeling result;

[0028] Based on the second modeling result, the first modeling result is verified.

[0029] Optionally, verifying the first modeling result based on the second modeling result includes:

[0030] Comparing the second modeling result with the first modeling result to obtain a comparison result;

[0031] If the comparison results are consistent, generating verification success information;

[0032] When the comparison results are inconsistent, verification failure information is generated, and the second modeling result is used as the first modeling result.

[0033] Optionally, after the first modeling result is processed based on a visualization tool to obtain a visualization model corresponding to the standard file, the method further includes:

[0034] In response to a third input from a user, the third input carries evaluation information of the user on the visualization model;

[0035] Based on the evaluation information, the visualization model is updated.

[0036] The present invention also provides a visual modeling device for standard files, comprising:

[0037] A first determination module, configured to determine a standard file associated with a target object based on the target object in the image to be detected;

[0038] A second determination module, configured to determine a first modeling strategy corresponding to the standard file based on the file type of the standard file;

[0039] A first modeling module, used for modeling the standard file based on the first modeling strategy to obtain a first modeling result;

[0040] A processing module is used to process the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0041] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a visual modeling method for a standard file as described in any one of the above is implemented.

[0042] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the visual modeling method for a standard file as described in any one of the above methods is implemented.

[0043] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned visual modeling methods for standard files.

[0044] The visual modeling method and device for standard files provided by the present invention determine the standard file associated with the target object based on the target object in the image to be detected, determine the first modeling strategy corresponding to the standard file based on the file type of the standard file, and model the standard file based on the first modeling strategy to obtain a first modeling result that meets the standard structure and content; the first modeling result is processed based on a visualization tool to obtain a visualization model corresponding to the standard file, and the standard file can be intuitively queried and displayed through the visualization model, so that the user can quickly understand the structure and content of the standard, thereby quickly locating the required information, and realizing the user's comprehensive understanding and rapid query of the standard file; at the same time, the display method based on the visualization model can also reduce the user's burden of reading and parsing the standard file, reduce information omissions and misunderstandings, and allow the user to have a deeper understanding of the structure and content of the standard file. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 It is one of the flow charts of the visual modeling method for standard files provided by the present invention;

[0047] Figure 2 This is the second flow chart of the visual modeling method for standard files provided by the present invention;

[0048] Figure 3 It is a structural schematic diagram of a visual modeling device for standard files provided by the present invention;

[0049] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] The embodiments of the present invention provide a visual modeling method and device for standard documents, which can be applied to multiple fields, such as product design, engineering construction, safety management, etc., to provide enterprises and individuals with more convenient and accurate standard query and display services.

[0052] That is to say, the present invention can convert the standard content into a visual model to facilitate users to view and understand. Users only need to input relevant information of the standard to obtain the corresponding visual model, and can also interact according to their own needs. The visual model can help users quickly and intuitively understand the composition of a certain component and the corresponding standard of the corresponding component, so as to promote the rapid development of standardization work.

[0053] Combine the following Figure 1 to Figure 2 The visual modeling method for standard files provided by the present invention is described in detail. Figure 1 This is one of the flow charts of the visual modeling method for standard files provided by the present invention, see Figure 1 As shown, the method includes steps 101 to 104, wherein:

[0054] Step 101: Based on a target object in an image to be detected, determine a standard file associated with the target object.

[0055] First of all, it should be noted that the execution subject of the present invention can be any electronic device that can realize visual modeling, for example, it can be any one of a smart phone, a smart watch, a desktop computer, a laptop computer, etc.

[0056] In the related art, users need to read and analyze a lot of standard documents, which may easily lead to information omission and misunderstanding. Therefore, in order to meet the needs of users for comprehensive understanding and quick query of standard documents, in the embodiment of the present invention, visual modeling is required for standard documents.

[0057] First, you need to obtain the image to be detected.

[0058] In practical applications, there are many ways to obtain the image to be detected, for example, it can be directly obtained from a database, or obtained through manual input by a user; for example, a video can be divided into several video frames, and one of the frames is used as the image to be detected.

[0059] After acquiring the image to be detected, it is necessary to identify the target object in the image to be detected and determine the standard file corresponding to the target object.

[0060] There are many ways to identify the target object in the image to be detected. The target object can be identified through a neural network model. Taking the target object as a chip as an example, after the image to be detected is input into the neural network model, the recognition result of the target object being the chip output by the neural network model can be obtained; wherein the neural network model can be, for example, a Transformer model, a Convolutional Neural Networks (CNN) model, a Recurrent Neural Network (RNN) model, etc.

[0061] For another example, when the target object in the image to be detected is text, the target object can be recognized by optical character recognition (OCR) technology to obtain a recognition result.

[0062] After the target object in the image to be detected is identified, the standard file corresponding to the target object can be determined. In other words, different targets correspond to different standard files, for example, the target "chip" corresponds to a chip standard file, and the target "building" corresponds to a building standard file.

[0063] It should be noted that, while identifying the target object in the image to be detected, the components of the target object can also be identified and the standard files corresponding to the components can be determined.

[0064] For example, when the target object is identified as a chip, it is necessary to identify the electronic components that make up the chip, such as capacitors, resistors, wires, etc., and determine the standard files corresponding to each component.

[0065] It is understandable that the standard document includes data on standard requirements, scope, process, indicators, etc. corresponding to the target object. These data can be obtained from the official website of the standard document, the database of the standardization organization, research literature in the professional field, etc.

[0066] Step 102: Based on the file type of the standard file, determine a first modeling strategy corresponding to the standard file.

[0067] In the embodiment of the present invention, since the types of standard files in various fields are various, the standard files of different targets correspond to different file types. Therefore, different modeling strategies are used for standard files of different file types.

[0068] Therefore, it is necessary to design and select appropriate modeling methods and techniques (i.e., modeling strategies) based on the file type corresponding to the standard file of the target object.

[0069] Optionally, the first modeling strategy includes at least one of the following: a) tree structure modeling strategy; b) flow chart modeling strategy; c) relationship diagram modeling strategy; d) statistical model modeling strategy. In practical applications, it is necessary to select the most appropriate modeling strategy as the first modeling strategy for modeling according to different file types.

[0070] For example, the file type corresponding to the standard file of the target object "chip" is the picture type, and the first modeling strategy corresponding to the picture type is the relationship graph modeling strategy, then the standard file of "chip" is modeled based on the relationship graph.

[0071] For another example, the file type corresponding to the standard file of the target object "building" is a text type, and the first modeling strategy corresponding to the text type is a flowchart modeling strategy, then the standard file of "building" is modeled based on the flowchart.

[0072] Step 103: Model the standard file based on the first modeling strategy to obtain a first modeling result.

[0073] In the embodiment of the present invention, after the first modeling strategy is determined based on the file type of the standard file, it is necessary to model the standard file based on the first modeling strategy to obtain a first modeling result.

[0074] Step 104: Process the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0075] In an embodiment of the present invention, the first modeling result needs to be visualized and optimized. Various visualization tools can be used in practical applications, such as D3.js, Highcharts, etc. Through the visualization tool, the first modeling result can be converted into a chart, a graph, etc. for display.

[0076] Taking the visual modeling of the "chip" standard file as an example, the visual model corresponding to the "chip" standard file can not only display the structure and content of the "chip" standard file, but also visualize the structure and content of the corresponding standard files of the various electronic components that make up the "chip".

[0077] For example, the visualization model can display the structure and content corresponding to the standard file of a chip, and can also display the structure and content corresponding to the standard file of components such as resistors and capacitors.

[0078] The visual modeling method for standard files provided by the present invention determines the standard file associated with the target object based on the target object in the image to be detected, determines the first modeling strategy corresponding to the standard file based on the file type of the standard file, and models the standard file based on the first modeling strategy to obtain a first modeling result that meets the standard structure and content; processes the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file, and the standard file can be intuitively queried and displayed through the visualization model, so that the user can quickly understand the structure and content of the standard, thereby quickly locating the required information, and realizing the user's comprehensive understanding and rapid query of the standard file; at the same time, the display method based on the visualization model can also reduce the user's burden of reading and parsing the standard file, reduce information omissions and misunderstandings, and allow the user to have a deeper understanding of the structure and content of the standard file.

[0079] Optionally, before determining the modeling strategy corresponding to the standard file based on the file type of the standard file, it is also necessary to determine the file type of the standard file corresponding to the target object; this can be specifically achieved by the following steps:

[0080] Step [1], obtaining target keywords corresponding to the standard document;

[0081] Step [2]: Match the target keyword with a preset file type keyword to determine the file type of the standard file.

[0082] In the embodiment of the present invention, it is first necessary to obtain the target keywords corresponding to the standard file. There are many ways to obtain the target keywords, for example, a neural network model can be used for keyword extraction, that is, the standard file is input into a trained keyword extraction model to obtain the target keywords output by the keyword extraction model, wherein the keyword extraction model can be, for example, a Transformer model, a CNN model, an RNN model, etc.

[0083] For another example, the target keywords corresponding to the standard document may be extracted using term frequency-inverse document frequency (TF-IDF).

[0084] After the target keyword is extracted, the target keyword is matched with a preset file type keyword to determine the file type of the standard file; wherein the preset file type keyword can be stored in a local database or in a remote server.

[0085] In actual applications, taking the standard file corresponding to "chip" as an example, the keywords corresponding to the standard file are "chip", "capacitor", "inductor" and "resistor". The above keywords are matched with the preset file type keywords, and the file type of the standard file is "picture type".

[0086] In the above implementation, the target keywords corresponding to the standard file are obtained, and then the target keywords are matched with preset file type keywords to determine the file type of the standard file. A first modeling strategy matching the standard file can be determined based on the file type, and the standard file can be modeled based on the first modeling strategy to obtain a first modeling result that meets the standard structure and content.

[0087] Optionally, the determining, based on the file type of the standard file, the first modeling strategy corresponding to the standard file may be specifically implemented by the following steps:

[0088] Step [1]: input the file type into a target modeling strategy model to obtain at least one modeling strategy output by the target modeling strategy model; the target modeling strategy model is obtained by training an initial modeling strategy model based on a file type sample;

[0089] Step [2]: Determine the first modeling strategy based on each of the modeling strategies.

[0090] In an embodiment of the present invention, there may be multiple types of target modeling strategy models, such as a Transformer model, a CNN model, an RNN model, etc., and the present invention does not limit this.

[0091] After inputting the file type into the target modeling strategy model, at least one modeling strategy outputted by the target modeling strategy model can be obtained; for example, after inputting "image type" into the target modeling strategy model, the target modeling strategy model outputs two modeling strategies: "relationship diagram" and "statistical model". Then, from the above two modeling strategies, the first modeling strategy corresponding to the standard file is determined.

[0092] In the above implementation, by inputting the file type into the target modeling strategy model, the first modeling strategy most suitable for modeling the standard file can be determined, thereby reducing the manpower cost and improving the efficiency of modeling the standard file.

[0093] Optionally, the determining the first modeling strategy based on each of the modeling strategies may be specifically implemented by the following steps:

[0094] The first modeling strategy is determined from the modeling strategies in response to a first input from a user, wherein the first input is used to determine the first modeling strategy.

[0095] In an embodiment of the present invention, there may be one or more modeling strategies output by the target modeling strategy model.

[0096] When the target modeling strategy model outputs only one modeling strategy, this strategy is used as the first modeling strategy.

[0097] In the case where the target modeling strategy model outputs multiple modeling strategies, in response to a first input from a user, the user may select one modeling strategy from the modeling strategies as the first modeling strategy.

[0098] In the above implementation, by responding to the user's first input, the user's selection of a modeling strategy can be realized, so that the first modeling strategy can be adapted to the standard file, and the standard file is modeled based on the first modeling strategy to obtain a first modeling result that conforms to the standard structure and content.

[0099] Optionally, after the standard file is modeled based on the modeling strategy to obtain a first modeling result, the first modeling result needs to be verified to ensure that the first modeling result can accurately and completely present the content and requirements of the standard file; this can be specifically achieved through the following steps:

[0100] Step [1], responding to a second input from a user, wherein the second input is used to indicate a target modeling strategy;

[0101] Step [2], modeling the standard file based on the target modeling strategy to obtain a second modeling result;

[0102] Step [3]: verify the first modeling result based on the second modeling result.

[0103] In the embodiment of the present invention, the standard file is modeled based on the target modeling strategy indicated by the second input of the user.

[0104] Here, you can use professional modeling software and tools, such as MindManager, Draw.io, Gephi and other software to achieve modeling of standard files. In the implementation process, it is necessary to finely design the structure and content of the model based on the target modeling strategy and the requirements and specifications of the standard to obtain the second modeling result. Finally, based on the second modeling result, the first modeling result is verified.

[0105] In the above implementation, the standard file is modeled based on the target modeling strategy to obtain a second modeling result, and then the first modeling result is verified based on the second modeling result, ensuring that the first modeling result can accurately and completely present the content and requirements of the standard file.

[0106] Optionally, the verifying the first modeling result based on the second modeling result may be specifically implemented by the following steps:

[0107] Step [1], comparing the second modeling result with the first modeling result to obtain a comparison result;

[0108] Step [2a]: if the comparison results are consistent, generate verification success information;

[0109] Step [2b]: If the comparison results are inconsistent, generate verification failure information and use the second modeling result as the first modeling result.

[0110] In an embodiment of the present invention, after the standard file is modeled based on the target modeling strategy to obtain a second modeling result, it is determined whether the second modeling result is consistent with the first modeling result. If the second modeling result is consistent with the first modeling result, verification success information is generated, indicating that the first modeling result can accurately and completely present the content and requirements of the standard file.

[0111] When the second modeling result is consistent with the first modeling result, verification failure information is generated, indicating that the first modeling result cannot accurately and completely present the content and requirements of the standard document.

[0112] In this case, the second modeling result needs to be used as the first modeling result, that is, the first modeling result is replaced by the second modeling result to ensure that the updated first modeling result can accurately and completely present the content and requirements of the standard document.

[0113] Optionally, after the first modeling result is processed based on the visualization tool to obtain the visualization model corresponding to the standard file, optimization can also be performed based on the user's evaluation of the display effect to ensure that the user can quickly and intuitively understand the content and requirements of the standard, and to achieve optimization and improvement based on user needs; this can be specifically achieved through the following steps:

[0114] Step [1], responding to a third input from a user, wherein the third input carries evaluation information of the user on the visualization model;

[0115] Step [2]: Update the visualization model based on the evaluation information.

[0116] In the embodiment of the present invention, taking the visualization model corresponding to the "chip" standard file as an example, the user's evaluation information on the visualization model may be, for example: the visualization model lacks resistance-related standards, lacks standards for a certain part of the chip, etc.

[0117] After obtaining the user's evaluation information on the visualization model, the visualization model can be updated based on the evaluation information, thereby ensuring the accuracy and comprehensiveness of the visualization model.

[0118] Figure 2 This is the second flow chart of the visual modeling method for standard files provided by the present invention, see Figure 2 As shown, the method includes steps 201 to 214, wherein:

[0119] Step 201: Identify a target object in an image to be detected and determine a standard file corresponding to the target object.

[0120] Step 202: Obtain target keywords corresponding to the standard document.

[0121] Step 203: Match the target keyword with the preset file type keyword to determine the file type of the standard file.

[0122] Step 204: input the file type into the target modeling strategy model to obtain at least one modeling strategy output by the target modeling strategy model; wherein the target modeling strategy model is obtained by training the initial modeling strategy model based on the file type sample.

[0123] Step 205 : Determine a first modeling strategy from the modeling strategies in response to a first input from the user, wherein the first input is used to determine the first modeling strategy.

[0124] Step 206: Model the standard file based on the first modeling strategy to obtain a first modeling result.

[0125] Step 207: respond to a second input from the user, wherein the second input is used to indicate a target modeling strategy.

[0126] Step 208: Model the standard file based on the target modeling strategy to obtain a second modeling result.

[0127] Step 209: Compare the second modeling result with the first modeling result to obtain a comparison result.

[0128] Step 210: If the comparison results are consistent, generate verification success information.

[0129] Step 211: If the comparison results are inconsistent, generate verification failure information and use the second modeling result as the first modeling result.

[0130] It should be noted that there is no particular order in which step 210 and step 211 are executed.

[0131] Step 212: Process the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0132] Step 213: respond to a third input from the user, wherein the third input carries evaluation information of the user on the visualization model.

[0133] Step 214: Update the visualization model based on the evaluation information.

[0134] The visual modeling method for standard files provided by the present invention can obtain a first modeling result that meets the standard structure and content by identifying the target object in the image to be detected, determining the standard file corresponding to the target object, determining the first modeling strategy corresponding to the standard file based on the file type of the standard file, and modeling the standard file based on the first modeling strategy; the first modeling result is processed based on a visualization tool to obtain a visualization model corresponding to the standard file, and the standard file can be intuitively queried and displayed through the visualization model, so that the user can quickly understand the structure and content of the standard, thereby quickly locating the required information, and realizing the user's comprehensive understanding and rapid query of the standard file; at the same time, the display method based on the visualization model can also reduce the user's burden of reading and parsing the standard file, reduce the omission and misunderstanding of information, and allow the user to have a deeper understanding of the structure and content of the standard file.

[0135] The visual modeling device for standard files provided by the present invention is described below. The visual modeling device for standard files described below and the visual modeling method for standard files described above can be referenced to each other. Figure 3 is a schematic diagram of the structure of a visual modeling device for standard files provided by the present invention, such as Figure 3 As shown, the visual modeling device 300 for standard files includes: a first determination module 301, a second determination module 302, a first modeling module 303 and a processing module 304, wherein:

[0136] A first determination module 301 is used to determine a standard file associated with a target object based on the target object in the image to be detected;

[0137] A second determination module 302, configured to determine a first modeling strategy corresponding to the standard file based on the file type of the standard file;

[0138] A first modeling module 303, configured to model the standard file based on the first modeling strategy to obtain a first modeling result;

[0139] The processing module 304 is used to process the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0140] The visual modeling device for standard files provided by the present invention determines the standard file associated with the target object based on the target object in the image to be detected, determines the first modeling strategy corresponding to the standard file based on the file type of the standard file, and models the standard file based on the first modeling strategy to obtain a first modeling result that meets the standard structure and content; processes the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file, and the standard file can be intuitively queried and displayed through the visualization model, so that the user can quickly understand the structure and content of the standard, thereby quickly locating the required information, and realizing the user's comprehensive understanding and rapid query of the standard file; at the same time, the display method based on the visualization model can also reduce the user's burden of reading and parsing the standard file, reduce information omissions and misunderstandings, and allow the user to have a deeper understanding of the structure and content of the standard file.

[0141] Optionally, the first modeling strategy includes at least one of the following:

[0142] Tree structure modeling strategy;

[0143] Flowchart modeling strategies;

[0144] Relationship graph modeling strategies;

[0145] Statistical model building strategies.

[0146] Optionally, the second determining module 302 is further configured to:

[0147] Inputting the file type into a target modeling strategy model to obtain at least one modeling strategy output by the target modeling strategy model; the target modeling strategy model is obtained by training an initial modeling strategy model based on a file type sample;

[0148] Based on the modeling strategies, the first modeling strategy is determined.

[0149] Optionally, the second determining module 302 is further configured to:

[0150] The first modeling strategy is determined from the modeling strategies in response to a first input from a user, wherein the first input is used to determine the first modeling strategy.

[0151] Optionally, the device further comprises:

[0152] An acquisition module, used to acquire target keywords corresponding to the standard file;

[0153] The third determination module is used to match the target keyword with a preset file type keyword to determine the file type of the standard file.

[0154] Optionally, the device further comprises:

[0155] A first response module, used to respond to a second input of a user, wherein the second input is used to indicate a target modeling strategy;

[0156] A second modeling module, used for modeling the standard file based on the target modeling strategy to obtain a second modeling result;

[0157] A verification module is used to verify the first modeling result based on the second modeling result.

[0158] Optionally, the verification module is further used to:

[0159] Comparing the second modeling result with the first modeling result to obtain a comparison result;

[0160] If the comparison results are consistent, generating verification success information;

[0161] When the comparison results are inconsistent, verification failure information is generated, and the second modeling result is used as the first modeling result.

[0162] Optionally, the device further comprises:

[0163] A second response module, configured to respond to a third input from a user, wherein the third input carries evaluation information of the user on the visualization model;

[0164] An updating module is used to update the visualization model based on the evaluation information.

[0165] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute a visual modeling method for a standard file, the method comprising: determining a standard file associated with the target object in the image to be detected; determining a first modeling strategy corresponding to the standard file based on the file type of the standard file; modeling the standard file based on the first modeling strategy to obtain a first modeling result; processing the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0166] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0167] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the visualization modeling method for standard files provided by the above methods, and the method includes: based on the target object in the image to be detected, determining the standard file associated with the target object; based on the file type of the standard file, determining a first modeling strategy corresponding to the standard file; modeling the standard file based on the first modeling strategy to obtain a first modeling result; processing the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0168] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the visualization modeling method for standard files provided by the above-mentioned methods. The method includes: based on the target object in the image to be detected, determining the standard file associated with the target object; based on the file type of the standard file, determining a first modeling strategy corresponding to the standard file; modeling the standard file based on the first modeling strategy to obtain a first modeling result; processing the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file.

[0169] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A visual modeling method for standard files, characterized in that: include: Based on the target object in the image to be detected, determining a standard file associated with the target object; Obtaining target keywords corresponding to the standard file; Matching the target keyword with a preset file type keyword to determine the file type of the standard file; Based on the file type of the standard file, determining a first modeling strategy corresponding to the standard file; the first modeling strategy includes at least one of the following: a tree structure modeling strategy; a flow chart modeling strategy; a relationship diagram modeling strategy; Statistical model modeling strategy; wherein, when the file type corresponding to the standard file of the target object is a picture type, the first modeling strategy corresponding to the standard file is a relationship diagram modeling strategy; and when the file type corresponding to the standard file of the target object is a text type, the first modeling strategy corresponding to the standard file is a flowchart modeling strategy; Modeling the standard file based on the first modeling strategy to obtain a first modeling result; The first modeling result is processed based on a visualization tool to obtain a visualization model corresponding to the standard file; the visualization model is used to display the structure and content of the standard file of the target object.

2. The visual modeling method for standard files according to claim 1, characterized in that: The determining, based on the file type of the standard file, a first modeling strategy corresponding to the standard file includes: Inputting the file type into a target modeling strategy model to obtain at least one modeling strategy output by the target modeling strategy model; the target modeling strategy model is obtained by training an initial modeling strategy model based on a file type sample; Based on the modeling strategies, the first modeling strategy is determined.

3. The visual modeling method for standard files according to claim 2, characterized in that: The step of determining the first modeling strategy based on each of the modeling strategies includes: The first modeling strategy is determined from the modeling strategies in response to a first input from a user, wherein the first input is used to determine the first modeling strategy.

4. The visual modeling method for standard files according to claim 1, characterized in that: After the standard file is modeled based on the modeling strategy to obtain a first modeling result, the method further includes: In response to a second input from a user, the second input is used to indicate a target modeling strategy; Modeling the standard file based on the target modeling strategy to obtain a second modeling result; Based on the second modeling result, the first modeling result is verified.

5. The visual modeling method for standard files according to claim 4, characterized in that: The verifying the first modeling result based on the second modeling result includes: Comparing the second modeling result with the first modeling result to obtain a comparison result; If the comparison results are consistent, generating verification success information; When the comparison results are inconsistent, verification failure information is generated, and the second modeling result is used as the first modeling result.

6. The visual modeling method for standard files according to claim 1, characterized in that: After the first modeling result is processed based on the visualization tool to obtain the visualization model corresponding to the standard file, the method further includes: In response to a third input from a user, the third input carries evaluation information of the user on the visualization model; Based on the evaluation information, the visualization model is updated.

7. A visual modeling device for standard files, characterized in that: include: A first determination module, configured to determine a standard file associated with a target object based on the target object in the image to be detected; An acquisition module, used to acquire target keywords corresponding to the standard file; A third determination module is used to match the target keyword with a preset file type keyword to determine the file type of the standard file; A second determination module is used to determine a first modeling strategy corresponding to the standard file based on the file type of the standard file; the first modeling strategy includes at least one of the following: a tree structure modeling strategy; a flow chart modeling strategy; a relationship diagram modeling strategy; Statistical model modeling strategy; wherein, when the file type corresponding to the standard file of the target object is a picture type, the first modeling strategy corresponding to the standard file is a relationship diagram modeling strategy; and when the file type corresponding to the standard file of the target object is a text type, the first modeling strategy corresponding to the standard file is a flowchart modeling strategy; A first modeling module, used for modeling the standard file based on the first modeling strategy to obtain a first modeling result; A processing module is used to process the first modeling result based on a visualization tool to obtain a visualization model corresponding to the standard file; the visualization model is used to display the structure and content of the standard file of the target object.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the visual modeling method for standard files as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the visual modeling method for standard files according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the visual modeling method for standard files according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • GIM file visualization processing method and system, readable storage medium and computer

    CN111161406A

  • Text data visualization analysis method and device, equipment and storage medium

    CN113486664A

  • Image recognition method, device, model training method, device, electronic equipment and storage medium

    CN113901911A

  • SAR (Synthetic Aperture Radar) image target detection method based on statistical characteristic and structural characteristic fusion

    CN115761527A

  • Vehicle cabin modeling method and device, electronic equipment and storage medium

    CN116167168A