CN115079918A - Project research modeling method and device, electronic equipment and storage medium - Google Patents

Project research modeling method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115079918A
CN115079918A CN202210996324.XA CN202210996324A CN115079918A CN 115079918 A CN115079918 A CN 115079918A CN 202210996324 A CN202210996324 A CN 202210996324A CN 115079918 A CN115079918 A CN 115079918A
Authority
CN
China
Prior art keywords
node
instruction
project
project research
determining
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.)
Granted
Application number
CN202210996324.XA
Other languages
Chinese (zh)
Other versions
CN115079918B (en
Inventor
张黎佳
王克楠
孙小珂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sinochem Agriculture Holdings
Original Assignee
Sinochem Agriculture Holdings
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sinochem Agriculture Holdings filed Critical Sinochem Agriculture Holdings
Priority to CN202210996324.XA priority Critical patent/CN115079918B/en
Publication of CN115079918A publication Critical patent/CN115079918A/en
Application granted granted Critical
Publication of CN115079918B publication Critical patent/CN115079918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/10Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Agronomy & Crop Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Animal Husbandry (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of data processing, and provides a project research modeling method, a project research modeling device, electronic equipment and a storage medium, wherein the project research modeling method comprises the following steps: acquiring an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; determining a project research model based on the project research flow chart determined by each operation instruction; the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes. The invention can intuitively and clearly express the technical route selected by project research.

Description

Project research modeling method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a project research modeling method and device, electronic equipment and a storage medium.
Background
With the rapid development of science and technology, the digitalization requirement of agriculture is higher and higher. At present, the digital agriculture relies on strong scientific and technological resources and innovative resources, provides on-line and off-line combination for broad growers and food value chain partners, and covers comprehensive services in the whole process of agricultural production and sales. Based on the method, the purposes of increasing the yield, preventing and treating plant diseases and insect pests and the like can be realized by carrying out project research on crops.
When the crop is subjected to project research, a technical route needs to be selected, namely, a project research model is determined by expressing the technical route. At present, most of the technical routes are expressed by characters or diagrams, however, the characters and diagrams are not intuitive enough, and the situations of wrong guidance and unclear are easy to occur. Therefore, how to intuitively and clearly express the technical route selected by the project research to construct the project research model is a problem to be solved urgently at present.
Disclosure of Invention
The invention provides a project research modeling method, a project research modeling device, electronic equipment and a storage medium, which are used for overcoming the defects that the technical route is not visual enough and clear enough in the prior art and realizing visual and clear project research modeling.
The invention provides a project research modeling method, which comprises the following steps:
acquiring an operation instruction;
executing the operation corresponding to the operation instruction to draw a project research flow chart;
determining a project research model based on the project research flow chart determined by each operation instruction;
the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
According to the project research modeling method provided by the invention, if the operation instruction is a node drag instruction of the node operation instruction, the executing of the operation corresponding to the operation instruction comprises the following steps:
determining a dragged node indicated by the node dragging instruction and a first inserting position indicated by the node dragging instruction;
inserting the dragged node into the first insertion position;
if the operation instruction is a connection dragging instruction, the executing operation corresponding to the operation instruction comprises:
determining a dragged connecting line indicated by the connecting line dragging instruction and a second inserting position indicated by the connecting line dragging instruction;
and inserting the dragged connecting line into the second inserting position.
According to the project research modeling method provided by the invention, if the operation instruction is a node self-defined instruction of the node operation instruction, the executing of the operation corresponding to the operation instruction comprises the following steps:
determining a newly added node indicated by the node self-defining instruction and a third insertion position indicated by the node self-defining instruction, wherein the node self-defining instruction is used for self-defining the graph of the newly added node;
inserting the newly added node into the third insertion position.
According to the project research modeling method provided by the invention, if the operation instruction is a node connection instruction of the node operation instruction, the executing of the operation corresponding to the operation instruction comprises the following steps:
determining a first node to be connected and a second node to be connected which are indicated by the node connection instruction;
determining a first pin to be connected of the first node to be connected and a second pin to be connected of the second node to be connected, which are indicated by the node connection instruction;
connecting the first pin to be connected with the second pin to be connected;
if the operation instruction is a connection direction determining instruction, the executing the operation corresponding to the operation instruction comprises:
determining a target connection line indicated by the connection direction determining instruction and a connection direction of the target connection line;
and generating a direction arrow of the target connecting line based on the connecting line direction.
According to the project research modeling method provided by the invention, if the operation instruction is a text editing instruction of the node operation instruction, the executing of the operation corresponding to the operation instruction comprises the following steps:
determining a node to be edited indicated by the text editing instruction and technical content indicated by the text editing instruction;
and carrying out technical annotation on the node to be edited based on the technical content.
According to the project research modeling method provided by the invention, if the operation instruction is a style operation instruction, the executing of the operation corresponding to the operation instruction comprises the following steps:
determining an object to be set indicated by the style operation instruction and style operation content indicated by the style operation instruction;
and performing style setting on the object to be set based on the style operation content.
According to the project research modeling method provided by the invention, if the operation instruction is a node attribute configuration instruction of the node operation instruction, the executing operation corresponding to the operation instruction comprises the following steps:
determining a node to be configured indicated by the node attribute configuration instruction and a first configuration attribute of the node to be configured;
based on the first configuration attribute, performing attribute configuration on the node to be configured;
if the operation instruction is a connection attribute configuration instruction, the executing operation corresponding to the operation instruction includes:
determining a connection to be configured indicated by the connection attribute configuration instruction and a second configuration attribute of the connection to be configured;
and performing attribute configuration on the connecting line to be configured based on the second configuration attribute.
According to the project research modeling method provided by the invention, the project research model is determined based on the project research flow chart determined by each operation instruction, and the method also comprises the following steps:
determining a business scene of current project research;
and acquiring a target plug-in corresponding to the service scene, wherein the target plug-in comprises a node and/or a component, and the component is used for providing an editing function of the flow chart.
According to the project research modeling method provided by the invention, the project research model is determined based on the project research flow chart determined by each operation instruction, and then the method further comprises the following steps:
and packaging the project research model and the authentication data to obtain packaged data for transmitting to back-end equipment.
The invention also provides a project research modeling apparatus, comprising:
the acquisition module is used for acquiring an operation instruction;
the execution module is used for executing the operation corresponding to the operation instruction so as to draw a project research flow chart;
the determining module is used for determining a project research model based on the project research flow chart determined by each operating instruction;
the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the project research modeling method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a project study modeling method as described in any of the above.
The project research modeling method, the project research modeling device, the electronic equipment and the storage medium provided by the invention are used for acquiring an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; and determining a project research model based on the project research flow chart determined by each operation instruction. Based on the mode, a project research model can be constructed by drawing a project research flow chart, the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated, so that the technical nodes can be drawn, the technical route can be drawn, and the technical route selected by the project research can be visually and clearly expressed.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a project study modeling method provided by the present invention;
FIG. 2 is a second schematic flow chart of the project research modeling method provided by the present invention;
FIG. 3 is a third schematic flow chart of a project research modeling method provided by the present invention;
FIG. 4 is a schematic structural diagram of a project research modeling apparatus provided by the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
With the rapid development of science and technology, the digitalization requirement of agriculture is higher and higher. At present, the digital agriculture relies on strong scientific and technological resources and innovative resources, provides on-line and off-line combination for broad growers and food value chain partners, and covers comprehensive services in the whole process of agricultural production and sales. Based on this, on an agricultural scientific research platform, the crop is subjected to project research, and the aims of increasing the yield, preventing and treating plant diseases and insect pests and the like can be achieved.
When the crop is subjected to project research, a technical route needs to be selected, namely, a project research model is determined by expressing the technical route. At present, most technical routes are expressed by characters, but the character expression is not specific, or technical routes are expressed by graphs, but the graph expression needs to be studied in multiple rows and multiple columns by combining table data, so that the situations of wrong guidance and unclear technical routes are easy to occur. In sum, both the text expression and the diagram expression are not intuitive, and the situations of wrong guidance and unclear are easy to occur. Therefore, how to intuitively and clearly express the technical route selected by the project research to construct the project research model is a problem to be solved urgently at present.
In addition, the current flow chart drawing software needs to be deployed based on a specific environment, is a heavyweight framework, and cannot be integrated into an agricultural scientific research platform, so that how to model the project research is not limited by the environment, and how to implement light-weight architecture deployment to be integrated into the agricultural scientific research platform is a problem which needs to be solved urgently at present.
In view of the above problems, the present invention proposes the following embodiments. Fig. 1 is a schematic flow diagram of a project research modeling method provided by the present invention, and as shown in fig. 1, the project research modeling method includes:
step 110, an operation instruction is obtained.
In this embodiment of the present invention, an execution subject of the project research modeling method in this embodiment of the present invention may be a user terminal, and the user terminal may include, but is not limited to: desktop computer, notebook computer, smart phone, tablet computer, etc., and the execution subject may also be a server, or a front-end device, etc.
Here, the operation instruction may be applied to a web interface, and may also be applied to an interface of various flow chart drawing software.
In a particular embodiment, operational instructions acting on a web interface of a web page are obtained.
Here, the web interface is a rendering interface of a project study flowchart, i.e., a modeling interface of a project study model. The web interface is used for drawing a flow chart of project research for a user, and particularly, is used for triggering an operation instruction on the web interface for the user. In one embodiment, the web interface is a mapping interface for a technical route selected by a current project study, and is used for a user to perform a flow chart mapping of the technical route selected by the project study.
The web interface may include, but is not limited to, one or more of the following: a flowchart drawing area (for example, a canvas), a node selection area, a link selection area, a component area, a menu bar area, a shortcut operation area, an attribute configuration area, and the like, which are not particularly limited in this embodiment of the present invention.
The flow chart drawing area is used for drawing a project research flow chart, and particularly is used for drawing a flow chart of a technical route selected by the project research. More specifically, the flow chart drawing area is used for inserting nodes, dragging nodes and inserting dragged nodes, inserting connecting lines, dragging connecting lines and inserting dragged connecting lines, customizing drawing nodes, connecting any two nodes, generating direction arrows of the connecting lines, editing texts, setting node styles, setting connecting line styles, setting direction arrow styles, setting anchor point styles, setting alignment line styles, inserting flow charts, dragging flow charts and inserting flow charts, moving flow charts, turning flow charts, setting flow chart styles and the like. In one embodiment, the flow diagram drawing area is a canvas, and in particular, the canvas is operable by blurring the background.
The node selection area is used for placing each node, for example, nodes in shapes of rectangle, circle, polygon, and the like, so that a node (click node) is selected from the node selection area and inserted into the flow chart drawing area, or the node is dragged from the node selection area and inserted into the flow chart drawing area.
The link selection area is used for placing each link, such as a straight line, a broken line, a curve, and the like, so as to select a link (click the link) from the link selection area and insert the link into the flowchart drawing area, or drag the link from the link selection area and insert the link into the flowchart drawing area.
The component area is used for placing nodes and/or function options, that is, one component comprises a plurality of nodes, or one component comprises 1 or more function options. The component area may be a menu bar area, a node right-click menu area, a control panel area, etc.
Wherein the menu bar area is used for placing function options for providing the editing function of the flowchart.
The shortcut operation area is used for placing shortcut function options, and the shortcut function options are used for providing a shortcut editing function of the flow chart, so that the editing efficiency of the flow chart is improved.
The attribute configuration area is used for attribute configuration, and may be used for attribute configuration of nodes or for attribute configuration of connection lines.
The functional options may include, but are not limited to: grid display options, alignment line options, previous step options, next step options, map enlargement options, map reduction options, sizing options, positioning restore options, flow chart download options, data viewing options, and the like.
It can be understood that the operation instruction acts on the web interface, so that the project research model can be constructed in a browser mode, that is, the project research model can be modeled in various environments and various terminals, and the modeling flexibility is improved.
Here, the operation instruction is an instruction generated in response to an operation of the execution subject by the user through the method provided by the embodiment of the present invention.
The operation instruction may be triggered in all regions in the web interface. For example, a node dragging instruction, a link dragging instruction, a node customizing instruction, a node link instruction, a link direction determining instruction, a text editing instruction, a style operating instruction, a node clicking instruction, a link clicking instruction, a node flipping instruction, a link flipping instruction, a flowchart clicking instruction, a flowchart dragging instruction, a flowchart setting instruction, a flowchart flipping instruction, and the like are triggered in the flowchart drawing area; triggering a node dragging instruction, a node clicking instruction and the like in the node selection area; triggering a function clicking instruction, a function dragging instruction, a node clicking instruction, a node dragging instruction and the like in the component area; triggering a function click instruction, a function drag instruction and the like in the menu bar area; triggering a function clicking instruction, a function dragging instruction and the like in the shortcut operation area; and triggering a node attribute configuration instruction, a connection attribute configuration instruction and the like in the attribute configuration area.
The operation instruction includes a node operation instruction and other element operation instructions. The node operation instruction is used to operate a node, and specifically, the node operation instruction may be used to indicate a target node to be operated, for example, the indicated target node to be operated is a dragged node, a newly added node, a node to be connected with technical content, a node to be set with style content, or a node to be configured with attributes, and the like. The other element operation instructions are used to operate on elements other than nodes, such as connecting lines, flow diagrams, directional arrows, grids, alignment lines, and the like.
It should be noted that the operation instruction may be triggered by clicking a display screen of the execution main body, and may also be triggered by an input device, where the input device may include but is not limited to: mouse and keyboard, etc. For example, the operation instruction is triggered according to various mouse events, or the operation instruction is triggered according to keyboard shortcuts.
The operation instructions may include, but are not limited to, one or more of the following: the method comprises the following steps of node dragging instructions, link dragging instructions, node self-defining instructions, node link instructions, link direction determining instructions, text editing instructions, style operating instructions, node clicking instructions, link clicking instructions, node overturning instructions, link overturning instructions, flow chart clicking instructions, flow chart dragging instructions, flow chart setting instructions, flow chart overturning instructions, function clicking instructions, function dragging instructions, node attribute configuration instructions, link attribute configuration instructions and the like.
It should be noted that the operation instructions provide the capabilities necessary for drawing and editing the project study flow chart.
In some embodiments, two-dimensional coordinates may be established in the flow chart rendering area and a series of coordinate transformation logic is provided.
And step 120, executing the operation corresponding to the operation instruction to draw a project research flow chart.
Specifically, the operations corresponding to the node dragging instruction, the node customizing instruction, the text editing instruction, the style operating instruction or the node attribute configuration instruction are executed, so that technical nodes can be provided for the project research model, that is, the selected technology for the project research can be provided. And executing operations corresponding to the connecting line dragging instruction, the connecting line direction determining instruction, the style operating instruction or the connecting line attribute configuration instruction, and connecting the technical nodes, namely determining the technical route.
And step 130, determining a project research model based on the project research flow chart determined by each operation instruction.
The operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
Specifically, step 110 and step 120 are executed several times, and finally, a project research flowchart is determined and obtained based on each operation instruction.
Specifically, graph data corresponding to the project research flowchart is derived, and a project research model is determined based on the graph data. More specifically, format conversion is performed on the graph data to obtain graph data meeting the requirements, and a project research model is determined based on the graph data meeting the requirements. It will be appreciated that the project study model may be graph data, or other data obtained by further processing the graph data.
For example, the graph data derived based on the LogicFlow is not necessarily suitable for all services, And in this case, the derived graph data may be subjected to a custom conversion through an adapter API (Application Programming Interface), for example, to be converted into the graph data specified by the BPMN (Business Process Model And symbol).
In one embodiment, the project research model is sent to the backend device for the backend device to manage the project research model and store the project research model. Specifically, the project research model is encapsulated into transmission data in a JSON format, and then the transmission data is sent to the backend device.
In an embodiment, the project research model may be stored, and the stored project research model may be directly obtained subsequently, at this time, graph data is determined based on the project research model, format conversion may be performed on the graph data to obtain graph data for visualization, and visualization display is performed based on the graph data for visualization. For example, the graph data determined based on the project research model may be subjected to custom conversion, such as conversion into graph data of a LogicFlow, through an adapter API (Application Programming Interface), so as to perform visualization presentation based on the LogicFlow.
Here, the node operation instruction is used to operate the technology node, and specifically, the node operation instruction may be used to indicate a target technology node to be operated, for example, the indicated target technology node to be operated is a dragged node or a newly added node or a node to be connected or a node to be edited in technical content or a node to be set with style content or a node to be configured with attributes, and so on.
The node operation instructions may also be used to indicate the content of operations performed on the technology node, which may include, but are not limited to: dragging operation of nodes, customizing operation of nodes (such as drawing operation of node graphs), connecting operation of nodes, text editing operation of nodes, style setting operation of nodes, attribute configuration operation of nodes and the like. Of course, the node operation instruction may also be used to indicate other operation information, which is not described in detail herein.
The node operation instructions may include, but are not limited to, one or more of the following: a node dragging instruction, a node customizing instruction, a node connecting instruction, a text editing instruction, a style operating instruction, a node clicking instruction, a node turning instruction, a node attribute configuring instruction and the like.
In some embodiments, the drawing of the project study flowsheet may be based on a LogicFlow. When the basic capability of the LogicFlow cannot meet the service requirement for researching crops, service scene expansion needs to be based, and based on the service scene expansion, besides the API provided by the LogicFlow, a user-defined method needs to be registered, so that nodes and user-defined connecting lines are defined. For example, built-in graphic nodes such as rectangles and circles often cannot meet actual service requirements, and nodes with service significance need to be defined, for example, shortcut keys are provided to allow a user to customize nodes with customized graphics and customized service data.
It should be noted that the project research model can be used as a node, that is, a node of the solid model, so that based on the node of the solid model, another project research flowchart can be further drawn, and another project research model can be obtained.
The project research modeling method provided by the embodiment of the invention obtains an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; and determining a project research model based on the project research flow chart determined by each operation instruction. Based on the mode, a project research model can be constructed by drawing a project research flow chart, the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated, so that the technical nodes can be drawn, the technical route can be drawn, and the technical route selected by the project research can be visually and clearly expressed.
Based on the foregoing embodiment, fig. 2 is a second flowchart of the project research modeling method provided by the present invention, as shown in fig. 2, in the method, if the operation instruction is a node drag instruction of the node operation instruction, the foregoing step 120 includes:
step 121, determining a dragged node indicated by the node dragging instruction and a first insertion position indicated by the node dragging instruction.
And step 122, inserting the dragged node into the first inserting position.
Here, the node drag instruction may be used to insert a new node and also to move an old node. The new node may select a node in the area for the node and the old node may be a node in the flow-graph rendering area. Specifically, the new node is inserted to insert a new node into the flowchart drawing area, that is, the dragged node indicated by the node dragging instruction is the new node, and the first insertion position indicated by the node dragging instruction is the new position; and the old node is moved to move the node in the flow chart drawing area, namely, the dragged node indicated by the node dragging instruction is the original node of the flow chart drawing area, and the first insertion position indicated by the node dragging instruction is the moved position.
The node dragging instruction is an instruction generated in response to a user dragging a node operation of an execution main body through the method provided by the embodiment of the invention, for example, the user triggers a corresponding node dragging instruction by selecting and dragging a node in a node selection area, and at this time, the execution main body obtains the node dragging instruction.
Here, the dragged node includes a node in the node selection area, or a node in the flowchart drawing area.
Here, the first insertion position is used to represent a final position of the dragged node, i.e., a position where the dragging operation is stopped. For example, if the dragged node is dragged from point a to point B to point C, the first insertion position is point C.
It should be noted that, subsequently, a node dragging instruction, a node connecting instruction, a text editing instruction, a style operating instruction, a node clicking instruction, a node flipping instruction, a node attribute configuration instruction, and the like may be triggered for the dragged node.
According to the project research modeling method provided by the embodiment of the invention, the dragged node is inserted into the first insertion position by determining the dragged node indicated by the node dragging instruction and the first insertion position indicated by the node dragging instruction, so that the node is newly added or moved, the drawing of the technical node is realized, and the technical route selected by the project research can be visually and clearly expressed.
Based on any of the above embodiments, fig. 3 is a third schematic flow chart of the project research modeling method provided by the present invention, as shown in fig. 3, in the method, if the operation instruction is a connection drag instruction, the step 120 includes:
step 123, determining the dragged connecting line indicated by the connecting line dragging instruction and a second inserting position indicated by the connecting line dragging instruction.
And 124, inserting the dragged connecting line into the second inserting position.
Here, the wire drag instruction may be used to insert a new wire or to move an old wire. The new links may be links in the link selection area and the old links may be links in the flowchart drawing area. Specifically, the new connecting line is inserted to insert a new connecting line into the flowchart drawing area, that is, the dragged connecting line indicated by the connecting line dragging instruction is the new connecting line, and the second insertion position indicated by the connecting line dragging instruction is the new position; and moving the old connecting line to move the connecting line in the flow chart drawing area, namely, the dragged connecting line indicated by the connecting line dragging instruction is the original connecting line of the flow chart drawing area, and the second inserting position indicated by the connecting line dragging instruction is the moved position.
The link dragging instruction is an instruction generated in response to a user dragging a link through the method provided by the embodiment of the present invention, for example, the user triggers a corresponding link dragging instruction by selecting and dragging a link in a link selection area, and at this time, the execution main body obtains the link dragging instruction.
Here, the dragged connecting line includes a connecting line in the connecting line selection area or a connecting line in the flowchart drawing area.
Here, the second insertion position is used to represent a final position of the dragged link, i.e., a position where the dragging operation is stopped. For example, if the dragged link is from point a to point B to point C, the second insertion position is point C.
It should be noted that, a connection adjustment instruction, a connection dragging instruction, a connection direction determining instruction, a style operating instruction, a connection clicking instruction, a connection flipping instruction, a connection attribute configuration instruction, and the like may be subsequently triggered for the dragged connection.
According to the project research modeling method provided by the embodiment of the invention, the dragged connecting line indicated by the connecting line dragging instruction is determined, and the second inserting position indicated by the connecting line dragging instruction is determined, so that the dragged connecting line is inserted into the second inserting position to add the connecting line or move the connecting line, and therefore, the drawing of the technical route is realized, and the technical route selected by the project research can be visually and clearly expressed.
Based on any of the above embodiments, in this method, if the operation instruction is a node custom instruction of the node operation instruction, step 120 includes:
determining a newly added node indicated by the node self-defining instruction and a third insertion position indicated by the node self-defining instruction, wherein the node self-defining instruction is used for self-defining the graph of the newly added node;
inserting the newly added node into the third insertion position.
Here, the node customization instructions may be used to insert new nodes. The new node may be a newly drawn node. Specifically, the new node is inserted to insert the new node into the flowchart drawing area, that is, the third insertion position indicated by the node custom instruction is the new position.
The node custom instruction is an instruction generated in response to a custom drawing operation of an execution main body of a user through the method provided by the embodiment of the invention, for example, the user triggers a corresponding node custom instruction through operations such as clicking, dragging, drawing, setting, configuring and the like, and at this time, the execution main body acquires the node custom instruction.
Here, the newly added node may be drawn in the flowchart drawing area, or may be drawn in the custom drawing area, and then the newly added node after drawing is moved from the custom drawing area to the flowchart drawing area.
Here, the third insertion position is used to represent a final placement position of the newly added node, i.e., a newly added position.
In one embodiment, the node customization instructions are further used for customizing the attributes, connection rules, appearance, style and the like of the newly added node.
It should be noted that, subsequently, a node dragging instruction, a node connecting instruction, a text editing instruction, a style operating instruction, a node clicking instruction, a node flipping instruction, a node attribute configuration instruction, and the like may be triggered for the newly added node.
According to the project research modeling method provided by the embodiment of the invention, the newly added node indicated by the node self-defining instruction is determined, and the third inserting position indicated by the node self-defining instruction is determined, so that the newly added node is inserted into the third inserting position, the drawing of the technical node is realized, the technical route selected by the project research can be visually and clearly expressed, and the newly added node is obtained by self-defining, so that the personalization level of the drawing of the technical node is improved, the personalization level of the drawing of the technical route is further improved, and finally the personalization level of modeling is improved.
Based on any of the above embodiments, in this method, if the operation instruction is a connection custom instruction, the step 120 includes:
determining a newly-added connecting line indicated by the connecting line self-defining instruction and a fourth inserting position indicated by the connecting line self-defining instruction, wherein the connecting line self-defining instruction is used for self-defining a graph of the newly-added connecting line;
and inserting the newly added connecting line into the fourth inserting position.
Here, the wire customization instructions may be used to insert new wires. The new connection line may be a newly drawn connection line. Specifically, the new connection line is inserted to insert the new connection line in the flowchart drawing area, that is, the fourth insertion position indicated by the connection line custom instruction is the new addition position.
The connection custom instruction is an instruction generated in response to a custom drawing operation of an execution main body of a user through the method provided by the embodiment of the invention, for example, the user triggers a corresponding connection custom instruction through operations such as clicking, dragging, drawing, setting, configuring and the like, and at this time, the execution main body obtains the connection custom instruction.
Here, the newly added link may be drawn in the flowchart drawing area, or may be drawn in the custom drawing area, and the newly added link after being drawn is moved from the custom drawing area to the flowchart drawing area.
Here, the fourth insertion position is used to represent the final placement position of the newly added connecting line, i.e., the newly added position.
In one embodiment, the link customization instructions are also used to customize the attributes, appearance, style, etc. of the newly added link.
It should be noted that, a connection dragging instruction, a connection direction determining instruction, a style operating instruction, a connection clicking instruction, a connection flipping instruction, a connection attribute configuration instruction, and the like may be subsequently triggered for the newly added connection.
According to the project research modeling method provided by the embodiment of the invention, the newly added connecting line indicated by the connecting line self-defining instruction is determined, and the fourth inserting position indicated by the connecting line self-defining instruction is determined, so that the newly added connecting line is inserted into the fourth inserting position, the drawing of the technical route is realized, the technical route selected by the project research can be visually and clearly expressed, and the newly added connecting line is obtained by self-defining, so that the personalization level of the drawing of the technical route is improved, and the personalization level of modeling is finally improved.
Based on any of the above embodiments, in this method, if the operation instruction is a node connection instruction of the node operation instruction, the step 120 includes:
determining a first node to be connected and a second node to be connected, which are indicated by the node connection instruction;
determining a first pin to be connected of the first node to be connected and a second pin to be connected of the second node to be connected, which are indicated by the node connection instruction;
and connecting the first pin to be connected with the second pin to be connected.
Here, the node connection instruction may be used to indicate two target nodes to be connected, that is, a first node to be connected and a second node to be connected, and the node connection instruction may also be used to indicate pins to be connected of the two nodes to be connected.
In an embodiment, the node connection instruction may also be used to indicate a connection direction of two nodes to be connected. Specifically, a target connection line indicated by the node connection instruction and a connection line direction of the target connection line are determined, and a direction arrow of the target connection line is generated based on the connection line direction.
According to the project research modeling method provided by the embodiment of the invention, the first to-be-connected node and the second to-be-connected node indicated by the node connecting instruction are determined, the first to-be-connected pin of the first to-be-connected node and the second to-be-connected pin of the second to-be-connected node are determined, and the first to-be-connected pin and the second to-be-connected pin are connected, so that the drawing of a technical route is realized, and the technical route selected by the project research can be visually and clearly expressed.
Based on any of the above embodiments, in the method, if the operation instruction is a connection direction determining instruction, the step 120 includes:
determining a target connection line indicated by the connection direction determining instruction and a connection direction of the target connection line;
and generating a direction arrow of the target connecting line based on the connecting line direction.
Here, the link direction determining instruction may be used to indicate a link of a direction to be determined, that is, a target link, and the link direction determining instruction may also be used to indicate a link direction of the target link.
According to the project research modeling method provided by the embodiment of the invention, the target connecting line indicated by the connecting line direction determining instruction and the connecting line direction of the target connecting line are determined, and the directional arrow of the target connecting line is generated based on the connecting line direction, so that the directional connection between the technical nodes is realized, the drawing of the technical route is realized, and the technical route selected by the project research can be visually and clearly expressed.
Based on any of the above embodiments, in this method, if the operation instruction is a text editing instruction of the node operation instruction, the step 120 includes:
determining a node to be edited indicated by the text editing instruction and technical content indicated by the text editing instruction;
and carrying out technical annotation on the node to be edited based on the technical content.
Here, the text editing instruction may be used to insert text, specifically, insert text inside, above, below, to the left, or to the right of the node to be edited, that is, insert text in the flowchart drawing area.
The text editing instruction is an instruction generated in response to a user performing a text editing operation of the main execution body by using the method provided by the embodiment of the present invention, for example, the user triggers a corresponding text editing instruction by clicking (single-click or double-click, etc.), dragging, text editing, keyboard shortcut, and the like, and at this time, the main execution body obtains the text editing instruction.
Here, the node to be edited is a node to be subjected to technical labeling, and the node to be edited is a node in the flowchart drawing area.
Here, the technical content may be input by a user, so that the service data may be determined according to the service scenario and then input as the technical content.
Specifically, the technical content is filled into the interior, above, below, left or right of the node to be edited to complete the technical labeling of the node to be edited, so that the node to be edited becomes a real technical node.
It should be noted that, subsequently, a node dragging instruction, a node connecting instruction, a text editing instruction, a style operating instruction, a node clicking instruction, a node flipping instruction, a node attribute configuration instruction, and the like may be triggered for a node to be edited.
According to the project research modeling method provided by the embodiment of the invention, the node to be edited indicated by the text editing instruction and the technical content indicated by the text editing instruction are determined, and the technical marking is carried out on the node to be edited based on the technical content to realize the technical marking of the node, so that the drawing of the technical node is realized, the technical route selected by the project research can be visually and clearly expressed, and the technical content is obtained by self-definition, so that the service data of the node can be self-defined, the personalized level of the drawing of the technical node is improved, the personalized level of the drawing of the technical route is improved, and the personalized level of modeling is finally improved.
Based on any of the above embodiments, in the method, if the operation instruction is a style operation instruction, the step 120 includes:
determining an object to be set indicated by the style operation instruction and style operation content indicated by the style operation instruction;
and performing style setting on the object to be set based on the style operation content.
Here, the style operation instruction may be used to set the style of all elements on the flowchart, i.e., to adjust the style of each element in the flowchart drawing area.
The style operation instruction is an instruction generated in response to a style setting operation of an execution main body of the method provided by the embodiment of the present invention by a user, for example, the user triggers a corresponding style operation instruction through operations such as clicking (single-click or double-click), dragging, style editing, keyboard shortcut, and the like, and at this time, the execution main body obtains the style operation instruction.
Here, the object to be set is an element to be subjected to style setting, and the object to be set is an element in the flowchart drawing area. The object to be set may include, but is not limited to: nodes, links, anchors, directional arrows, alignment lines, grids, and the like.
Here, the style manipulation contents may be defined by a user, so that a front style may be determined according to a service scenario. The style manipulation content may include, but is not limited to: size, color, shape, etc.
For example, if the object to be set is a node and the style operation content is changed to yellow, the node is changed to yellow.
The project research modeling method provided by the embodiment of the invention determines the object to be set indicated by the style operation instruction and the style operation content indicated by the style operation instruction; and based on the style operation content, carrying out style setting on the object to be set so as to carry out style setting on the front-end element, thereby visually and clearly expressing the technical route selected by the project research, and the style operation content is obtained by self-defining, thereby self-defining the front-end style, thereby improving the personalized level drawn by the technical route and finally improving the personalized level of modeling.
Based on any of the above embodiments, in this method, if the operation instruction is a node attribute configuration instruction of the node operation instruction, step 120 includes:
determining a node to be configured indicated by the node attribute configuration instruction and a first configuration attribute of the node to be configured;
and performing attribute configuration on the node to be configured based on the first configuration attribute.
Here, the node property configuration instructions are for property configuration in a web interface. Specifically, the node attribute configuration instruction may be used to indicate a node to be configured; but also to indicate a first configuration attribute to be configured.
The node attribute configuration instruction is an instruction generated in response to an attribute configuration operation of an execution main body of the method provided by the embodiment of the present invention by a user, for example, the user triggers a corresponding node attribute configuration instruction by inputting a configuration attribute, and at this time, the execution main body obtains the node attribute configuration instruction.
The project research modeling method provided by the embodiment of the invention determines the node to be configured indicated by the node attribute configuration instruction and the first configuration attribute of the node to be configured; based on the first configuration attribute, the attribute configuration is carried out on the node to be configured so as to realize the attribute configuration of the node, thereby realizing the drawing of the technical node, further visually and clearly expressing the technical route selected by the project research, and the first configuration attribute is obtained by self-defining, thereby self-defining the service attribute of the node, further improving the personalized level drawn by the technical route, and finally improving the personalized level of modeling.
Based on any of the above embodiments, in the method, if the operation instruction is a connection attribute configuration instruction, the step 120 includes:
determining a connection to be configured indicated by the connection attribute configuration instruction and a second configuration attribute of the connection to be configured;
and performing attribute configuration on the connecting line to be configured based on the second configuration attribute.
Here, the connection attribute configuration instruction is used for attribute configuration in the web interface. Specifically, the connection attribute configuration instruction may be used to indicate a connection to be configured; may also be used to indicate a second configuration attribute to be configured.
The link attribute configuration instruction is an instruction generated in response to an attribute configuration operation of the execution main body of the method provided by the embodiment of the present invention by a user, for example, the user triggers a corresponding link attribute configuration instruction by inputting a configuration attribute, and at this time, the execution main body obtains the link attribute configuration instruction.
The project research modeling method provided by the embodiment of the invention determines the connecting line to be configured indicated by the connecting line attribute configuration instruction and the second configuration attribute of the connecting line to be configured; and based on the second configuration attribute, performing attribute configuration on the connecting line to be configured to realize attribute configuration of the connecting line so as to realize drawing of the technical route, and further visually and clearly express the technical route selected by project research.
According to any of the above embodiments, the method further includes, before the step 130:
determining a business scene of current project research;
and acquiring a target plug-in corresponding to the service scene, wherein the target plug-in comprises a node and/or a component, and the component is used for providing an editing function of the flow chart.
Here, the node can be customized, then the customized node is used as a plug-in, and the plug-in is opened to the community, so that the corresponding target plug-in can be obtained from the community subsequently based on the business scene of the current project research.
Or, the component can be customized, then the customized component is used as a plug-in, and the plug-in is opened to the community, so that the corresponding target plug-in can be obtained from the community subsequently based on the business scene of the current project research.
Here, the target plug-in may include 1 or more nodes, and the target plug-in may include 1 or more components.
Here, the components may be disposed in a menu bar area, a node right-click menu area, a control panel area, a shortcut operation area, and the like. The component may be a function option for providing editing functions of the flowchart.
The project research modeling method provided by the embodiment of the invention determines the service scene of the current project research, acquires the target plug-in corresponding to the service scene, adopts a plug-in mechanism, and can acquire the expanded nodes and components through the plug-in, thereby meeting more service requirements, drawing the technical nodes meeting the service requirements, and further drawing the technical routes meeting the service requirements, thereby visually and clearly expressing the technical routes selected by the project research.
According to any of the above embodiments, the method further includes, after the step 130:
and packaging the project research model and the authentication data to obtain packaged data for transmitting to back-end equipment.
Here, the certification data is platform certification data of the execution subject of the method provided by the embodiment of the present invention, and is used for the backend device to perform validity verification on the execution subject, so that the execution subject meeting the certification requirement may send the project research model to the backend device for project management. The specific packaging is set according to the backend device, and is not limited in this regard.
Further, the encapsulated data is sent to the back-end equipment, so that the back-end equipment can carry out validity verification processing and project management processing on the encapsulated data.
Here, the validity verification process is that the backend device verifies the authentication data of the execution subject of the method, and the backend device can perform project management on the authentication data only after the verification is successful.
Here, the project management process is to perform global management on project information, and output a project research model to a database for persistent storage for subsequent use.
In one embodiment, the encapsulated data is sent to the backend device in a Json data format.
According to the project research modeling method provided by the embodiment of the invention, through the mode, the modeling of the project research model depends on the web interface, the back-end basically has no weight-level embedded codes, and the back-end equipment only needs to receive the modeled project research model without concerning various flow chart drawing operations, so that the light-weight architecture deployment is realized to be integrated into an agricultural scientific research platform; meanwhile, the project research model and the authentication data are packaged, and the packaged data are subjected to validity verification processing, so that the safety is improved.
Based on any of the above embodiments, in the method, an extension packet may also be provided to store a node, a component, and the like with universality, so that after a service scenario of a current project research is determined, an extension packet corresponding to the service scenario is obtained.
In an actual application scene, the technical route selected by project research can be automatically drawn and drawn directly in project summary report of a web page of an agricultural scientific research platform. Meanwhile, the technical route map of the research project of the scientific research platform is displayed in a flow-type manner, so that the agricultural research project landfills can conveniently consider and maintain the technical route map, and the usability is high.
The project research modeling apparatus provided by the present invention is described below, and the project research modeling apparatus described below and the project research modeling method described above may be referred to in correspondence with each other.
Fig. 4 is a schematic structural diagram of a project research modeling apparatus provided in the present invention, and as shown in fig. 4, the project research modeling apparatus includes:
an obtaining module 410, configured to obtain an operation instruction;
the execution module 420 is configured to execute an operation corresponding to the operation instruction, so as to draw a project research flowchart;
a determining module 430, configured to determine a project research model based on the project research flow chart determined by each operation instruction;
the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
The project research modeling device provided by the embodiment of the invention obtains an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; and determining a project research model based on the project research flow chart determined by each operation instruction. Based on the mode, a project research model can be constructed by drawing a project research flow chart, the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated, so that the technical nodes can be drawn, the technical route can be drawn, and the technical route selected by the project research can be visually and clearly expressed.
Based on any of the above embodiments, if the operation instruction is a node drag instruction of the node operation instruction, the execution module 420 is further configured to:
determining a dragged node indicated by the node dragging instruction and a first inserting position indicated by the node dragging instruction;
and inserting the dragged node into the first insertion position.
Based on any of the above embodiments, if the operation instruction is a connection dragging instruction, the execution module 420 is further configured to:
determining a dragged connecting line indicated by the connecting line dragging instruction and a second inserting position indicated by the connecting line dragging instruction;
and inserting the dragged connecting line into the second inserting position.
Based on any of the above embodiments, if the operation instruction is a node self-defined instruction of the node operation instruction, the execution module 420 is further configured to:
determining a newly added node indicated by the node self-defining instruction and a third insertion position indicated by the node self-defining instruction, wherein the node self-defining instruction is used for self-defining the graph of the newly added node;
and inserting the newly added node into the third insertion position.
Based on any of the above embodiments, if the operation instruction is a node connection instruction of the node operation instruction, the executing module 420 is further configured to:
determining a first node to be connected and a second node to be connected, which are indicated by the node connection instruction;
determining a first pin to be connected of the first node to be connected and a second pin to be connected of the second node to be connected, which are indicated by the node connection instruction;
and connecting the first pin to be connected with the second pin to be connected.
Based on any of the above embodiments, if the operation instruction is a connection direction determining instruction, the execution module 420 is further configured to:
determining a target connection indicated by the connection direction determining instruction and a connection direction of the target connection;
and generating a direction arrow of the target connecting line based on the connecting line direction.
Based on any of the above embodiments, if the operation instruction is a text editing instruction of the node operation instruction, the executing module 420 is further configured to:
determining a node to be edited indicated by the text editing instruction and technical content indicated by the text editing instruction;
and carrying out technical annotation on the node to be edited based on the technical content.
Based on any of the above embodiments, if the operation instruction is a style operation instruction, the execution module 420 is further configured to:
determining an object to be set indicated by the style operation instruction and style operation content indicated by the style operation instruction;
and performing style setting on the object to be set based on the style operation content.
Based on any of the above embodiments, if the operation instruction is a node attribute configuration instruction of the node operation instruction, the execution module 420 is further configured to:
determining a node to be configured indicated by the node attribute configuration instruction and a first configuration attribute of the node to be configured;
and performing attribute configuration on the node to be configured based on the first configuration attribute.
Based on any of the above embodiments, if the operation instruction is a connection attribute configuration instruction, the execution module 420 is further configured to:
determining a connection to be configured indicated by the connection attribute configuration instruction and a second configuration attribute of the connection to be configured;
and performing attribute configuration on the connecting line to be configured based on the second configuration attribute.
Based on any embodiment above, the apparatus further comprises:
the scene determining module is used for determining the business scene of the current project research;
and the plug-in acquisition module is used for acquiring a target plug-in corresponding to the service scene, the target plug-in comprises a node and/or a component, and the component is used for providing an editing function of the flow chart.
Based on any embodiment above, the apparatus further comprises:
and the data encapsulation module is used for encapsulating the project research model and the authentication data to obtain encapsulated data for transmitting to the back-end equipment.
Fig. 5 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 5: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a project study modeling method comprising: acquiring an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; determining a project research model based on the project research flow chart determined by each operation instruction; the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing a project study modeling method provided by the above methods, the method comprising: acquiring an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; determining a project research model based on the project research flow chart determined by each operation instruction; the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a project study modeling method provided by performing the above methods, the method comprising: acquiring an operation instruction; executing the operation corresponding to the operation instruction to draw a project research flow chart; determining a project research model based on the project research flow chart determined by each operation instruction; the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A project study modeling method, comprising:
acquiring an operation instruction;
executing the operation corresponding to the operation instruction to draw a project research flow chart;
determining a project research model based on the project research flow chart determined by each operation instruction;
the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
2. The project research modeling method of claim 1, wherein if the operation instruction is a node drag instruction of the node operation instruction, the executing the operation corresponding to the operation instruction comprises:
determining a dragged node indicated by the node dragging instruction and a first inserting position indicated by the node dragging instruction;
inserting the dragged node into the first insertion position;
if the operation instruction is a connection dragging instruction, the executing operation corresponding to the operation instruction comprises:
determining a dragged connecting line indicated by the connecting line dragging instruction and a second inserting position indicated by the connecting line dragging instruction;
and inserting the dragged connecting line into the second inserting position.
3. The project research modeling method of claim 1, wherein if the operation command is a node custom command of the node operation command, the executing the operation corresponding to the operation command comprises:
determining a newly added node indicated by the node self-defining instruction and a third insertion position indicated by the node self-defining instruction, wherein the node self-defining instruction is used for self-defining a graph of the newly added node;
inserting the newly added node into the third insertion position.
4. The project research modeling method of claim 1, wherein if the operation instruction is a node connection instruction of the node operation instruction, the executing operation corresponding to the operation instruction comprises:
determining a first node to be connected and a second node to be connected which are indicated by the node connection instruction;
determining a first pin to be connected of the first node to be connected and a second pin to be connected of the second node to be connected, which are indicated by the node connection instruction;
connecting the first pin to be connected with the second pin to be connected;
if the operation instruction is a connection direction determination instruction, the executing operation corresponding to the operation instruction comprises:
determining a target connection line indicated by the connection direction determining instruction and a connection direction of the target connection line;
and generating a direction arrow of the target connecting line based on the connecting line direction.
5. The project research modeling method of claim 1, wherein if the operation instruction is a text editing instruction of the node operation instruction, the executing operation corresponding to the operation instruction comprises:
determining a node to be edited indicated by the text editing instruction and technical content indicated by the text editing instruction;
and carrying out technical annotation on the node to be edited based on the technical content.
6. The project research modeling method of claim 1, wherein if the operation command is a style operation command, the executing the operation corresponding to the operation command comprises:
determining an object to be set indicated by the style operation instruction and style operation content indicated by the style operation instruction;
and carrying out style setting on the object to be set based on the style operation content.
7. The project research modeling method of claim 1, wherein, if the operation command is a node attribute configuration command of the node operation command, the executing operation corresponding to the operation command comprises:
determining a node to be configured indicated by the node attribute configuration instruction and a first configuration attribute of the node to be configured;
based on the first configuration attribute, performing attribute configuration on the node to be configured;
if the operation instruction is a connection attribute configuration instruction, the executing operation corresponding to the operation instruction includes:
determining a connection to be configured indicated by the connection attribute configuration instruction and a second configuration attribute of the connection to be configured;
and performing attribute configuration on the connecting line to be configured based on the second configuration attribute.
8. The project study modeling method of any of claims 1-7, wherein the project study model is determined based on the project study flow chart determined by each operating instruction, and further comprising:
determining a business scene of current project research;
and acquiring a target plug-in corresponding to the service scene, wherein the target plug-in comprises a node and/or a component, and the component is used for providing an editing function of the flow chart.
9. The project study modeling method of any of claims 1-7, wherein the project study model is determined based on the project study flow chart determined by each operating instruction, and thereafter further comprising:
and packaging the project research model and the authentication data to obtain packaged data for transmitting to back-end equipment.
10. A project study modeling apparatus, comprising:
the acquisition module is used for acquiring an operation instruction;
the execution module is used for executing the operation corresponding to the operation instruction so as to draw a project research flow chart;
the determining module is used for determining a project research model based on the project research flow chart determined by each operating instruction;
the operation instructions comprise node operation instructions, and the node operation instructions are used for indicating the technical nodes to be operated and indicating operation contents for operating the technical nodes.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of project study modeling according to any of claims 1 to 9 when executing the program.
12. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the project study modeling method of any of claims 1 to 9.
CN202210996324.XA 2022-08-19 2022-08-19 Project research modeling method and device, electronic equipment and storage medium Active CN115079918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210996324.XA CN115079918B (en) 2022-08-19 2022-08-19 Project research modeling method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210996324.XA CN115079918B (en) 2022-08-19 2022-08-19 Project research modeling method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115079918A true CN115079918A (en) 2022-09-20
CN115079918B CN115079918B (en) 2022-11-18

Family

ID=83245130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210996324.XA Active CN115079918B (en) 2022-08-19 2022-08-19 Project research modeling method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115079918B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677811A (en) * 2013-11-26 2014-03-26 中国空间技术研究院 Design system and method of spacecraft development process
JP2016115017A (en) * 2014-12-12 2016-06-23 日本電信電話株式会社 Method and program for creating flow chart
CN107943464A (en) * 2017-12-18 2018-04-20 苏州蜗牛数字科技股份有限公司 A kind of method of the graph visualization displaying and editor of programmed logic
CN109582299A (en) * 2018-11-27 2019-04-05 西北工业大学 A kind of automatic layout algorithm of serial parallel nesting subtask flow chart
CN110363828A (en) * 2019-06-18 2019-10-22 深圳壹账通智能科技有限公司 A kind of method for drawing flow chart and the equipment for drawing flow chart
CN111782329A (en) * 2020-07-03 2020-10-16 北京字节跳动网络技术有限公司 Node dragging method, device, equipment and computer readable medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677811A (en) * 2013-11-26 2014-03-26 中国空间技术研究院 Design system and method of spacecraft development process
JP2016115017A (en) * 2014-12-12 2016-06-23 日本電信電話株式会社 Method and program for creating flow chart
CN107943464A (en) * 2017-12-18 2018-04-20 苏州蜗牛数字科技股份有限公司 A kind of method of the graph visualization displaying and editor of programmed logic
CN109582299A (en) * 2018-11-27 2019-04-05 西北工业大学 A kind of automatic layout algorithm of serial parallel nesting subtask flow chart
CN110363828A (en) * 2019-06-18 2019-10-22 深圳壹账通智能科技有限公司 A kind of method for drawing flow chart and the equipment for drawing flow chart
CN111782329A (en) * 2020-07-03 2020-10-16 北京字节跳动网络技术有限公司 Node dragging method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN115079918B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
US9892531B2 (en) Chart data-binding design time user experience with dynamic sample generation
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
CN105955888B (en) Page debugging preview method and system
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
CN109375914B (en) Information remote interaction method and system
US9575950B2 (en) Systems and methods for managing spreadsheet models
EP3028188A1 (en) Three dimensional conditional formatting
CN111984902A (en) Visual page configuration method, system, computer equipment and storage medium
US20180315400A1 (en) Rendering graphical assets on electronic devices
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN111596848A (en) Interface color taking method, device, equipment and storage medium
CN105094540A (en) Method and device for software icon display
CN108334385A (en) A kind of the user interface skins management method and device of application
CN104503737B (en) A kind of unified Modeling platform
US10289388B2 (en) Process visualization toolkit
CN115079918B (en) Project research modeling method and device, electronic equipment and storage medium
US20230290095A1 (en) User-interface-framework based processing method, apparatus, device, and medium
US10409575B2 (en) System and method for developing software applications of wearable devices
CN111324381A (en) Development system, development method, development apparatus, computer device, and storage medium
CN116301785A (en) Method and device for realizing custom text editor component
KR100603580B1 (en) Method for realizing user interface of mobile terminal
CN115691772A (en) Operation visualization system and corresponding computer device and storage medium
CN115249284A (en) Visual view construction method and device
CN112486378A (en) Graph generation method, device, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant