WO2025043664A1 - Method and apparatus for using knowledge graph to generate web form, and computer device - Google Patents
Method and apparatus for using knowledge graph to generate web form, and computer device Download PDFInfo
- Publication number
- WO2025043664A1 WO2025043664A1 PCT/CN2023/116330 CN2023116330W WO2025043664A1 WO 2025043664 A1 WO2025043664 A1 WO 2025043664A1 CN 2023116330 W CN2023116330 W CN 2023116330W WO 2025043664 A1 WO2025043664 A1 WO 2025043664A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- knowledge graph
- attribute information
- web page
- nodes
- end code
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000004590 computer program Methods 0.000 claims description 23
- 238000013507 mapping Methods 0.000 claims description 22
- 238000003860 storage Methods 0.000 claims description 9
- 230000001419 dependent effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 12
- 238000004519 manufacturing process Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000009776 industrial production Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Definitions
- the present application relates to the industrial field, and specifically, to a method, apparatus, computer equipment and storage medium for generating a web page form using a knowledge graph.
- the present application discloses a method for generating a web page form using a knowledge graph, which includes: obtaining a knowledge graph; generating a front-end code for establishing a web page form based on the attribute information of the nodes of the knowledge graph; generating a web page form based on the front-end code, and loading the web page form to obtain instance data.
- the knowledge graph can be quickly and efficiently converted into the corresponding web form, so that the background instance data can be obtained when the web form is loaded. This can greatly facilitate the reusability of the knowledge graph and provide a convenient way to generate web forms.
- loading the form to obtain instance data further includes: receiving a mapping relationship between attribute information of the form and instance data in the background based on a mapping editing interface; and, according to the mapping relationship, loading the webpage form to obtain instance data in the background.
- a mapping editing page can be provided on the front end, and the mapping relationship between the attribute information in the form and the background instance data source can be quickly edited.
- the form loads the background instance data, it is more convenient and direct, and the background instance data loading is more direct and convenient.
- it also includes: based on the subordinate editing interface, receiving the dependency relationship between the nodes of the knowledge graph.
- a corresponding subordinate editing interface can be provided to facilitate editing of the subordinate relationship between attributes in the form, or the subordinate relationship between nodes, so that when the front-end code is generated, the corresponding front-end code will be generated in sequence.
- a front-end code for establishing a web page form is generated, including: based on the dependency relationship between the nodes of the knowledge graph, the front-end code corresponding to the attribute information of the nodes of the knowledge graph is called in sequence to generate the front-end code for establishing a web page form.
- the front-end code corresponding to the attribute information can be called in sequence and in an orderly manner according to the corresponding provided subordinate relationships, so as to integrate and generate the code of the corresponding overall web form, which is conducive to the orderly establishment of the web form logic based on the subordinate relationships, in line with the industrial production logic and the table attribute logic.
- the present application also provides a device for generating a web page form using a knowledge graph, which includes: a knowledge graph acquisition module for acquiring a knowledge graph; a front-end code generation module for generating a front-end code for establishing a web page form based on the graphical relationship of the knowledge graph and the attribute information of the nodes; and a web page form generation module for generating a web page form based on the front-end code and loading the web page form to obtain instance data.
- the present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the above method when executing the computer program.
- the present application also provides a computer-readable storage medium on which a computer program is stored.
- a computer program is stored on which a computer program is stored.
- the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions.
- the computer-executable instructions When executed, at least one processor is enabled to perform the above-mentioned method.
- FIG1 is a schematic diagram of the process of a method for generating a web page form using a knowledge graph according to an embodiment of the present application.
- FIG2 is a schematic diagram of a device for generating a web page form using a knowledge graph according to an embodiment of the present application.
- Steps S101-S103 200 Installation 201: Module 202: Module 203: Module 204: Module 205: Module 300: Computer equipment 302: Processor 304: Memory
- this application utilizes a front-end template engine to extract the front-end engineering code of a completed project (such as a factory production line system) and extract it into an editable web front-end mode, so that the modifiable knowledge graph can be converted into the form information of the front-end web page.
- a front-end template engine to extract the front-end engineering code of a completed project (such as a factory production line system) and extract it into an editable web front-end mode, so that the modifiable knowledge graph can be converted into the form information of the front-end web page.
- This process is convenient and efficient.
- the corresponding instance data can be obtained from the background, and the complete web form can be displayed on the front end of the web page.
- the method as a whole utilizes the advantages of easy expansion and easy copying of the knowledge graph, making it convenient and fast to build a web form by utilizing the conversion method of the knowledge graph, thereby realizing the convenience and speed of displaying industrial data on the front end.
- the present application discloses a method for generating a web page form using a knowledge graph, which includes:
- the knowledge graph is for the subsequent generation of the knowledge graph of the web form.
- the knowledge graph contains nodes and lines.
- the nodes and lines can be some attribute information in industrial production and the logical connection between some attribute information.
- the knowledge graph reflects more of an internal logic, which is an abstraction of the relationship between a type of substance or information and other substances or information.
- the knowledge graph can be adaptively filled and adjusted with attribute information based on the actual completed projects, so that the knowledge graph matches the current project, or matches the form information that you want to generate, or matches the instance data in the corresponding database table.
- the knowledge graph can be understood as information.
- the nodes and links in the knowledge graph are used as templates, so that the knowledge graph can be reused as a template for attribute information in multiple identical or similar project scenarios or industrial scenarios.
- the front-end template engine receives the knowledge graph, analyzes the knowledge graph, or reads the complex code of the knowledge graph, and can generate the front-end code of the web form.
- the front-end template engine can directly connect to the name and attributes of the knowledge graph.
- the direct connection described here can be simply understood as the front-end template engine can match the attribute information in the knowledge graph with the attribute information in the front-end code or database table, or the front-end template engine has such ability.
- the front-end template engine can analyze and deconstruct the knowledge graph, thereby making basic preparations for the subsequent generation of web forms.
- the front-end code is the code that can create a web form after the front-end template engine analyzes and parses the knowledge graph.
- the nodes in the knowledge graph represent an attribute, such as nodes with words like equipment, devices, modules, etc., and then these nodes contain attribute information such as names and IDs. There are connections between these nodes, but the connections are also based on the logic between macro concepts such as equipment, devices, and modules.
- the knowledge graph does not contain specific instances, that is, it does not contain specific names and values.
- the instance data is stored in the database in the background in the format of a database table.
- the method disclosed in the present application can expand the knowledge graph with corresponding nodes and attribute information.
- the so-called node can be understood as the concept of a collection with multiple attribute information, or in some embodiments, the node can be understood as the concept of a table.
- the front-end template engine can analyze the knowledge graph and generate the front-end code for establishing the form based on the nodes of the knowledge graph, the attribute information within the nodes, and the connections.
- the front-end template engine parses and analyzes the knowledge graph, and assembles a form page that can edit the database table created by the knowledge graph based on the attribute information and logical relationships provided by the knowledge graph. In this way, it is possible to reduce or eliminate the need to develop front-end pages that adapt to the database table created by the knowledge graph.
- instance information can be a row of specific data in the lathe status table generated by the lathe status node of the knowledge graph: lathe 1, axis 1, Zhang San, 33 years old, zhangsan@mail.com, which are instance information corresponding to the attribute information of the above equipment, device, age, name, and email address.
- the nodes and connections in the knowledge graph are filled and constructed through an interactive interface. For example, in order to create and modify the instance information of "email address" in the final generated front-end form page, and there is no attribute information of "email address” in the knowledge graph, you can create a corresponding "email address" in the node of the knowledge graph.
- the node is connected to other nodes to indicate a parallel, subordinate, and other relationships, which facilitates the subsequent parsing of the front-end template engine and the generation of the front-end code.
- the front-end template engine can directly generate the front-end form page.
- the steps are simple and fast, reducing the time of front-end engineering development.
- the front-end template engine can generate front-end codes one by one based on the graphical relationship of the knowledge graph and the attribute information in the nodes.
- the front-end code generated by the nodes and attribute relationships of the corresponding knowledge graph extracted according to the implemented projects can be completely converted into code that conforms to the web page form at one time. The method is convenient and fast.
- the method can be completed by the front-end template engine.
- the method of using the front-end template engine to create a page form is different from the traditional front-end development mode. It can directly map the attributes of the nodes in the knowledge graph by the user and generate front-end form pages that can add and modify data.
- the front-end code is generated through the relationship between the nodes and attribute information and then assembled into a front-end web page form that can be directly used. This makes it convenient to modify according to the knowledge graph at any time and quickly generate a front-end web page form project to adapt to the needs of users and enterprises.
- the front-end code is the code generated by the front-end template engine according to the knowledge graph.
- the code can be understood as the code of the web form. Through the code, the web form can be displayed on the display end. According to the front-end code, generating a web form is a code conversion process, which is relatively easy and direct. At this time, the web form only includes a table structure composed of attribute information transformed from the knowledge graph, and does not have instance data. Then, by loading the web form, the corresponding instance data is obtained from the background database through the database interface and the application programming interface (Application Programming Interface, API). The instance data can also be stored in the database in the form of a database table structure.
- Application Programming Interface Application Programming Interface
- the modified and created instance data are usually stored in a database. They may be in the form of database tables, with an unlimited number, and in the case of multiple database tables, the database tables will have subordinate relationships due to the special physical relationship between the instance data.
- the web form is a modifiable visual interactive interface.
- the web form has rows and columns, and each row or column has a specific meaning.
- the attribute information is before the instance information, for example, it is used to indicate that a certain column is an instance of the same type of attribute information.
- the form information will also be equipped with add, modify, delete and other buttons to facilitate editing, adding and deleting the knowledge graph instance information.
- there are functions such as query and page change to facilitate finding and viewing form information.
- the knowledge graph can be quickly and efficiently converted into the corresponding form of the web page, which can greatly facilitate the reusability of the knowledge graph.
- the corresponding attributes and logical associations can be found in the knowledge graph, and then these corresponding attributes and logical associations can be checked and sent to the front-end template engine.
- the front-end template can generate corresponding form information based on the knowledge graph, which is conducive to presenting the information in a form on the front end of the web page.
- loading the form to obtain instance data also includes: based on a mapping editing interface, receiving a mapping relationship between the attribute information of the node and the background instance data; and, according to the mapping relationship, loading the web page form to obtain the background instance data.
- the mapping relationship between the attribute information of the node in the knowledge graph and the instance data information of the back-end database can be configured.
- the configuration can be in the form of an interactive interface, for example, through a mapping editing interface, and can include the following configurations:
- the Data.person.age, Data.person.contact.email, and Data.person.accountInfo.createDate on the left represent the specific location of the database instance information.
- the age, email, and createDate on the right represent the attribute information of the node in the knowledge graph, or the attribute information in the front-end code.
- the purpose is to map the instance data information in the back-end database to the corresponding attribute information conveniently, quickly, and directly. When the web form is loaded, as long as the above mapping information is queried, the back-end instance data can be quickly obtained, saving steps and jump processes.
- it also includes: based on the subordinate editing interface, receiving the dependency relationship between the nodes of the knowledge graph.
- the dependency editing interface can allow adding dependency relationships, dependence relationships or dependency chains to certain attribute information in the knowledge graph.
- the interface can include a dependency knowledge graph ontology name and a dependency topic.
- the subordinate topic may be, for example, "Ontology1.Ontology2", which means that Ontology 1 and Ontology 2 are subordinate to each other in a sequential order.
- Ontology 1 and Ontology 2 are two different nodes.
- the corresponding subordinate editing interface can be simply illustrated as follows:
- the subordination relationship of the corresponding data can be edited, or the subordination relationship between data according to certain actual needs can be submitted, so that when generating web page data, it can be generated in sequence according to the above subordination relationship, which is conducive to the subsequent display of data.
- a front-end code for establishing a web page form is generated, including: based on the dependency relationship between the nodes of the knowledge graph, the front-end code corresponding to the attribute information of the nodes of the knowledge graph is called in sequence to generate the front-end code for establishing a web page form.
- the front-end template engine will check its dependency chain. If the dependency chain shows that the first attribute information is related to the second attribute information, the node where the second attribute information is located will be opened first.
- the node can also be understood as a table, it is equivalent to opening the node table where the second attribute information is located.
- the node table of the second attribute information is processed (for example, the front-end code of the node of the second attribute information is generated)
- it returns to the node table of the first attribute information and based on the result of the processing of the second attribute information, the first attribute information is continued to be processed (for example, the front-end code of the node table containing the first attribute information is continued to be generated).
- the nodes in the knowledge graph can be disassembled or correspond to multiple attribute tables, such as attribute table 1, attribute table 2, and attribute table 3, and each attribute information can belong to or be located in a different attribute table, for example, attribute information 1 is located in attribute table 1, attribute information 2 is located in attribute table 2, and attribute information 3 is located in attribute table 3.
- the front-end template engine When the front-end template engine generates the final front-end code, it analyzes and deconstructs attribute table 1. When it is found that the subordinate chain of attribute information 1 is related to attribute information 2, attribute table 1 is first kept, attribute table 2 is opened, and attribute information 2 is processed accordingly (if it is found that the subordinate chain of attribute information 2 is related to attribute information 3, attribute table 2 can also be further kept and attribute table 3 can be opened for editing).
- attribute table 2 is processed, all subordinate states are cleared and return to attribute table 1 to continue processing attribute information 1 until all subordinate chains are processed, attribute 1 is closed, and all subordinate states are cleared.
- the control capability of the routing in the front-end single page application is used to implement the interruption mechanism, and there is a step of saving the subordinate state, processing the subordinate relationship of the attribute information. After the processing is completed, it is cleared and the code generation process of the attribute information is continued.
- the data format of the web page can be established in sequence and in an orderly manner according to the subordinate relationship of the corresponding data in the knowledge graph, so that the data of the web page after establishment is clearer and more logical.
- it also includes: based on the attribute editing interface, receiving attribute information of the knowledge graph corresponding to the form information.
- the knowledge graph is displayed as a whole on the left side of the interface, and the right side allows the selection of certain specific nodes and attribute information about the nodes.
- the attribute information is such as ID and name. Because there are many nodes, connection relationships and attribute information of nodes in the entire knowledge graph, it is allowed to select the required attribute information and edit the front-end and back-end mapping relationship of node attributes according to project requirements or industrial requirements, so that the form in the generated front-end page adapts to the data structure of the back-end interface, so as to generate the corresponding front-end code when it is subsequently sent to the front-end template engine.
- the knowledge graph can be quickly edited, the desired form information can be generated according to the needs, and the conversion and display of the knowledge graph on the web page can be flexibly and conveniently copied and expanded.
- Manufacturing applications use a web front-end to manage data in the system, which may be dependent on the industry process logic of other data tables, so the speed of software development is limited.
- the backend system keeps the business logic in the backend API, so the web frontend must adapt (adopt) and wait (wait), which means that the web frontend has no ability to directly modify the core system.
- Factory systems usually have factory business processes. Even if the web front-end form can create/read/update/delete data tables through the back-end API, the flow of the process is still handled by the back-end.
- this application first establishes and uses a front-end template engine to fill in corresponding web page codes for components on the front end of the web page.
- UI user interface
- the industry ontology property generated into the Web front-end code is marked as a form page, so that product managers can quickly respond to the expectations of the Web front-end, modify the UI, or adjust the selection of knowledge graph properties for improvement.
- the front-end template engine can help users create form information, convert the knowledge graph into the form on the front-end of the website, and spend less development time on automatic code programming and adjusting the application interface between the back-end and the front-end.
- the front-end template engine should design an interrupt mechanism, and then generate code according to the affiliation after receiving the corresponding attribute information, so as to ensure that the data information is Information or attribute information is read and edited in the correct order.
- a set of dependency triggers that can read dependency information and jump to the specified form page is configured in the front-end template engine, and the opening order of the page or form is configured to read the attribute information of the corresponding subordinate relationship. Therefore, the front-end template engine should adopt a mechanism to store the order and dependency of the forms generated by the knowledge graph, and can be generated and saved in sequence according to the subordinate order of the forms.
- Figure 2 provides a device 200 for generating a web page form using a knowledge graph, which includes: a knowledge graph acquisition module 201, used to acquire a knowledge graph; a front-end code generation module 202, which generates a front-end code for establishing a web page form based on the graphical relationship of the knowledge graph and the attribute information of the nodes; a web page form generation module 203, which generates a web page form based on the front-end code, and loads the web page form to obtain instance data.
- a knowledge graph acquisition module 201 used to acquire a knowledge graph
- a front-end code generation module 202 which generates a front-end code for establishing a web page form based on the graphical relationship of the knowledge graph and the attribute information of the nodes
- a web page form generation module 203 which generates a web page form based on the front-end code, and loads the web page form to obtain instance data.
- the web form generation module 203 is used to receive the mapping relationship between the attribute information of the node and the instance data of the background based on the mapping editing interface 204; and load the web form to obtain the instance data of the background according to the mapping relationship.
- It also includes a dependent editing module 205 for receiving the dependency relationship between the nodes of the knowledge graph.
- the front-end code generation module 202 is used to call the front-end code corresponding to the attribute information of the nodes of the knowledge graph in sequence according to the dependency relationship between the nodes of the knowledge graph, and generate the front-end code for establishing the web page form.
- the device may include more or fewer modules to implement the described functions.
- at least one module in FIG. 2 may be further divided into a plurality of different submodules, each of which is used to perform at least a portion of the operations described herein in conjunction with the corresponding module.
- the device 200 may also include additional modules for performing other operations already described in the specification.
- the exemplary device 200 may be implemented using software, hardware, firmware, or any combination thereof.
- FIG. 3 is only a partial structure related to the present application.
- the block diagram does not constitute a limitation on the computer device to which the present application is applied.
- the specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
- Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
- Volatile memory may include random access memory (RAM) or external cache memory.
- RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
- the present application also provides a computer-readable storage medium on which a computer program is stored.
- a computer program is stored on which a computer program is stored.
- the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform the above method.
- the computer program can be stored and run in the cloud to perform the method.
- the components of the program can be deployed on multiple devices and the cloud.
- the corresponding steps can be deployed and run on a local or local computer, or run on different cloud devices, and transmit signals through a communication connection, or can also be deployed and run on a local or local computer.
- This application does not limit the manner or method, and can flexibly deploy and deploy corresponding technologies to make full use of equipment and technologies such as the cloud, big data, and supercomputing capabilities to execute and complete the method.
- An article of manufacture may include a storage medium for storing logic.
- Examples of storage media may include one or more types of computer-readable storage media capable of storing electronic data, including volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or rewritable memory, and the like.
- Examples of logic may include various software units, such as software components, programs, applications, computer programs, applications, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, processes, software interfaces, application program interfaces (APIs), instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or any combination thereof.
- an article of manufacture may store executable computer program instructions that, when executed by a processor, cause the processor to perform the methods and/or operations described herein.
- Executable computer program instructions may include any suitable type of code, such as, Source code, compiled code, interpreted code, executable code, static code, dynamic code, etc.
- Executable computer program instructions can be implemented according to a predefined computer language, manner or syntax for commanding a computer to perform a specific function.
- the instructions can be implemented using any appropriate high-level, low-level, object-oriented, visual, compiled and/or interpreted programming language.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本申请涉及工业领域,具体地,涉及一种利用知识图谱生成网页表单的方法、装置、计算机设备和存储介质。The present application relates to the industrial field, and specifically, to a method, apparatus, computer equipment and storage medium for generating a web page form using a knowledge graph.
在现有方案中,行业本体的知识图谱通常很难直接转换为Web前端,例如开发人员必须先将知识图谱实体转化为数据库中的数据表,然后再根据行业本体建立整个系统的后台应用程序便捷接口(Application Programming Interface,API)和Web前端,开发速度受到限制。并且制造业应用使用web前端的形式来管理系统中的数据,这可能会对其他数据表单的行业流程逻辑产生依赖,因此软件开发速度受到限制。In existing solutions, it is usually difficult to directly convert the knowledge graph of the industry ontology into a web front end. For example, developers must first convert the knowledge graph entities into data tables in the database, and then build the background application program interface (Application Programming Interface, API) and web front end of the entire system based on the industry ontology, which limits the development speed. In addition, manufacturing applications use the web front end to manage data in the system, which may rely on the industry process logic of other data forms, so the software development speed is limited.
发明内容Summary of the invention
提供本发明内容部分来以简化的形式介绍一些选出的概念,其将在下面的具体实施方式部分中被进一步描述。该发明内容部分并非是要标识出所要求保护的主题的任何关键特征或必要特征,也不是要被用于帮助确定所要求保护的主题的范围。The present invention summary section is provided to introduce some selected concepts in a simplified form, which will be further described in the following detailed description section. The present invention summary section is not intended to identify any key features or essential features of the claimed subject matter, nor is it intended to be used to help determine the scope of the claimed subject matter.
基于此,本申请公开一种利用知识图谱生成网页表单的方法,其中,包括:获取知识图谱;根据知识图谱的节点的属性信息,生成用于建立网页表单的前端代码;根据所述前端代码,生成网页表单,加载所述网页表单获取实例数据。Based on this, the present application discloses a method for generating a web page form using a knowledge graph, which includes: obtaining a knowledge graph; generating a front-end code for establishing a web page form based on the attribute information of the nodes of the knowledge graph; generating a web page form based on the front-end code, and loading the web page form to obtain instance data.
通过上述方式,可以快速、高效地将知识图谱转化为网页相应表单,从而在网页表单加载时获取到后台实例数据,对于知识图谱的复用性可以产生极大的便利,也为网页表单的生成提供便捷方式。Through the above method, the knowledge graph can be quickly and efficiently converted into the corresponding web form, so that the background instance data can be obtained when the web form is loaded. This can greatly facilitate the reusability of the knowledge graph and provide a convenient way to generate web forms.
进一步的,其中,加载所述表单获取实例数据,还包括:基于映射编辑界面,接收表单的属性信息与后台的实例数据的映射关系;以及,根据所述映射关系,加载所述网页表单获取后台的实例数据。Furthermore, loading the form to obtain instance data further includes: receiving a mapping relationship between attribute information of the form and instance data in the background based on a mapping editing interface; and, according to the mapping relationship, loading the webpage form to obtain instance data in the background.
通过上述方式,可以在前端提供映射编辑页面,可以快速地编辑表单中属性信息与后台实例数据源之间的映射关系,在表单加载后台实例数据时,更便捷直接,后台实例数据加载更直接方便。Through the above method, a mapping editing page can be provided on the front end, and the mapping relationship between the attribute information in the form and the background instance data source can be quickly edited. When the form loads the background instance data, it is more convenient and direct, and the background instance data loading is more direct and convenient.
进一步的,还包括:基于从属编辑界面,接收所述知识图谱的节点间的依从关系。 Furthermore, it also includes: based on the subordinate editing interface, receiving the dependency relationship between the nodes of the knowledge graph.
通过上述方式,可以提供相应的从属编辑界面,方便对表单中属性间的从属关系,或者节点间的从属关系,进行编辑,这样在前端代码生成时,会依次有序的生成相应前端代码。Through the above method, a corresponding subordinate editing interface can be provided to facilitate editing of the subordinate relationship between attributes in the form, or the subordinate relationship between nodes, so that when the front-end code is generated, the corresponding front-end code will be generated in sequence.
进一步的,根据知识图谱的图形关系以及节点的属性信息,生成用于建立网页表单的前端代码,包括:根据知识图谱的节点间的依从关系,依次调用所述知识图谱的节点的属性信息对应的前端代码,生成所述用于建立网页表单的前端代码。Furthermore, based on the graphical relationship of the knowledge graph and the attribute information of the nodes, a front-end code for establishing a web page form is generated, including: based on the dependency relationship between the nodes of the knowledge graph, the front-end code corresponding to the attribute information of the nodes of the knowledge graph is called in sequence to generate the front-end code for establishing a web page form.
通过上述方式,在建立网页表单的整体前端代码时,可以根据相应已提供的从属关系,依次有序地调用属性信息对应的前端代码,从而整合生成相应整体的网页表单的代码,有利于建立的网页表单逻辑依据从属关系而有序建立,符合工业生产逻辑以及表格属性逻辑。Through the above method, when establishing the overall front-end code of the web form, the front-end code corresponding to the attribute information can be called in sequence and in an orderly manner according to the corresponding provided subordinate relationships, so as to integrate and generate the code of the corresponding overall web form, which is conducive to the orderly establishment of the web form logic based on the subordinate relationships, in line with the industrial production logic and the table attribute logic.
进一步的,本申请还提供一种利用知识图谱生成网页表单的装置,其中,包括:知识图谱获取模块,用于获取知识图谱;前端代码生成模块,根据知识图谱的图形关系以及节点的属性信息,生成用于建立网页表单的前端代码;网页表单生成模块,根据所述前端代码,生成网页表单,加载所述网页表单获取实例数据。Furthermore, the present application also provides a device for generating a web page form using a knowledge graph, which includes: a knowledge graph acquisition module for acquiring a knowledge graph; a front-end code generation module for generating a front-end code for establishing a web page form based on the graphical relationship of the knowledge graph and the attribute information of the nodes; and a web page form generation module for generating a web page form based on the front-end code and loading the web page form to obtain instance data.
本申请还提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现上述方法。The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the above method when executing the computer program.
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述方法。The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented.
本申请还提供了一种计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行上述所述的方法。The present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions. When the computer-executable instructions are executed, at least one processor is enabled to perform the above-mentioned method.
在附图中对本公开的实现以示例的形式而非限制的形式进行了说明,附图中相似的附图标记表示相同或类似的部件。Implementations of the present disclosure are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate the same or similar parts.
图1是根据本申请的一实施方式的利用知识图谱生成网页表单的方法的流程的示意图。FIG1 is a schematic diagram of the process of a method for generating a web page form using a knowledge graph according to an embodiment of the present application.
图2是根据本申请的一实施方式的利用知识图谱生成网页表单的装置的示意图。FIG2 is a schematic diagram of a device for generating a web page form using a knowledge graph according to an embodiment of the present application.
图3是根据本申请的一实施方式的利用知识图谱生成网页表单的计算机设备的示意图。FIG3 is a schematic diagram of a computer device for generating a web page form using a knowledge graph according to an embodiment of the present application.
其中,附图标记如下:
S101-S103 步骤
200: 装置
201: 模块
202: 模块
203: 模块
204: 模块
205: 模块
300: 计算机设备
302: 处理器
304: 存储器The reference numerals are as follows:
Steps S101-S103
200: Installation
201: Module
202: Module
203: Module
204: Module
205: Module
300: Computer equipment
302: Processor
304: Memory
在以下的说明书中,出于解释的目的,阐述了大量具体细节。然而,可以理解的是,本发明的实现无需这些具体细节就可以实施。在其它实例中,并未详细示出公知的电路、结构和技术,以免影响对说明书的理解。In the following description, a large number of specific details are set forth for the purpose of explanation. However, it is to be understood that the implementation of the present invention can be implemented without these specific details. In other examples, well-known circuits, structures and techniques are not shown in detail to avoid affecting the understanding of the description.
说明书通篇中对“一种实现”、“实现”、“示例性实现”、“一些实现”、“各种实现”等的引述表示所描述的本发明的实现可以包括特定的特征、结构或特性,然而,并不是说每个实现都必须要包含这些特定的特征、结构或特性。此外,一些实现可以具有针对其它实现描述的特征中的一些、全部,或者不具有针对其它实现描述的特征。References throughout the specification to "an implementation," "implementation," "exemplary implementations," "some implementations," "various implementations," etc., indicate that the implementation of the invention being described may include certain features, structures, or characteristics, however, it does not mean that every implementation must include these certain features, structures, or characteristics. Furthermore, some implementations may have some, all, or none of the features described for other implementations.
本申请的实施场景是:本申请利用前端模板引擎(fronted template engine)的方式,通过提取已完成项目的前端工程代码(如工厂产线系统)并提取为可编辑的网页前端的模式,可以将可修改的知识图谱转化为前端网页的表单信息,这个过程便捷、高效。随后进一步通过加载所述网页表单,便可从后台获取相应的实例数据,将完整的网页表单展现在网页前端,方法整体利用了知识图谱的易扩展及易复制的优点,使得搭建网页表单的过程中,通过利用知识图谱的转化方式,变得便利和快捷,实现工业数据在前端展示的便利化和快捷性。The implementation scenario of this application is: this application utilizes a front-end template engine to extract the front-end engineering code of a completed project (such as a factory production line system) and extract it into an editable web front-end mode, so that the modifiable knowledge graph can be converted into the form information of the front-end web page. This process is convenient and efficient. Subsequently, by further loading the web form, the corresponding instance data can be obtained from the background, and the complete web form can be displayed on the front end of the web page. The method as a whole utilizes the advantages of easy expansion and easy copying of the knowledge graph, making it convenient and fast to build a web form by utilizing the conversion method of the knowledge graph, thereby realizing the convenience and speed of displaying industrial data on the front end.
基于此,本申请公开一种利用知识图谱生成网页表单的方法,其中,包括:Based on this, the present application discloses a method for generating a web page form using a knowledge graph, which includes:
S101,获取知识图谱;S101, obtaining a knowledge graph;
其中,知识图谱是为了用于后续生成网页表单的知识图谱。所述知识图谱中包含了节点和连线。所述节点和连线可以是工业生产中的一些属性信息以及一些属性信息间的逻辑联系。再进一步的,所述知识图谱更多的是反映一种内在逻辑,是一类物质或者信息与其他物质或信息的关系的抽象。然而后续在工业生产中,可以根据实际完成的项目,对知识图谱进行适应性的属性信息的填充、调整,以让知识图谱匹配目前的项目,或者说匹配希望生成的表单信息,或者匹配相应数据库表中的实例数据。总之,知识图谱可以理解为信 息的框架。在一些实施例中,以知识图谱中的节点以及连线为模板,这样知识图谱就可以在多个相同或者类似的项目场景或者工业场景中,作为属性信息的模板重复利用。Among them, the knowledge graph is for the subsequent generation of the knowledge graph of the web form. The knowledge graph contains nodes and lines. The nodes and lines can be some attribute information in industrial production and the logical connection between some attribute information. Furthermore, the knowledge graph reflects more of an internal logic, which is an abstraction of the relationship between a type of substance or information and other substances or information. However, in subsequent industrial production, the knowledge graph can be adaptively filled and adjusted with attribute information based on the actual completed projects, so that the knowledge graph matches the current project, or matches the form information that you want to generate, or matches the instance data in the corresponding database table. In short, the knowledge graph can be understood as information. In some embodiments, the nodes and links in the knowledge graph are used as templates, so that the knowledge graph can be reused as a template for attribute information in multiple identical or similar project scenarios or industrial scenarios.
具体的,前端模板引擎接收到知识图谱,会对知识图谱进行分析,或者读取知识图谱的复杂代码,可以生成网页表单的前端代码。总结来说,在本申请中,所述前端模板引擎可以直接对接知识图谱的名称与属性。这里所述的直接对接,简单地可以理解为前端模板引擎可以将知识图谱中的属性信息,与前端代码或者数据库表中的属性信息相对应,或者说前端模板引擎具备这样的能力。总之,前端模板引擎可以对知识图谱进行分析、解构、从而为后续生成网页表单做基础准备。Specifically, the front-end template engine receives the knowledge graph, analyzes the knowledge graph, or reads the complex code of the knowledge graph, and can generate the front-end code of the web form. In summary, in this application, the front-end template engine can directly connect to the name and attributes of the knowledge graph. The direct connection described here can be simply understood as the front-end template engine can match the attribute information in the knowledge graph with the attribute information in the front-end code or database table, or the front-end template engine has such ability. In short, the front-end template engine can analyze and deconstruct the knowledge graph, thereby making basic preparations for the subsequent generation of web forms.
进一步的,前端代码是前端模板引擎对知识图谱分析、解析之后,生成的可建立网页表单的代码。Furthermore, the front-end code is the code that can create a web form after the front-end template engine analyzes and parses the knowledge graph.
知识图谱中的节点代表一种属性,例如设备、装置、模块等字样的节点,然后在这些节点下包含名称、ID等属性信息。这些节点之间有连线,但是也是依据设备、装置、模块这种宏观性概念之间的逻辑进行连线。在一些实施例中,在知识图谱中不包含具体的实例,即不包含具体的名称以及数值。所述实例数据储存在后台的数据库中,以数据库表的格式。本申请公开的方法,可以对知识图谱进行相应节点以及属性信息的扩展。所谓节点便可以理解为一个具有多个属性信息的集合的概念,或者一些实施例中,节点可以理解为表的概念。The nodes in the knowledge graph represent an attribute, such as nodes with words like equipment, devices, modules, etc., and then these nodes contain attribute information such as names and IDs. There are connections between these nodes, but the connections are also based on the logic between macro concepts such as equipment, devices, and modules. In some embodiments, the knowledge graph does not contain specific instances, that is, it does not contain specific names and values. The instance data is stored in the database in the background in the format of a database table. The method disclosed in the present application can expand the knowledge graph with corresponding nodes and attribute information. The so-called node can be understood as the concept of a collection with multiple attribute information, or in some embodiments, the node can be understood as the concept of a table.
S102,根据知识图谱的图形关系以及节点的属性信息,生成用于建立网页表单的前端代码;S102, generating a front-end code for establishing a web page form according to the graphical relationship of the knowledge graph and the attribute information of the nodes;
此步骤中,前端模板引擎可以对知识图谱进行分析,依据知识图谱的节点、节点内的属性信息以及连线,分析后,生成用于建立表单的前端代码。In this step, the front-end template engine can analyze the knowledge graph and generate the front-end code for establishing the form based on the nodes of the knowledge graph, the attribute information within the nodes, and the connections.
例如,知识图谱的一个节点中包含了比如设备、装置、年龄、姓名、邮箱地址等这些概括类的属性信息,那么前端模板引擎(fronted template engine)对知识图谱进行解析、分析,依据知识图谱提供的属性信息以及逻辑关系,组装可以编辑由知识图谱创建的数据库表的表单页面。通过这种方法,就可以减少或不用再开发适配由知识图谱创建的数据库表的前端页面。例如,实例信息可以是由知识图谱的车床状态节点生成的车床状态表的一行具体的数据:车床1、轴1、张三、33岁、zhangsan@mail.com,它们分别是对应上述设备、装置、年龄、姓名、邮箱地址的属性信息的实例信息。For example, if a node in the knowledge graph contains attribute information of general categories such as equipment, devices, age, name, and email address, the front-end template engine parses and analyzes the knowledge graph, and assembles a form page that can edit the database table created by the knowledge graph based on the attribute information and logical relationships provided by the knowledge graph. In this way, it is possible to reduce or eliminate the need to develop front-end pages that adapt to the database table created by the knowledge graph. For example, instance information can be a row of specific data in the lathe status table generated by the lathe status node of the knowledge graph: lathe 1, axis 1, Zhang San, 33 years old, zhangsan@mail.com, which are instance information corresponding to the attribute information of the above equipment, device, age, name, and email address.
在一些实施例中,知识图谱中的节点以及连线,进行填充和构造,通过交互界面的方式。例如,为了最终生成的前端表单页面中可以创建与修改“邮箱地址”的实例信息,而在知识图谱中没有“邮箱地址”的属性信息,便可以在知识图谱的节点中相应创建“邮箱 地址”的属性信息。并且将所述节点与其他节点连线,表示一种并列、从属等关系,方便后续前端模板引擎的解析以及前端代码的生成。In some embodiments, the nodes and connections in the knowledge graph are filled and constructed through an interactive interface. For example, in order to create and modify the instance information of "email address" in the final generated front-end form page, and there is no attribute information of "email address" in the knowledge graph, you can create a corresponding "email address" in the node of the knowledge graph. The node is connected to other nodes to indicate a parallel, subordinate, and other relationships, which facilitates the subsequent parsing of the front-end template engine and the generation of the front-end code.
这样,前端模板引擎(fronted template engine)在同时获取到属性信息之后,便可直接生成前端表单页面,步骤简单快捷,减少前端工程开发的时间。In this way, after obtaining the attribute information at the same time, the front-end template engine can directly generate the front-end form page. The steps are simple and fast, reducing the time of front-end engineering development.
本步骤的重点在于可以将依据知识图谱的图形关系以及节点中的属性信息,前端模板引擎可以逐个的生成前端代码,并且在一些实施例中,通过整合以及调用的方式,对根据已实施过项目并提取出来对应知识图谱,将它的节点与属性关系生成的前端代码,一次性完整地转变为符合网页表单的代码,方法方便快捷。The focus of this step is that the front-end template engine can generate front-end codes one by one based on the graphical relationship of the knowledge graph and the attribute information in the nodes. In some embodiments, through integration and calling, the front-end code generated by the nodes and attribute relationships of the corresponding knowledge graph extracted according to the implemented projects can be completely converted into code that conforms to the web page form at one time. The method is convenient and fast.
进一步的,所述方法可以通过所述前端模板引擎完成。所述使用前端模板引擎来创建页面表单的办法不同于传统的前端开发模式,可以直接映射由用户对于知识图谱中关于节点的属性并生成可以那些可以添加与修改数据的前端表单页面,通过节点以及属性信息之间的关系生成前端代码再组装成可以直接使用的前端网页表单,这样方便随时根据知识图谱修改,快速生成前端网页表单工程来适配用户以及企业的需求。Furthermore, the method can be completed by the front-end template engine. The method of using the front-end template engine to create a page form is different from the traditional front-end development mode. It can directly map the attributes of the nodes in the knowledge graph by the user and generate front-end form pages that can add and modify data. The front-end code is generated through the relationship between the nodes and attribute information and then assembled into a front-end web page form that can be directly used. This makes it convenient to modify according to the knowledge graph at any time and quickly generate a front-end web page form project to adapt to the needs of users and enterprises.
S103,根据所述前端代码,生成网页表单,加载所述网页表单以获取实例数据。S103, generating a web page form according to the front-end code, and loading the web page form to obtain instance data.
所述前端代码就是前端模板引擎根据知识图谱生成的代码。所述代码可以理解为网页表单的代码。通过所述代码,网页表单就可以在显示端展示。根据所述前端代码,生成网页表单是一个代码转化的过程,较为容易且直接。此时的网页表单只包括由知识图谱按转变而来的属性信息构成的表结构,不具有实例数据。然后通过加载所述网页表单,相应通过数据库的接口以及应用程序编程接口(Application Programming Interface,API),从后台的数据库中获取到相应的实例数据。所述实例数据也可以以数据库表结构的形式存储在数据库中。The front-end code is the code generated by the front-end template engine according to the knowledge graph. The code can be understood as the code of the web form. Through the code, the web form can be displayed on the display end. According to the front-end code, generating a web form is a code conversion process, which is relatively easy and direct. At this time, the web form only includes a table structure composed of attribute information transformed from the knowledge graph, and does not have instance data. Then, by loading the web form, the corresponding instance data is obtained from the background database through the database interface and the application programming interface (Application Programming Interface, API). The instance data can also be stored in the database in the form of a database table structure.
在一些所述网页表单,或者说可以新增与删改实例数据的网页表单,修改与创建的实例数据通常存储在在数据库中,它们可能是以数据库表的形式,数量不限,并且在多张数据库表情况下,数据库表之间因为实例数据间的特殊物理关系,而会有从属联系。In some of the web forms, or web forms that can add and delete instance data, the modified and created instance data are usually stored in a database. They may be in the form of database tables, with an unlimited number, and in the case of multiple database tables, the database tables will have subordinate relationships due to the special physical relationship between the instance data.
其中,在生成了前端代码之后,便可以生成相应的网页表单。所述网页表单是可修改的一种可视化的可交互界面。网页表单具有行和列,且每行或每列都有具体的含义。一般情况下,属性信息在实例信息之前,例如用于表示某一列都是某种同一类的属性信息的实例。所述表单信息还会配套添加、修改、删除等按钮,方便对知识图谱实例信息进行编辑、新增以及删除。此外还有查询、换页等功能,方便查找以及查看表单信息。Among them, after the front-end code is generated, the corresponding web form can be generated. The web form is a modifiable visual interactive interface. The web form has rows and columns, and each row or column has a specific meaning. In general, the attribute information is before the instance information, for example, it is used to indicate that a certain column is an instance of the same type of attribute information. The form information will also be equipped with add, modify, delete and other buttons to facilitate editing, adding and deleting the knowledge graph instance information. In addition, there are functions such as query and page change to facilitate finding and viewing form information.
通过上述方式,可以快速、高效地将知识图谱转化为网页相应表单,对于知识图谱的复用性可以产生极大的便利。 Through the above method, the knowledge graph can be quickly and efficiently converted into the corresponding form of the web page, which can greatly facilitate the reusability of the knowledge graph.
在一些实施例中,在工业中需要管理相应数据时,例如物料管理、订单管理等,便可以在知识图谱中寻找到相应的属性以及逻辑关联,然后将相应这些属性以及逻辑关联勾选出来,发送给前端模板引擎,所述前端模板便可根据所述知识图谱,生成相应的表单信息,利于在网页前端以表单形式展现所述信息。In some embodiments, when corresponding data needs to be managed in the industry, such as material management, order management, etc., the corresponding attributes and logical associations can be found in the knowledge graph, and then these corresponding attributes and logical associations can be checked and sent to the front-end template engine. The front-end template can generate corresponding form information based on the knowledge graph, which is conducive to presenting the information in a form on the front end of the web page.
进一步的,加载所述表单获取实例数据,还包括:基于映射编辑界面,接收所述节点的属性信息与后台的实例数据的映射关系;以及,根据所述映射关系,加载所述网页表单以获取后台的实例数据。Furthermore, loading the form to obtain instance data also includes: based on a mapping editing interface, receiving a mapping relationship between the attribute information of the node and the background instance data; and, according to the mapping relationship, loading the web page form to obtain the background instance data.
具体的,在前端模板引擎中,可以配置知识图谱中节点的属性信息与后台数据库实例数据信息之前的映射关系。所述配置可以是通过交互界面的形式,例如可以通过映射编辑界面,可以包含如下配置:Specifically, in the front-end template engine, the mapping relationship between the attribute information of the node in the knowledge graph and the instance data information of the back-end database can be configured. The configuration can be in the form of an interactive interface, for example, through a mapping editing interface, and can include the following configurations:
[Mapping config as data transform][Mapping config as data transform]
Data.person.age->ageData.person.age->age
Data.person.contact.email->emailData.person.contact.email->email
Data.person.accountInfo.createDate->createDateData.person.accountInfo.createDate->createDate
上述左边的Data.person.age、Data.person.contact.email、Data.person.accountInfo.createDate表示数据库实例信息的具体位置。而右边的age、email、createDate表示知识图谱中节点的属性信息,或者是前端代码中属性信息。所述目的都是希望将后台数据库中实例数据信息方便、快捷、直接的映射到对应的属性信息。而在网页表单加载时,只要查询上述映射信息,便可快速地获取到后台的实例数据,节省步骤以及跳转过程。The Data.person.age, Data.person.contact.email, and Data.person.accountInfo.createDate on the left represent the specific location of the database instance information. The age, email, and createDate on the right represent the attribute information of the node in the knowledge graph, or the attribute information in the front-end code. The purpose is to map the instance data information in the back-end database to the corresponding attribute information conveniently, quickly, and directly. When the web form is loaded, as long as the above mapping information is queried, the back-end instance data can be quickly obtained, saving steps and jump processes.
进一步的,还包括:基于从属编辑界面,接收所述知识图谱的节点间的依从关系。Furthermore, it also includes: based on the subordinate editing interface, receiving the dependency relationship between the nodes of the knowledge graph.
具体地,所述从属编辑界面可以允许对知识图谱中的某些属性信息添加从属关系、依从关系或者说从属链条。例如所述界面可以包括从属性知识图谱本体名称(Dependency Knowledge graph ontology name)以及从属主题(Dependency topic)。Specifically, the dependency editing interface can allow adding dependency relationships, dependence relationships or dependency chains to certain attribute information in the knowledge graph. For example, the interface can include a dependency knowledge graph ontology name and a dependency topic.
从属性知识图谱本体的名称可以例如为“Ontology 2”。所述从属性知识图谱本体的名称表示一个节点的信息。The name of the attribute knowledge graph ontology can be, for example, "Ontology 2". The name of the attribute knowledge graph ontology represents the information of a node.
而所述从属主题可以例如为“Ontology1.Ontology2”,表示Ontology 1和Ontology 2是有按照先后顺序的从属关系的。而Ontology 1和Ontology 2是两个不同的节点。 The subordinate topic may be, for example, "Ontology1.Ontology2", which means that Ontology 1 and Ontology 2 are subordinate to each other in a sequential order. However, Ontology 1 and Ontology 2 are two different nodes.
相应的从属编辑界面可以简单示意如下:
The corresponding subordinate editing interface can be simply illustrated as follows:
通过上述方式,可以将相应的数据的从属关系进行编辑,或者提交某种实际需求的数据间的从属关系,从而在生成网页端数据时,可以相应依照上述从属关系依次生成,利于后续的数据之间的展示。Through the above method, the subordination relationship of the corresponding data can be edited, or the subordination relationship between data according to certain actual needs can be submitted, so that when generating web page data, it can be generated in sequence according to the above subordination relationship, which is conducive to the subsequent display of data.
进一步的,根据知识图谱的图形关系以及节点的属性信息,生成用于建立网页表单的前端代码,包括:根据知识图谱的节点间的依从关系,依次调用所述知识图谱的节点的属性信息对应的前端代码,生成所述用于建立网页表单的前端代码。Furthermore, based on the graphical relationship of the knowledge graph and the attribute information of the nodes, a front-end code for establishing a web page form is generated, including: based on the dependency relationship between the nodes of the knowledge graph, the front-end code corresponding to the attribute information of the nodes of the knowledge graph is called in sequence to generate the front-end code for establishing a web page form.
具体地,由于有时某个属性信息需要基于另外一个属性信息才可以得到,例如工厂的临时排产信息,需要基于订单信息而确定。因此,前端模板引擎在接收到第一属性信息后,会检查其从属链条(dependency chain),如果从属链条显示第一属性信息与第二属性信息相关,则相应的先打开第二属性信息所在的节点。Specifically, because sometimes a certain attribute information can only be obtained based on another attribute information, for example, the temporary production scheduling information of a factory needs to be determined based on order information. Therefore, after receiving the first attribute information, the front-end template engine will check its dependency chain. If the dependency chain shows that the first attribute information is related to the second attribute information, the node where the second attribute information is located will be opened first.
如果引用之前的概念,节点也可以理解为表的话,则相当于打开第二属性信息所处的节点表,那么对第二属性信息的节点表处理完毕之后(例如第二属性信息的节点的前端代码生成),再返回到第一属性信息的节点表,基于对于第二属性信息处理完的结果,对第一属性信息进行继续处理(例如继续对包含第一属性信息的节点表的前端代码生成)。在一些实施例中,由于知识图谱中的节点可以拆解或者对应于多个属性表,例如属性表1、属性表2以及属性表3,而各个属性信息可以隶属或者位于不同的属性表,例如属性信息1位于属性表1、属性信息2位于属性表2、属性信息3位于属性表3。当前端模板引擎在生成最终的前端代码时,对属性表1进行分析解构,当发现属性信息1的从属链条与属性信息2有关时,则先保持属性表1,打开属性表2,对于属性信息2进行相应处理(如果发现属性信息2的从属链条与属性信息3有关,也可以进一步保持属性表2,打开属性表3进行编辑)。当属性表2处理完毕后,清空所有从属状态并且返回到属性表1,继续对属性信息1进行处理,直至所有从属链条都被处理完毕,关闭属性1,清空所有的从属状态。If the previous concept is used and the node can also be understood as a table, it is equivalent to opening the node table where the second attribute information is located. After the node table of the second attribute information is processed (for example, the front-end code of the node of the second attribute information is generated), it returns to the node table of the first attribute information, and based on the result of the processing of the second attribute information, the first attribute information is continued to be processed (for example, the front-end code of the node table containing the first attribute information is continued to be generated). In some embodiments, since the nodes in the knowledge graph can be disassembled or correspond to multiple attribute tables, such as attribute table 1, attribute table 2, and attribute table 3, and each attribute information can belong to or be located in a different attribute table, for example, attribute information 1 is located in attribute table 1, attribute information 2 is located in attribute table 2, and attribute information 3 is located in attribute table 3. When the front-end template engine generates the final front-end code, it analyzes and deconstructs attribute table 1. When it is found that the subordinate chain of attribute information 1 is related to attribute information 2, attribute table 1 is first kept, attribute table 2 is opened, and attribute information 2 is processed accordingly (if it is found that the subordinate chain of attribute information 2 is related to attribute information 3, attribute table 2 can also be further kept and attribute table 3 can be opened for editing). When attribute table 2 is processed, all subordinate states are cleared and return to attribute table 1 to continue processing attribute information 1 until all subordinate chains are processed, attribute 1 is closed, and all subordinate states are cleared.
上述步骤中,采用了前端单页面(Single Page Application,SPA)中路由的控制能力实现中断(interruption)的机制,并且具有保存从属状态的步骤,将属性信息的从属关系处 理完毕之后,才清空继续进行下一步的属性信息的代码生成处理。In the above steps, the control capability of the routing in the front-end single page application (SPA) is used to implement the interruption mechanism, and there is a step of saving the subordinate state, processing the subordinate relationship of the attribute information. After the processing is completed, it is cleared and the code generation process of the attribute information is continued.
通过上述方式,可以根据知识图谱中的相应数据的从属关系,依次有序的建立网页端的数据格式,从而建立后的网页端的数据较为清晰以及具有逻辑。Through the above method, the data format of the web page can be established in sequence and in an orderly manner according to the subordinate relationship of the corresponding data in the knowledge graph, so that the data of the web page after establishment is clearer and more logical.
进一步的,还包括:基于属性编辑界面,接收用于生成表单信息对应的所述知识图谱的属性信息。Furthermore, it also includes: based on the attribute editing interface, receiving attribute information of the knowledge graph corresponding to the form information.
具体的,所述属性编辑界面中,知识图谱整体地显示在界面左侧,右侧可以允许选择出某些具体的节点以及关于节点的属性信息。所述属性信息例如ID以及姓名。因为整个知识图谱中存在诸多节点、连接关系以及节点的属性信息,所以可以允许按照项目需求或者工业需求,选择需要的属性信息以及并且编辑节点属性的前后端映射关系,便于生成的前端页面中表单适配后端接口的数据结构,从而在后续发送给前端模板引擎时,以生成相应前端代码。Specifically, in the attribute editing interface, the knowledge graph is displayed as a whole on the left side of the interface, and the right side allows the selection of certain specific nodes and attribute information about the nodes. The attribute information is such as ID and name. Because there are many nodes, connection relationships and attribute information of nodes in the entire knowledge graph, it is allowed to select the required attribute information and edit the front-end and back-end mapping relationship of node attributes according to project requirements or industrial requirements, so that the form in the generated front-end page adapts to the data structure of the back-end interface, so as to generate the corresponding front-end code when it is subsequently sent to the front-end template engine.
通过上述方式,可以快速地编辑知识图谱,按照需求,生成所希望的表单信息,灵活方便地复制和扩展知识图谱在网页端的转化及显示。Through the above method, the knowledge graph can be quickly edited, the desired form information can be generated according to the needs, and the conversion and display of the knowledge graph on the web page can be flexibly and conveniently copied and expanded.
在以往的现有方案中,行业本体的知识图谱通常很难直接转换为Web前端,具体如下:In the past, the knowledge graph of the industry ontology is usually difficult to convert directly into the Web front end, as follows:
a.开发人员必须先将知识图谱实体转化为数据库中的数据表,然后再根据行业本体建立整个系统的后台API和Web前端,开发速度受到限制。a. Developers must first convert knowledge graph entities into data tables in the database, and then build the backend API and web front-end of the entire system based on the industry ontology, which limits the development speed.
b.制造业应用(Manufacuter application)使用web前端的形式来管理系统中的数据,这可能会对其他数据表的行业流程逻辑产生依赖,因此软件开发速度受到限制。b. Manufacturing applications use a web front-end to manage data in the system, which may be dependent on the industry process logic of other data tables, so the speed of software development is limited.
上述问题的原因在于:The reasons for the above problems are:
a.后台系统将业务逻辑保留在后台API中,因此web前端必须适应(adopt)和等待(wait),这意味着web前端没有直接修改核心系统的能力。a. The backend system keeps the business logic in the backend API, so the web frontend must adapt (adopt) and wait (wait), which means that the web frontend has no ability to directly modify the core system.
b.工厂系统通常有工厂的业务流程,即使web前台表单可以通过后台API创建/读取/更新/删除数据表,流程的流向仍然由后台处理。b. Factory systems usually have factory business processes. Even if the web front-end form can create/read/update/delete data tables through the back-end API, the flow of the process is still handled by the back-end.
因此,本申请首先建立以及使用前端模板引擎,为网页前端的组件填充相应网页代码。Therefore, this application first establishes and uses a front-end template engine to fill in corresponding web page codes for components on the front end of the web page.
此外,建立知识图谱编辑器的用户界面(User Interface,UI),将生成到Web前端代码中的行业本体属性(industry ontology property)标记为表单页(form page),从而产品经理可以快速响应Web前端的期望,修改UI或调整知识图谱属性的选择以进行改进。In addition, a user interface (UI) of the knowledge graph editor is established, and the industry ontology property generated into the Web front-end code is marked as a form page, so that product managers can quickly respond to the expectations of the Web front-end, modify the UI, or adjust the selection of knowledge graph properties for improvement.
因此,前端模板引擎可以帮助用户创建表单信息,将知识图谱转化成网站前端的表单,在自动代码编程和调整后端与前端之间的应用程序接口方面,花费更少的开发时间。Therefore, the front-end template engine can help users create form information, convert the knowledge graph into the form on the front-end of the website, and spend less development time on automatic code programming and adjusting the application interface between the back-end and the front-end.
在某些行业领域,如果表单属性编辑打开,前端模板引擎应设计中断机制,然后接收到相应属性信息的从属关系之后,按照所述从属关系进行代码生成,从而保证关于数据信 息或者属性信息,在读取编辑时的顺序的正确。In some industries, if the form attribute editing is open, the front-end template engine should design an interrupt mechanism, and then generate code according to the affiliation after receiving the corresponding attribute information, so as to ensure that the data information is Information or attribute information is read and edited in the correct order.
此外,在前端模板引擎中配置一套可以读取依赖信息并跳转到指定表单页面的依赖触发器,配置页面或者表单的打开顺序,从而读取相应从属关系的属性信息。因此,前端模板引擎应采用一种机制来存储知识图谱生成的表单的顺序以及依赖关系,可以依次按照所述表单的从属顺序生成并保存。In addition, a set of dependency triggers that can read dependency information and jump to the specified form page is configured in the front-end template engine, and the opening order of the page or form is configured to read the attribute information of the corresponding subordinate relationship. Therefore, the front-end template engine should adopt a mechanism to store the order and dependency of the forms generated by the knowledge graph, and can be generated and saved in sequence according to the subordinate order of the forms.
应该理解的是,虽然图1的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in the flowchart of FIG. 1 are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in FIG. 1 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
图2提供了一种利用知识图谱生成网页表单的装置200,其中,包括:知识图谱获取模块201,用于获取知识图谱;前端代码生成模块202,根据知识图谱的图形关系以及节点的属性信息,生成用于建立网页表单的前端代码;网页表单生成模块203,根据所述前端代码,生成网页表单,加载所述网页表单获取实例数据。Figure 2 provides a device 200 for generating a web page form using a knowledge graph, which includes: a knowledge graph acquisition module 201, used to acquire a knowledge graph; a front-end code generation module 202, which generates a front-end code for establishing a web page form based on the graphical relationship of the knowledge graph and the attribute information of the nodes; a web page form generation module 203, which generates a web page form based on the front-end code, and loads the web page form to obtain instance data.
其中,网页表单生成模块203,用于基于映射编辑界面204,接收所述节点的属性信息与后台的实例数据的映射关系;以及,根据所述映射关系,加载所述网页表单获取后台的实例数据。The web form generation module 203 is used to receive the mapping relationship between the attribute information of the node and the instance data of the background based on the mapping editing interface 204; and load the web form to obtain the instance data of the background according to the mapping relationship.
其中,还包括,从属编辑模块205,用于接收所述知识图谱的节点间的依从关系。It also includes a dependent editing module 205 for receiving the dependency relationship between the nodes of the knowledge graph.
其中,前端代码生成模块202,用于根据知识图谱的节点间的依从关系,依次调用所述知识图谱的节点的属性信息对应的前端代码,生成所述用于建立所述网页表单的前端代码。Among them, the front-end code generation module 202 is used to call the front-end code corresponding to the attribute information of the nodes of the knowledge graph in sequence according to the dependency relationship between the nodes of the knowledge graph, and generate the front-end code for establishing the web page form.
需要注意的是,该装置可以包含更多或更少的模块来实现所描述的功能。例如,图2中的至少一个模块可以被进一步分成复数个不同的子模块,每个子模块用于执行这里结合相应的模块所描述的操作的至少一部分。此外,在一些示例中,装置200还可以包括附加的模块,用于执行说明书中已经描述的其它操作。此外,本领域技术人员可以理解,示例性装置200可以用软件、硬件、固件、或其任意组合来实现。It should be noted that the device may include more or fewer modules to implement the described functions. For example, at least one module in FIG. 2 may be further divided into a plurality of different submodules, each of which is used to perform at least a portion of the operations described herein in conjunction with the corresponding module. In addition, in some examples, the device 200 may also include additional modules for performing other operations already described in the specification. In addition, those skilled in the art will appreciate that the exemplary device 200 may be implemented using software, hardware, firmware, or any combination thereof.
图3提供了一种计算机设备。根据一个实施方式,计算机设备300可以包括处理器302,处理器302执行存储器304存储的计算机程序。该计算机程序被处理器执行时以实现上述的方法。Fig. 3 provides a computer device. According to one embodiment, the computer device 300 may include a processor 302, and the processor 302 executes a computer program stored in a memory 304. When the computer program is executed by the processor, the above method is implemented.
本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构 的框图,并不构成对本申请所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will appreciate that the structure shown in FIG. 3 is only a partial structure related to the present application. The block diagram does not constitute a limitation on the computer device to which the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
本领域普通技术人员可以理解实现上述实施方式的方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施方式的流程。其中,本申请所提供的各实施方式中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the method for implementing the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the implementation methods of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the various embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述步骤。The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above steps are implemented.
本申请还提供一种计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行上述的方法。The present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform the above method.
进一步的,所述计算机程序可以被储存、运行在云端进行所述方法的执行。进一步的,所述程序的组成部分可以布局在多个设备、云端上,例如相应的步骤可以布局、运行在本地或者当地计算机,或者运行在不同的云端设备上,通过通信连接传输信号,或者也可以布局、运行在本地或者当地的计算机。本申请并不限制所述方式或者方法,可以灵活布局、部署相应技术,充分利用云端、大数据、超级计算能力等设备和技术进行方法的执行和完成。Furthermore, the computer program can be stored and run in the cloud to perform the method. Furthermore, the components of the program can be deployed on multiple devices and the cloud. For example, the corresponding steps can be deployed and run on a local or local computer, or run on different cloud devices, and transmit signals through a communication connection, or can also be deployed and run on a local or local computer. This application does not limit the manner or method, and can flexibly deploy and deploy corresponding technologies to make full use of equipment and technologies such as the cloud, big data, and supercomputing capabilities to execute and complete the method.
本公开的一些实现可以包括制品。制品可以包括存储介质,其用于存储逻辑。存储介质的示例可以包括一种或多种类型的能够存储电子数据的计算机可读存储介质,包括易失性存储器或非易失性存储器、可移动或不可移动存储器、可擦除或不可擦除存储器、可写或可重写存储器,等等。逻辑的示例可以包括各种软件单元,例如软件部件、程序、应用、计算机程序、应用程序、系统程序、机器程序、操作系统软件、中间件、固件、软件模块、例程、子例程、函数、方法、过程、软件接口、应用程序接口(API)、指令集、计算代码、计算机代码、代码段、计算机代码段、字、值、符号、或其任意组合。在一些实现中,例如,制品可以存储可执行的计算机程序指令,其在被处理器执行时,使得处理器执行本文中所述的方法和/或操作。可执行的计算机程序指令可以包括任意合适类型的代码,例如, 源代码、编译代码、解释代码、可执行代码、静态代码、动态代码,等等。可执行的计算机程序指令可以根据预定义的用于命令计算机来执行特定功能的计算机语言、方式或语法来实现。所述指令可以使用任意适当的高级的、低级的、面向对象的、可视化的、编译的和/或解释的编程语言来实现。Some implementations of the present disclosure may include an article of manufacture. An article of manufacture may include a storage medium for storing logic. Examples of storage media may include one or more types of computer-readable storage media capable of storing electronic data, including volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or rewritable memory, and the like. Examples of logic may include various software units, such as software components, programs, applications, computer programs, applications, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, processes, software interfaces, application program interfaces (APIs), instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or any combination thereof. In some implementations, for example, an article of manufacture may store executable computer program instructions that, when executed by a processor, cause the processor to perform the methods and/or operations described herein. Executable computer program instructions may include any suitable type of code, such as, Source code, compiled code, interpreted code, executable code, static code, dynamic code, etc. Executable computer program instructions can be implemented according to a predefined computer language, manner or syntax for commanding a computer to perform a specific function. The instructions can be implemented using any appropriate high-level, low-level, object-oriented, visual, compiled and/or interpreted programming language.
上面已经描述的包括所公开的架构的示例。当然并不可能描述部件和/或方法的每种可以想见的组合,但是本领域技术人员可以理解,许多其它的组合和排列也是可行的。因此,该新颖架构旨在涵盖落入所附权利要求的精神和范围之内的所有这样的替代、修改和变型。 What has been described above includes examples of the disclosed architecture. It is certainly not possible to describe every conceivable combination of components and/or methods, but those skilled in the art will appreciate that many other combinations and arrangements are possible. Therefore, the novel architecture is intended to encompass all such substitutions, modifications and variations that fall within the spirit and scope of the appended claims.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2023/116330 WO2025043664A1 (en) | 2023-08-31 | 2023-08-31 | Method and apparatus for using knowledge graph to generate web form, and computer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2023/116330 WO2025043664A1 (en) | 2023-08-31 | 2023-08-31 | Method and apparatus for using knowledge graph to generate web form, and computer device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2025043664A1 true WO2025043664A1 (en) | 2025-03-06 |
Family
ID=94817965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/116330 WO2025043664A1 (en) | 2023-08-31 | 2023-08-31 | Method and apparatus for using knowledge graph to generate web form, and computer device |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2025043664A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112052421A (en) * | 2020-09-27 | 2020-12-08 | 中信百信银行股份有限公司 | Webpage generation method and device, electronic equipment and readable storage medium |
CN112162741A (en) * | 2020-10-28 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Webpage code generation method, device, equipment and medium |
CN115113870A (en) * | 2022-06-20 | 2022-09-27 | 中国电信股份有限公司 | Webpage form generation method and device, electronic equipment and readable storage medium |
CN115794835A (en) * | 2022-12-28 | 2023-03-14 | 湖南科创信息技术股份有限公司 | Method, system, equipment and medium for generating government affair form based on knowledge graph |
CN116661768A (en) * | 2023-07-25 | 2023-08-29 | 苏州浮木云科技有限公司 | Knowledge graph-based page code generation method, system, device and medium |
-
2023
- 2023-08-31 WO PCT/CN2023/116330 patent/WO2025043664A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112052421A (en) * | 2020-09-27 | 2020-12-08 | 中信百信银行股份有限公司 | Webpage generation method and device, electronic equipment and readable storage medium |
CN112162741A (en) * | 2020-10-28 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Webpage code generation method, device, equipment and medium |
CN115113870A (en) * | 2022-06-20 | 2022-09-27 | 中国电信股份有限公司 | Webpage form generation method and device, electronic equipment and readable storage medium |
CN115794835A (en) * | 2022-12-28 | 2023-03-14 | 湖南科创信息技术股份有限公司 | Method, system, equipment and medium for generating government affair form based on knowledge graph |
CN116661768A (en) * | 2023-07-25 | 2023-08-29 | 苏州浮木云科技有限公司 | Knowledge graph-based page code generation method, system, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112036736A (en) | Workflow creating method and device | |
EP3072070B1 (en) | Callpath finder | |
US9043757B2 (en) | Identifying differences between source codes of different versions of a software when each source code is organized using incorporated files | |
CN111324577B (en) | Yml file reading and writing method and device | |
US11328021B2 (en) | Automatic resource management for build systems | |
CN114020840A (en) | A data processing method, device, server, storage medium and product | |
CN110727482B (en) | Interface updating method and device | |
US11537367B1 (en) | Source code conversion from application program interface to policy document | |
CN107330014B (en) | Data table creating method and device | |
CN110334024A (en) | A test case management method, device and terminal based on tree structure | |
CN113608727A (en) | Code processing method, device and system for visual programming | |
US8762421B2 (en) | Accessing entities of data access layer | |
WO2025043664A1 (en) | Method and apparatus for using knowledge graph to generate web form, and computer device | |
CN111580938A (en) | Transaction processing method, device, equipment and medium for work unit | |
WO2025025436A1 (en) | Data management method based on blockchain system, and blockchain node | |
CN113901057A (en) | Data playback method and device, computer equipment and storage medium | |
US20230289237A1 (en) | Automated nesting of existing stacks in a root stack within an aws environment | |
CN114675867B (en) | A data processing method, device, server and storage medium | |
US10726041B1 (en) | Multi-revision graph data store | |
CN117372182B (en) | Insurance management system based on rapid development persistent layer code auxiliary method | |
US20250060988A1 (en) | Techniques for task automation utilizing version control | |
WO2025086592A1 (en) | Data processing method and related apparatuses | |
US11593325B2 (en) | Systems and methods of data migration in multi-layer model-driven applications | |
CN107341021A (en) | The software network of large complicated software belt restraining logical attribute represents, storage and retrieval method | |
CN111796806B (en) | Method and device for generating object, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23950245 Country of ref document: EP Kind code of ref document: A1 |