CN110188335B - Page workflow construction method and device based on text processing - Google Patents

Page workflow construction method and device based on text processing Download PDF

Info

Publication number
CN110188335B
CN110188335B CN201910442158.7A CN201910442158A CN110188335B CN 110188335 B CN110188335 B CN 110188335B CN 201910442158 A CN201910442158 A CN 201910442158A CN 110188335 B CN110188335 B CN 110188335B
Authority
CN
China
Prior art keywords
component
algorithm
target component
target
user
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.)
Active
Application number
CN201910442158.7A
Other languages
Chinese (zh)
Other versions
CN110188335A (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.)
Dinfo Beijing Science Development Co ltd
Original Assignee
Dingfu Intelligent 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 Dingfu Intelligent Technology Co ltd filed Critical Dingfu Intelligent Technology Co ltd
Priority to CN201910442158.7A priority Critical patent/CN110188335B/en
Publication of CN110188335A publication Critical patent/CN110188335A/en
Application granted granted Critical
Publication of CN110188335B publication Critical patent/CN110188335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for constructing a page workflow based on text processing. Starting an operation frame page; in an operation interface, a main flow is established, and the main flow comprises: a start node and an end node; acquiring a target component selected by a user, and determining a call flow of the target component; and constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component. The user only needs to select the algorithm components to be called, and the call flow among the algorithm components is adjusted, so that the assembly work of the algorithm components can be completed, and a page workflow is constructed. That is, the process user only needs to interact with the computer in a small amount, so that the construction process of the page workflow is greatly simplified, the user can complete the work, the threshold of the page workflow development is reduced, and the labor cost of the page workflow development is reduced.

Description

Page workflow construction method and device based on text processing
Technical Field
The present disclosure relates to the field of text processing technologies, and in particular, to a method and an apparatus for constructing a page workflow based on text processing.
Background
Along with the continuous development of science and technology, the functions of the computer are more and more diversified, and besides the most basic internet surfing function, the computer also has a text processing function. For example, a search of text information is processed by a computer, a comparison of text information is processed by a computer, or a correlation analysis is performed on bulletin text information of a large number of companies by a computer.
Typically, a computer uses a workflow of code for text processing. When the code workflow is applied to document processing, the diversification of user demands often meets various personalized document processing demands, for example, association relation analysis is performed from a large amount of company bulletin information, which is a very common and reasonable demand of users, wherein a series of text processing such as word segmentation, entity extraction, reference resolution and the like is required to be performed on texts. The text processing process can be realized only by professional background developers through writing a combination algorithm by codes.
In the research and practice process of the prior art, the inventor discovers that each requirement of a user needs a background developer to realize some business functions in a mode of writing a combination algorithm through codes, so that the requirement of the user is met, the development difficulty of the process is high, and the development progress is hindered.
Disclosure of Invention
The invention aims to provide a method and a device for constructing a page workflow based on text processing, which are used for solving the technical problems in the prior art.
A first aspect of an embodiment of the present application shows a method for constructing a page workflow based on text processing, including: displaying an operation frame page, the operation frame page comprising: an operation interface, the operation interface displaying a set of algorithm components; establishing a main flow, acquiring a target component selected by a user, and determining a call flow of the target component; and constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component.
Optionally, the step of obtaining the target component selected by the user includes:
acquiring a component selected by a user, and displaying a component attribute set corresponding to the component selected by the user;
acquiring a target component attribute selected by a user, and calling a text processing algorithm corresponding to the target component attribute;
and replacing the text processing algorithm corresponding to the selected component with the text processing algorithm corresponding to the target component attribute to generate the target component.
Optionally, the number of the target components is at least one, and if the number of the target components is greater than 1, the step of determining the call flow of the target components includes:
acquiring a request parameter type of the target component and returning the parameter type;
and determining the call flow of each target component according to the request parameter type and the return parameter type of the target component.
Optionally, the number of the target components is at least one, and if the number of the target components is greater than 1, the step of determining the call flow of the target components includes:
acquiring a request parameter type of the target component and returning the parameter type;
displaying a first algorithm component set, wherein the first algorithm component set comprises at least one first algorithm component, and the return parameter type of the first algorithm component is matched with the request parameter type of the target component;
and determining the first algorithm component selected by the user as a target component, wherein the generation sequence of each target component is the call flow of the target component.
Optionally, the method further comprises:
and adding the page workflow into an algorithm component set to generate a new algorithm component.
Optionally, the method further comprises:
acquiring a component to be replaced selected by a user;
and acquiring a replaced component selected by a user in the page workflow, replacing the replaced component by the component to be replaced, and generating a new page workflow.
A second aspect of an embodiment of the present application shows a text processing-based page workflow construction apparatus, including: an operation unit, and a display unit;
the display unit is used for displaying: displaying a main flow, a target component and a page workflow;
the operation unit includes:
a main flow Cheng Jianli subunit, configured to establish a main flow, where the main flow includes: a start node and an end node;
the target component acquisition subunit is used for acquiring the target component selected by the user and determining the call flow of the target component;
the construction subunit is used for constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component.
Optionally, the display unit is further configured to display a component attribute set corresponding to the component selected by the user;
the target component acquisition subunit includes:
a calling subunit, configured to obtain a target component attribute selected by a user, and call a text processing algorithm corresponding to the target component attribute;
and the algorithm replacing subunit is used for replacing the text processing algorithm corresponding to the selected component by the text processing algorithm corresponding to the target component attribute to generate the target component.
Optionally, the target component is at least one, and if the number of target components is greater than 1, the target component obtaining subunit includes:
a first parameter type obtaining subunit, configured to obtain a request parameter type of the target component, and return a parameter type;
and the first call flow determining subunit is used for determining the call flow of each target component according to the request parameter type and the return parameter type of the target component.
Optionally, the target component is at least one, and if the number of target components is greater than 1, the target component obtaining subunit includes:
a second parameter type obtaining subunit, configured to obtain a request parameter type of the target component, and return a parameter type;
a first algorithm component set display subunit, configured to display a first algorithm component set, where the first algorithm component set includes at least one first algorithm component, and a return parameter type of the first algorithm component is adapted to a request parameter type of the target component;
and the second call flow determining subunit is used for determining the first algorithm component selected by the user as a target component, and the generation sequence of each target component is the call flow of the target component.
According to the method of the technical scheme, a user can complete the assembly work of the algorithm components by only selecting the algorithm components to be called and adjusting the call flow between the algorithm components, so that a page workflow is constructed. That is, the process user only needs to interact with the computer in a small amount, so that the construction process of the page workflow is greatly simplified, the development period of the page workflow is shortened, the construction and delivery speed of the page workflow is improved, the work can be completed even by business personnel without coding capability, the threshold of page development is reduced, and the labor cost of the page workflow development is reduced.
In addition, the user can configure and obtain a plurality of page workflows by directly applying the algorithm components for setting and combining according to different application scenes, and the page workflows are applied to different document processing. In addition, when the page workflow is configured, a user can flexibly determine a specific adopted algorithm component and a call flow between algorithm components according to an actual application scene, and even if the user does not have an algorithm foundation, programming is not understood, the configuration can be flexibly and conveniently realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart illustrating a method of text processing based page workflow construction in accordance with a preferred embodiment;
FIG. 2 is an operational framework page shown in accordance with a preferred embodiment;
FIG. 3 is a page workflow of address similarity calculation constructed in accordance with the illustrative technique of a preferred embodiment;
FIG. 4 is a page workflow of JD information extraction constructed in accordance with the illustrative aspects of a preferred embodiment;
FIG. 5 is a page workflow of resume screening constructed in accordance with the illustrative aspects of the preferred embodiments;
FIG. 6 is a page workflow of resume screening constructed in accordance with yet another preferred embodiment;
FIG. 7 is a page workflow of article keyword extraction constructed in accordance with the illustrative technique of a preferred embodiment;
FIG. 8 is a page workflow of article cuts constructed in accordance with the illustrative technique in accordance with a preferred embodiment;
fig. 9 is a block diagram illustrating a text-based page workflow construction apparatus according to a preferred embodiment.
Detailed Description
In order to solve the technical problems in the prior art, a first aspect of the technical solution shown in the embodiments of the present application shows a method for constructing a page workflow based on text processing, referring to fig. 1, where the method includes:
s101, displaying an operation frame page, wherein the operation frame page comprises: an operation interface, the operation interface displaying a set of algorithm components;
starting an operation frame page, wherein the operation frame page comprises: the operation interface displays an algorithm component set;
the operation frame page is shown in fig. 2. In the technical solution shown in the embodiment of the present application, the operation frame page includes: an operation interface, a display interface; the operation interface comprises: a main flow creation area and an algorithm component collection display area.
S102, establishing a main flow, acquiring a target component selected by a user, and determining a call flow of the target component;
the main flow creation area is used for creating a main flow; the main flow comprises the following steps: a start node and an end node; the user can define the application name of the created page workflow in advance before the main flow is created, wherein the application name can be used as a label so that the subsequent personnel can find the page workflow.
After the creation of the initial node is completed, the attribute corresponding to the initial node is displayed in the attribute display area, and the user can set the attribute of the initial node in the attribute display area. Illustrating: the application name is: calculating the similarity of two addresses and corresponding attributes: parameter name-addri of the starting node, type-java. Lang. String of the parameter, parameter description-address text to be compared 1.
The user can set the attribute of the end node in the attribute display area: the return field-similarity, type of parameter-java. Lang. String, parameter description-similarity value.
According to the technical scheme, through setting the parameter description of the starting node, in the subsequent page workflow application process, a certain guiding effect can be achieved on the user input parameters, for example: parameter description-address text to be compared 1. The user knows that the input parameters are text according to the parameter description. The setting of the parameter description of the end node can play a certain guiding role on the learning result of the user in the subsequent page workflow application process, for example: parameter description-similarity value. And the user knows the similarity of the address as a result of the page workflow output according to the parameter description.
It should be noted that, in the practical application process, a starting node may correspond to at least one input parameter, for example: and calculating the page workflow of the similarity of the two addresses, wherein the initial node corresponds to two input parameters, one input parameter is the address text 1 to be compared, and the other input parameter is the address text 2 to be compared. For a page workflow of keyword extraction, the start node corresponds to an input parameter.
S103, constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component;
the algorithm component set display area is used for displaying an algorithm component set, and each algorithm component in the technical scheme shown in the embodiment of the application corresponds to a document processing algorithm or a document processing mode.
For example, for the word segmentation algorithm component, the corresponding document processing manner is: the document is cut into words. In the practical application process, there are more cutting modes for cutting a document into a plurality of words, for example: (1) The forward maximum matching method is to divide a word from left to right. For example: "do not know what you are saying" this sentence is the result of the segmentation using forward maximum matching: "do not know, you, what is said". (2) The reverse maximum matching method is "do not know what you are saying" the result after the reverse maximum matching method is split: "do not, know what you are, reverse max matching is right to left. (3) Shortest path word segmentation, that is, a segment of words requiring the least number of words to be cut. "do not know what you are speaking" shortest path word splitting means that the word that splits that sentence into is the least. "do not know what you are, what is said" this is the shortest path word splitting method, and only 3 words are split. And (4) a bidirectional maximum matching method. The document processing algorithm to which the word segmentation algorithm component corresponds may be designated as one of the specific word segmentation algorithms described above. In the word segmentation application process, the shortest path word segmentation method is widely applied, and a document processing algorithm corresponding to the shortest path word segmentation method is stored in a word segmentation algorithm component.
In the practical application process, in order to ensure the accuracy of the output result of the page workflow constructed by the technical scheme shown in the embodiment of the application, the embodiment of the application shows a method for configuring the page workflow in a personalized manner aiming at different application scenes. Specifically, each algorithm component has a component attribute corresponding to the algorithm component, and when a user selects a certain algorithm component, the component attribute corresponding to the corresponding algorithm component is displayed in the attribute display area. Wherein the component attributes include: specific manner of implementation of the algorithm components.
Illustrating: the algorithm components are as follows: the word segmentation algorithm component is correspondingly realized in the following specific modes: a forward maximum matching method, a reverse maximum matching method, a shortest path word segmentation method and a bidirectional maximum matching method. When the user selects the word segmentation algorithm component, the forward maximum matching method, the reverse maximum matching method, the shortest path word segmentation method and the bidirectional maximum matching method are displayed on the page in the form of a drop-down frame, and the user selects the target component attribute according to the requirement.
Acquiring a target component attribute selected by a user, and calling a text processing algorithm corresponding to the target component attribute; and replacing the text processing algorithm corresponding to the selected component with the text processing algorithm corresponding to the target component attribute to generate the target component.
In the word segmentation application process, the shortest path word segmentation method is widely applied, and a document processing algorithm corresponding to the shortest path word segmentation method is stored in a word segmentation algorithm component.
The user A selects a word segmentation algorithm component as a target component in the process of constructing the word segmentation page data stream, and the word segmentation page data stream constructed by the user A divides a text ' don't know what you are speaking ' into: "do not know what you are saying.
In the construction process of a user, when the user selects a word segmentation algorithm component, the component attribute of the word segmentation algorithm component corresponding to the word segmentation algorithm component is displayed in a form of a drop-down frame: a forward maximum matching method, a reverse maximum matching method, a shortest path word segmentation method and a bidirectional maximum matching method. For the application scene of the user, the maximum matching method can ensure the cutting accuracy, the user selects the forward maximum matching method as the target component attribute, and the text processing algorithm corresponding to the forward maximum matching method is called; and replacing a default text processing algorithm of the word segmentation algorithm component by using the text processing algorithm corresponding to the forward maximum matching method, and generating a new target component of the word segmentation algorithm component.
According to the technical scheme shown in the embodiment of the application, a user selects a document processing algorithm matched with an application scene according to different application scenes, so that the accuracy of a page workflow output result constructed by the technical scheme shown in the embodiment of the application is ensured. In addition, when the user configures the page workflow, the user can flexibly decide the specifically adopted algorithm for document processing according to the actual application scene, and even if the user does not have an algorithm base, the user does not understand programming, the user can flexibly and conveniently configure the page workflow.
In order to further simplify the construction process of the page workflow, the technical scheme shown in the embodiment of the application shows a generation mode of the call flow of the algorithm component.
Specifically, the component attributes further include: request parameters of the algorithm component and return parameters of the algorithm component; wherein the request parameters of the algorithm component include: request return field of parameter, parameter type, and field specification; the return parameters of the algorithm component include: a return field for the return parameter, the parameter type, and the field specification.
At least one target component is provided, and the specific implementation process of determining the call flow of the target component is as follows when the number of the target components is greater than 1:
acquiring a request parameter type of the target component and returning the parameter type;
and determining the call flow of each target component according to the request parameter type and the return parameter type of the target component.
FIG. 3 is a page workflow for computing the similarity of two addresses, from which it can be seen that the workflow contains three classes of target algorithm components. The three types of target algorithm components are respectively: two are word segmentation algorithm components, two are filter word algorithm components, and one is similarity algorithm component. Acquiring a request parameter type of the target component and returning the parameter type; the request parameter type of the word segmentation algorithm component is text, and the return parameter type is words; the request parameter type of the stop word algorithm component is a word, and the return parameter type is a word; the request parameter type of the similarity algorithm component is a word, and the return parameter type is a number.
Firstly, determining that a return parameter type of a starting node is text, and a request parameter adapted to the address is a word segmentation algorithm component, and correspondingly, a downstream node of the starting node is the word segmentation algorithm component. The return parameter types of the word segmentation algorithm component are words, the request parameter types of the filter word algorithm component and the similarity algorithm component are words, and at the moment, the call flow of the component can be determined by means of the return parameter types of the filter word algorithm component and the return parameter types of the similarity algorithm component. And determining an upstream node of the ending node according to the request parameter type of the ending node. The return parameter type of the similarity algorithm component is a numerical value, and it can be determined that the similarity algorithm component is an upstream node of the end node, and correspondingly, a downstream node of the word segmentation algorithm component is a stop word algorithm component, and a downstream node of the stop word algorithm component is a similarity algorithm component. The call flow of the page workflow for determining the similarity of the addresses is as follows: the method comprises the steps of a starting node, a word segmentation algorithm component, a word filtering algorithm component, a similarity algorithm component and an ending node.
In practical application, a user configures a call flow between algorithm components through configuring the types of request parameters of the algorithm components and returning the types of parameters, so that the purpose of flexible configuration is achieved.
When the user configures the page workflow, the user can flexibly decide the specifically adopted algorithm components and the call flow between the algorithm components according to the actual application scene, and even if the user does not have an algorithm foundation, the user does not understand programming, the user can also flexibly and conveniently configure the page workflow.
For a word segmentation algorithm component, the component attributes also include: extracting the components of the sentence.
If the component attribute of the component of the extracted sentence is selected, for a sentence 'I go to Beijing zoo';
after labeling the part-of-speech sentence components: i- (subject), go- (predicate), beijing zoo- (object).
At this time, since the target component attribute selected by the user is a component of the extracted sentence. Correspondingly, the specific mode of the algorithm component implementation of the word filtering algorithm component can be selected to realize word filtering through the components of sentences.
For example, if the specific implementation of the algorithm component of the filtering word algorithm component can choose to implement the filtering of the words by the subjects, then me- (subjects), de- (predicates), beijing zoo- (objects), the request parameter is input into the filtering word algorithm component, and the output return parameter is "de- (predicates), beijing zoo- (objects)".
If the specific mode of the algorithm component implementation of the filtering word algorithm component can be realized through objects, I- (subjects), I- (predicates) and Beijing zoo- (objects) are selected, the request parameters are input into the filtering word algorithm component, and the output return parameters are I- (subjects) and I- (predicates).
In the actual application process, the user can select the corresponding target component attribute according to the actual service requirement, and the selection of the target parameter attribute can be realized to meet the requirements of different users.
Optionally, in order to further simplify the construction process of the page workflow and reduce the selection range of the user in the selection process, the technical scheme shown in the embodiment of the application shows a generation manner of the call flow of the algorithm component.
Typically, the algorithm component set includes hundreds to thousands of algorithm components, and as the service is continuously expanded, corresponding new algorithm components are continuously added into the algorithm component set, the user selects a target algorithm component from the huge algorithm component set, which is a huge workload. According to the technical scheme, a first algorithm component set is screened out through the type of the return parameter corresponding to the upstream algorithm component (also called as an upstream node) or the type of the return parameter corresponding to the starting node, the first algorithm component set comprises at least one first algorithm component, and the return parameter type of the first algorithm component is matched with the request parameter type of the target component. The user selects the target algorithm component in the first algorithm component set, the selection range of the user in the selection process is reduced, the generation rate of the page workflow is relatively improved, and meanwhile, the construction process of the page workflow is relatively simplified.
The technical solution shown in the embodiment of the present application firstly clusters algorithm components in the algorithm component set according to functions, and in a preferred embodiment clusters the algorithm components into: data processing, chapter analysis, machine learning, frequent pattern mining, rule calculation, auxiliary analysis, and the like. Wherein each functional class includes at least one algorithm component, for example data processing, wherein a class of data processing includes: the system comprises a mode selection algorithm component, a mode replacement algorithm component, a stop word filtering algorithm component, a word frequency statistics algorithm component, a full-angle half-angle conversion algorithm component, a simplified and repeated conversion algorithm component and a messy code processing algorithm component.
Firstly, each function class is displayed in an algorithm component set display area, the corresponding function class is clicked by a user, the algorithm components contained in the function class are displayed, and specifically, if the user selects a mode corresponding to the data processing function class to replace the algorithm components, the word filtering algorithm components, the word frequency statistics algorithm components, the full-angle half-angle conversion algorithm components, the simplified and repeated conversion algorithm components and the messy code processing algorithm components are displayed in the form of a drop-down frame.
If the target component is one, the call flow of the corresponding target component is: a start node, a target algorithm component, and an end node;
under the condition that the number of the target components is larger than 1, the specific implementation process of determining the call flow of the target components is as follows:
acquiring a request parameter type of the target component and returning the parameter type; displaying a first algorithm component set, wherein the first algorithm component set comprises at least one first algorithm component, and the return parameter type of the first algorithm component is matched with the request parameter type of the target component; and determining the first algorithm component selected by the user as a target component, wherein the generation sequence of each target component is the call flow of the target component.
Illustrating: the initial node returns a text as a parameter type, and the corresponding first algorithm component set is as follows: the word segmentation algorithm component, the angle and half angle conversion algorithm component, the simplified and repeated conversion algorithm component, the messy code processing algorithm component and the like are a series of algorithm components with text request parameter types, and a user only needs to select a target algorithm component from the first algorithm component set according to requirements. In an embodiment, the target algorithm component selected by the user is a word segmentation algorithm component, the return parameter types of the obtained word segmentation algorithm component are words, and the corresponding first algorithm component set is as follows: and disabling the word filtering algorithm component, the word frequency statistics algorithm component and a series of algorithm components with the request parameter types of words, and the like, and continuing until the downstream node of the target algorithm component is an end node.
According to the technical scheme, the first algorithm component set is generated through the type of the return parameters of the upstream node (the initial node or the target algorithm component), the number of algorithm components contained in the first algorithm component set is far smaller than that of the second algorithm components to be selected, the selection range of a user in the selection process of the target algorithm component in the first algorithm component set is reduced, the generation rate of the page workflow is relatively improved, and the construction process of the page workflow is relatively simplified.
S104, constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component, and a display interface displays the page workflow.
By the method, the user can complete the assembly work of the algorithm components by only selecting the algorithm components to be called and adjusting the call flow between the algorithm components, so that a page workflow is constructed. That is, in the process, the user only needs to interact with the computer in a small amount, so that the construction process of the page workflow is greatly simplified, the development period of the page workflow is shortened, and the construction and delivery speeds of the page workflow are improved. In addition, even business personnel without coding capability can finish the work, and the labor cost of developing the page workflow is reduced.
In addition, the user can configure and obtain a plurality of page workflows by directly applying the algorithm components for setting and combining according to different application scenes, and the page workflows are applied to different document processing. In addition, when the page workflow is configured, a user can flexibly determine a specific adopted algorithm component and a call flow between algorithm components according to an actual application scene, and even if the user does not have an algorithm foundation, programming is not understood, the configuration can be flexibly and conveniently realized.
In order to improve reusability of the technical scheme shown in the embodiment of the application, the technical scheme shown in the embodiment of the application adds the constructed workflow into the algorithm component set to generate a new algorithm component, and in the construction process of the subsequent algorithm component, the new algorithm component can be directly called, so that reusability of the technical scheme shown in the embodiment of the application is improved.
Specifically, the user 1 builds the JD information extraction page workflow, and the specific building method may adopt the above-mentioned way of building the page workflow, where the built JD information extraction page workflow is shown in fig. 4.
The user 2 builds the resume screening page workflow, and the specific building method can adopt the above page workflow building mode, and the built resume screening page workflow is shown in fig. 5.
As a preferred embodiment, the technical solution shown in the embodiment of the present application directly adds the JD information extraction page workflow constructed by the user 1 as an algorithm component for JD information extraction into the algorithm component set. In the process of constructing the resume screening page workflow by the user 2, the JD information extraction algorithm component is directly selected, and the constructed resume screening page workflow is shown in fig. 6.
Therefore, in the technical scheme shown in the embodiment of the application, the constructed workflow is added into the algorithm component set to generate a new algorithm component, and in the construction process of the subsequent page workflow, the new algorithm component can be directly called, so that the reusability of the technical scheme shown in the embodiment of the application is improved.
In the research and practice process of the prior art, the inventor of the present invention finds that text processing by using a code workflow is a method for realizing corresponding functions based on a specific application scenario by writing a combination algorithm by itself. In the course of text processing, user demands are diversified. Based on specific application scenes, the mode of realizing corresponding functions by writing the combination algorithm by oneself has low flexibility and reusability.
In order to further improve the flexibility and reusability of the technical solutions shown in the embodiments of the present application, the technical solutions shown in the embodiments of the present application show an algorithm component alternative solution. The specific implementation mode is as follows: acquiring a component to be replaced selected by a user from an algorithm component set; and acquiring a replaced component selected by a user in the page workflow, replacing the replaced component by the component to be replaced, and generating a new page workflow.
For example, the user 3 may construct a page workflow for extracting the article keywords, and a specific construction method may use the above construction method of the page workflow, where the constructed page workflow for extracting the article keywords is shown in fig. 7.
The user 4 builds a page workflow of the article cutting, and a specific building method can adopt the building mode of the page workflow, and the built face workflow of the article cutting is shown in fig. 8.
As a preferred embodiment, the technical solution shown in the embodiment of the present application directly adds the page workflow of the article keyword extraction constructed by the user 3 as an article keyword extraction algorithm component into the algorithm component set. In the process of constructing the face workflow for cutting the articles, the user 4 directly selects an article keyword extraction algorithm component, and the article keyword extraction algorithm component is converted into a page workflow for extracting the article keywords to be displayed on a display interface. And the user selects the keyword extraction algorithm component as a replaced component, selects the filter word algorithm component as a component to be replaced, and replaces the keyword extraction algorithm component with the selected word segmentation algorithm component to generate a page workflow for cutting the article.
Therefore, in the technical scheme shown in the embodiment of the application, the constructed workflow is added into the algorithm component set to generate a new algorithm component, and if some common algorithm components exist in two workflows in the construction process of the subsequent workflows, the implementation can be realized in a component replacement mode, so that the flexibility and reusability of the technical scheme shown in the embodiment of the application are improved.
A second aspect of the embodiments of the present application shows a device for constructing a page workflow based on text processing, referring to fig. 9, the device includes: an operation unit, and a display unit;
the display unit is used for displaying the main flow, the target component and the page workflow;
the operation unit includes:
a main flow Cheng Jianli subunit, configured to establish a main flow, where the main flow includes: a start node and an end node;
the target component acquisition subunit is used for acquiring the target component selected by the user and determining the call flow of the target component;
the construction subunit is used for constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component.
Optionally, the display unit is further configured to display a component attribute set corresponding to the component selected by the user;
the target component acquisition subunit includes:
a calling subunit, configured to obtain a target component attribute selected by a user, and call a text processing algorithm corresponding to the target component attribute;
and the algorithm replacing subunit is used for replacing the text processing algorithm corresponding to the selected component by the text processing algorithm corresponding to the target component attribute to generate the target component.
Optionally, the target component is at least one, and if the number of target components is greater than 1, the target component obtaining subunit includes:
a first parameter type obtaining subunit, configured to obtain a request parameter type of the target component, and return a parameter type;
and the first call flow determining subunit is used for determining the call flow of each target component according to the request parameter type and the return parameter type of the target component.
Optionally, the target component is at least one, and if the number of target components is greater than 1, the target component obtaining subunit includes:
a second parameter type obtaining subunit, configured to obtain a request parameter type of the target component, and return a parameter type;
a first algorithm component set display subunit, configured to display a first algorithm component set, where the first algorithm component set includes at least one first algorithm component, and a return parameter type of the first algorithm component is adapted to a request parameter type of the target component;
and the second call flow determining subunit is used for determining the first algorithm component selected by the user as a target component, and the generation sequence of each target component is the call flow of the target component.
According to the technical scheme, the technical scheme is shown by way of example, and a user can complete the assembly work of the algorithm components by only selecting the algorithm components to be called and adjusting the call flow between the algorithm components, so that a page workflow is constructed. That is, in the process, the user only needs to interact with the computer in a small amount, so that the construction process of the page workflow is greatly simplified, the development period of the page workflow is shortened, and the construction and delivery speeds of the page workflow are improved. In addition, even business personnel without coding capability can finish the work, and the labor cost of developing the page workflow is reduced.
In addition, the user can configure and obtain a plurality of page workflows by directly applying the algorithm components for setting and combining according to different application scenes, and the page workflows are applied to different document processing. In addition, when the page workflow is configured, a user can flexibly determine a specific adopted algorithm component and a call flow between algorithm components according to an actual application scene, and even if the user does not have an algorithm foundation, programming is not understood, the configuration can be flexibly and conveniently realized.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method for constructing a page workflow based on text processing, comprising:
displaying an operation frame page, the operation frame page comprising: an operation interface, the operation interface displaying a set of algorithm components; establishing a main flow, acquiring a target component selected by a user, and determining a call flow of the target component;
constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component; the main flow comprises a starting node and an ending node, and after the starting node and the ending node are created, the attributes of the starting node and the ending node are displayed in an attribute display area; the attributes of the starting node and the ending node comprise parameter descriptions for guiding a user to input parameters or obtain results;
each algorithm component in the algorithm component set corresponds to a document processing algorithm or a document processing mode, and each algorithm component has corresponding component attributes, wherein the component attributes comprise a specific mode of implementation of the algorithm component, a request parameter and a return parameter of the algorithm component;
the call flow between the target components is configured by configuring the type of the request parameters and the type of the return parameters of the target components.
2. The method of claim 1, wherein the step of obtaining the user selected target component comprises:
acquiring a component selected by a user, and displaying a component attribute set corresponding to the component selected by the user;
acquiring a target component attribute selected by a user, and calling a text processing algorithm corresponding to the target component attribute;
and replacing the text processing algorithm corresponding to the selected component with the text processing algorithm corresponding to the target component attribute to generate the target component.
3. The method of claim 1, wherein the target component is at least one, and wherein the step of determining the call flow of the target component comprises, if the number of target components is greater than 1:
acquiring a request parameter type of the target component and returning the parameter type;
and determining the call flow of each target component according to the request parameter type and the return parameter type of the target component.
4. The method of claim 1, wherein the target component is at least one, and wherein the step of determining the call flow of the target component comprises, if the number of target components is greater than 1:
acquiring a request parameter type of the target component and returning the parameter type;
displaying a first algorithm component set, wherein the first algorithm component set comprises at least one first algorithm component, and the return parameter type of the first algorithm component is matched with the request parameter type of the target component;
and determining the first algorithm component selected by the user as a target component, wherein the generation sequence of each target component is the call flow of the target component.
5. The method according to any one of claims 1-4, further comprising:
and adding the page workflow into an algorithm component set to generate a new algorithm component.
6. The method of claim 5, wherein the method further comprises:
acquiring a component to be replaced selected by a user;
and acquiring a replaced component selected by a user in the page workflow, replacing the replaced component by the component to be replaced, and generating a new page workflow.
7. A text processing-based page workflow construction apparatus, comprising: an operation unit, and a display unit;
the display unit is used for displaying the main flow, the target component and the page workflow;
the operation unit includes:
a main flow Cheng Jianli subunit, configured to establish a main flow, where the main flow includes: a start node and an end node;
the display unit further comprises an attribute display area, and after the initial node and the end node are created, the attributes of the initial node and the end node are displayed in the attribute display area; the attributes of the starting node and the ending node comprise parameter descriptions for guiding a user to input parameters or obtain results;
the attribute display area is also used for displaying component attributes of the algorithm component, wherein the component attributes comprise a specific mode of implementation of the algorithm component, a request parameter and a return parameter of the algorithm component; the target component acquisition subunit is used for acquiring the target component selected by the user and determining the call flow of the target component; the call flow is configured by configuring the type of the request parameter of the target component, and
the type of the return parameter is configured;
the construction subunit is used for constructing a page workflow, wherein the page workflow comprises a main flow, a target component and a call flow of the target component.
8. The apparatus of claim 7, wherein the display unit is further configured to display a set of component attributes corresponding to the component selected by the user;
the target component acquisition subunit includes:
a calling subunit, configured to obtain a target component attribute selected by a user, and call a text processing algorithm corresponding to the target component attribute;
and the algorithm replacing subunit is used for replacing the text processing algorithm corresponding to the selected component by the text processing algorithm corresponding to the target component attribute to generate the target component.
9. The apparatus of claim 7, wherein the target component is at least one, and if the number of target components is greater than 1, the target component acquisition subunit comprises:
a first parameter type obtaining subunit, configured to obtain a request parameter type of the target component, and return a parameter type;
and the first call flow determining subunit is used for determining the call flow of each target component according to the request parameter type and the return parameter type of the target component.
10. The apparatus of claim 7, wherein the target component is at least one, and if the number of target components is greater than 1, the target component acquisition subunit comprises:
a second parameter type obtaining subunit, configured to obtain a request parameter type of the target component, and return a parameter type;
a first algorithm component set display subunit, configured to display a first algorithm component set, where the first algorithm component set includes at least one first algorithm component, and a return parameter type of the first algorithm component is adapted to a request parameter type of the target component;
and the second call flow determining subunit is used for determining the first algorithm component selected by the user as a target component, and the generation sequence of each target component is the call flow of the target component.
CN201910442158.7A 2019-05-24 2019-05-24 Page workflow construction method and device based on text processing Active CN110188335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910442158.7A CN110188335B (en) 2019-05-24 2019-05-24 Page workflow construction method and device based on text processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910442158.7A CN110188335B (en) 2019-05-24 2019-05-24 Page workflow construction method and device based on text processing

Publications (2)

Publication Number Publication Date
CN110188335A CN110188335A (en) 2019-08-30
CN110188335B true CN110188335B (en) 2024-03-01

Family

ID=67717799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910442158.7A Active CN110188335B (en) 2019-05-24 2019-05-24 Page workflow construction method and device based on text processing

Country Status (1)

Country Link
CN (1) CN110188335B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727969B (en) * 2019-10-22 2021-10-15 深圳前海微众银行股份有限公司 Method, device and equipment for automatically adjusting workflow and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897858A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of workflow processing method and system
CN107423053A (en) * 2017-06-15 2017-12-01 东莞理工学院 The webization model encapsulation and distributed approach of a kind of remote sensing image processing
CN108205744A (en) * 2016-12-19 2018-06-26 成都鼎桥通信技术有限公司 The implementation method and device of work process flow list

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150773A1 (en) * 2007-12-05 2009-06-11 Sun Microsystems, Inc. Dynamic product configuration user interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897858A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of workflow processing method and system
CN108205744A (en) * 2016-12-19 2018-06-26 成都鼎桥通信技术有限公司 The implementation method and device of work process flow list
CN107423053A (en) * 2017-06-15 2017-12-01 东莞理工学院 The webization model encapsulation and distributed approach of a kind of remote sensing image processing

Also Published As

Publication number Publication date
CN110188335A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
US10635392B2 (en) Method and system for providing interface controls based on voice commands
US20210216561A1 (en) Information search method and apparatus, device and storage medium
US10366154B2 (en) Information processing device, information processing method, and computer program product
US20110316796A1 (en) Information Search Apparatus and Information Search Method
JP2009146041A (en) Communication support method, system, and server device
US20210049354A1 (en) Human object recognition method, device, electronic apparatus and storage medium
CN102984050A (en) Method, client and system for searching voices in instant messaging
CN112269862B (en) Text role labeling method, device, electronic equipment and storage medium
CN110472043A (en) A kind of clustering method and device for comment text
CN104866116A (en) Method and device for outputting expression information
CN106547765B (en) SQ L-based database management method and device
CN111177462B (en) Video distribution timeliness determination method and device
CN111666372A (en) Method and device for analyzing query term query, electronic equipment and readable storage medium
CN110188335B (en) Page workflow construction method and device based on text processing
CN113516491A (en) Promotion information display method and device, electronic equipment and storage medium
CN111708800A (en) Query method and device and electronic equipment
CN111968624A (en) Data construction method and device, electronic equipment and storage medium
CN112148135A (en) Input method processing method and device and electronic equipment
CN112015866A (en) Method, device, electronic equipment and storage medium for generating synonymous text
CN111666417A (en) Method and device for generating synonyms, electronic equipment and readable storage medium
CN110781657A (en) Management method, device and equipment for navigation broadcasting
CN111291184A (en) Expression recommendation method, device, equipment and storage medium
CN111353070A (en) Video title processing method and device, electronic equipment and readable storage medium
CN109683727A (en) A kind of data processing method and device
CN111832313B (en) Method, device, equipment and medium for generating emotion matching set in text

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
TA01 Transfer of patent application right

Effective date of registration: 20190906

Address after: Room 630, 6th floor, Block A, Wanliu Xingui Building, 28 Wanquanzhuang Road, Haidian District, Beijing

Applicant after: DINFO (BEIJING) SCIENCE DEVELOPMENT Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building block A Room 601

Applicant before: ULTRAPOWER SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 230000 zone B, 19th floor, building A1, 3333 Xiyou Road, hi tech Zone, Hefei City, Anhui Province

Applicant after: Dingfu Intelligent Technology Co.,Ltd.

Address before: Room 630, 6th floor, Block A, Wanliu Xingui Building, 28 Wanquanzhuang Road, Haidian District, Beijing

Applicant before: DINFO (BEIJING) SCIENCE DEVELOPMENT Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant