CN110853115A - Method and equipment for creating development process page - Google Patents

Method and equipment for creating development process page Download PDF

Info

Publication number
CN110853115A
CN110853115A CN201910974771.3A CN201910974771A CN110853115A CN 110853115 A CN110853115 A CN 110853115A CN 201910974771 A CN201910974771 A CN 201910974771A CN 110853115 A CN110853115 A CN 110853115A
Authority
CN
China
Prior art keywords
node
flow
development
product
page
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
CN201910974771.3A
Other languages
Chinese (zh)
Other versions
CN110853115B (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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology Co Ltd
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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN201910974771.3A priority Critical patent/CN110853115B/en
Publication of CN110853115A publication Critical patent/CN110853115A/en
Application granted granted Critical
Publication of CN110853115B publication Critical patent/CN110853115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention is suitable for the technical field of computers, and provides a method and equipment for creating a development process page, wherein the method comprises the following steps: receiving a development process image of a product to be developed, carrying out image analysis on the development process image, and outputting development process information of the product to be developed; downloading a flow page template matched with the product type based on the product type of the product to be developed; searching a process node template associated with the node content from the process page template according to the node content of each process node in the development process information, and importing the node content into the associated process node template to obtain a node module; and according to the node sequence of each process node, sequentially connecting each node module through a process connecting line model to generate a development process page of the product to be developed. The invention can realize automatic node module creation, improve the creation efficiency, ensure the uniform style of the same type of products and improve the standardization of the development process page.

Description

Method and equipment for creating development process page
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method and equipment for creating a development process page.
Background
The process development page is one of the most important development documents in the product development stage, and the convenience of creation of the process development page directly influences the progress of product development. With the continuous improvement of the product release speed and the update speed, the creation requirement of the process development page is greater and greater, and therefore a technology for quickly generating the process development page is urgently needed.
The existing process page development technology is mainly to manually configure corresponding nodes for each step in a flowchart according to a development flowchart, perform node module layout on each node in a preset page, and generate a development process page corresponding to the development flowchart.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for creating a development process page, so as to solve the problem that, in the existing development process page creation technology, a user needs to manually configure corresponding nodes for each step in a flowchart, and perform node module layout on each node in a preset page, which takes a lot of time in node creation and page layout, and the development speed is low.
A first aspect of an embodiment of the present invention provides a method for creating a development flow page, including:
receiving a development process image of a product to be developed, carrying out image analysis on the development process image, and outputting development process information of the product to be developed;
downloading a flow page template matched with the product type based on the product type of the product to be developed; the flow page template comprises a flow node model and a flow connecting line model;
searching a process node template associated with the node content from the process page template according to the node content of each process node in the development process information, and importing the node content into the associated process node template to obtain a node module;
and according to the node sequence of each flow node, sequentially connecting each node module through a flow connecting line model to generate a development flow page of the product to be developed.
A second aspect of an embodiment of the present invention provides a device for creating a development flow page, including:
the development process information output unit is used for receiving a development process image of a product to be developed, carrying out image analysis on the development process image and outputting development process information of the product to be developed;
the flow page template downloading unit is used for downloading a flow page template matched with the product type based on the product type of the product to be developed; the flow page template comprises a flow node model and a flow connecting line model;
a node module creating unit, configured to search, according to node contents of each flow node in the development flow information, a flow node template associated with the node contents from the flow page template, and import the node contents into the associated flow node template to obtain a node module;
and the node module connecting unit is used for sequentially connecting each node module through a process connecting line model according to the node sequence of each process node to generate a development process page of the product to be developed.
A third aspect of embodiments of the present invention provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of the first aspect.
The method and the equipment for creating the development process page provided by the embodiment of the invention have the following beneficial effects that:
the embodiment of the invention extracts the development process information of the product to be developed by carrying out image analysis on the received development process image, and a flow page template corresponding to the product type of the product to be developed is obtained according to the product type, a flow node template associated with each development node in the development flow information is selected from the flow page templates, the development content corresponding to each development node is respectively led into the associated flow node templates to generate a node module of the flow node, and according to the node module of each process node and based on the corresponding node sequence of each process node in the development process image, the development process page of the product to be developed is generated by sequentially connecting the node modules through the process connecting line model in the process page template, so that the development quantity flow chart is automatically converted into the development process page, and the creation efficiency of the development process page is improved. Compared with the existing establishment technology of the development process page, the method and the device do not need a user to manually establish the node module, can acquire the process page template matched with the type of the product to be developed, and automatically fills the development process information extracted from the development process image into each process node model in the process page template, thereby not only realizing automatic establishment of the node module and improving the establishment efficiency, but also ensuring the uniform style of the products of the same type and improving the standardization of the development process page.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a method for creating a development flow page according to a first embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of a method S101 for creating a development flow page according to a second embodiment of the present invention;
fig. 3 is a flowchart of a specific implementation of a method S103 for creating a development flow page according to a third embodiment of the present invention;
fig. 4 is a flowchart of a specific implementation of a method S104 for creating a development flow page according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a specific implementation of the creating method S102 for a development flow page according to a fifth embodiment of the present invention;
fig. 6 is a block diagram of a device for creating a development flow page according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention analyzes the image of the received development flow image, extracts the development flow information of the product to be developed, acquires the corresponding flow page template according to the product type of the product to be developed, selects the flow node template associated with each development node in the development flow information from the flow page template, respectively introduces the development content corresponding to each development node into the associated flow node template, generates the node module of the flow node, and sequentially connects each node module through the flow connecting line model in the flow page template according to the node module of each flow node and the corresponding node sequence of each flow node in the development flow image to generate the development flow page of the product to be developed, thereby realizing the automatic conversion from the development flow chart to the development flow page and improving the creation efficiency of the development flow page, the method solves the problems that in the existing technology for creating the development process page, a user needs to manually configure corresponding nodes for each step in the flow chart, and node module layout is carried out on each node in a preset page, so that a great deal of time is spent on node creation and page layout, and the development speed is low.
In the embodiment of the invention, the execution subject of the process is the terminal equipment. The terminal devices include but are not limited to: the device comprises a server, a computer, a smart phone, a tablet computer and the like, and can execute the creating operation of the development process page. Fig. 1 shows an implementation flowchart of a method for creating a development flow page according to a first embodiment of the present invention, which is detailed as follows:
in S101, a development flow image of a product to be developed is received, image analysis is performed on the development flow image, and development flow information of the product to be developed is output.
In this embodiment, the terminal device may receive a development flow image sent by a developer, in this case, the developer may collect the development flow image through a camera module of a local user terminal, and package the collected development flow image into a flow page creation request, the user terminal sends the flow page creation request to the terminal device, and after receiving the flow page creation request, the terminal device triggers execution of operations from S101 to S104. In the initial stage of conception of the product to be developed, developers often record the development idea of the product to be developed on a paper carrier or draw a development process in an image mode, and a terminal device can convert the development process of a paper edition into a development process image in a scanning or shooting mode or receive the development process image sent by a user. However, the development flow image cannot be compiled, for example, when steps between nodes need to be adjusted or flow nodes need to be added in the actual development process, the development flow image needs to be redrawn, so that the development flow image is suitable for the initial stage of product development, and in the product development implementation stage, because the editability is poor, the development flow image needs to be converted into a display form, namely a development flow page, which is more suitable for editing and adding dynamic parameters such as associated events and actions.
Optionally, the terminal device is provided with a scanning module, a developer may place an object recorded with development process content in the scanning module, and when the terminal device detects that the object to be scanned is placed in the scanning module, the scanning module is started to obtain a scanned image of the object to be scanned, and detect whether the scanned image is a development process image, for example, detect whether the scanned image includes an identifier corresponding to the development process image at a preset position, or obtain a ratio between white pixels and black pixels in the development process image, and determine whether the ratio is within a preset effective range, thereby achieving the purpose of detecting the type of the scanned image. And if the scanning object is detected to be the development flow chart, triggering and executing the operations from S101 to S104.
Optionally, the terminal device may be provided with a legal product list, and the development flow image carries a product number of a product to be developed. Under the condition, before analyzing the development process image, the terminal device can extract the product number from the development process image, search whether the product number exists in a legal product list or not, if the product number does not exist in the legal product list, identify the product to be developed as an illegal product, and output illegal information of a creation request so as to facilitate a user to carry out legal authorization operation on the product to be developed; otherwise, if the product number exists in the legal product list, the product to be developed is identified as a legal product, and the operations from S101 to S104 are performed.
In this embodiment, after receiving the development flow image, the terminal device may extract only development flow information from the development flow image through a preset image analysis algorithm. For example, the image Recognition algorithm may be an Optical Character Recognition (OCR) algorithm, and node contents of each flow node are extracted from the development flow image, and an identification order of each node content is used as a node order of the flow node, so that development flow information of the product to be developed is generated based on the node contents and the node order.
Optionally, in this embodiment, the terminal device may perform preprocessing on the development flow image, for example, filter noise in the development flow image through a filter, convert the development flow image into a grayscale map or a binarization map through a graying or binarization algorithm, and then extract the preprocessed development flow image through a character recognition algorithm, so as to improve accuracy of character recognition.
In S102, downloading a flow page template matched with the product type based on the product type of the product to be developed; the flow page template comprises a flow node model and a flow connecting line model.
In this embodiment, after the terminal device extracts the development flow information from the development flow image, it needs to generate a corresponding development flow page according to the development flow information, and based on this, in order to achieve uniform styles of development flow pages of products of the same type, so as to improve the compiling and reading speeds of developers on the development flow pages, the terminal device determines the product type of a product to be developed, and downloads a flow page template matched with the product type.
In this embodiment, the flow page templates of different product types may be stored in the database, and configured with an index table of the product types and the flow page templates. After acquiring the product type of the product to be developed, the terminal device can query the storage position of the flow page template associated with the product type through the index table, extract the flow page template from the corresponding storage position in the database, and download the flow page template into a local storage unit so as to execute the subsequent creation flow of the node module.
In this embodiment, the flow page template includes a flow node model and a flow connecting line model, and the style of the development flow page can be defined by the flow node model and the flow connecting line model, so that the page style can be unified. For example, default border colors, default background colors, transparency and the like of each process node model are set, and similarly, default pound numbers, line colors and the like of the process connecting line models can also be set, so that developers can not perform style configuration or style selection on each process node, and the creation efficiency of the development process page is improved. Optionally, the process page template further includes page composition, associated display areas are configured for different node orders, and after the node modules of each process node are generated, the node modules can be added into the display areas associated with the node orders according to the node orders of the process nodes, so that the page composition style of the whole development process is guaranteed to be uniform.
In S103, according to the node content of each process node in the development process information, a process node template associated with the node content is searched from the process page template, and the node content is imported into the associated process node template to obtain a node module.
In this embodiment, the terminal device needs to create a corresponding node module for each process node in the development process information, and therefore, a process node module associated with each process node needs to be determined first. Due to different operation types, corresponding flow node frames are different, for example, a rhombic flow frame is adopted for the branch judgment selection operation; for start-stop operation, a rounded rectangular flow block is used. Therefore, the terminal device needs to identify the operation type of each process node according to the content of the node in the process node, and search the associated process node template in the process page template based on the operation type.
Optionally, in this embodiment, the terminal device may extract the node keywords in the node content through a semantic analysis algorithm, determine whether the node keywords of the process node include the type keywords of each preset operation type, identify the operation type of the preset operation as the operation type of the process node if the node keywords of the process node include any type keyword of the preset operation, and identify the process node template associated with the operation type as the process node template associated with the process node.
In this embodiment, the flow node template is provided with a text format and a layout format, based on which, the terminal device may convert the node content of the flow node into the corresponding text format, adjust the layout format of the node content to the associated layout format, and add the set node content into the flow node template.
In S104, according to the node order of each process node, each node module is sequentially connected through a process connection line model, and a development process page of the product to be developed is generated.
In this embodiment, the terminal device determines a node order of each process node according to a correlation of each process node in the development process image, introduces each generated node module into a preset display interface based on the node order, and sequentially connects each node template through a process connection line model, thereby creating a development process page of the product to be developed.
In this embodiment, the development flow page is a digital page, that is, the page display may be performed through an electronic device, a developer may select a corresponding node module by clicking or framing if it is necessary to adjust an operation of a certain flow node in a development process, and edit a node content in the node module, after the editing is completed, the terminal device may perform node keyword extraction on the node content in the node module again, determine whether an operation type of the node module changes, and if it is detected that the operation type changes, adjust the flow node module of the current node module to a flow node module associated with the changed operation type.
Optionally, in this embodiment, if a developer needs to add a flow node or delete a flow node, a corresponding editing operation may be performed in the flow development page.
As can be seen from the above, the method for creating a development flow page provided in the embodiment of the present invention extracts development flow information of a product to be developed by performing image analysis on a received development flow image, acquires a flow page template corresponding to the product according to the product type of the product to be developed, selects a flow node template associated with each development node in the development flow information from the flow page template, respectively introduces development contents corresponding to each development node into the associated flow node template to generate a node module of the flow node, sequentially connects each node module through a flow connecting line model in the flow page template according to the node module of each flow node and based on the node order corresponding to each flow node in the development flow image, generates a development flow page of the product to be developed, and realizes automatic conversion from a development amount flow chart to the development flow page, the creating efficiency of the development process page is improved. Compared with the existing establishment technology of the development process page, the method and the device do not need a user to manually establish the node module, can acquire the process page template matched with the type of the product to be developed, and automatically fills the development process information extracted from the development process image into each process node model in the process page template, thereby not only realizing automatic establishment of the node module and improving the establishment efficiency, but also ensuring the uniform style of the products of the same type and improving the standardization of the development process page.
Fig. 2 shows a flowchart of a specific implementation of the method S101 for creating a development flow page according to the second embodiment of the present invention. Referring to fig. 2, with respect to the embodiment described in fig. 1, a method S101 for creating a development flow page provided in this embodiment includes: s1011 to S1014 are specifically described as follows:
further, the receiving a development process image about a product to be developed, performing image analysis on the development process image, and outputting development process information of the product to be developed includes:
in S1011, a contour curve is extracted from the development flow image, and the development flow image is divided into a plurality of flow node sub-images based on the contour curve.
In this embodiment, the terminal device needs to divide the development flow image according to different flow nodes, based on which, a flow node sub-image corresponding to each flow node needs to be determined, and the node content of each flow node is often recorded in one flow frame, so that different flow nodes can be divided based on the flow frame. Therefore, the terminal device can identify the contour curve contained in the development flow image, determine the type of the contour curve based on the shape and the closing of the contour curve, and if the curve type of a certain contour curve is the flow frame type, divide the development flow image into a plurality of different flow node sub-images through the contour curve with the curve type as the flow frame type.
Optionally, in this embodiment, the manner of identifying whether the curve type of the contour curve is the flow box type may be: the method comprises the steps that terminal equipment obtains pixel values of all pixel points in a development process image, pixel value difference values between all pixel points and adjacent pixel points are detected and traversed, if the pixel value difference values are larger than a preset difference threshold value, the pixel points are identified as contour pixel points, all the contour pixel points are connected to obtain a candidate curve, if the candidate curve is a closed curve, the area covered by the closed curve is detected, and if the covered area is larger than a preset effective area, the closed curve is identified as a contour curve of a process frame.
In this embodiment, after the profile curve is identified and obtained by the terminal device, the terminal device may mark the development flow image according to the position coordinates of the profile curve, and identify an area surrounded by the profile curve as a flow node sub-image of the associated flow node, so that the development flow image may be divided into sub-images based on the difference of the flow nodes.
At 1012, the node order of the process nodes is determined according to the coordinate positions of the sub-images of the process nodes in the development process diagram.
In this embodiment, after dividing the flow node sub-image, the terminal device may obtain the center coordinates of the flow node sub-image, and identify and obtain the node order of each flow node according to the position of each center coordinate in the development flow chart, specifically, if the number of rows of the center coordinates of the flow node is smaller, the node order of the flow node is earlier; if the number of rows of the center coordinates of the two process nodes is the same, detecting the number of columns of the center coordinates, and if the number of columns is smaller, determining the node order of each process node from top to bottom and from left to right in sequence based on the judgment algorithm, wherein the node order of each process node is the earlier the node order of the process node is.
Optionally, in this embodiment, the terminal device may identify an orientation of the development flowchart, and rotate the development flowchart based on the orientation, so that the orientation of the development flowchart is adjusted to a preset orientation, for example, a front direction, so as to improve accuracy of subsequent node order identification.
In S1013, the node content of the flow node is extracted from the flow node sub-image by a character recognition algorithm.
In this embodiment, the terminal device may determine character information included in the flow sub-image through a character recognition algorithm, for example, the above-mentioned ORC character recognition algorithm, and encapsulate all the character information to obtain node content about the flow node. Optionally, the contour curve is extracted in S1011, and other contour lines of the non-contour curve are compared with each character template, so that characters corresponding to each contour line can be determined, and character recognition is achieved.
In S1014, an association relationship between the node order and the node content is established, and the development process information is generated according to the association relationship, the node order, and the node content.
In this embodiment, after determining the node order and the node content, the terminal device may establish an association relationship between the node order and the node content, and package the association relationship, the node content, and the node order to generate development flow information of a product to be developed. In subsequent operations, the terminal device may extract the corresponding node content according to the node order.
In the embodiment of the invention, the development process image is divided according to the process nodes by carrying out contour curve recognition on the development process image, and the character recognition operation and the node order determination are respectively carried out, so that the accuracy of node information extraction of the process nodes can be improved.
Fig. 3 shows a flowchart of a specific implementation of the method S103 for creating a development flow page according to the third embodiment of the present invention. Referring to fig. 3, with respect to the embodiment described in fig. 1, a method S103 for creating a development flow page provided in this embodiment includes: s1031 to S1034 are specifically described as follows:
further, the searching, according to the node content of each process node in the development process information, a process node template associated with the node content from the process page template, and importing the node content into the associated process node template to obtain a node module includes:
in S1031, the resolution of the development flow image is acquired, and the scaling is determined based on the resolution.
In this embodiment, the terminal device may determine the node type of the flow node according to the appearance characteristic of the profile curve of the flow node, so as to select the flow page template associated therewith. In order to improve the accuracy of the appearance feature identification of the subsequent contour curve, the contour curve needs to be standardized. Based on this, the terminal device needs to acquire the resolution of the development process image, and since the development process image can be sent by the user terminal, the number of pixel points and the display scale included in the contour curve can be affected due to different resolutions of the user terminals when acquiring or creating images, and the scaling for performing the standardized processing on the contour curve needs to be determined according to the ratio between the resolution of the development process image and the preset resolution of the standard image.
In S1032, the contour curve of the flow node is normalized based on the scaling ratio, and a normalized contour curve is obtained.
In this embodiment, the terminal device may scale the contour curve according to the scaling ratio, thereby generating a normalized contour curve. Preferably, the terminal device can also obtain the transverse-longitudinal ratio of the standard image, and stretch the profile curve in proportion based on the transverse-longitudinal ratio, so as to further improve the accuracy of subsequent similarity comparison operation with the standard curve.
In S1033, the degree of similarity between the normalized outline curve and the standard curve of each candidate page template is calculated.
In this embodiment, after the terminal device performs the normalization processing on the outline curve, the terminal device may perform similarity calculation operation on the outline curve and a standard curve preset by each candidate page template. The specific way of calculating the similarity may be: drawing the standardized outline curve and the standard curve on a preset page, detecting the number of pixels overlapped between the two curves, and determining the similarity between the two curves based on the proportion of the number of the overlapped pixels to the total number of the pixels.
In S1034, the candidate page template with the highest similarity is selected as the flow page template associated with the flow node.
In this embodiment, after the terminal device calculates the similarity between the contour curve and each standard curve, a candidate page template with the highest similarity may be selected as the process page template associated with the process node. Preferably, the terminal device may further be provided with a similarity threshold, and if it is detected that the similarity between the standard curve and the contour curve of each candidate page module is lower than the similarity threshold, it is identified that there is no associated flow page template for the contour curve, and abnormal node template matching information is output, so that a user performs manual configuration.
In the embodiment of the invention, the accuracy of the process page template matching of the process nodes can be improved by acquiring the resolution of the development process page and carrying out standardized processing on the profile curve.
Fig. 4 is a flowchart illustrating a specific implementation of the method S104 for creating a development flow page according to a fourth embodiment of the present invention. Referring to fig. 4, with respect to the embodiments described in fig. 1 to 3, a method S104 for creating a development flow page provided in this embodiment includes: s1041 to S1045 are specifically detailed as follows:
further, the sequentially connecting the node modules through a process connecting line model according to the node order of each process node to generate a development process page of the product to be developed includes:
in S1041, a node keyword included in the node content of the node module is extracted.
In this embodiment, in the process of creating a development flow page, the terminal device may configure corresponding node actions, such as a jump action, a window pop-up, and the like, for each flow page, so that readability and interactivity of the development flow page may be improved, and a specific action type needs to be determined according to the node content of the flow node.
In this embodiment, the terminal device may extract candidate keywords included in the node content through a preset semantic analysis algorithm, identify word attributes of each candidate keyword, and extract the candidate keywords with preset word attributes as the node keywords.
In S1042, part-of-speech dimension values of the respective node keywords in a plurality of preset part-of-speech dimensions are identified, and word vectors for the node keywords are generated based on the respective part-of-speech dimension values.
In this embodiment, the terminal device is preset with a plurality of part-of-speech dimensions, and is used to represent the dimensional characteristics of the keyword in the part-of-speech dimension according to the numerical size of the part-of-speech dimension. For example, a part of speech dimension is a positive and negative dimension, and if the value of a certain node keyword in the positive and negative dimension is larger, the higher the positive and negative dimension is, the higher the degree of the positive and negative dimension is represented by the node keyword; on the contrary, if the smaller the value of the positive and negative dimensionality is, the higher the compiling degree of the node keyword is, so that each node keyword is limited by the part-of-speech dimensionality value of each part-of-speech dimensionality, the association degree and the word meaning among different node keywords can be determined, and the subsequent identification of association action is facilitated.
In this embodiment, the terminal device may configure corresponding dimension orders for different part-of-speech dimensions, and sequentially import part-of-speech dimension values of the node keyword in each part-of-speech dimension into the vector template based on the dimension orders, thereby generating a word vector related to the node keyword.
In S1043, word vectors of all node keywords of the node module are merged to obtain a keyword array of the node module.
In this embodiment, the terminal device may use the appearance order of each node keyword in the node content as the word sequence number of the node keyword, and sequentially merge each word vector based on the word sequence number, thereby creating the keyword array of the node module. For example, if the word vector includes n part-of-speech dimensions, the word vector is a 1 × n-dimensional word vector; if the node module contains m node keywords, the created keyword array is a m × n-dimensional keyword array.
In S1044, a matching degree between the keyword array and each preset standard matrix of candidate node actions is calculated, and the candidate node action with the highest matching degree is selected as a target node action of the node module.
In this embodiment, the terminal device may create a pooling matrix according to the number of rows and columns of the keyword array and the standard dimension of the standard matrix by obtaining the number of rows and columns of the keyword array, and perform pooling dimension reduction operation on the keyword array through the pooling matrix, so that the number of rows and columns of the keyword array after pooling dimension reduction is consistent with the number of rows and columns of the standard matrix. After the pooling dimension reduction operation is performed, the convolution sum between the keyword array and the standard array after pooling dimension reduction can be calculated, and the higher the numerical value of the convolution sum is, the higher the matching degree of the keyword array and the standard array is; conversely, the smaller the value of the convolution sum, the smaller the matching degree between the two.
In this embodiment, the terminal device may select a candidate node action with the highest matching degree as a target node action associated with the node module, and add the target node action to the node module.
In S1045, the development flow page is generated based on the target node action.
In this embodiment, the terminal device may encapsulate each node module to which a node action is added, and connect each node module through the process connection line model to obtain a development process page of the product to be developed.
In the embodiment of the invention, the node keywords of the node content are identified, the node keywords are digitally converted through a plurality of preset part-of-speech dimensions to generate the keyword array of the node module, and then the target node action matched with the node module is obtained through the keyword array, so that the aim of automatically configuring the node action is fulfilled, and the automation degree of page configuration is improved.
Fig. 5 is a flowchart illustrating a specific implementation of the method S102 for creating a development flow page according to a fifth embodiment of the present invention. Referring to fig. 5, with respect to the embodiments described in fig. 1 to fig. 3, a method S102 for creating a development flow page provided in this embodiment includes: s1021 to S1023 are described in detail as follows:
further, the determining the tag weight of each page tag based on the number of occurrences of the page tag preset by the candidate page in the candidate page includes:
in S1021, a product serial number of the product to be developed is acquired.
In this embodiment, the development flow image may carry a product serial number of a product to be developed, and the terminal device may extract the serial number of the development flow image, so as to obtain the product serial number. Of course, the terminal device may also obtain a product serial number corresponding to the product representation by querying according to the product identifier of the product to be developed.
In S1022, a difference between the historical serial number of each existing product and the product serial number is calculated.
In this embodiment, the terminal device may obtain the historical serial numbers of all existing products, and calculate the difference between the historical serial numbers of the existing products and the product serial numbers of the products to be developed currently, and if the difference between the product serial numbers of the two products is smaller, the probability that the two products belong to the same type of product is larger, so that the associated products of the products to be developed may be obtained according to the difference between the serial numbers.
In S1023, the product type of the existing product in which the difference is smallest is identified as the product type of the product to be developed.
In this embodiment, the terminal device may identify the existing product with the smallest difference as the associated product of the product to be developed, and identify the product type of the associated product as the product type of the product to be developed.
In the embodiment of the invention, the product serial number of the product to be developed is obtained, so that the existing product with higher association degree can be determined, the product type of the existing product is identified as the product type of the product to be developed, and the purpose of automatically identifying the product type is identified.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 6 is a block diagram illustrating a structure of a device for creating a development flow page according to an embodiment of the present invention, where the device for creating a development flow page includes units for executing steps in the embodiment corresponding to fig. 1. Please refer to fig. 1 and fig. 1 for the corresponding description of the embodiment. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 6, the creating device of the development flow page includes:
a development flow information output unit 61, configured to receive a development flow image of a product to be developed, perform image analysis on the development flow image, and output development flow information of the product to be developed;
a flow page template downloading unit 62, configured to download a flow page template matched with the product type based on the product type of the product to be developed; the flow page template comprises a flow node model and a flow connecting line model;
a node module creating unit 63, configured to search, according to node contents of each flow node in the development flow information, a flow node template associated with the node contents from the flow page template, and import the node contents into the associated flow node template to obtain a node module;
and the node module connecting unit 64 is configured to sequentially connect each node module through a process connecting line model according to the node sequence of each process node, and generate a development process page of the product to be developed.
Optionally, the development flow information output unit 61 includes:
extracting a contour curve from the development process image, and dividing the development process image into a plurality of process node sub-images based on the contour curve;
determining the node sequence of the process nodes according to the coordinate positions of the sub-images of the process nodes in the development process diagram;
extracting the node content of the process node from the process node subimage through a character recognition algorithm;
and establishing an incidence relation between the node sequence and the node content, and generating the development process information according to the incidence relation, the node sequence and the node content.
Optionally, the node module creating unit 63 includes:
the scaling determining unit is used for acquiring the resolution of the development flow image and determining the scaling based on the resolution;
the contour curve scaling unit is used for carrying out standardization processing on the contour curve of the process node based on the scaling ratio to obtain a standardized contour curve;
the similarity calculation unit is used for calculating the similarity between the standardized outline curve and the standard curve of each candidate page template;
and the association template selecting unit is used for selecting the candidate page template with the highest similarity as the process page template associated with the process node.
Optionally, the node module connecting unit 64 includes:
a node keyword extraction unit, configured to extract a node keyword included in the node content of the node module;
a word vector generating unit, configured to identify a part-of-speech dimension value of each of the node keywords in a plurality of preset part-of-speech dimensions, and generate a word vector for the node keyword based on each of the part-of-speech dimension values;
a keyword array creating unit, configured to merge word vectors of all node keywords of the node module to obtain a keyword array of the node module;
the target node action recognition unit is used for calculating the matching degree between the keyword array and each preset standard matrix of candidate node actions, and selecting the candidate node action with the highest matching degree as the target node action of the node module;
and the target node action configuration unit is used for generating the development flow page based on the target node action.
Optionally, the flow page template downloading unit 62 includes:
the product serial number acquisition unit is used for acquiring the product serial number of the product to be developed;
the product serial number comparison unit is used for calculating the difference value between the historical serial number of each existing product and the product serial number;
and the product type identification unit is used for identifying the product type of the existing product with the minimum difference value as the product type of the product to be developed.
Therefore, the device for creating the development flow page provided by the embodiment of the invention does not need to manually create the node module by the user, can acquire the flow page template matched with the type of the product to be developed, and automatically fills the development flow information extracted from the development flow image into each flow node model in the flow page template, thereby not only realizing automatic creation of the node module and improving the creation efficiency, but also ensuring the uniform style of the products of the same type and improving the standardization of the development flow page.
Fig. 7 is a schematic diagram of a terminal device according to another embodiment of the present invention. As shown in fig. 7, the terminal device 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72, such as a creation program for a development flow page, stored in said memory 71 and executable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the above-described embodiments of the method for creating a development flow page, for example, S101 to S104 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the units in the above-described device embodiments, such as the functions of the modules 61 to 64 shown in fig. 6.
Illustratively, the computer program 72 may be divided into one or more units, which are stored in the memory 71 and executed by the processor 70 to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 72 in the terminal device 7. For example, the computer program 72 may be divided into a development flow information output unit, a flow page template download unit, a node module creation unit, and a node module connection unit, each of which functions as described above.
The terminal device 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of a terminal device 7 and does not constitute a limitation of the terminal device 7 and may comprise more or less components than shown, or some components may be combined, or different components, for example the terminal device may further comprise input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or a memory of the terminal device 7. The memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used for storing the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for creating a development flow page, comprising:
receiving a development process image of a product to be developed, carrying out image analysis on the development process image, and outputting development process information of the product to be developed;
downloading a flow page template matched with the product type based on the product type of the product to be developed; the flow page template comprises a flow node model and a flow connecting line model;
searching a process node template associated with the node content from the process page template according to the node content of each process node in the development process information, and importing the node content into the associated process node template to obtain a node module;
and according to the node sequence of each flow node, sequentially connecting each node module through a flow connecting line model to generate a development flow page of the product to be developed.
2. The creating method according to claim 1, wherein the receiving a development flow image about a product to be developed, performing image analysis on the development flow image, and outputting development flow information of the product to be developed comprises:
extracting a contour curve from the development process image, and dividing the development process image into a plurality of process node sub-images based on the contour curve;
determining the node sequence of the process nodes according to the coordinate positions of the sub-images of the process nodes in the development process diagram;
extracting the node content of the process node from the process node subimage through a character recognition algorithm;
and establishing an incidence relation between the node sequence and the node content, and generating the development process information according to the incidence relation, the node sequence and the node content.
3. The creating method according to claim 2, wherein the step of searching, according to the node content of each process node in the development process information, a process node template associated with the node content from the process page template, and importing the node content into the associated process node template to obtain a node module comprises:
acquiring the resolution of the development process image, and determining a scaling ratio based on the resolution;
standardizing the contour curve of the process node based on the scaling ratio to obtain a standardized contour curve;
calculating the similarity between the standardized outline curve and the standard curve of each candidate page template;
and selecting the candidate page template with the highest similarity as the process page template associated with the process node.
4. The creating method according to any one of claims 1 to 3, wherein the generating a development process page of the product to be developed by sequentially connecting the node modules through a process connection line model according to the node order of each process node comprises:
extracting node keywords contained in the node contents of the node module;
identifying part-of-speech dimension values of each node keyword in a plurality of preset part-of-speech dimensions, and generating a word vector related to the node keyword based on each part-of-speech dimension value;
combining word vectors of all node keywords of the node module to obtain a keyword array of the node module;
calculating the matching degree between the keyword array and each preset standard matrix of candidate node actions, and selecting the candidate node action with the highest matching degree as the target node action of the node module;
and generating the development flow page based on the target node action.
5. The creating method according to any one of claims 1 to 3, wherein the downloading of the flow page template matched with the product type of the product to be developed according to the product type comprises:
acquiring a product serial number of the product to be developed;
calculating the difference between the historical serial number of each existing product and the serial number of the product;
and identifying the product type of the existing product with the minimum difference value as the product type of the product to be developed.
6. A device for creating a development flow page, comprising:
the development process information output unit is used for receiving a development process image of a product to be developed, carrying out image analysis on the development process image and outputting development process information of the product to be developed;
the flow page template downloading unit is used for downloading a flow page template matched with the product type based on the product type of the product to be developed; the flow page template comprises a flow node model and a flow connecting line model;
a node module creating unit, configured to search, according to node contents of each flow node in the development flow information, a flow node template associated with the node contents from the flow page template, and import the node contents into the associated flow node template to obtain a node module;
and the node module connecting unit is used for sequentially connecting each node module through a process connecting line model according to the node sequence of each process node to generate a development process page of the product to be developed.
7. The creation apparatus according to claim 6, wherein the development flow information output unit includes:
extracting a contour curve from the development process image, and dividing the development process image into a plurality of process node sub-images based on the contour curve;
determining the node sequence of the process nodes according to the coordinate positions of the sub-images of the process nodes in the development process diagram;
extracting the node content of the process node from the process node subimage through a character recognition algorithm;
and establishing an incidence relation between the node sequence and the node content, and generating the development process information according to the incidence relation, the node sequence and the node content.
8. The creation apparatus according to claim 7, wherein the node module creation unit includes:
the scaling determining unit is used for acquiring the resolution of the development flow image and determining the scaling based on the resolution;
the contour curve scaling unit is used for carrying out standardization processing on the contour curve of the process node based on the scaling ratio to obtain a standardized contour curve;
the similarity calculation unit is used for calculating the similarity between the standardized outline curve and the standard curve of each candidate page template;
and the association template selecting unit is used for selecting the candidate page template with the highest similarity as the process page template associated with the process node.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor executing the computer program with the steps of the method according to any of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910974771.3A 2019-10-14 2019-10-14 Creation method and device of development flow page Active CN110853115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910974771.3A CN110853115B (en) 2019-10-14 2019-10-14 Creation method and device of development flow page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910974771.3A CN110853115B (en) 2019-10-14 2019-10-14 Creation method and device of development flow page

Publications (2)

Publication Number Publication Date
CN110853115A true CN110853115A (en) 2020-02-28
CN110853115B CN110853115B (en) 2023-06-16

Family

ID=69597417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910974771.3A Active CN110853115B (en) 2019-10-14 2019-10-14 Creation method and device of development flow page

Country Status (1)

Country Link
CN (1) CN110853115B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968454A (en) * 2022-04-28 2022-08-30 杭州灵伴科技有限公司 Process arrangement, display method, head-mounted display device and computer-readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130163851A1 (en) * 2011-12-21 2013-06-27 Michele Dalla-Torre System, method and computer program product for classification within inspection images
CN104778446A (en) * 2015-03-19 2015-07-15 南京邮电大学 Method for constructing image quality evaluation and face recognition efficiency relation model
CN109784657A (en) * 2018-12-18 2019-05-21 东软集团股份有限公司 Operation flow method for building up, device, storage medium and electronic equipment
CN110084269A (en) * 2019-03-20 2019-08-02 合肥名德光电科技股份有限公司 Characteristics of image optimization method based on cloud computing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130163851A1 (en) * 2011-12-21 2013-06-27 Michele Dalla-Torre System, method and computer program product for classification within inspection images
CN104778446A (en) * 2015-03-19 2015-07-15 南京邮电大学 Method for constructing image quality evaluation and face recognition efficiency relation model
CN109784657A (en) * 2018-12-18 2019-05-21 东软集团股份有限公司 Operation flow method for building up, device, storage medium and electronic equipment
CN110084269A (en) * 2019-03-20 2019-08-02 合肥名德光电科技股份有限公司 Characteristics of image optimization method based on cloud computing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968454A (en) * 2022-04-28 2022-08-30 杭州灵伴科技有限公司 Process arrangement, display method, head-mounted display device and computer-readable medium
CN114968454B (en) * 2022-04-28 2024-04-12 杭州灵伴科技有限公司 Flow arrangement, display method, head-mounted display device, and computer-readable medium

Also Published As

Publication number Publication date
CN110853115B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN111881913A (en) Image recognition method and device, storage medium and processor
CN113010703B (en) Information recommendation method and device, electronic equipment and storage medium
CN111209827B (en) Method and system for OCR (optical character recognition) bill problem based on feature detection
CN111539412B (en) Image analysis method, system, device and medium based on OCR
US7277584B2 (en) Form recognition system, form recognition method, program and storage medium
CN110348511A (en) A kind of picture reproduction detection method, system and electronic equipment
CN110781925B (en) Software page classification method and device, electronic equipment and storage medium
CN115443490A (en) Image auditing method and device, equipment and storage medium
CN110347855A (en) Paintings recommended method, terminal device, server, computer equipment and medium
CN113569840A (en) Form recognition method and device based on self-attention mechanism and storage medium
CN114969417B (en) Image reordering method, related device and computer readable storage medium
CN111695453A (en) Drawing book identification method and device and robot
CN114821590A (en) Document information extraction method, device, equipment and medium
CN110853115B (en) Creation method and device of development flow page
CN113688261A (en) Image data cleaning method and device, electronic equipment and readable storage medium
CN112069342A (en) Image classification method and device, electronic equipment and storage medium
US20220301285A1 (en) Processing picture-text data
CN111753836A (en) Character recognition method and device, computer readable medium and electronic equipment
CN115546824A (en) Taboo picture identification method, equipment and storage medium
CN111178409B (en) Image matching and recognition system based on big data matrix stability analysis
CN114387600A (en) Text feature recognition method and device, computer equipment and storage medium
CN114049640A (en) Bill text detection method and device, electronic equipment and storage medium
US20220292810A1 (en) Fabric information digitization system and method thereof
US12019675B2 (en) Recognizing text in image data
US20240169143A1 (en) Method and system of generating an editable document from a non-editable document

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