CN116010728B - Method for determining process flow presentation form of numerical control system and related equipment - Google Patents

Method for determining process flow presentation form of numerical control system and related equipment Download PDF

Info

Publication number
CN116010728B
CN116010728B CN202310295895.5A CN202310295895A CN116010728B CN 116010728 B CN116010728 B CN 116010728B CN 202310295895 A CN202310295895 A CN 202310295895A CN 116010728 B CN116010728 B CN 116010728B
Authority
CN
China
Prior art keywords
process flow
determining
verb
complexity
text
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
CN202310295895.5A
Other languages
Chinese (zh)
Other versions
CN116010728A (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.)
Zhongke Hangmai CNC Software Shenzhen Co Ltd
Original Assignee
Zhongke Hangmai CNC Software Shenzhen 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 Zhongke Hangmai CNC Software Shenzhen Co Ltd filed Critical Zhongke Hangmai CNC Software Shenzhen Co Ltd
Priority to CN202310295895.5A priority Critical patent/CN116010728B/en
Publication of CN116010728A publication Critical patent/CN116010728A/en
Application granted granted Critical
Publication of CN116010728B publication Critical patent/CN116010728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Machine Translation (AREA)

Abstract

The invention provides a method for determining a process flow presentation form of a numerical control system and related equipment, and relates to the technical field of numerical control machining. Acquiring a process flow text and a total word number; when the total word number is larger than a preset threshold value, acquiring a verb set and a noun set of the process flow text; determining the operation complexity according to the verb set; determining an application field range according to the noun set; process complexity according to the operational complexity and the application domain range; and determining the presentation form of the process flow text according to the process complexity. According to the method, the operation complexity is estimated through verbs in the process flow text, the application field range is estimated through the nouns, the process complexity is accurately judged by combining the operation complexity and the application field range, and finally a proper presentation form is selected for the process flow text through the process complexity. The invention solves the problem that the prior numerical control system has only a text version presentation mode in process flow description, and the understanding difficulty of operators can be increased for complex process flows.

Description

Method for determining process flow presentation form of numerical control system and related equipment
Technical Field
The invention relates to the technical field of numerical control machining, in particular to a method for determining a process flow presentation form of a numerical control system and related equipment.
Background
The process flow inquiry of the existing numerical control system can only be fed back to the process flow description of the text version of the operator by the search engine, however, the complexity of each process flow in the numerical control system is different, and for the complex process flow, the understanding difficulty of the operator is increased by the description mode of the pure text.
Disclosure of Invention
The invention provides a method for determining a process flow presentation form of a numerical control system and related equipment, which are used for solving the problem that the understanding difficulty of operators can be increased for complex process flows because the process flow description of the traditional numerical control system only has a text presentation form, and selecting proper presentation forms for process flows with different complexity.
The invention provides a method for determining a process flow presentation form of a numerical control system, which comprises the following steps:
acquiring the total word number of a process flow text, and acquiring a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
determining the operation complexity corresponding to the process flow text according to the verb set, and determining the application field range corresponding to the process flow text according to the noun set;
determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
and determining the presentation form of the process flow text according to the process complexity.
According to the method for determining the process flow presentation form of the numerical control system provided by the invention, the determining the operation complexity corresponding to the process flow text according to the verb set comprises the following steps:
acquiring a preset general word stock, and matching each verb in the verb set with the general word stock to obtain a matching result;
determining a first proportion based on the matching result, wherein the first proportion is the proportion of the successfully matched verb number in the verb set to the verb number of the verb set;
generating a verb distribution diagram according to the verb set, wherein nodes in the verb distribution diagram are in one-to-one correspondence with verbs in the verb set, and the position of each node is determined based on the distribution position of the verb corresponding to the node in the process flow text;
clustering the nodes based on a preset distance value to obtain a plurality of clusters, and determining a second proportion according to the clusters, wherein the second proportion is the proportion of the number of the clusters with the node number larger than the preset value to the total number of the clusters;
the operational complexity is determined based on the first ratio and the second ratio.
According to the method for determining the process flow presentation form of the numerical control system provided by the invention, the application field range corresponding to the process flow text is determined according to the noun set, and the method comprises the following steps:
the method for obtaining the third proportion of proper nouns in the noun set, wherein the proper nouns are nouns used in a specific application field range, and judging whether the nouns are proper nouns or not according to each noun in the noun set comprises the following steps: acquiring a plurality of first webpage search records of the nouns through a cloud, acquiring the number of browses and the perpendicularity of a posting website corresponding to each webpage search record, and judging whether the nouns are proper nouns or not according to the number of browses and the perpendicularity of the posting website of each webpage search record, wherein the perpendicularity of the posting website is used for reflecting the similarity degree of posting contents in websites;
and determining the application field range according to the third proportion.
According to the method for determining the process flow presentation form of the numerical control system provided by the invention, the method for determining the perpendicularity of the website for publishing in each webpage searching record comprises the following steps:
acquiring a plurality of articles which are newly released by a release website in the webpage search record;
acquiring article features corresponding to the articles respectively, and calculating the similarity between every two articles according to the article features;
and determining the perpendicularity of the release website corresponding to the webpage search record according to the similarity between every two articles.
According to the method for determining the process flow presentation form of the numerical control system provided by the invention, the process complexity corresponding to the process flow text is determined according to the operation complexity and the application field range, and the method comprises the following steps:
acquiring the learning information and the working years of an operator, and respectively weighting the operation complexity and the application field range according to the learning information and the working years;
and determining the process complexity according to the weighted operation complexity and the weighted application field range.
According to the method for determining the process flow presentation form of the numerical control system provided by the invention, after the total word number of the process flow text is obtained, the method further comprises the following steps:
when the total word number is smaller than or equal to the preset threshold value, the process flow text is segmented into a plurality of semantic segments, wherein each semantic segment corresponds to different process steps;
acquiring the information entropy of the process flow text;
acquiring mutual information and a degree of aggregation between every two semantic segments, wherein the mutual information is used for reflecting the vocabulary overlapping rate of the two semantic segments, and the degree of aggregation is used for reflecting the joint occurrence probability of the process steps corresponding to the two semantic segments in a history record;
determining the process complexity corresponding to the process flow text according to the information entropy, the mutual information and the condensation degree;
and determining the presentation form of the process flow text according to the process complexity corresponding to the process flow text.
According to the method for determining the process flow presentation form of the numerical control system, the presentation form is at least one of a text form, an image form and a video form.
The invention also provides a device for determining the process flow presentation form of the numerical control system, which comprises:
the text acquisition module is used for acquiring the process flow text and the total word number of the process flow text;
the text extraction module is used for obtaining a verb set and a verb set corresponding to the process flow text when the total word number is larger than a preset threshold;
the operation analysis module is used for determining the operation complexity corresponding to the process flow text according to the verb set;
the domain analysis module is used for determining an application domain range corresponding to the process flow text according to the noun set;
the comprehensive analysis module is used for determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
and the form determining module is used for determining the presentation form of the process flow text according to the process complexity.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method for determining the process flow presentation form of any one of the numerical control systems when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a process flow presentation form determination method of any one of the numerical control systems described above.
The invention provides a method for determining a process flow presentation form of a numerical control system and related equipment, wherein a process flow text to be analyzed and the total word number of the process flow text are obtained; when the total word number is larger than a preset threshold value, a verb set and a noun set corresponding to the process flow text are obtained; determining the operation complexity corresponding to the process flow text according to the verb set; determining an application field range corresponding to the process flow text according to the noun set; determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range; and determining the presentation form of the process flow text according to the process complexity. According to the method, the operation complexity is estimated through verbs in the process flow text, the application field range is estimated through the nouns, the process complexity is accurately judged by combining the operation complexity and the application field range, and finally a proper presentation form is selected for the process flow text through the process complexity. The method solves the problem that the prior numerical control system has only a text version presentation mode in process flow description, and the understanding difficulty of operators can be increased for complex process flows.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for determining a process flow presentation form of a numerical control system provided by the invention;
FIG. 2 is a schematic diagram of a process flow presentation form determining device of the numerical control system provided by the invention;
fig. 3 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The process flow presentation form determining method and related apparatus of the numerical control system of the present invention are described below with reference to fig. 1 to 3.
In view of the above-mentioned drawbacks of the prior art, the present invention provides a process flow presentation method for determining a numerical control system based on process complexity, as shown in fig. 1, the method includes:
step S100, acquiring the total word number of a process flow text, and acquiring a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
step 200, determining the operation complexity corresponding to the process flow text according to the verb set, and determining the application field range corresponding to the process flow text according to the noun set;
step S300, determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
and step 400, determining the presentation form of the process flow text according to the process complexity.
In short, when the total word number is greater than a preset threshold, in order to reduce the calculation cost, the whole text analysis is not performed on the process flow text, but all verbs and nouns in the process flow text are extracted to form a verb set and a noun set, and the process complexity is determined through the verb set and the noun set. Specifically, the category of the verb in the verb set may reflect the operation type related to the process flow, and the number of verbs may reflect the operation frequency, so that the operation complexity of the process flow text may be analyzed based on the verb set. Generally, the richer the verb category, the greater the number, the greater the complexity of the operation. The category of nouns in the noun collection may represent the size of the domain for which the process flow text is applicable, i.e., the application domain scope. Generally, the more concentrated the application fields of noun distribution in a noun collection, the smaller the application field range corresponding to the process flow text. And finally, comprehensively determining the process complexity based on the operation complexity and the application field range, wherein the operation complexity and the process complexity are in a direct proportion relationship, namely, the higher the operation complexity is, the higher the process complexity is. The application field range and the process complexity are in inverse proportion, and the larger the application field range is, the more general the process flow text is represented, and the lower the understanding difficulty is, the lower the process complexity is. According to the method and the device, under the condition that the total word number is large, only verbs and nouns in the text are extracted for analysis, so that calculation cost can be effectively reduced. Estimating the operation complexity through verbs in the process flow text, estimating the application field range through nouns, accurately judging the process complexity by combining the operation complexity and the application field range, and finally selecting a proper presentation form for the process flow text through the process complexity. The method solves the problem that the prior numerical control system has only a text version presentation mode in process flow description, and the understanding difficulty of operators can be increased for complex process flows.
In one implementation, after obtaining the total number of words of the process flow text, the method further comprises:
when the total word number is smaller than or equal to the preset threshold value, the process flow text is segmented into a plurality of semantic segments, wherein each semantic segment corresponds to different process steps;
acquiring the information entropy of the process flow text;
acquiring mutual information and a degree of aggregation between every two semantic segments, wherein the mutual information is used for reflecting the vocabulary overlapping rate of the two semantic segments, and the degree of aggregation is used for reflecting the joint occurrence probability of the process steps of the two semantic segments in a history record;
and determining the process complexity according to the information entropy, the mutual information and the condensation degree.
Specifically, when the total word number is less than or equal to the preset threshold, the word number representing the text of the process flow is less, and full text analysis can be performed. And then calculating the information entropy of the full text, segmenting the full text into a plurality of semantic segments for reflecting different process steps, and calculating the vocabulary overlapping rate between every two semantic segments to obtain the mutual information between every two semantic segments. And simultaneously calculating the joint occurrence probability of the process steps between every two semantic segments in the history record so as to obtain the condensation degree between every two semantic segments. It can be understood that the information entropy can reflect the information quantity existing in the process flow text, and in general, the smaller the information entropy is, the simpler the process is; the mutual information can reflect the association relation among the semantic segments, and in general, the stronger the mutual information is, the more similar the operation, equipment and scene are involved in each process step in the process flow, and the simpler the process is; the degree of condensation can reflect the probability of the combined occurrence of the process steps of each semantic segment in the history record, and generally, the higher the degree of condensation is, the more frequently the combined occurrence of each process step in the process flow is, the lower the innovation degree of the text of the process flow is, and the simpler the process is. Therefore, the process complexity of the process flow text can be comprehensively determined based on the information entropy, the mutual information and the condensation degree, and the proper presentation form of the process flow text can be determined based on the process complexity. In the embodiment, two different process complexity determining methods are set through the total word number of the process flow text, and full text analysis is implemented under the condition of less text word number, so that the calculation accuracy of the process complexity can be further improved.
In one implementation, determining, according to the verb set, an operation complexity corresponding to the process flow text includes:
acquiring a preset general word stock, and matching each verb in the verb set with the general word stock to obtain a matching result;
determining a first proportion based on the matching result, wherein the first proportion is the proportion of the successfully matched verb number in the verb set to the verb number of the verb set;
generating a verb distribution diagram according to the verb set, wherein nodes in the verb distribution diagram are in one-to-one correspondence with verbs in the verb set, and the position of each node is determined based on the distribution position of the verb corresponding to the node in the process flow text;
clustering the nodes based on a preset distance value to obtain a plurality of clusters, and determining a second proportion according to the clusters, wherein the second proportion is the proportion of the number of the clusters with the node number larger than the preset value to the total number of the clusters;
the operational complexity is determined based on the first ratio and the second ratio.
Specifically, for noun collection, the embodiment presets a generic verb library, where the generic verb library includes a plurality of generic verbs, and the generic verbs may be obtained by collecting a large amount of process flow information, and screening verbs whose occurrence frequency is higher than a preset value from the collected process flow information. Matching the verbs in the verb set with the universal verbs in the universal verb library, and calculating a first proportion of successfully matched verbs in the verb set. Since machining operations in the general field are easier to handle, i.e. the difficulty of operation is lower, than machining operations in the professional field, the higher the value of the first ratio, the lower the complexity of the operation may be. In addition, since the complexity of operation is also related to the operating frequency, generally the higher the operating frequency, the greater the difficulty of operation. Therefore, the embodiment also needs to generate a verb distribution diagram based on the verb set, wherein the verb distribution diagram comprises a plurality of nodes, and each node is used for reflecting the distribution positions of different verbs in the verb set in the process flow text. In order to rapidly estimate the operation frequency corresponding to the process flow text, the embodiment needs to cluster the nodes of the verb distribution diagram based on the preset distance value, and a plurality of cluster clusters are obtained after clustering. If the number of the nodes in the cluster is larger than a preset value, the process flow text is indicated. There are a large number of verbs in the region, that is, links with higher operation frequency exist in the corresponding process flow. The higher the second proportion corresponding to the cluster with the node number larger than the preset value is, the more links with higher operation frequency exist in the process flow, and the higher the operation complexity is likely to be. Since both the first and second ratios are related to the operational complexity, combining the two ratios may result in a more accurate, spectrally dependent operational complexity, e.g., an average or weighted average of the first and second ratios may be used to determine the operational complexity.
In one implementation, determining, according to the noun set, an application domain range corresponding to the process flow text includes:
the method for obtaining the third proportion of proper nouns in the noun set, wherein the proper nouns are nouns used in the specific application field, and judging whether the nouns are proper nouns or not according to each noun in the noun set comprises the following steps: acquiring a plurality of first webpage search records of the nouns through a cloud, acquiring the number of browses and the perpendicularity of a posting website corresponding to each webpage search record, and judging whether the nouns are proper nouns or not according to the number of browses and the perpendicularity of the posting website of each webpage search record, wherein the perpendicularity of the posting website is used for reflecting the similarity degree of posting contents in websites;
and determining the application field range according to the third proportion.
Proper nouns are nouns used in a particular field, in other words, the range of use of proper nouns is typically less than or equal to the range of use of a generic term. The size of the application field to which the process flow text corresponds can be determined by determining the duty cycle of proper nouns in the noun set. Specifically, the embodiment adopts the cloud webpage search record to determine whether each noun in the noun set is a proper noun. For each noun in the noun set, the first plurality of web page search records corresponding to the noun are obtained through the cloud, the number of browses and the perpendicularity of the posting website corresponding to each web page search record are obtained, and as the number of browses of websites in the professional field is obviously smaller than the number of browses of websites in the general field, and posting contents of websites in the professional field are generally limited in the self field, the similarity of posting contents is higher, namely the perpendicularity of the posting website is higher, and therefore whether the websites are websites in the professional field can be judged through the number of browses and the perpendicularity of the posting website. And determining whether the noun is a proper noun or not according to the duty ratio of the website in the professional field in the website corresponding to each webpage searching record. Generally, the higher the ratio of websites in the professional field in the websites corresponding to each web page search record is, the higher the possibility that the term is a proper term is. According to the method, whether the noun belongs to the proper noun or not can be rapidly judged by analyzing the webpage search record corresponding to the noun, and the application field range of the process text can be rapidly judged according to the proportion of the proper noun in the noun set.
In one implementation, determining the application domain range according to the third ratio specifically includes:
the vocabulary aggregation degree between every two nouns in the noun set is obtained, wherein the vocabulary aggregation degree calculating method comprises the following steps: acquiring the ratio of the probability of the joint occurrence of two nouns to the probability of the independent occurrence of two nouns through a plurality of pre-acquired historical process flow texts, and determining the vocabulary condensation degree according to the ratio;
determining a first application field range according to the vocabulary aggregation degree;
determining a second application field range according to the third proportion;
and determining the application domain range according to the first application domain and the second application domain.
Specifically, the greater the degree of lexical aggregation between each noun in the noun collection, the more the nouns representing the noun collection are commonly present, which is a feature that the nouns of the proper domain may have. Therefore, in order to improve the reliability of the calculation result of the application domain range, two methods are adopted to determine the application domain range in this embodiment, that is, the first application domain range and the second application domain range are obtained, and then the first application domain range and the second application domain range are fused to obtain a more accurate application domain range.
In one implementation, the method for determining perpendicularity of the web sites of each web search record includes:
acquiring a plurality of articles which are newly released by a release website of the webpage searching record;
acquiring article features corresponding to the articles respectively, and calculating the similarity between every two articles according to the article features;
and determining the perpendicularity of the release website corresponding to the webpage search record according to the similarity between every two articles.
Specifically, the posting content of websites in the professional field is generally limited to the own field, and thus the similarity of the posting content is high, that is, the perpendicularity of the posting website is high. The content of the website in the general field is generally random, so that the similarity of the content is low, namely the perpendicularity of the website is low. According to the embodiment, the perpendicularity of the issuing website can be calculated rapidly by acquiring a plurality of articles which are issued by the issuing website and analyzing the similarity of the article characteristics of the articles.
In one implementation, determining the process complexity from the operational complexity and the application domain range includes:
acquiring the learning information and the working years of an operator, and respectively weighting the operation complexity and the application field range according to the learning information and the working years;
and determining the process complexity according to the weighted operation complexity and the application field range.
In short, the same process flow text may vary from one operator to another. Thus, the background information of the operators currently using the process flow text should be taken into account when analyzing the process complexity. In particular, the process complexity is mainly manifested in two aspects, namely the operation difficulty and the understanding difficulty. Therefore, the embodiment needs to acquire the learning information and the working period of the operator, and the working period can reflect the operation capability of the operator because the learning information can reflect the understanding capability of the operator. The complexity of the operation may affect the understanding of the process text by operators with short working years, and the application range may affect the understanding of the process text by operators with lower academic skills. Therefore, the embodiment respectively weights the operation complexity and the application field range through the learning information and the working years of the current operator, and accurately judges the process complexity of the current process flow text to the current operator based on the weighted operation complexity and the weighted application field range. In the embodiment, the background information of different operators is considered, so that the process complexity of the process flow text is calculated for each operator, and the method is beneficial to selecting the most suitable presentation form for the operators in the follow-up process.
In one implementation, the presentation is in one or more of a text form, an image form, and a video form.
Specifically, for the process flow text with lower process complexity, a presentation form of a text form can be adopted; for the process flow text with moderate process complexity, a picture form or a presentation form of a text form plus a picture form can be adopted; for process flow text with higher process complexity, a video form or a presentation form of a text form plus a video form can be adopted. The embodiment sets different presentation forms according to the process flow texts with different process complexity, and is beneficial to operators to understand the complicated process flow texts.
The process flow presentation form determining device of the numerical control system provided by the invention is described below, and the process flow presentation form determining device of the numerical control system described below and the process flow presentation form determining method of the numerical control system described above can be correspondingly referred to each other.
As shown in fig. 2, the apparatus includes a text extraction module 210, an analysis module 220, a complexity determination module 230, and a form determination module 240:
the text extraction module 210 is configured to obtain a total word number of the process flow text, and when the total word number is greater than a preset threshold, obtain a verb set and a noun set corresponding to the process flow text;
the analysis module 220 is configured to determine, according to the verb set, an operation complexity corresponding to the process flow text, and determine, according to the noun set, an application domain range corresponding to the process flow text;
the complexity determining module 230 is configured to determine a process complexity corresponding to the process flow text according to the operation complexity and the application field range;
the form determination module 240 is configured to determine a presentation form of the process flow text according to the process complexity.
Fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, where the electronic device may include: processor 310, communication interface (Communications Interface) 320, memory 330 and communication bus 340, wherein processor 310, communication interface 320, memory 330 accomplish communication with each other through communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a process flow presentation form determination method of a numerical control system, the method comprising:
acquiring the total word number of a process flow text, and acquiring a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
determining the operation complexity corresponding to the process flow text according to the verb set, and determining the application field range corresponding to the process flow text according to the noun set;
determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
and determining the presentation form of the process flow text according to the process complexity.
Further, the logic instructions in the memory 330 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, where the computer program product includes a computer program, where the computer program can be stored on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, the computer can execute a method for determining a process flow presentation form of a numerical control system provided by the above methods, and the method includes:
acquiring the total word number of a process flow text, and acquiring a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
determining the operation complexity corresponding to the process flow text according to the verb set, and determining the application field range corresponding to the process flow text according to the noun set;
determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
and determining the presentation form of the process flow text according to the process complexity.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for determining a process flow presentation form of a numerical control system provided by the above methods, the method comprising:
acquiring the total word number of a process flow text, and acquiring a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
determining the operation complexity corresponding to the process flow text according to the verb set, and determining the application field range corresponding to the process flow text according to the noun set;
determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
and determining the presentation form of the process flow text according to the process complexity.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A method for determining a process flow presentation form of a numerical control system, the method comprising:
acquiring the total word number of a process flow text, and acquiring a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
determining the operation complexity corresponding to the process flow text according to the verb set, and determining the application field range corresponding to the process flow text according to the noun set;
determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
determining a presentation form of the process flow text according to the process complexity, wherein the presentation form is at least one of a text form, an image form and a video form;
the determining the operation complexity corresponding to the process flow text according to the verb set comprises the following steps:
acquiring a preset general word stock, and matching each verb in the verb set with the general word stock to obtain a matching result;
determining a first proportion based on the matching result, wherein the first proportion is the proportion of the successfully matched verb number in the verb set to the verb number of the verb set;
generating a verb distribution diagram according to the verb set, wherein nodes in the verb distribution diagram are in one-to-one correspondence with verbs in the verb set, and the position of each node is determined based on the distribution position of the verb corresponding to the node in the process flow text;
clustering the nodes based on a preset distance value to obtain a plurality of clusters, and determining a second proportion according to the clusters, wherein the second proportion is the proportion of the number of the clusters with the node number larger than the preset value to the total number of the clusters;
determining the operational complexity according to the first proportion and the second proportion;
the determining the application field range corresponding to the process flow text according to the noun set comprises the following steps:
the method for obtaining the third proportion of proper nouns in the noun set, wherein the proper nouns are nouns used in the specific application field, and judging whether the nouns are proper nouns or not according to each noun in the noun set comprises the following steps: acquiring a plurality of first webpage search records of the nouns through a cloud, acquiring the number of browses and the perpendicularity of a posting website corresponding to each webpage search record, and judging whether the nouns are proper nouns or not according to the number of browses and the perpendicularity of the posting website of each webpage search record, wherein the perpendicularity of the posting website is used for reflecting the similarity degree of posting contents in websites;
and determining the application field range according to the third proportion.
2. The method for determining the perpendicularity of the web site for publication of the numerical control system according to claim 1, wherein the method for determining the perpendicularity of the web site for publication of each of the web search records comprises:
acquiring a plurality of articles which are newly released by a release website in the webpage search record;
acquiring article features corresponding to the articles respectively, and calculating the similarity between every two articles according to the article features;
and determining the perpendicularity of the release website corresponding to the webpage search record according to the similarity between every two articles.
3. The method for determining a process flow presentation form of a numerical control system according to claim 1, wherein determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range comprises:
acquiring the learning information and the working years of an operator, and respectively weighting the operation complexity and the application field range according to the learning information and the working years;
and determining the process complexity according to the weighted operation complexity and the weighted application field range.
4. The method for determining a process flow presentation form of a numerical control system according to claim 1, wherein after the obtaining the total word number of the process flow text, further comprises:
when the total word number is smaller than or equal to the preset threshold value, the process flow text is segmented into a plurality of semantic segments, wherein each semantic segment corresponds to different process steps;
acquiring the information entropy of the process flow text;
acquiring mutual information and a degree of aggregation between every two semantic segments, wherein the mutual information is used for reflecting the vocabulary overlapping rate of the two semantic segments, and the degree of aggregation is used for reflecting the joint occurrence probability of the process steps corresponding to the two semantic segments in a history record;
determining the process complexity corresponding to the process flow text according to the information entropy, the mutual information and the condensation degree;
and determining the presentation form of the process flow text according to the process complexity corresponding to the process flow text.
5. A process flow presentation form determining device of a numerical control system, the device comprising:
the text extraction module is used for obtaining the total word number of the process flow text, and obtaining a verb set and a noun set corresponding to the process flow text when the total word number is greater than a preset threshold;
the analysis module is used for determining the operation complexity corresponding to the process flow text according to the verb set and determining the application field range corresponding to the process flow text according to the noun set;
the complexity determining module is used for determining the process complexity corresponding to the process flow text according to the operation complexity and the application field range;
the form determining module is used for determining the presentation form of the process flow text according to the process complexity, wherein the presentation form is at least one of a text form, an image form and a video form;
the determining the operation complexity corresponding to the process flow text according to the verb set comprises the following steps:
acquiring a preset general word stock, and matching each verb in the verb set with the general word stock to obtain a matching result;
determining a first proportion based on the matching result, wherein the first proportion is the proportion of the successfully matched verb number in the verb set to the verb number of the verb set;
generating a verb distribution diagram according to the verb set, wherein nodes in the verb distribution diagram are in one-to-one correspondence with verbs in the verb set, and the position of each node is determined based on the distribution position of the verb corresponding to the node in the process flow text;
clustering the nodes based on a preset distance value to obtain a plurality of clusters, and determining a second proportion according to the clusters, wherein the second proportion is the proportion of the number of the clusters with the node number larger than the preset value to the total number of the clusters;
determining the operational complexity according to the first proportion and the second proportion;
the determining the application field range corresponding to the process flow text according to the noun set comprises the following steps:
the method for obtaining the third proportion of proper nouns in the noun set, wherein the proper nouns are nouns used in the specific application field, and judging whether the nouns are proper nouns or not according to each noun in the noun set comprises the following steps: acquiring a plurality of first webpage search records of the nouns through a cloud, acquiring the number of browses and the perpendicularity of a posting website corresponding to each webpage search record, and judging whether the nouns are proper nouns or not according to the number of browses and the perpendicularity of the posting website of each webpage search record, wherein the perpendicularity of the posting website is used for reflecting the similarity degree of posting contents in websites;
and determining the application field range according to the third proportion.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the process flow presentation form determination method of the numerical control system of any one of claims 1 to 4 when executing the program.
7. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the process flow presentation form determination method of the numerical control system according to any one of claims 1 to 4.
CN202310295895.5A 2023-03-24 2023-03-24 Method for determining process flow presentation form of numerical control system and related equipment Active CN116010728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310295895.5A CN116010728B (en) 2023-03-24 2023-03-24 Method for determining process flow presentation form of numerical control system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310295895.5A CN116010728B (en) 2023-03-24 2023-03-24 Method for determining process flow presentation form of numerical control system and related equipment

Publications (2)

Publication Number Publication Date
CN116010728A CN116010728A (en) 2023-04-25
CN116010728B true CN116010728B (en) 2023-05-30

Family

ID=86033921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310295895.5A Active CN116010728B (en) 2023-03-24 2023-03-24 Method for determining process flow presentation form of numerical control system and related equipment

Country Status (1)

Country Link
CN (1) CN116010728B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402949A (en) * 2017-04-28 2017-11-28 西安电子科技大学 A kind of medicine video specification book and specification generation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123325A1 (en) * 2002-12-23 2004-06-24 Ellis Charles W. Technique for delivering entertainment and on-demand tutorial information through a communications network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402949A (en) * 2017-04-28 2017-11-28 西安电子科技大学 A kind of medicine video specification book and specification generation method

Also Published As

Publication number Publication date
CN116010728A (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN108460014B (en) Enterprise entity identification method and device, computer equipment and storage medium
US8630972B2 (en) Providing context for web articles
CN107992585B (en) Universal label mining method, device, server and medium
US7472131B2 (en) Method and apparatus for constructing a compact similarity structure and for using the same in analyzing document relevance
Gong et al. Text stream clustering algorithm based on adaptive feature selection
CN110704603B (en) Method and device for discovering current hot event through information
CN109325201A (en) Generation method, device, equipment and the storage medium of entity relationship data
US10565253B2 (en) Model generation method, word weighting method, device, apparatus, and computer storage medium
WO2009085815A1 (en) Expanding a query to include terms associated through visual content
CN104077417A (en) Figure tag recommendation method and system in social network
US10467255B2 (en) Methods and systems for analyzing reading logs and documents thereof
CN107688563B (en) Synonym recognition method and recognition device
US20230111911A1 (en) Generation and use of content briefs for network content authoring
CN111369294B (en) Software cost estimation method and device
KR20160066216A (en) Method of detecting issue patten associated with user search word, server performing the same and storage medium storing the same
CN110263345B (en) Keyword extraction method, keyword extraction device and storage medium
CN111324705B (en) System and method for adaptively adjusting associated search terms
CN105405051A (en) Financial event prediction method and apparatus
US7895206B2 (en) Search query categrization into verticals
EP3564833B1 (en) Method and device for identifying main picture in web page
Hao et al. Modeling positive and negative feedback for improving document retrieval
CN116010728B (en) Method for determining process flow presentation form of numerical control system and related equipment
CN106570116B (en) Search result aggregation method and device based on artificial intelligence
CN111144122A (en) Evaluation processing method, evaluation processing device, computer system, and medium
US20200110841A1 (en) Efficient mining of web-page related messages

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