Disclosure of Invention
The invention aims to provide a process knowledge application method, a system, a device and a computer readable storage medium, wherein a preset process knowledge base comprising an N-layer storage structure is established in advance, so that effective storage management of process knowledge is realized, the problems of difficult classification and redundant storage of the process knowledge are solved, and the application practicability is higher.
In order to solve the technical problems, the invention provides a process knowledge application method, which comprises the following steps:
receiving a production object keyword input by a user and a sign signal corresponding to a target function to be realized;
Searching in a preset process knowledge base based on the production object keywords according to preset execution logic corresponding to the mark signals and displaying search results so that the user can acquire process knowledge corresponding to the target function;
The preset process knowledge base comprises an N-layer structure, each layer comprises at least one process knowledge object, the jth process knowledge object of the ith layer comprises basic information, object keywords representing information of production objects which can be associated with the jth process knowledge object, technical keywords representing technical categories which the jth process knowledge object can belong to, and a hierarchical linking relation, wherein the hierarchical linking relation represents the process knowledge objects which are located in the (i+1) th layer and are hierarchically associated with the (i+1) th layer, i is an integer which is not less than 2, i is an integer which is not less than 1, j is not more than 1, the total number of the ith process knowledge objects is an integer.
Preferably, when the target function includes a knowledge retrieval function;
searching in a preset process knowledge base and displaying the searching result according to preset execution logic corresponding to the mark signal based on the production object keywords, wherein the method comprises the following steps:
s21: judging whether the production object keywords exist in the object keywords in the process knowledge objects of the layer 1 by taking the process knowledge objects included in the layer 1 of the preset process knowledge base as search references; if yes, go to S22;
S22: let s=1;
s23: taking the content stored in the process knowledge object of the production object keywords in the s layer as a search result to be output in the s layer;
S24: let s=s+1 to update s; judging whether the updated s is not more than N; if yes, go to S25; if not, entering S27;
s25: linking out an s-th layer process knowledge object based on the hierarchical linking relation stored in each updated s-1 layer search result to be output;
S26: taking the content stored in the linked S-layer process knowledge object as a search result to be output of the S-layer, and returning to the S24;
S27: and displaying and outputting the obtained search result to be output forming the N-layer link.
Preferably, the method further comprises:
s28: when it is determined that the production object keywords do not exist in the object keywords in each process knowledge object of layer 1, let z=2;
s29: taking each process knowledge object included in a z-th layer of the preset process knowledge base as a search reference, and judging whether the production object keywords exist in object keywords in each process knowledge object in the z-th layer; if yes, go to S30; if not, enter S31;
S30: let s=z and return to S23;
s31: let z=z+1 and determine whether the z does not exceed N at present; if yes, return to S29.
Preferably, the preset process knowledge base comprises a 5-layer structure, the process knowledge object of the 1 st layer comprises a process route, the process knowledge object of the 2 nd layer comprises a professional process, the process knowledge object of the 3 rd layer comprises a process, the process knowledge object of the 4 th layer comprises a process step and a process model, and the process knowledge object of the 5 th layer comprises a process step content, a process parameter and a process resource.
Preferably, when the target function includes a knowledge push function;
searching in a preset process knowledge base and displaying the searching result according to preset execution logic corresponding to the mark signal based on the production object keywords, wherein the method comprises the following steps:
S41: judging whether the production object keywords exist in the object keywords in the process knowledge objects of the layer 1 by taking the process knowledge objects included in the layer 1 of the preset process knowledge base as search references; if yes, go to S42;
S42: let t=1;
S43: taking the content stored in the process knowledge object of the production object keywords of the t th layer as the t th layer of pushable process knowledge, and displaying;
S44: let t=t+1 to update t; judging whether the updated t is not more than N; if yes, go to S45;
S45: linking out a t-layer process knowledge object based on the hierarchical linking relation stored in the updated t-1 layer of the push process knowledge, and taking the t-layer process knowledge object as an alternative process knowledge object;
S46: judging whether a selection signal sent by the user is received or not, wherein the selection signal is related to the push-enabling technological knowledge with the push-continuing requirement; if yes, go to S47;
S47: determining the pushed process knowledge corresponding to the selection signal as a link reference;
S48: and taking the alternative process knowledge object corresponding to the link standard as a new t-th layer pushable process knowledge, displaying the new t-th layer pushable process knowledge, and returning to S44.
Preferably, after determining the pushable process knowledge corresponding to the selection signal as a link reference, the method further includes:
S49: judging whether modification information for modifying the production object keywords by the characterization sent by the user is received or not; if yes, go to S50;
S50: taking the alternative process knowledge objects corresponding to the link references as search references, and judging whether the modification information exists in each alternative process knowledge object; if yes, go to S51;
s51: and taking the content stored in each alternative process knowledge object with the change information as new t-layer pushable process knowledge, displaying the new t-layer pushable process knowledge, and returning to S44.
Preferably, the method further comprises:
S52: outputting a push failure signal representing that the production object keywords are not present in the layer 1 when the production object keywords are not present in the object keywords in the process knowledge objects of the layer 1;
s53: let u=2;
S54: judging whether a production object keyword input by the user again is received or not; if yes, go to S55;
S55: taking each process knowledge object included in a ith layer of the preset process knowledge base as a search reference, and judging whether the re-input production object keywords exist in object keywords in each process knowledge object in the ith layer; if yes, go to S56; if not, go to S57;
S56: let t=u and return to S43;
s57: outputting a push failure signal representing that the re-input production object keyword does not exist in the u layer;
S58: let u=u+1 and determine if the updated u does not exceed N; if yes, return to S54.
In order to solve the technical problem, the invention also provides a process knowledge application system, which comprises:
the receiving unit is used for receiving the production object keywords input by the user and the sign signals corresponding to the target functions to be realized;
The search display unit is used for searching in a preset process knowledge base according to preset execution logic corresponding to the mark signal based on the production object keywords and displaying the search result so that the user can acquire process knowledge corresponding to the target function;
The preset process knowledge base comprises an N-layer structure, each layer comprises at least one process knowledge object, the jth process knowledge object of the ith layer comprises basic information, object keywords representing information of production objects which can be associated with the jth process knowledge object, technical keywords representing technical categories which the jth process knowledge object can belong to, and a hierarchical linking relation, wherein the hierarchical linking relation represents the process knowledge objects which are located in the (i+1) th layer and are hierarchically associated with the (i+1) th layer, i is an integer which is not less than 2, i is an integer which is not less than 1, j is not more than 1, the total number of the ith process knowledge objects is an integer.
In order to solve the technical problem, the invention also provides a process knowledge application device, which comprises:
A memory for storing a computer program;
a processor for implementing the steps of the process knowledge application method as described above when executing the computer program.
To solve the above technical problem, the present invention further provides a computer readable storage medium, including:
the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the process knowledge application method as described above.
The application provides a process knowledge application method, a system, a device and a computer readable storage medium, wherein a process knowledge is not stored in a data block form according to the prior art, but a preset process knowledge base comprising an N-layer storage structure is pre-established, and process knowledge objects in the process knowledge are used as basic storage units for hierarchical storage. Specifically, each process knowledge object includes basic information, object keywords representing information of a production object which can be associated with the process knowledge object (so as to realize the aim of facing each production object), technical keywords representing technical categories which the process knowledge object can belong to (so as to determine each category which the process knowledge object can belong to according to different classification standards), and hierarchical link relations, wherein the arrangement of the hierarchical link relations can ensure the mapping association relation between the i-th layer process knowledge object and the i+1-th layer process knowledge object, so that when the search is performed according to corresponding preset execution logic based on the production object keywords input by a user, the obtained search result can completely display the process knowledge required by the user for realizing the target function. Compared with the prior art, the method and the device have the advantages that the effective storage management of the process knowledge is realized, the problems of difficult classification and redundant storage of the process knowledge are solved, and the application practicability is higher.
Detailed Description
The core of the invention is to provide a process knowledge application method, a system, a device and a computer readable storage medium, a preset process knowledge base comprising an N-layer storage structure is established in advance, the effective storage management of process knowledge is realized, the problems of difficult classification and redundant storage of the process knowledge are solved, and the application practicability is higher.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. 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.
Referring to fig. 1, fig. 1 is a flowchart of a process knowledge application method provided by the present invention.
In this embodiment, considering that the application of the three-dimensional structural process knowledge is based on the storage management of each process knowledge, the manner adopted in the prior art is mainly to directly package all process knowledge objects in one process knowledge into one data block, and determine the category of each data block to build a storage classification directory or classification tree according to the category. However, when the process knowledge is complex, the category of the process knowledge is difficult to accurately determine, redundant storage is easy to cause, and the knowledge acquisition efficiency is low. In order to solve the technical problems, the application provides a process knowledge application method, wherein a preset process knowledge base comprising an N-layer storage structure is established in advance, and the application practicability is higher.
The process knowledge application method comprises the following steps:
s11: receiving a production object keyword input by a user and a sign signal corresponding to a target function to be realized;
Specifically, the production object has a production object keyword representing typical information of the production object, and the target functions to be implemented by the user include, but are not limited to, knowledge retrieval and knowledge pushing (knowledge pushing may be understood as pushing stored process knowledge to a certain extent in a preset process knowledge base according to the knowledge acquisition requirement of the user so as to refer to the stored process knowledge when the corresponding example process knowledge needs to be established for a certain production object).
S12: searching in a preset process knowledge base based on the production object keywords according to preset execution logic corresponding to the mark signals and displaying the searching result so that a user can acquire process knowledge corresponding to the target function;
The preset process knowledge base comprises an N-layer structure, each layer comprises at least one process knowledge object, the jth process knowledge object of the ith layer comprises basic information, object keywords representing information of production objects which can be associated with the jth process knowledge object, technical keywords representing technical categories which the jth process knowledge object can belong to and a hierarchical link relation, the hierarchical link relation represents the process knowledge objects which are located in the (i+1) th layer and are hierarchically associated with the (i+1) th layer, i is not less than 1 and not less than N, N is an integer not less than 2, j is not less than 1 and not more than the total number of the ith process knowledge objects, and j is an integer.
Specifically, preset execution logic corresponding to the received sign signals one by one is pre-established, for example, when the sign signals representing that the user needs knowledge pushing are received, the preset execution logic is pushed according to the knowledge, searching is performed in a preset process knowledge base based on the keywords of the production objects, and the searching result is displayed, so that the user can acquire corresponding process knowledge.
The content included in the preset process knowledge base is described above, and is not repeated here, and it is to be noted that specific layers of the preset process knowledge base are not particularly limited, and the preset process knowledge base is set according to actual requirements.
It can be seen that, the preset process knowledge base is established while considering object-oriented (i.e. the setting of object keywords ensures the relationship between the process knowledge object and each production object that can be associated) and mapping association between each process knowledge object, and the level linking relationship in the present application only needs to be established between the ith layer of process knowledge object and the (i+1) th layer of process knowledge object, so that along with the recursion of the i, the complete process knowledge of the N layer of links composed of the N layer of process knowledge objects can be well ensured, the linking manner is simple and reliable, and the level linking relationship between the jth process knowledge object of the (i+1) th layer and which process knowledge object of the (i+1) th layer can be established according to the actual requirement, which may be 0 or one or more, and the present application is not particularly limited herein.
It should be noted that, for any process knowledge object, the basic information includes, but is not limited to, information such as a code, a name, a creator, a creation time, and a release time for the process knowledge object; the object keywords include, but are not limited to, a certain finished product, a component, a welding piece, a part and the like, and the number of the object keywords can be set to one or a plurality according to the actual requirement of facing the production object, and the number is not particularly limited here; the technical keywords include, but are not limited to, welding, forming, blanking or single piece, small batch, batch and the like, and the number of the technical keywords can be set to one or a plurality according to the requirements of different classification dimensions, and the technical keywords are not particularly limited herein. Therefore, the problem that classification cannot be performed due to inconsistent classification dimensions or redundant storage is caused by the fact that classification is required to be performed to a plurality of categories simultaneously in the prior art is effectively avoided through the arrangement.
In summary, the present application provides a process knowledge application method, which does not store a process knowledge in the form of a data block according to the prior art, but establishes a preset process knowledge base including an N-layer storage structure in advance, wherein process knowledge objects in the process knowledge are used as basic storage units to perform hierarchical storage. Specifically, each process knowledge object includes basic information, object keywords representing information of a production object which can be associated with the process knowledge object (so as to realize the aim of facing each production object), technical keywords representing technical categories which the process knowledge object can belong to (so as to determine each category which the process knowledge object can belong to according to different classification standards), and hierarchical link relations, wherein the arrangement of the hierarchical link relations can ensure the mapping association relation between the i-th layer process knowledge object and the i+1-th layer process knowledge object, so that when the search is performed according to corresponding preset execution logic based on the production object keywords input by a user, the obtained search result can completely display the process knowledge required by the user for realizing the target function. Compared with the prior art, the method and the device have the advantages that the effective storage management of the process knowledge is realized, the problems of difficult classification and redundant storage of the process knowledge are solved, and the application practicability is higher.
Based on the above embodiments:
As a preferred embodiment, when the target function includes a knowledge retrieval function;
Searching in a preset process knowledge base and displaying the searching result according to preset execution logic corresponding to the mark signal based on the production object keywords, wherein the method comprises the following steps:
S21: judging whether a production object keyword exists in object keywords in each process knowledge object in the layer 1 of a preset process knowledge base by taking each process knowledge object included in the layer 1 as a searching reference; if yes, go to S22;
S22: let s=1;
S23: taking the content stored in the process knowledge object of which the production object keywords exist in the s layer as a search result to be output of the s layer;
S24: let s=s+1 to update s; judging whether the updated s is not more than N; if yes, go to S25; if not, entering S27;
s25: linking out an s-th layer process knowledge object based on the hierarchical linking relation stored in each updated s-1 layer search result to be output; s26: taking the content stored in the linked S-layer process knowledge object as a search result to be output of the S-layer, and returning to the S24;
S27: and displaying and outputting the obtained search result to be output forming the N-layer link.
In this embodiment, how to apply the preset process knowledge base to search and display the search result when the user has knowledge retrieval requirements is given. Specifically, the searching is performed on the 1 st layer of the preset knowledge base according to the received production object keywords, that is, in the step S21, considering that the number of the object keywords included in each process knowledge object may be one or more, so that there may be a plurality of process knowledge objects each having the production object keywords in the step S21, so that all the process knowledge objects are used as the 1 st layer to-be-output search result, and then sequentially recursion is performed according to the subsequent steps S24 to S26, so as to obtain the remaining N-1 th layer to-be-output search result for each to-be-output search result of the 1 st layer, finally form a plurality of to-be-output search results (the number is the same as the number of the process knowledge objects of the 1 st layer to-be-output search result) with N layers of links, and perform display output.
Specifically, taking n=3 and layer 1 including 2 process knowledge objects A1 and A2, layer 2 including 2 process knowledge objects B1 and B2, and layer 3 including 3 process knowledge objects C1, C2 and C3, wherein A1 and B1 have a linking relationship and A2 and B2 have a linking relationship, B1 and C1, C2 have a linking relationship and B2 and C3 have a linking relationship as an example for illustration of the above steps:
when receiving a production object keyword input by a user, judging whether the production object keyword exists in the object keywords of A1 and A2 by taking A1 and A2 of the 1 st layer as search references, and assuming that the production object keyword exists in A1, making s=1, and taking the content stored in A1 of the 1 st layer as a search result to be output of the 1 st layer; then let s=s+1 know that s=2 after updating is smaller than 3, then, based on the hierarchical link relation stored in s-1 (i.e. layer 1) A1 after updating, link B1, the content stored in B1 is regarded as the search result to be output, i.e. layer s (i.e. layer 2); let s=s+1 then know that s=3 after updating and is equal to 3, N is not exceeded, so C1, C2 are linked based on the hierarchical linking relationship stored in s-1 (i.e. layer 2) B1 after updating, and the content stored in C1, C2 is used as the search result to be output, i.e. layer s (i.e. layer 3); then let s=s+1 know that s=4 and exceeds N after updating, and then go to S27, and the obtained search result to be output forming the N-layer link is A1-B1-c2+c2, so as to perform display output.
As a preferred embodiment, further comprising:
S28: when judging that the object keywords in the process knowledge objects of the layer 1 do not exist, enabling z=2;
s29: taking each process knowledge object included in a z-th layer of a preset process knowledge base as a searching reference, and judging whether a production object keyword exists in object keywords in each process knowledge object in the z-th layer; if yes, go to S30; if not, enter S31;
S30: let s=z and return to S23;
s31: let z=z+1 and determine if the current z does not exceed N; if yes, return to S29.
In this embodiment, for knowledge searching, execution logic is provided when it is determined that there is no production object keyword in object keywords in each process knowledge object of layer 1, and specific implementation steps are described above, which are not repeated here. Therefore, the method simply and reliably ensures that the production object keywords can be retrieved, displayed and output as long as the production object keywords exist in the preset process knowledge base, and has strong practicability.
If z=z+1, it is determined that z exceeds N, the loop may be ended and a search failure signal indicating that no information corresponding to the production target keyword exists in the preset process knowledge base may be output, so that the user may know it, and the present invention is not limited thereto.
In particular, the part of execution logic will be described still on the basis of the example given in the above embodiment:
Assuming that the production object keywords are not existed in the object keywords of A1 and A2, let z=2, taking each process knowledge object included in the z layer of the preset process knowledge base as a searching reference (namely B1 and B2 in the 2 nd layer), and judging whether the production object keywords exist in the object keywords of B1 and B2;
If yes, s=z=2 is returned to step S23, and the subsequent logic is the same as that in the above example and will not be described again;
If not, updating z=z+1=3, and not exceeding N, returning to S29 to use each process knowledge object included in the z-th layer of the preset process knowledge base as a search reference (i.e., C1, C2 and C3 in the 3 rd layer), and judging whether the production object keywords exist in the object keywords of C1, C2 and C3;
If yes, s=z=3 is returned to step S23, and the subsequent logic is the same as that in the above example and will not be described again;
If not, update z=z+1=4, exceeding N, the loop may be ended and the search failure signal described above may be output. As a preferred embodiment, the preset process knowledge base includes a 5-layer structure, the process knowledge object of the 1 st layer includes a process route, the process knowledge object of the 2 nd layer includes a professional process, the process knowledge object of the 3 rd layer includes a process, the process knowledge object of the 4 th layer includes a process step and a process model, and the process knowledge object of the 5 th layer includes a process step content, a process parameter and a process resource.
In this embodiment, the preset process knowledge base may specifically include a 5-layer structure, and the contents included in each layer structure are described above, which is not described herein again. Specifically, please refer to fig. 2 for a schematic structure of the 5-layer structure.
More specifically, the process route of the 1 st level has a composition relation with a plurality of specialized processes, taking the process route as a lifting lug for example, and the process route comprises basic information (for example, the serial number of 000001, the name of lifting lug-process route and the like), object keywords (for example, lifting lugs, lug plates, plates and the like), technical keywords (for example, cutting, beveling, drilling and the like), and a level linkage relation (for example, links with the blanking, machining and welding of the next level of specialized processes);
The professional process of the 2 nd layer has a composition relation with a plurality of identical professions and associated working procedures, taking the machine processing professional process as an example, the machine processing professional process comprises basic information (such as serial number: 000002, name: lifting lug-machine processing and the like), object keywords (such as lifting lugs, plates and the like), technical keywords (such as drilling holes and the like), and a layer linkage relation (such as linkage with two working procedures of a next layer of drawing and drilling holes);
The 3 rd level process herein has a composition relationship with several process steps and process models, and the drilling process includes basic information (for example, number: 000003, name: lug-drill, etc.), object keywords (for example, lug plate, etc.), technical keywords (for example, drill, etc.), hierarchical linkage relationship (for example, linkage with drilling, reaming, checking three process steps of the next hierarchy and CAD process model describing the drilling process);
The 4 th level of steps has a composition relationship with the contents of the steps, the process parameters and the process resources, and the drilling steps include basic information (for example, the numbers: 000004, the names: lifting lug-drilling, etc.), object keywords (for example, lifting lugs, plates, holes, etc.), technical keywords (for example, drilling, threaded holes, etc.), and a level linkage relationship (for example, links with the process contents, the process parameters and the process resources of the next level); taking a CAD process model as an example, it includes basic information (for example, the number is 000008, the name is a lug-drill-process model, the format is prt, etc.), object keywords (for example, a lug, an ear plate, a hole, etc.), technical keywords (for example, a drill, a threaded hole, etc.), and hierarchical link relationships (null);
the process step of layer 5 here may be a tapped hole corresponding to the above-described drilling process step: basic information (for example, the number: 000005, the name: lifting lug-drill, the content: line changing, drilling, tapping of M16 threaded holes, and tapping of 40mm deep), object keywords (for example, lifting lugs, lug plates, holes, and the like), technical keywords (for example, drilling, threaded holes, and the like), and hierarchical link relationships (null); the process parameters of layer 5 may be the parameters of the drilled holes corresponding to the drilling steps described above: basic information (for example, number: 000006, name: lug-drill, content: drilling process parameter: feed f=0.3 mm/r), object keywords (for example, lug plate, hole, etc.), technical keywords (for example, drill, threaded hole, etc.), hierarchical link relation (null); the process resource of the 5 th layer can be a drilling machine Z3050 corresponding to the drilling step: including basic information (e.g., number: 000007, name: drill press Z3050, weight: X tons), object keywords (e.g., holes, etc.), technical keywords (e.g., drills, threaded holes, etc.), hierarchical link relationships (empty).
As a preferred embodiment, when the target function includes a knowledge push function;
Searching in a preset process knowledge base and displaying the searching result according to preset execution logic corresponding to the mark signal based on the production object keywords, wherein the method comprises the following steps:
S41: judging whether a production object keyword exists in object keywords in each process knowledge object in the layer 1 of a preset process knowledge base by taking each process knowledge object included in the layer 1 as a searching reference; if yes, go to S42;
S42: let t=1;
s43: taking the content stored in the process knowledge objects of which the production object keywords exist in the t th layer as the t th layer of pushable process knowledge, and displaying the content;
S44: let t=t+1 to update t; judging whether the updated t is not more than N; if yes, go to S45;
s45: linking out a t-layer process knowledge object based on a hierarchical linking relation stored in the updated t-1 layer push process knowledge, and taking the t-layer process knowledge object as an alternative process knowledge object;
S46: judging whether a selection signal sent by a user is received or not, wherein the selection signal is related to the pushable technological knowledge with the continuous pushing requirement; if yes, go to S47;
s47: determining the pushable process knowledge corresponding to the selection signal as a link reference;
s48: and taking the alternative process knowledge object corresponding to the link standard as a new t-th layer pushable process knowledge, displaying the pushed process knowledge, and returning to S44.
In this embodiment, how to search and implement hierarchical push display by using a preset process knowledge base when a user has a knowledge push requirement is given, so as to complete man-machine interaction between the user and the preset process knowledge base. Specifically, the searching is performed on the 1 st layer of the preset knowledge base according to the received production object keywords, that is, the step S41, and considering that the object keywords for each process knowledge object may be one or more, there may be a plurality of process knowledge objects each having a production object keyword in the step S41, and then, the content stored in one or more process knowledge objects having a production object keyword on the 1 st layer is used as the pushable process knowledge on the 1 st layer, so as to display the pushable process knowledge to the user.
And when receiving the plurality of display contents, the user can select one or more process knowledge objects in the layer 1 display result according to the process bill of materials (PBOM), start the subsequent pushing (namely, send the selection signal, wherein for the selection signal, it is required to explain that, assuming that 3 process knowledge objects are pushed out of the layer 1, the user selects two process knowledge objects, the selection signal is used for representing that the two process knowledge objects are selected as signals for continuing to push, then recursion is sequentially performed according to the subsequent steps S44 to S48, and finally the content wanted by the user is pushed in a layered manner according to the user requirement. It should be noted that, the user may also change the content in the pushed process knowledge object according to the actual PBOM requirement, where the change is limited to the user applying the pushed content to build the example process knowledge of the production object, and the corresponding content in the preset process knowledge base is not changed.
Specifically, taking n=3 and layer 1 including 3 process knowledge objects D1, D2 and D3, layer 2 including 4 process knowledge objects E1, E2, E3 and E4, layer 3 including 5 process knowledge objects F1, F2, F3, F4 and F5, wherein D1 has a link relationship with E1, E2 and D2 has a link relationship with E3 and D3 has a link relationship with E4, E1 has a link relationship with F1, F2 and E2 has a link relationship with F3 and E3 has a link relationship with F4 and E4 has a link relationship with F5 as an illustration of the above steps:
When receiving a production object keyword input by a user, judging whether the production object keyword exists in the object keywords of D1, D2 and D3 by taking D1, D2 and D3 of the layer 1 as search references, assuming that the production object keyword exists in D1 and D2, taking the content stored in D1 and D2 of the layer 1 as layer 1 push-able process knowledge, and pushing and displaying the content to the user.
Let t=t+1 then know that the updated t=2 is less than 3, and then link out the t-th layer (i.e. layer 2) process knowledge object (i.e. D1 links out E1, E2, D2 links out E3) based on the hierarchical linking relationship stored in the updated t-1 layer push process knowledge (i.e. D1 and D2 of layer 1), and take the linking results as the candidate process knowledge objects; judging whether a selection signal sent by a user is received (assuming that the user selects to continuously push the lower-layer information aiming at D1 and D2), if so, the push-able process knowledge corresponding to the selection signal is D1 and D2, and then when D1 is taken as a link reference, the alternative process knowledge objects E1 and E2 corresponding to D1 are used as the push-able process knowledge objects of the layer 2; when D2 is taken as a link reference, taking an alternative process knowledge object E3 corresponding to D2 as a layer 2 push-able process knowledge object, and finally taking E1 and E2 corresponding to D1 and E3 corresponding to D2 as layer 2 push-able process knowledge for push display.
Let t=t+1 then know that the updated t=3 and does not exceed N, and then link out the t-th layer (i.e. 3 rd layer) process knowledge object (i.e. E1 links out F1, F2, E2 links out F3, E3 links out F4) based on the hierarchical linking relationship stored in the updated t-1 layer pushable process knowledge (i.e. E1, E2, E3 of layer 2), and take the above linking results as the candidate process knowledge objects; judging whether a selection signal sent by a user is received (the condition that the user selects to push the lower-layer information only aiming at E1 is assumed), if so, the push-able process knowledge corresponding to the selection signal is E1, and then when E1 is taken as a link reference, the alternative process knowledge objects F1 and F2 corresponding to E1 are 3-layer push-able process knowledge objects; and taking F1 and F2 as 3 rd layer push-able process knowledge to carry out push display.
Let t=t+1 then know that the updated t=4 exceeds N, whereupon the push can be ended, and it will be appreciated that an end signal can be output at this point, which characterizes the completion of the push.
As a preferred embodiment, after determining the pushable process knowledge corresponding to the selection signal as the link reference, the method further includes:
S49: judging whether modification information for characterizing and modifying the keywords of the production objects sent by a user is received or not; if yes, go to S50;
s50: taking the alternative process knowledge objects corresponding to the link references as search references, and judging whether modification information exists in each alternative process knowledge object; if yes, go to S51;
S51: and taking the content stored in each alternative process knowledge object with the change information as new t-th layer pushable process knowledge, displaying the pushed process knowledge, and returning to S44.
In this embodiment, considering that the user may have a need to further adjust the production key in conjunction with the pushed process knowledge object, the processing may be performed according to the execution logic, and specific steps are described above, which will not be repeated here. The modification information is understood to mean that a certain production object keyword is added to the characterization, and is not particularly limited herein. Therefore, the user requirements can be well met through the arrangement of the mode, and the effectiveness and the effect of knowledge pushing are guaranteed.
Specifically, on the basis of the examples in the above embodiments, the contents of this embodiment are further described:
Assuming that the user determines to select to continue pushing the lower-layer information for both D1 and D2 when receiving the layer 1 pushable process knowledge D1 and D2, but at this time, a modification information characterizing to add a certain production object keyword is also sent.
Then, after receiving the change information, when D1 is taken as a link reference, the alternative process knowledge objects corresponding to D1 are E1 and E2, and the alternative process knowledge objects (E1 and E2) corresponding to the link reference are taken as search references, so as to judge whether the change information exists in the alternative process knowledge objects (E1 and E2); assuming that only the change information exists in E1, taking the content stored in E1 as layer 2 push technology knowledge; when D2 is taken as a link reference, an alternative process knowledge object (E3) corresponding to the link reference is taken as a search reference, whether modification information exists in each alternative process knowledge object (E3) is judged, and if modification information exists in E3, the content stored in E3 is also taken as layer 2 pushable process knowledge; and finally, pushing E1 and E3 to the user as layer 2 push-able process knowledge, and returning to S44.
As a preferred embodiment, further comprising:
s52: outputting a push failure signal representing that the production object keywords do not exist in the layer 1 when the fact that the production object keywords do not exist in the object keywords in the process knowledge objects of the layer 1 is judged;
s53: let u=2;
S54: judging whether a production object keyword input by a user again is received or not; if yes, go to S55;
S55: judging whether a re-input production object keyword exists in object keywords in each process knowledge object in a u layer of a preset process knowledge base by taking each process knowledge object included in the u layer as a searching reference; if yes, go to S56; if not, go to S57;
S56: let t=u and return to S43;
s57: outputting a push failure signal representing that the u-th layer does not have the re-input production object keywords;
S58: let u=u+1 and determine if the updated u does not exceed N; if yes, return to S54.
In this embodiment, for knowledge pushing, when it is determined that there is no production object keyword in object keywords in each process knowledge object of layer 1, the specific implementation steps are described above, and are not described here again. Therefore, the method simply and reliably ensures that the production object keywords exist in the preset process knowledge base to be pushed and displayed, and feedback can be timely given when the production object keywords do not exist so as to facilitate subsequent processing of users, so that the method has strong practicability.
In particular, the part of execution logic will be described still on the basis of the example given in the above embodiment:
Assuming that none of the object keywords of D1, D2, and D3 is determined to be present, a push failure signal is output that characterizes that no object keywords are present at layer 1, so that a user manually creates an instance portion corresponding to a layer 1 process knowledge object.
Then, when judging that the production object keywords input by the user again are received, letting u=2, taking each process knowledge object included in the u layer of the preset process knowledge base as a searching reference (namely E1, E2, E3 and E4 in the 2 nd layer), and judging whether the production object keywords exist in the object keywords of E1, E2, E3 and E4;
if so, returning t=u=2 to step S43, and the subsequent logic is the same as that in the above example and will not be described again; if the key word does not exist, a push failure signal indicating that the production object key word input again does not exist in the u layer (layer 2) is output.
Subsequently updating u=u+1=3, and N is not exceeded, returning to S54; when the process knowledge objects included in the u layer of the preset process knowledge base are used as search references (namely F1, F2, F3, F4 and F5 in the 3 rd layer) when the process object keywords re-input by the user are judged to be received, judging whether the process object keywords exist in the object keywords of F1, F2, F3, F4 and F5; if so, returning t=u=3 to step S43, and the subsequent logic is the same as that in the above example and will not be described again; if not, the update u=u+1=4, exceeding N, may end the loop and output a signal indicating a push failure.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a process knowledge application system provided by the present invention.
The process knowledge application system comprises:
a receiving unit 61, configured to receive a production object keyword input by a user and a flag signal corresponding to a target function to be implemented by the production object keyword;
a search display unit 62 for searching in a preset process knowledge base according to preset execution logic corresponding to the flag signal based on the production object keyword and displaying the searched result so that the user can acquire process knowledge corresponding to the target function;
The preset process knowledge base comprises an N-layer structure, each layer comprises at least one process knowledge object, the jth process knowledge object of the ith layer comprises basic information, object keywords representing information of production objects which can be associated with the jth process knowledge object, technical keywords representing technical categories which the jth process knowledge object can belong to and a hierarchical link relation, the hierarchical link relation represents the process knowledge objects which are located in the (i+1) th layer and are hierarchically associated with the (i+1) th layer, i is not less than 1 and not less than N, N is an integer not less than 2, j is not less than 1 and not more than the total number of the ith process knowledge objects, and j is an integer.
For the description of the process knowledge application system provided in the present invention, reference is made to the embodiment of the process knowledge application method described above, and the description thereof is omitted here.
As a preferred embodiment, when the target function includes a knowledge retrieval function, the search display unit 62 includes:
a first judging unit, configured to judge whether the production object keyword exists in the object keywords in each process knowledge object in the 1 st layer, where each process knowledge object included in the 1 st layer of the preset process knowledge base is used as a search reference; if yes, triggering a first assignment unit;
the first assignment unit is configured to let s=1;
A first determining unit, configured to use contents stored in process knowledge objects of the s-th layer, where the process knowledge objects have the production object keywords, as a search result to be output of the s-th layer;
A second judgment unit for letting s=s+1 to update s; judging whether the updated s is not more than N; if yes, triggering a first link unit; if not, triggering a search result output unit;
the first linking unit is used for linking out an s-th layer process knowledge object based on the hierarchical linking relation stored in each of the updated s-1 layers of search results to be output;
the second determining unit is used for taking the content stored in the linked s-layer process knowledge object as a search result to be output of the s-layer and returning the search result to the second judging unit;
And the search result output unit is used for displaying and outputting the obtained search result to be output forming the N-layer link.
As a preferred embodiment, the system further comprises:
A second assignment unit configured to, when it is determined that the production object keywords do not exist in the object keywords in each of the process knowledge objects of layer 1, let z=2;
a third judging unit, configured to judge whether the production object keyword exists in the object keywords in each process knowledge object in the z-th layer by using each process knowledge object included in the z-th layer of the preset process knowledge base as a search reference; if yes, entering a third assignment unit; if not, entering a fourth judging unit;
the third assignment unit is used for making s=z and returning to the first determination unit;
The fourth judging unit is configured to make z=z+1 and judge whether z does not exceed N currently; if yes, returning to the third judging unit.
As a preferred embodiment, when the target function includes a knowledge push function, the search display unit 62 includes:
A fifth judging unit, configured to judge whether the production object keyword exists in the object keywords in each process knowledge object of the 1 st layer by using each process knowledge object included in the 1 st layer of the preset process knowledge base as a search reference; if yes, triggering a fourth assignment unit;
the fourth assignment unit is configured to let t=1;
The first pushing display unit is used for taking the content stored in the process knowledge object of the production object keywords in the t layer as the t layer of the pushing process knowledge and displaying the content;
a sixth judging unit configured to let t=t+1 to update t; judging whether the updated t is not more than N; if yes, triggering an alternative determining unit;
the alternative determining unit is used for linking out a t-layer process knowledge object based on the hierarchical linking relation stored in the updated t-1-layer push process knowledge and taking the t-layer process knowledge object as an alternative process knowledge object;
A seventh judging unit, configured to judge whether a selection signal sent by the user is received, where the selection signal is related to a pushable process knowledge that has a requirement of continuing pushing; if yes, triggering a link reference determining unit;
the link reference determining unit is used for determining the pushable process knowledge corresponding to the selection signal as a link reference;
The second pushing display unit is used for taking the alternative process knowledge object corresponding to the link standard as new t-layer pushed process knowledge, displaying the new t-layer pushed process knowledge and returning to the sixth judging unit;
As a preferred embodiment, the system further comprises:
An eighth judging unit configured to judge whether modification information for modifying the production object keyword by the characterization transmitted by the user is received after the link reference determining unit; if yes, triggering a ninth judging unit;
the ninth judging unit is configured to judge whether the modification information exists in each of the candidate process knowledge objects by using the candidate process knowledge object corresponding to the link reference as a search reference; if yes, triggering a third pushing display unit;
The third pushing display unit is configured to use the content stored in each candidate process knowledge object with the modification information as new t-th layer of the pushable process knowledge, and display the new t-th layer of the pushable process knowledge, and return to the sixth judging unit.
As a preferred embodiment, the system further comprises:
The first fault signal output unit is used for outputting a push fault signal representing that the production object keywords are not existed in the 1 st layer when the production object keywords are not existed in the object keywords in the 1 st layer of each process knowledge object;
A fifth assigning unit for letting u=2;
a tenth judgment unit configured to judge whether a production object keyword re-input by the user is received; if yes, triggering an eleventh judging unit;
The eleventh judging unit is configured to judge whether the re-input production object keywords exist in object keywords in each process knowledge object in a u-th layer of the preset process knowledge base by using each process knowledge object included in the u-th layer as a search reference; if yes, triggering a sixth assignment unit; if not, triggering a second fault signal output unit;
the sixth assignment unit is configured to let t=u and return to the first push display unit;
the second fault signal output unit is used for outputting a push failure signal representing that the re-input production object keyword does not exist in the u th layer;
A twelfth judging unit for letting u=u+1 and judging whether the updated u does not exceed N; if yes, returning to the tenth judging unit.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a process knowledge application apparatus provided by the present invention.
The process knowledge application device comprises:
a memory 71 for storing a computer program;
A processor 72 for implementing the steps of the process knowledge application method as described above when executing said computer program.
For the description of the process knowledge application apparatus provided in the present invention, reference is made to the embodiment of the process knowledge application method described above, and the description thereof is omitted herein.
The present invention also provides a computer-readable storage medium comprising:
The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the process knowledge application method as described above.
For the description of the computer-readable storage medium provided in the present invention, reference is made to the embodiment of the process knowledge application method described above, and the description thereof is omitted here.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.