Visual editing method and device based on card data model

By highlighting the data model in the text editing window and preview window, the inconsistency between card files and models in SACS software is solved, enabling efficient data model editing.

CN120805219APending Publication Date: 2025-10-17CHINA ENERGY ENG GRP GUANGDONG ELECTRIC POWER DESIGN INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510785880.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

SACS software users need to manually check and verify the correspondence between card files and models, resulting in low efficiency in data model editing and an inability to guarantee the consistency between card files and online models.

Method used

The data model is highlighted in the text editing window, and the identification number and editing information of the three-dimensional nodes are obtained according to the card information. Editing operations are performed, and the data model is highlighted in the preview window to achieve visual editing of the data model.

Benefits of technology

It improves the consistency between the data model's card files and the online model, reduces card information redundancy during the visual editing process, and improves editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120805219A_ABST
    Figure CN120805219A_ABST
Patent Text Reader

Abstract

The invention discloses a visual editing method and device based on a card data model, and the method comprises the following steps: selecting a data model needing to be edited in a text editing window, inputting card information, and carrying out the highlight processing of the data model corresponding to the card information in a first color in the text editing window; obtaining an identification number and editing information of a three-dimensional node corresponding to the data model according to the card information; the data model is edited according to the identification number and the editing information, and the data model corresponding to the identification number is highlighted in the preview window with the second color, so that the consistency of the card file of the data model and the online model is improved; in the editing process of the data model, a visualization auxiliary function based on highlight of the card information corresponding model is achieved, and the redundancy of the card information in the visualization editing process is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data model editing, and in particular to a card data model-based visual editing method and device. BACKGROUND

[0002] SACS is a software system for the design and analysis of offshore fixed structures, topsides of floating systems, etc. SACS software contains multiple program modules, which are connected by file interface for the convenience of customers. The structural data contained in the software, such as geometry, member size, material properties and environmental conditions, are input through interactive mode and stored in file mode, and then the solving program can be used to analyze and calculate these data to obtain the solving file, which contains the node displacement and internal force of the element. Currently, SACS users need to find each card row of the card file, and need to perform tedious operations of checking and verifying one-to-one correspondence between the card row and the model, which increases the redundancy of the card file, affects the editing efficiency of the data model, and cannot guarantee the consistency of the card file of the data model and the online model. SUMMARY

[0003] To solve the above problems, the purpose of the present application is to provide a card data model-based visual editing method and device and a storage medium thereof, to improve the consistency of the card file of the data model and the online model, and effectively reduce the redundancy of card information in the visual editing process.

[0004] The technical scheme adopted by the present application to solve the problems is as follows:

[0005] In a first aspect, the present application provides a card data model-based visual editing method, which comprises: selecting a data model to be edited and inputting card information in a text editing window, and highlighting the data model corresponding to the card information in the text editing window in a first color; obtaining the identification number and editing information of a three-dimensional node corresponding to the data model according to the card information; and performing editing operation on the data model according to the identification number and the editing information, and highlighting the data model corresponding to the identification number in a preview window in a second color.

[0006] In a second aspect, the embodiment of the present application provides a card data model-based visual editing device, which comprises: an input module, configured to select a data model to be edited in a text editing window and input card information, and highlight the data model corresponding to the card information in the text editing window in a first color; an identification module, configured to obtain an identification number of a three-dimensional node corresponding to the data model and editing information according to the card information; and an editing module, configured to perform an editing operation on the data model according to the identification number and the editing information, and highlight the data model corresponding to the identification number in a preview window in a second color.

[0007] In a third aspect, the embodiment of the present application provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor performs the computer program to realize the card data model-based visual editing method.

[0008] In a fourth aspect, the embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the card data model-based visual editing method.

[0009] According to the embodiment of the present application, the data model to be edited is selected in the text editing window and the card information is input, the data model corresponding to the card information is highlighted in the text editing window in the first color, the identification number of the three-dimensional node corresponding to the data model and the editing information are obtained according to the card information, the editing operation is performed on the data model according to the identification number and the editing information, and the data model corresponding to the identification number is highlighted in the preview window in the second color, thereby improving the consistency of the card file of the data model and the online model, and effectively reducing the redundancy of the card information in the visual editing process.

[0010] Additional aspects and advantages of the present application will be given in part in the following description, become apparent from the following description, or be understood by those skilled in the art through the practice of the present application. BRIEF DESCRIPTION OF DRAWINGS

[0011] Figure 1 The flowchart of the card data model-based visual editing method of the embodiment of the present application is shown in FIG. 1;

[0012] Figure 2 The flowchart of step S1000 in the embodiment of the present application is shown in FIG. 2; Figure 1

[0013] The flowchart of step S1200 in the embodiment of the present application is shown in FIG. 3; Figure 3 Figure 2

[0014] ​​Figure 4 For Figure 1 Flowchart of step S2000 in the embodiment;

[0015] Figure 5 For Figure 1 Flowchart of step S3000 in the embodiment;

[0016] Figure 6 For Figure 1 Flowchart of another embodiment of step S3000;

[0017] Figure 7 For Figure 1 Flowchart of another embodiment of step S3000;

[0018] Figure 8 Structure diagram of the visualization editing device based on the card data model according to an embodiment of the present application;

[0019] Figure 9 Structure diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0020] Embodiments of the present application are described below in detail, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are only used to explain the present application, and cannot be understood as a limitation of the present application.

[0021] In the description of the present application, it should be understood that the orientation description, such as the orientation or position relationship indicated by up, down, front, back, left, right, etc. is based on the orientation or position relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, and therefore cannot be understood as a limitation of the present application.

[0022] In the description of the present application, the meaning of several is one or more, and the meaning of multiple is two or more. Greater than, less than, more than, etc. are understood as not including the number, and above, below, etc. are understood as including the number. If it is described as first, second, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or the order of indicated technical features.

[0023] In the description of the present application, unless otherwise explicitly limited, the words such as setting, installing, connecting, etc. should be understood in a broad sense, and the person skilled in the art can reasonably determine the specific meaning of the above words in the present application in combination with the specific content of the technical solution.

[0024] The embodiment of the application relates to a card data model-based visual editing method and device and a storage medium thereof, wherein a data model needing to be edited is selected in a text editing window, card information is input, the data model corresponding to the card information is highlighted in the text editing window in a first color, an identification number and editing information of a three-dimensional node corresponding to the data model are obtained according to the card information, the data model is edited according to the identification number and the editing information, and the data model corresponding to the identification number is highlighted in a preview window in a second color, the consistency of a card file of the data model and an online model is improved, the visual auxiliary function of highlighting the model corresponding to the card information is provided in the editing process of the data model, and the redundancy of the card information in the visual editing process is effectively reduced.

[0025] At present, with the continuous development of offshore wind power, the integration development of marine energy represented by offshore wind power and marine resources represented by marine ranching is a new direction, new situation and new opportunity for future marine resource development and utilization. However, the development of marine ranching also faces some challenges. In the design process of the marine ranching, the net load greatly affects the cost control, so how to quickly and accurately calculate the net load is a key problem. At present, in the load calculation of the net, the net plane theory can usually be used for calculation, but the existing model software based on the net plane theory usually has a high threshold. In the process of human exploration and utilization of marine resources, the offshore platform plays a crucial role. From the exploitation of oil and gas to offshore wind power, to marine scientific research, the offshore platform provides a stable working place for various activities. The rationality and scientificity of its structure design are directly related to the safety, reliability and economy of the platform. The environment where the offshore platform is located is extremely harsh, and it has to withstand the action of various marine dynamic loads such as waves, currents and winds, and also faces problems such as seawater corrosion and marine bio-attachment. Therefore, the structure design of the offshore platform is a complex and systematic engineering, which needs to consider many factors such as marine environment, functional requirements, construction conditions, safety requirements and the like. Only through scientific and reasonable design and accurate analysis, can the safe and reliable operation of the offshore platform be ensured, and a solid guarantee for human marine development is provided.

[0026] And SACS, as a software for offshore structure design, is widely used in the whole life cycle design analysis of offshore oil platforms and offshore wind turbine foundations. At present, SACS users need to find each card row of the card file, and need to perform tedious operations of checking and verifying that each card row corresponds to a model one by one, which increases the redundancy of the card file, affects the editing efficiency of the data model, and also cannot guarantee the consistency of the card file of the data model and the online model.

[0027] Based on the above, the embodiment of the application provides a card data model-based visual editing method and device and a storage medium thereof, card information is input by selecting a data model to be edited in a text editing window, a data model corresponding to the card information is highlighted in the text editing window in a first color, an identification number and editing information of a three-dimensional node corresponding to the data model are obtained according to the card information, an editing operation is performed on the data model according to the identification number and the editing information, and the data model corresponding to the identification number is highlighted in a preview window in a second color, the consistency of a card file of the data model and an online model is improved, the visual auxiliary function of highlighting the model corresponding to the card information is provided in the editing process of the data model, and the redundancy of the card information in the visual editing process is effectively reduced.

[0028] Please refer to Figure 1 , Figure 1 The embodiment of the application shows a card data model-based visual editing method. As shown in Figure 1 The card data model-based visual editing method of the embodiment of the application includes the following steps:

[0029] In step S1000, a data model to be edited is selected in a text editing window, card information is input, and a data model corresponding to the card information is highlighted in the text editing window in a first color.

[0030] It can be understood that highlighting has a wide range of applications in daily life and the computer field. The basic definition of highlighting is to describe light as bright and clearly visible, or to highlight or make something or something prominent and eye-catching. In the context of computers and text editing, highlighting specifically refers to changing the background color, font color or style of text or part of the content to make it more eye-catching and easy to identify. This visual emphasis helps users quickly locate key information and improve reading or working efficiency. For example, in document editing, people often use the highlighting function to mark important paragraphs or keywords so that they can quickly find them in subsequent reading or modification.

[0031] It can be understood that in the visual editing software, highlighting is a display effect used to emphasize specific text or positions on the screen. Usually, a bright color or background color is used to mark the text or area to be displayed so as to more easily attract the attention of the observer. Highlighting is commonly used in text editing and model editing software and can be extended to other application programs through program language. For users, highlighting is a design method to improve usability and ease of use. By using appropriate colors and forms to highlight certain elements, users can more easily find the information they need, improve user usage and satisfaction.

[0032] It can be understood that the database card is a tool for effectively managing and retrieving database information. The database card has the following main uses: providing quick access, helping to organize data, supporting multi-user editing, providing data security, facilitating data sharing, and providing data consistency. Among them, providing quick access is a big advantage of the database card. In a large database, finding specific information can be a daunting task. Therefore, by using the database card, users can quickly locate and access specific information, greatly improving work efficiency. The database card usually contains keywords or phrases that can help users quickly find relevant information through search engines. In addition, many database cards also contain detailed data descriptions, which are very helpful for understanding the nature and purpose of the data.

[0033] It should be noted that the card information includes text information corresponding to the data model and content that needs to be modified and edited. After the user selects the data model that needs to be edited, the card information is input, so that the system can quickly and accurately obtain the data model that needs to be edited and the modification content, improving the editing efficiency of the data model.

[0034] Please refer to Figure 2 , Figure 2 The specific implementation process diagram of another embodiment of the above step S1000 is shown. As Figure 2 shown, step S1000 at least includes the following steps:

[0035] Step S1100, setting a highlight class for highlighting the data model in the first color.

[0036] In some embodiments, in order to more intuitively display the data model selected by the user in the text editing window, the data model selected by the user needs to be highlighted and displayed. Specifically, the system defines a highlight class, which is used to set the highlight background color to the first color. In the embodiment of the present application, the first color is green, so that the user can quickly and accurately select the data model in the text editing window.

[0037] It can be understood that the highlight class is a very practical tool that allows users to highlight specific text or paragraphs by changing the background color, font color, or adding underlines. This function is particularly useful when editing long documents, writing papers or reports. By highlighting key information, users can more clearly organize the structure of the article, emphasize the main points, and make the document easier to understand and read. In addition, many text editing software also supports customizing highlight colors to meet the different visual needs and preferences of users. In practical applications, setting a highlight class to highlight the data model belongs to the prior art, and will not be repeated here.

[0038] Step S1200, obtaining the component sequence of the data model corresponding to the card information according to the preset content division rule.

[0039] It can be understood that, in order to facilitate the quick selection and editing of the components of the data model, it is necessary to divide the data model into different component sequences, that is, to perform sequence text information processing on the text information of the data model. Specifically, sequence text information processing refers to special analysis and conversion of text data with explicit word order or structural order (such as sentences, paragraphs, chapters, etc.), so as to retain and utilize the internal timing or logical relationship.

[0040] Please refer to Figure 3 , Figure 3 The specific implementation process diagram of another embodiment of the above step S1200 is shown. As Figure 3 shown, step S1200 at least includes the following steps:

[0041] Step S1210, obtaining the text information corresponding to the data model.

[0042] It can be understood that the three-dimensional data model is a polygonal representation of an object, which is usually displayed by a computer or other video equipment. The displayed object can be a real-world entity or a fictional object. Anything that exists in the physical natural world can be represented by a data model. Therefore, the text information corresponding to the data model can be obtained by reading the file of the data model. Among them, reading the text information corresponding to the data model through the text editing window of the SACS software belongs to the prior art, which will not be described here.

[0043] Step S1220, dividing the data model into different component sequences according to the content division rule.

[0044] It can be understood that, in order to facilitate the accurate and quick selection and editing of each independent part of the data model, it is necessary to divide the data model into different component sequences according to the preset content division rule. For example, the text information located at different parts of the data model is divided into different component sequences to achieve the effect of quickly selecting different parts of the data model. Of course, in other embodiments, the data model can also be divided into different component sequences according to the stress condition, importance and other attributes of the data model, which is not limited here. In actual application, the text content corresponding to the data model is divided into a word array according to the sequence, such as the first to fourth positions of "GRUP". At this time, the text content division rule corresponding to the data model is a set of rules formulated when the card data is entered, and different content division rules can be formulated according to different use environments and different attribute data models.

[0045] Step S1230, obtaining the component sequence corresponding to the card information according to the text information corresponding to the card information.

[0046] It can be understood that the card information obtained by the above steps includes the text information corresponding to the data model and the content that needs to be modified and edited, so that the component sequence corresponding to the card information can be obtained according to the content division rule of step S1220 according to the text information corresponding to the card information. By reading the text information of the selected data model that needs to be edited, and according to the content division rule, the component sequence in which the data model that needs to be edited is located is obtained, and then the component sequence of the data model that needs to be edited can be accurately and quickly obtained, so as to more intuitively display and mark the component sequence of the data model that needs to be edited.

[0047] Step S1300, setting the component sequence as a highlight class.

[0048] It can be understood that the component sequence of the data model that needs to be edited is obtained in the above steps, and the component sequence of the data model that needs to be edited is set as a highlight class, so that the component sequence of the data model that needs to be edited can be highlighted in the text editing window with a first color, so that the user can intuitively observe the component sequence corresponding to the card information. In actual application, setting the component sequence as a highlight class by instruction belongs to the prior art, which will not be described here.

[0049] Step S2000, obtaining the identification number and editing information of the three-dimensional node corresponding to the data model according to the card information.

[0050] It can be understood that in the three-dimensional model editing software, the grouping, name, selection label and rod length combination of the model are combined as the unique identification number of the model component, and the identification number corresponds to the identification number of the model structure in the three-dimensional model. Specifically, each identification number in the card row contains the spatial point information and related data of the corresponding three-dimensional model part, that is, in the three-dimensional modeling model design, each model plate is composed of spatial points, and the essence of the spatial point is a set of three-dimensional coordinate information. Therefore, the identification number and editing information of the three-dimensional node corresponding to the data model can be obtained through the card information.

[0051] Please refer to Figure 4 , Figure 4 The figure shows the specific implementation process of another embodiment of the above step S2000. As Figure 4 shown, step S2000 at least includes the following steps:

[0052] Step S2100, obtaining the grouping, name, selection label and rod length combination of the data model according to the selected data model, and obtaining the identification number.

[0053] It can be understood that the identification number of the data model refers to a unique identifier used in the three-dimensional model to identify various elements (such as meshes, materials, etc.) in the model. The identification number plays an important role in the model loading, processing and rendering process, ensuring that each element can be correctly identified and processed. The identification number can identify elements, identify each mesh, material, vertex and other elements in the model, ensuring that they are not confused during processing; it can also manage data, helping to manage and track the status and changes of various elements during model loading and processing; finally, the identification number can also optimize performance, by identifying and optimizing the identification number, the efficiency of rendering and processing can be improved, and unnecessary calculations and resource consumption can be reduced. Of course, in some embodiments, the identification number can also be determined according to other characteristic values of the data model, which is not limited here.

[0054] Step S2200, obtaining the editing information according to the card information.

[0055] It can be understood that, as known from the above, the card information obtained in the above steps includes the text information corresponding to the data model and the content to be modified and edited, so that the editing information for modifying and processing the text information corresponding to the data model can be directly read through the card information. In actual application, directly reading the editing information in the card information through instructions belongs to the prior art, which will not be repeated here.

[0056] Step S2300, encapsulating the identification number and the editing information to obtain transmission information, and sending the transmission information to the preview window.

[0057] It can be understood that after obtaining the identification number and the editing information in the above steps, in order to ensure the consistency of the data model data in the preview window and the text editing window, when the selected card row is completed, the card data is encapsulated into transmission information as model data by the method of browser Post Message and transmitted to the three-dimensional design module, that is, the transmission information is sent to the preview window.

[0058] It should be noted that Post Message is a way of securely passing information between different origins, which is usually used for cross-domain communication. Post Message can be used in various environments, such as from one window to another, from a parent window to a child window (such as an iframe), from a window to a worker, or from a worker to a window. Since the card information editing module and the three-dimensional design module are located in different windows, both windows can listen to the message event from the other. Specifically, the message event mainly provides an event object, which contains information such as data (the message itself) and origin (the domain name of the message source). Among them, origin is an important information for the module to verify the source of the message. When the card information editing module completes data editing, it will send the identification number of the selected card row and the editing information as a message event to the three-dimensional design module. The three-dimensional design module listens to the message event, judges whether the message source is reliable, receives the data in the message event, and returns a message event to the card editing module to indicate that the data has been received. This data transmission effectively ensures the data consistency of the data model in the preview window and the text editing window.

[0059] Step S3000, according to the identification number and the editing information, performing an editing operation on the data model, and highlighting the data model corresponding to the identification number in the preview window with a second color.

[0060] It can be understood that in the design of visual application, highlighting is a visual prompting means, which makes specific information or controls stand out from the interface by changing the color, brightness or adding a border of screen elements, etc., to attract the attention of users. This technology is particularly effective when a new application is first started, which can help new users quickly get started and reduce learning costs. Specifically, during the editing operation on the data model, the data model corresponding to the identification number is highlighted in the preview window with a second color, which can effectively and intuitively show the user the components of the data model in the editing state, improving the efficiency and intuitiveness of data model editing.

[0061] Please refer to Figure 5 , Figure 5 The figure shows a specific implementation process diagram of another embodiment of the above step S3000. As Figure 5 shown, step S3000 at least includes the following steps:

[0062] Step S3100, opening the model file corresponding to the identification number in the database and displaying it in the preview window.

[0063] It can be understood that the identification number and card information obtained by the above steps need to open the model file corresponding to the identification number in the database and display in the preview window in order to intuitively show the editing process of the data model. Specifically, the three-dimensional design module finds the corresponding bound model file in the database after receiving the success and renders the three-dimensional model to the preview window through Web GL, Three.js and the like. In actual application, reading the model file corresponding to the identification number in the database through instructions and displaying the three-dimensional effect of the model file in the preview window belong to the prior art, which will not be described here.

[0064] Step S3200, editing operation is performed on the model file according to the editing information.

[0065] It can be understood that after the model file is displayed, the editing operation is performed on the model file according to the editing information in the card information, for example, the text information of the model file is deleted, the parameter is modified and the like, so as to ensure that the model file corresponding to the identification number in the database can be updated to the version corresponding to the editing information.

[0066] Please refer to Figure 6 , Figure 6 The specific implementation process diagram of another embodiment of the above step S3000 is shown. As Figure 6 shown, step S3000 further includes at least the following steps:

[0067] Step S3300, the identification number in the transmission information is traversed to obtain the modification area of the data model to be edited.

[0068] It can be understood that while the editing operation is performed on the model file, the modification area of the data model corresponding to all identification numbers in the transmission information needs to be highlighted, therefore, the identification number in the transmission information needs to be traversed to count the modification area of the data model to be edited.

[0069] Step S3400, the modification area is replaced by a second color highlight mode through Cascading Style Sheets.

[0070] It can be understood that Cascading Style Sheets (CSS) is a computer language used to express the style of HTML (an application of Standard Generalized Mark-up Language) or XML (a subset of Standard Generalized Mark-up Language) and the like. CSS can not only statically modify the web page, but also dynamically format the elements of the web page with various script languages. CSS can accurately control the layout of the element position in the web page at the pixel level, support almost all font sizes and styles, and has the ability to edit the style of the web page objects and models.

[0071] It should be noted that the three-dimensional design module listens to the selected identification number and data information, searches the identification number of the corresponding model structure, replaces the structure corresponding to the identification number in the data model with a red highlight mode through CSS, and realizes the effect of synchronous highlighting of the card information and the three-dimensional model, that is, simultaneously displaying the three-dimensional model in the text editing window and the preview window.

[0072] Please refer to Figure 7 , Figure 7 The specific implementation process diagram of another embodiment of the above step S3000 is shown. As Figure 7 shown, step S3000 further includes at least the following steps:

[0073] Step S3500, reacquire card information to acquire the updated identification number.

[0074] It can be understood that after completing the data editing process in the above steps, in order to ensure that the next data model structure to be edited can be quickly switched, the card information needs to be reacquired to highlight the data model corresponding to the updated card information, so as to avoid multiple data model structures being in a highlighted state, affecting the accuracy and timeliness of the visual editing based on the card data model.

[0075] It should be noted that after reacquiring the card information, the text information corresponding to the data model in the card information and the content to be modified and edited need to be read, and then the identification number of the data model is updated. The process is the same as the above step S2000, and will not be repeated here.

[0076] Step S3600, highlighting the data model corresponding to the updated identification number in the preview window with a second color.

[0077] It can be understood that the process of highlighting the data model corresponding to the updated identification number in the preview window with a second color is the same as the above steps S3100 to S3400, and will not be repeated here.

[0078] Please refer to Figure 8 , Figure 8 is a structural diagram of the visual editing device 400 based on the card data model provided by the embodiment of the application. The entire process of the visual editing method based on the card data model provided by the embodiment of the application involves the following modules in the visual editing device based on the card data model: an input module 410, an identification module 420, and an editing module 430.

[0079] The input module 410 is configured to select a data model to be edited and input card information in a text editing window, and highlight the data model corresponding to the card information in the text editing window with a first color.

[0080] an identification module 420, configured to obtain an identification number and editing information of a three-dimensional node corresponding to the data model according to the card information;

[0081] an editing module 430, configured to perform an editing operation on the data model according to the identification number and the editing information, and perform highlight processing on the data model corresponding to the identification number in the preview window in the second color.

[0082] It should be noted that the information interaction and execution process between the modules of the apparatus described above are based on the same concept as the method embodiments of the present application, and the specific functions and technical effects brought by the modules can be referred to the method embodiments part, which will not be described here.

[0083] Figure 9 An electronic device 500 provided by an embodiment of the present application is shown. The electronic device 500 includes but is not limited to:

[0084] a memory 501, configured to store a program;

[0085] a processor 502, configured to execute the program stored in the memory 501, and when the processor 502 executes the program stored in the memory 501, the processor 502 is configured to execute the above-mentioned visual editing method based on the card data model.

[0086] The processor 502 and the memory 501 can be connected through a bus or other means.

[0087] The memory 501 as a kind of non-transient computer readable storage medium can be used to store non-transient software programs and non-transient computer executable programs, such as the visual editing method based on the card data model described in any embodiment of the present application. The processor 502 runs the non-transient software programs and instructions stored in the memory 501, thereby realizing the above-mentioned visual editing method based on the card data model.

[0088] The memory 501 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store the above-mentioned visual editing method based on the card data model. In addition, the memory 501 can include a high-speed random access memory, and can also include a non-transient memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 501 can optionally include a memory remotely arranged relative to the processor 502, and these remote memories can be connected to the processor 502 through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0089] The non-transient software programs and instructions required to implement the above-mentioned visual editing method based on the card data model are stored in the memory 501. When executed by one or more processors 502, the visual editing method based on the card data model provided by any embodiment of the present application is executed.

[0090] An embodiment of the present application also provides a storage medium storing computer-executable instructions, which are used to execute the above-mentioned visual editing method based on the card data model.

[0091] In one embodiment, the storage medium stores computer-executable instructions, which are executed by one or more control processors 502, for example, by a processor 502 in the above-mentioned electronic device 500, so that the above-mentioned one or more processors 502 can execute the visual editing method based on the card data model provided in any embodiment of the present application.

[0092] The embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.

[0093] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A visual editing method based on a card data model, characterized in that: The following steps are involved: In the text editing window, select the data model to be edited and enter the card information, and highlight the data model corresponding to the card information in the text editing window in a first color; Obtaining an identification number and editing information of a three-dimensional node corresponding to the data model according to the card information; An editing operation is performed on the data model according to the identification number and the editing information, and the data model corresponding to the identification number is highlighted in a second color in a preview window.

2. The visual editing method based on the card data model according to claim 1, characterized in that: The text editing window highlights the data model corresponding to the card information in a first color, including: Setting a highlight class for highlighting the data model with a first color; Acquire a component sequence of the data model corresponding to the card information according to a preset content division rule; Set the component sequence to the highlight class.

3. The visual editing method based on the card data model according to claim 2, characterized in that: The step of obtaining the component sequence of the data model corresponding to the card information according to a preset content division rule includes: Obtaining text information corresponding to the data model; Dividing the data model into different component sequences according to the content division rule; The component sequence corresponding to the card information is obtained according to the text information corresponding to the card information.

4. The visual editing method based on the card data model according to claim 1, characterized in that: The obtaining, according to the card information, the identification number and editing information of the three-dimensional node corresponding to the data model includes: Obtaining the group, name, selection label, and rod length combination of the data model according to the selected data model to obtain the identification number; Obtaining the editing information according to the card information; The identification number and the editing information are packaged to obtain transmission information, and the transmission information is sent to the preview window.

5. The visual editing method based on the card data model according to claim 4, characterized in that: The editing operation on the data model according to the identification number and the editing information includes: Opening the model file corresponding to the identification number in the database and displaying it in the preview window; An editing operation is performed on the model file according to the editing information.

6. The visual editing method based on the card data model according to claim 5, characterized in that: The highlighting of the data model corresponding to the identification number in the preview window with a second color includes: Traversing the identification numbers in the transmission information to obtain a modification area of ​​the data model that needs to be edited; The modified area is replaced with a highlight mode of the second color through a cascading style sheet.

7. The visual editing method based on the card data model according to claim 6, characterized in that: After highlighting the data model corresponding to the identification number in the preview window with a second color, the method further includes: Re-acquiring the card information and obtaining the updated identification number; The data model corresponding to the updated identification number is highlighted in the preview window with a second color.

8. A visual editing device based on a card data model, characterized in that: include: An input module, configured to select a data model to be edited and input card information in a text editing window, and highlight the data model corresponding to the card information in a first color in the text editing window; an identification module, configured to obtain an identification number and editing information of a three-dimensional node corresponding to the data model according to the card information; An editing module is used to edit the data model according to the identification number and the editing information, and highlight the data model corresponding to the identification number in a second color in a preview window.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the visual editing method based on the card data model as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that A computer program is stored, and when the computer program is executed by a processor, the visual editing method based on the card data model as described in any one of claims 1 to 7 is implemented.