CN112068832A - Visual interface design method and platform - Google Patents
Visual interface design method and platform Download PDFInfo
- Publication number
- CN112068832A CN112068832A CN202010867449.3A CN202010867449A CN112068832A CN 112068832 A CN112068832 A CN 112068832A CN 202010867449 A CN202010867449 A CN 202010867449A CN 112068832 A CN112068832 A CN 112068832A
- Authority
- CN
- China
- Prior art keywords
- natural language
- visual interface
- input
- graph database
- platform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/903—Querying
- G06F16/9038—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/205—Parsing
- G06F40/211—Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a visual interface design method and a visual interface design platform, wherein the method comprises the following steps: inputting a natural language sentence; recognizing natural language sentences and storing the natural language sentences as a graph database; a graph database is presented as an interface. The invention enables a user to interact with the platform in a natural language mode, thereby designing a visual interface meeting the requirements of the user in real time.
Description
Technical Field
The invention relates to the field of interface design, in particular to a visual interface design method and a visual interface design platform.
Background
With the continuous development of IT technology, the demand of users for self-definition of a management system supporting services is more and more strong. At present, many system interfaces are all discordant, when a business changes, a user needs to submit a change requirement to a development team for development, and the change requirement is communicated, designed, developed, tested and released through long requirements, and the middle part of the business is also accompanied by consultation back and forth caused by the understood in-and-out, so that the time cost is very high, and the user experience is not good.
Disclosure of Invention
The invention aims to provide a visual interface design method and a visual interface design platform aiming at the defects in the prior art, and a user can interact with the platform in a natural language mode so as to design a visual interface meeting the requirements of the user in real time.
Therefore, the invention adopts the following technical scheme.
A visual interface design method comprises the following steps: inputting a natural language sentence; identifying the natural language sentences and storing the natural language sentences as a graph database; and displaying the graph database as a visual interface.
Preferably, the natural language sentences comprise entities and relations, and the graph database comprises nodes and links; the step of identifying the natural language sentence and storing the natural language sentence as a graph database specifically comprises the following steps: identifying the entity and the relationship in the natural language statement; the entities are stored as the nodes in the graph database and the relationships are stored as the links between the nodes.
Preferably, the visual interface comprises a menu, a form and a flow.
Preferably, the input method of the natural language sentence comprises voice recognition input, interface character input and file import.
Preferably, the input mode of the natural language sentence includes one-by-one input and batch input.
Preferably, the natural language sentence includes a build pattern and a cancel pattern.
Preferably, the natural language sentence further includes a name of the visual interface.
Based on the same inventive concept, the invention also provides a visual interface design platform, which comprises: the input module is used for inputting natural language sentences; the recognition module is used for recognizing the natural language sentences and storing the natural language sentences as a graph database; and the display module is used for displaying the graph database as a visual interface.
The technical scheme has the advantages that:
1. the user directly interacts with the platform in a natural language mode without a development team;
2. the sentence pattern of the natural language sentence required to be input is designed to be limited, and a user can easily start;
3. the communication cost and the time cost for communicating the user requirements are saved, the user-defined interface requirements are met, and the user experience is good.
Drawings
FIG. 1 is a flow chart of a method of visual interface design;
FIG. 2 is a platform interface diagram of the interactive contents of the input natural language according to the first embodiment;
FIG. 3 is a platform interface diagram of a generated menu according to the first embodiment;
FIG. 4 is a diagram of a platform interface for inputting interactive contents of natural language for the first time according to the second embodiment;
FIG. 5 is a platform interface diagram of a form generated for the first time according to the second embodiment;
FIG. 6 is a platform interface diagram of interactive contents of natural language input for the second time in the second embodiment;
FIG. 7 is a platform interface diagram of a form generated a second time in the second embodiment;
FIG. 8 is a platform interface diagram of interactive contents of natural language input for the first time according to the third embodiment;
FIG. 9 is a platform interface diagram of interactive contents of natural language input for the second time in the third embodiment;
fig. 10 is a platform interface diagram of the flow of generation in the third embodiment.
Detailed Description
In order that the objects, features and advantages of the invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings, which are illustrated in detail in order to provide a thorough understanding of the invention, but which may be carried out in other ways than those described. Accordingly, the invention is not limited by the specific implementations disclosed below.
The invention discloses a design idea, which is a visual interface designed by a user by interacting the user's own idea with a business system in a natural language way.
As shown in FIG. 1, the invention discloses a visual interface design method, which comprises the following steps.
Natural language sentences are input into the visual interface design platform.
The way to input natural language sentences can be through speech recognition entry, interface text entry and through documents. Such as a text file, Excel file, etc.
The input mode of the natural language sentence comprises one-by-one input and batch input. For example, the user may enter natural language statements in a single or batch through an input box of the platform interface.
The input natural language sentence also comprises the name of the designed visual interface, and the name is used for connecting the contents of the natural language sentences input twice.
The natural language sentence includes a build sentence pattern and a cancel sentence pattern.
The method for establishing the vertical sentence pattern mainly comprises the following steps:
y1 is a classification;
y2 is a classification;
y3 is a classification;
x1 is a Y1;
x2 is a Y2;
x3 is a Y3;
x1 is X3 of X2.
The canceling sentence pattern mainly comprises the following steps:
y1 is not a classification;
y2 is not a classification;
y3 is not a classification;
x1 is not a Y1;
x2 is not a Y2;
x3 is not a Y3;
x1 is not X3 of X2.
The platform identifies natural language sentences through a natural language processing algorithm and stores the natural language sentences as a graph database. The method specifically comprises the following steps.
1. The sentence pattern of the input natural language sentence is analyzed.
2. Segmentation is performed according to "yes".
3. And extracting the three triples of the subject and the predicate element.
4. Saved to the graph database.
A sentence pattern includes a sentence pattern of categories, entities, and relationships.
The platform firstly creates classification in a graph database, wherein the classification can be divided into three types, namely a menu, a form and a flow, and corresponds to three visual interfaces. The classification may be an entity or a relationship based on the sentence pattern of the different interface designs. And then creating nodes, storing the entities as the nodes, establishing the relationship between the nodes, and storing the relationship as the link between the nodes.
The classification is three categories of menu, form and flow, which correspond to three visual interfaces.
The platform firstly creates a classification in a graph database according to a classification entity, then creates a node, saves a node entity as the node, and saves a relationship as a link between the nodes, namely, establishes the relationship between the nodes.
And the platform extracts entity and relation data from the graph database through an interface analysis and display algorithm and displays the entity and the relation data into a visual interface. After the entity and the relation data in the graph database are obtained, the interface can be updated according to the set rule, and the interface design effect desired by the user is presented. The method specifically comprises the following steps.
1. And analyzing the natural language query request input by the interface.
2. Related data is obtained from a graph database.
3. And assembling into a webpage language.
4. And returning front-end response and presentation.
5. And displaying the visual interface.
The following invention embodiments one to three respectively disclose the design process of generating three visual interfaces of a menu, a form and a process by using the method.
Example one
FIG. 2 is a diagram of a platform interface prior to submission of interactive content defining a menu. Inputting at an input box of the platform interface: the shortcut menu is a category; location is a category; user management and equipment management are shortcut menus; 1. 2 is a position; the location of device management is 1.
In the embodiment of the invention, the shortcut menu and the position are menu categories. First, a shortcut menu and a classification of locations are created, respectively. Then, the user management, device management (entity) is saved as a node under the shortcut menu, 1, 2 (entity) are saved as nodes of the location, and a relationship between the device management and 1 is established, that is, "the location of the device management is 1" is saved as a link of the two nodes.
FIG. 3 is a platform interface diagram illustrating an automated platform generation menu after submission. The platform generates a menu according to the input natural language. The menu shows the entities that establish the relationships and their relationships.
Example two
The embodiment of the invention generates the final form by inputting two interactive content definitions.
FIG. 4 is a diagram of the platform interface prior to the first submission of the interactive content defining the form. Inputting at an input box of the platform interface: table, attribute is a category; the device is a form; the device number and the device name are attributes; the equipment number and the equipment name are the attributes of the equipment; DEVICE001, DEVICE002 is a DEVICE; a list of devices.
FIG. 5 is a diagram of a platform interface for the first time the platform automatically generates a form after submission. The platform generates a basic form from the first input of natural language. The forms and attributes are form categories. Establishing a node under the equipment: DEVICE001, DEVICE002 and nodes under the attributes: the relationship between the device number and the device name, and naming the generated form, i.e. inputting the name of the form.
FIG. 6 is a diagram of the platform interface prior to a second submission of the interactive content defining the form. Inputting at an input box of the platform interface: DEVICE002 is named robot; DEVICE002 is AUTOMACHINE; DEVICE001 is under the DEVICE name air conditioner; DEVICE number air of DEVICE 001; a list of devices.
FIG. 7 is a diagram of a platform interface for the second time the form is automatically generated by the platform after submission. And the second interactive content comprises the name of the generated form, so that the generated form is further defined, and the data are respectively stored in the nodes to generate a final form.
EXAMPLE III
The embodiment of the invention generates the final flow by inputting two interactive content definitions.
FIGS. 8 and 9 are diagrams of a platform interface prior to submission of interactive content of a flow menu. Firstly, inputting in an input box of a platform interface: the flow, flow relation and steps are classified; the purchasing process is a process; the steps are a flow relation; the inquiry and order of purchase is a step; the inquiry price and purchase order form of purchase are the steps of purchase flow. Establishing nodes under the process: the node under the purchase flow and step: relation between purchase inquiry and purchase order.
Then, inputting: the process matching relationship is a classification; the next step is a process matching relationship; the purchase order is the next step of the purchase inquiry; and (5) purchasing procedure. And establishing a relationship between the node purchase order and the purchase inquiry price, and naming the generated flow.
FIG. 10 is a platform interface diagram illustrating an automatic generation flow of a platform after submission. The platform generates a flow from the input natural language. The name of the flow is shown in the interface.
The method of the invention only needs a limited number of sentence patterns, and the user can interact with the system in a natural language mode, thereby designing menus, forms or flows meeting the requirements of the user in real time, expanding the menus according to the existing sentence patterns, storing the expanded sentences into a graph database, and realizing interface display or business algorithms of other types.
Example four
The embodiment of the invention provides a visual interface design platform, which comprises:
and the input module is used for inputting natural language sentences.
And the recognition module is used for recognizing the natural language sentences and storing the natural language sentences as the graph database.
And the display module is used for displaying the graph database as a visual interface.
The platform can obtain the composition relation of the menu, the form or the flow by using the obtained entity and relation information contained in the graph database, and then organize and display the user interface.
While the above description shows and describes the preferred embodiments of the present invention, it is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A visual interface design method is characterized by comprising the following steps:
inputting a natural language sentence;
identifying the natural language sentences and storing the natural language sentences as a graph database;
and displaying the graph database as a visual interface.
2. A visual interface design method according to claim 1 wherein said natural language statements include entities and relationships, said graph database including nodes and links;
the step of identifying the natural language sentence and storing the natural language sentence as a graph database specifically comprises the following steps:
identifying the entity and the relationship in the natural language statement;
the entities are stored as the nodes in the graph database and the relationships are stored as the links between the nodes.
3. A visual interface design method according to claim 1, wherein the visual interface comprises menus, forms and procedures.
4. A visual interface design method according to claim 1, characterized in that the input method of the natural language sentence comprises voice recognition input, interface text input and import by file.
5. A visual interface design method according to claim 1, wherein the input modes of the natural language sentence include one-by-one input and batch input.
6. A visual interface design method as claimed in claim 1, wherein said natural language sentences include build patterns and cancel patterns.
7. A visual interface design method according to claim 1, wherein the natural language sentence further comprises a name of the visual interface.
8. A visual interface design platform, comprising:
the input module is used for inputting natural language sentences;
the recognition module is used for recognizing the natural language sentences and storing the natural language sentences as a graph database;
and the display module is used for displaying the graph database as a visual interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010867449.3A CN112068832A (en) | 2020-08-26 | 2020-08-26 | Visual interface design method and platform |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010867449.3A CN112068832A (en) | 2020-08-26 | 2020-08-26 | Visual interface design method and platform |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112068832A true CN112068832A (en) | 2020-12-11 |
Family
ID=73658889
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010867449.3A Pending CN112068832A (en) | 2020-08-26 | 2020-08-26 | Visual interface design method and platform |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112068832A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1963752A (en) * | 2006-11-28 | 2007-05-16 | 李博航 | Man-machine interactive interface technique of electronic apparatus based on natural language |
| US20130246049A1 (en) * | 2009-12-16 | 2013-09-19 | Board Of Regents, The University Of Texas System | Method and system for text understanding in an ontology driven platform |
| CN108614897A (en) * | 2018-05-10 | 2018-10-02 | 四川长虹电器股份有限公司 | A kind of contents diversification searching method towards natural language |
| CN109918069A (en) * | 2019-01-16 | 2019-06-21 | 浙江蓝卓工业互联网信息技术有限公司 | Interactive interface generation method and system applied to industry internet |
| CN111159385A (en) * | 2019-12-31 | 2020-05-15 | 南京烽火星空通信发展有限公司 | Template-free universal intelligent question-answering method based on dynamic knowledge graph |
-
2020
- 2020-08-26 CN CN202010867449.3A patent/CN112068832A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1963752A (en) * | 2006-11-28 | 2007-05-16 | 李博航 | Man-machine interactive interface technique of electronic apparatus based on natural language |
| US20130246049A1 (en) * | 2009-12-16 | 2013-09-19 | Board Of Regents, The University Of Texas System | Method and system for text understanding in an ontology driven platform |
| CN108614897A (en) * | 2018-05-10 | 2018-10-02 | 四川长虹电器股份有限公司 | A kind of contents diversification searching method towards natural language |
| CN109918069A (en) * | 2019-01-16 | 2019-06-21 | 浙江蓝卓工业互联网信息技术有限公司 | Interactive interface generation method and system applied to industry internet |
| CN111159385A (en) * | 2019-12-31 | 2020-05-15 | 南京烽火星空通信发展有限公司 | Template-free universal intelligent question-answering method based on dynamic knowledge graph |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10229679B1 (en) | Natural language user interface for computer-aided design systems | |
| CN111026842B (en) | Natural language processing method, natural language processing device and intelligent question and answer system | |
| JP6884435B2 (en) | Partner company supply chain risk analysis method | |
| JP4334227B2 (en) | Natural language query system for accessing information systems | |
| CN107193948B (en) | Human-computer dialogue data analysing method and device | |
| US20180129188A1 (en) | Natural language user interface for computer-aided design systems | |
| EP3069268A1 (en) | Transforming natural language requirement descriptions into analysis models | |
| JP6442807B1 (en) | Dialog server, dialog method and dialog program | |
| CN119336477A (en) | Task processing method and task processing system | |
| CN118035387B (en) | A data selection and output method and device based on large language model | |
| CN117874207A (en) | Reply sentence generation method and device, electronic equipment and storage medium | |
| CN117932022A (en) | Intelligent question-answering method and device, electronic equipment and storage medium | |
| JP6797382B1 (en) | Question answer display server, question answer display method and question answer display program | |
| CN118587729A (en) | Text information generation method, model training method, device and electronic equipment | |
| CN110442730A (en) | A kind of knowledge mapping construction method based on deepdive | |
| CN118093851A (en) | Task processing method, automatic question answering method and legal task processing method | |
| Jamil et al. | A systematic review A Conversational interface agent for the export business acceleration | |
| CN112068832A (en) | Visual interface design method and platform | |
| Jonnala | How Large Language models (LLM) help enterprises enhance customer experiences | |
| CN114091925A (en) | Bank business process display method and device | |
| JP7438808B2 (en) | Needs matching equipment and programs | |
| CN114020852A (en) | Knowledge graph display method and device | |
| CN119719315A (en) | Intelligent customer service session processing method, device and program product | |
| Zhou et al. | AI-powered chatbots for improving interactive user experience: state-of-the-art | |
| CN115952301A (en) | Construction method and system of knowledge graph management platform |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |