Work order label adding method, device, equipment and storage medium

By obtaining and classifying non-standard labels, generating tag selection pages and word cloud maps, users selecting and adding standard labels, solving the problem of inaccurate work order labels and improving the accuracy and standardization of labels.

CN113504865BActive Publication Date: 2025-02-25PING AN TRUST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110842970.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-26
Publication Date
2025-02-25
Estimated Expiration
2041-07-26

AI Technical Summary

Technical Problem

In the prior art, the labeling of work orders is inaccurate, which is mainly due to the large number of manual labels and the large number of processing personnel, resulting in inconsistent label classification and difficult to unify and standardize.

Method used

By obtaining non-standard labels in the original work ticket collection, classifying them by tag type, generating a tag selection page and the original tag word cloud map, the user selects the target label in the word cloud map and adds it as a standard label.

Benefits of technology

It improves the accuracy and standardization of work order labels, ensures that both high-frequency and low-frequency labels can be accurately selected, and enhances the uniformity of work order labels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113504865B_ABST
    Figure CN113504865B_ABST
Patent Text Reader

Abstract

The present invention relates to data display technology, and discloses a method for adding work order labels, including: determining the work order types included in the original work order set according to the non-standard labels of the original work order, after receiving a request instruction to add labels to the work order to be labeled, generating a label selection page for the work order to be labeled according to the non-standard labels and the work order type, detecting the number of labels selected by the user in the label selection page and the selected target work order type, and generating an original label word cloud map of the work order to be labeled, detecting the target label selected by the user in the original label word cloud map, and adding the target label as the standard label of the work order to be labeled. In addition, the present invention also relates to blockchain technology, and the original work order can be obtained from a node of the blockchain. The present invention also proposes a work order label adding device, an electronic device, and a computer-readable storage medium. The present invention can solve the problem of inaccurate labeling of work orders.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data display technology, and in particular to a work order label adding method, device, electronic device and computer-readable storage medium. Background Art

[0002] As the business develops, each company has more and more business systems, which will also bring more problems. Users will report problem tickets in many systems. By manually labeling the problem tickets, we can quickly find out which functional modules the problems of each system are concentrated in.

[0003] Under the existing technology, the labels manually added to problem work orders are often numerous and complex, and there are many people handling problem work orders. Such labels are added dynamically and all options cannot be set in advance. The conventional labeling method is prone to different people describing the same work order differently, resulting in inconsistent label classification. It is difficult to unify and standardize work order labels, resulting in inaccurate labeling of work orders. Summary of the invention

[0004] The present invention provides a method, device, equipment and storage medium for adding labels to a work order, the main purpose of which is to solve the problem of inaccurate label addition to a work order.

[0005] To achieve the above object, the present invention provides a method for adding a work order label, comprising:

[0006] Obtaining an original work order set, wherein the original work order set includes non-standard tags of the original work orders;

[0007] Determining the work order types included in the original work order set according to the type of the non-standard tag;

[0008] After receiving a request instruction to add a label to the work order to be labeled, generating a label selection page for the work order to be labeled according to the non-standard label and the work order type;

[0009] Detecting the number of tags selected by the user in the tag selection page and the type of target work order selected, and generating an original tag word cloud diagram of the work order to be annotated according to the number of tags and the type of target work order;

[0010] Detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be labeled.

[0011] Optionally, generating a label selection page for the work order to be annotated according to the non-standard label and the work order type includes:

[0012] Selecting classified work order sets of different work order types in the original work order set in sequence;

[0013] Extracting description tags contained in the non-standard tags in the classified work order set;

[0014] Performing word frequency statistics on the description tag, and performing style settings on the description tag according to the word frequency statistics result and a preset tag style to obtain a style tag;

[0015] Setting a page label block according to the category name of the classified work order set;

[0016] Using a preset tag quantity threshold to display and divide the style tags, and setting a display drop-down block;

[0017] The page label block and the display drop-down block are integrated to obtain a label selection page for the work order to be labeled.

[0018] Optionally, generating an original tag word cloud diagram of the work order to be annotated according to the tag quantity and the target work order type includes:

[0019] A preset word cloud generator is used to generate an original tag word cloud corresponding to the target work order type and the tag quantity.

[0020] Optionally, determining the work order types included in the original work order set according to the types of the non-standard tags includes:

[0021] Extracting the type tag included in the non-standard tag;

[0022] Classifying the original work order set according to the type label and the preset classification rule to obtain one or more classified work order sets;

[0023] The work order types included in the original work order set are determined according to the classification of the classified work order set.

[0024] Optionally, after adding the target tag as a standard tag of the work order to be labeled, the method further includes:

[0025] Calculate the similarity between the target tag and the tags not selected in the original tag word cloud;

[0026] When the similarity between the target tag and the unselected tags is greater than the similarity threshold, the target tag is used to replace the tag whose similarity is greater than the similarity threshold, and the word frequency describing the tag in the original tag word cloud is counted again;

[0027] Setting the style of the label after the re-word frequency statistics according to the label style to obtain a standard style label;

[0028] The word cloud generator is used to generate a standard tag word cloud of the standard style tag, and the original tag word cloud is replaced with the standard tag word cloud.

[0029] Optionally, the method further includes:

[0030] When the similarity between the target tag and the unselected tags is less than or equal to a preset similarity threshold, the original tag word cloud is maintained.

[0031] Optionally, calculating the similarity between the target tag and the unselected tags in the original tag word cloud diagram includes:

[0032] Select any unselected tag as a comparison tag in turn, perform word segmentation on the target tag and the comparison tag, and obtain a target list and a comparison list;

[0033] constructing a coding dictionary according to the target list and the comparison list;

[0034] Performing vector encoding on the target list and the comparison list using the encoding dictionary to obtain a target vector and a comparison vector;

[0035] The target similarity between the target vector and the comparison vector is calculated using a preset cosine similarity calculation formula, and the target similarity is determined to be the similarity between the target tag and the comparison tag.

[0036] In order to solve the above problem, the present invention also provides a work order label adding device, the device comprising:

[0037] A work order classification module is used to obtain an original work order set, wherein the original work order set includes non-standard tags of the original work orders; and determine the type of work orders included in the original work order set according to the type of the non-standard tags;

[0038] A label selection page generation module, configured to generate a label selection page for the work order to be annotated according to the non-standard label and the work order type after receiving a request instruction to add an annotation to the work order to be annotated;

[0039] A tag word cloud generation module is used to detect the number of tags selected by the user in the tag selection page and the selected target work order type, and generate an original tag word cloud of the work order to be annotated according to the number of tags and the target work order type;

[0040] The tag adding module is used to detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be marked.

[0041] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0042] a memory storing at least one instruction; and

[0043] The processor executes the instructions stored in the memory to implement the above-mentioned work order label adding method.

[0044] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned work order label adding method.

[0045] The present invention classifies work orders through non-standard labels, which can refine the types of work orders and improve the standardization of labels for work orders. In addition, the labels of work orders are displayed and selected using a label word cloud diagram, so that both high-frequency labels and low-frequency labels can be accurately selected, which is conducive to improving the accuracy of work order labels. Therefore, the work order labeling method, device, electronic device and computer-readable storage medium proposed in the present invention can solve the problem of inaccurate labeling of work orders. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic diagram of a process for adding a work order label according to an embodiment of the present invention;

[0047] Figure 2 A functional module diagram of a device for adding work order labels provided in one embodiment of the present invention;

[0048] Figure 3 A schematic diagram of the structure of an electronic device for implementing the work order tag adding method provided in one embodiment of the present invention.

[0049] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0051] The embodiment of the present application provides a method for adding a work order label. The execution subject of the work order label adding method includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the work order label adding method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0052] Reference Figure 1 FIG. 1 is a flow chart of a method for adding a work order label provided by an embodiment of the present invention. In this embodiment, the method for adding a work order label includes:

[0053] S1. Obtain an original work order set, where the original work order set includes non-standard tags of the original work orders.

[0054] In the embodiment of the present invention, the original work order set may be a historical form set used to handle reported problems in various fields. For example, there are many business systems in the banking field, and whenever a user has a problem to report, each system will circulate and report it in the form of a work order, forming a historical form set.

[0055] In an embodiment of the present invention, a preset work order acquisition interface can be used to connect to the work order upload interface of each business system to obtain the original work order of each business system. The business systems can be application products in various fields. For example, in the banking field, the business systems of Bank A include "A Pocket Bank", "Bank A Auto Finance Assistant", etc.

[0056] In an optional embodiment of the present invention, the non-standard label may be a historical label added by business staff based on the content of the problem work order, including a type label and a description label, the type label being the type of the work order, and the description label being the problem description of the work order (including "to-be-done task verification", "calculation error", "user self-resolved", "code logic verification", "product elements not set", etc.).

[0057] For example: "User Complaint - Improper Customer Service Handling", where the type label is "User Complaint" and the description label is "Improper Customer Service Handling".

[0058] S2. Determine the work order type included in the original work order set according to the type of the non-standard tag.

[0059] Specifically, determining the work order type included in the original work order set according to the type of the non-standard tag includes:

[0060] Extracting the type tag included in the non-standard tag;

[0061] Classifying the original work order set according to the type label and the preset classification rule to obtain one or more classified work order sets;

[0062] The work order types included in the original work order set are determined according to the classification of the classified work order set.

[0063] In an embodiment of the present invention, the preset classification rules can be classified according to the keywords of the type tag. For example, by extracting the keywords "complaint", "assistance", etc. of the type tag in the non-standard tag, the work orders of different systems can be divided to obtain classified work order sets such as "Business System A-User Assistance", "Business System A-User Complaint", and "Business System B-User Assistance".

[0064] In an optional embodiment of the present invention, since each business system will have users reporting problem tickets, by classifying the tickets according to non-standard tags, it is possible to more accurately determine which functional modules the problem tickets of each system are concentrated in, thereby improving the maintainability of the system.

[0065] S3. After receiving a request instruction to add a label to the work order to be labeled, a label selection page for the work order to be labeled is generated according to the non-standard label and the work order type.

[0066] In the embodiment of the present invention, the work order to be marked may be a problem work order uploaded in real time by each business system but not tagged by the business staff. The tag selection page is used to mark the work order to be marked according to the tag selected by the business staff.

[0067] Specifically, generating a label selection page for the work order to be marked according to the non-standard label and the work order type includes:

[0068] Selecting classified work order sets of different work order types in the original work order set in sequence;

[0069] Extracting description tags contained in the non-standard tags in the classified work order set;

[0070] Performing word frequency statistics on the description tag, and performing style settings on the description tag according to the word frequency statistics result and a preset tag style to obtain a style tag;

[0071] Setting a page label block according to the category name of the classified work order set;

[0072] Using a preset tag quantity threshold to display and divide the style tags, and setting a display drop-down block;

[0073] The page label block and the display drop-down block are integrated to obtain a label selection page for the work order to be labeled.

[0074] In an optional embodiment of the present invention, the preset label style includes label font, label color, etc. For example, after the word frequency statistics, the labels are arranged by word frequency, and the label colors are set from high to low to: "red", "purple", "green", "black", etc. The label font can be bold, and the font size can be set from high to low to size 2, size 3, size 4, size 5, etc., that is, the font size of the word with higher frequency is set to be larger.

[0075] In an optional embodiment of the present invention, the page label block is used to select the corresponding classified work order set, and the display drop-down block is used to select the display quantity of the label. For example, the page label block includes the classified work order set: "Business System A-User Assistance", "Business System B-User Assistance", etc., and the display quantity in the display drop-down block includes: 50, 30, 10, etc.

[0076] S4. Detect the number of tags selected by the user in the tag selection page and the target work order type selected, and generate an original tag word cloud of the work order to be annotated according to the number of tags and the target work order type.

[0077] In this embodiment, the number of tags selected by the user is the display number in the aforementioned display drop-down block.

[0078] Specifically, generating the original tag word cloud diagram of the work order to be annotated according to the tag quantity and the target work order type includes:

[0079] A preset word cloud generator is used to generate an original tag word cloud corresponding to the target work order type and the tag quantity.

[0080] In an optional embodiment of the present invention, the preset word cloud generator may be wordcloud2, Wordle, etc. For example, if the target work order type selected by the user is "Business System A-User Assistance" in the page tag block, and the number of tags selected is 50 in the display drop-down block, a word cloud of the top 50 words in the frequency ranking of the tags describing "Business System A-User Assistance" is generated.

[0081] Furthermore, since the tags in the problem tickets are often numerous and complex, and most of them appear very rarely, the tags are displayed in the form of word clouds, which more intuitively reflects the high-frequency tags in the tickets and facilitates their selection.

[0082] S5. Detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be labeled.

[0083] In another optional embodiment of the present invention, after adding the target tag as a standard tag of the work order to be labeled, the method further includes:

[0084] Calculate the similarity between the target tag and the tags not selected in the original tag word cloud;

[0085] When the similarity between the target tag and the unselected tags is greater than the similarity threshold, the target tag is used to replace the tag whose similarity is greater than the similarity threshold, and the word frequency describing the tag in the original tag word cloud is counted again;

[0086] Setting the style of the label after the re-word frequency statistics according to the label style to obtain a standard style label;

[0087] The word cloud generator is used to generate a standard tag word cloud of the standard style tag, and the original tag word cloud is replaced with the standard tag word cloud.

[0088] In another optional embodiment of the present invention, the method further includes:

[0089] When the similarity between the target tag and the unselected tags is less than or equal to a preset similarity threshold, the original tag word cloud is maintained.

[0090] In detail, the calculating the similarity between the target tag and the unselected tags in the original tag word cloud diagram includes:

[0091] Select any unselected tag as a comparison tag in turn, perform word segmentation on the target tag and the comparison tag, and obtain a target list and a comparison list;

[0092] constructing a coding dictionary according to the target list and the comparison list;

[0093] Performing vector encoding on the target list and the comparison list using the encoding dictionary to obtain a target vector and a comparison vector;

[0094] The target similarity between the target vector and the comparison vector is calculated using a preset cosine similarity calculation formula, and the target similarity is determined to be the similarity between the target tag and the comparison tag.

[0095] In an optional embodiment of the present invention, the similarity is calculated using the following formula:

[0096]

[0097] Wherein, a is the annotation vector, and b is the comparison vector.

[0098] In an optional embodiment of the present invention, for example, the target label is "to-do tasks not generated", and the comparison label is "invalidated to-do tasks". The target list obtained by using the Jieba word segmentation is: ["to-do", "task", "not", "generated"], and the comparison list is: ["invalidated", "to-do", "task"]. The two lists are put in a set to obtain: {"to-do", "task", "not", "generated", "invalidated"}, and converted into a coding dictionary: {"to-do": 0, "task": 1, "not": 2, "generated": 3, "invalidated": 4}. Position encoding is performed on the target list and the comparison list, and each word in the list is converted into a position in the set to obtain [0, 1, 2, 3] and [4, 0, 1]. OneHot encoding is performed on the position-coded list, that is, the number of occurrences of each word is calculated to obtain the target vector: [1, 1, 1, 1, 0], and the comparison vector: [1, 1, 1, 0, 0]. The cosine similarity of the target vector and the comparison vector is calculated.

[0099] In an embodiment of the present invention, since each person has an inconsistent understanding and description of a work order, when work orders are manually labeled, inconsistent labels are often applied to the same work order. Therefore, labels with similar meanings may appear in the original label word cloud. By calculating the similarity of the remaining labels using the target label selected by the user, labels with higher similarity can be removed, and the standard label word cloud can be used as a shared label word cloud for subsequent users to select. This can continuously standardize the label standards and improve the uniformity of work order labels.

[0100] The present invention classifies work orders through non-standard labels, which can refine the types of work orders and improve the standardization of labels for work orders. In addition, the labels of work orders are displayed and selected using a label word cloud diagram, so that both high-frequency labels and low-frequency labels can be accurately selected, which is conducive to improving the accuracy of work order labels. Therefore, the work order labeling method proposed in the present invention can solve the problem of inaccurate labeling of work orders.

[0101] like Figure 2 , which is a functional module diagram of a work order label adding device provided in one embodiment of the present invention.

[0102] The work order label adding device 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the work order label adding device 100 can include a work order classification module 101, a label selection page generation module 102, a label word cloud diagram generation module 103 and a label adding module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0103] In this embodiment, the functions of each module / unit are as follows:

[0104] The work order classification module 101 is used to obtain an original work order set, wherein the original work order set includes non-standard tags of the original work orders; and determine the type of work orders included in the original work order set according to the type of the non-standard tags.

[0105] In the embodiment of the present invention, the original work order set may be a historical form set used to handle reported problems in various fields. For example, there are many business systems in the banking field, and whenever a user has a problem to report, each system will circulate and report it in the form of a work order, forming a historical form set.

[0106] In an embodiment of the present invention, a preset work order acquisition interface can be used to connect to the work order upload interface of each business system to obtain the original work order of each business system. The business systems can be application products in various fields. For example, in the banking field, the business systems of Bank A include "A Pocket Bank", "Bank A Auto Finance Assistant", etc.

[0107] In an optional embodiment of the present invention, the non-standard label may be a historical label added by business staff based on the content of the problem work order, including a type label and a description label, the type label being the type of the work order, and the description label being the problem description of the work order (including "to-be-done task verification", "calculation error", "user self-resolved", "code logic verification", "product elements not set", etc.).

[0108] For example: "User Complaint - Improper Customer Service Handling", where the type label is "User Complaint" and the description label is "Improper Customer Service Handling".

[0109] Specifically, the work order classification module 101 determines the work order types included in the original work order set by performing the following operations:

[0110] Extracting the type tag included in the non-standard tag;

[0111] Classifying the original work order set according to the type label and the preset classification rule to obtain one or more classified work order sets;

[0112] The work order types included in the original work order set are determined according to the classification of the classified work order set.

[0113] In an embodiment of the present invention, the preset classification rules can be classified according to the keywords of the type tag. For example, by extracting the keywords "complaint", "assistance", etc. of the type tag in the non-standard tag, the work orders of different systems can be divided to obtain classified work order sets such as "Business System A-User Assistance", "Business System A-User Complaint", and "Business System B-User Assistance".

[0114] In an optional embodiment of the present invention, since each business system will have users reporting problem tickets, by classifying the tickets according to non-standard tags, it is possible to more accurately determine which functional modules the problem tickets of each system are concentrated in, thereby improving the maintainability of the system.

[0115] The label selection page generation module 102 is used to generate a label selection page for the work order to be marked according to the non-standard label and the work order type after receiving a request instruction to add a label to the work order to be marked.

[0116] In the embodiment of the present invention, the work order to be marked may be a problem work order uploaded in real time by each business system but not tagged by the business staff. The tag selection page is used to mark the work order to be marked according to the tag selected by the business staff.

[0117] Specifically, the label selection page generation module 102 generates the label selection page of the work order to be annotated by performing the following operations:

[0118] Selecting classified work order sets of different work order types in the original work order set in sequence;

[0119] Extracting description tags contained in the non-standard tags in the classified work order set;

[0120] Performing word frequency statistics on the description tag, and performing style settings on the description tag according to the word frequency statistics result and a preset tag style to obtain a style tag;

[0121] Setting a page label block according to the category name of the classified work order set;

[0122] Using a preset tag quantity threshold to display and divide the style tags, and setting a display drop-down block;

[0123] The page label block and the display drop-down block are integrated to obtain a label selection page for the work order to be labeled.

[0124] In an optional embodiment of the present invention, the preset label style includes label font, label color, etc. For example, after the word frequency statistics, the labels are arranged by word frequency, and the label colors are set from high to low to: "red", "purple", "green", "black", etc. The label font can be bold, and the font size can be set from high to low to size 2, size 3, size 4, size 5, etc., that is, the font size of the word with higher frequency is set to be larger.

[0125] In an optional embodiment of the present invention, the page label block is used to select the corresponding classified work order set, and the display drop-down block is used to select the display quantity of the label. For example, the page label block includes the classified work order set: "Business System A-User Assistance", "Business System B-User Assistance", etc., and the display quantity in the display drop-down block includes: 50, 30, 10, etc.

[0126] The tag word cloud generation module 103 is used to detect the number of tags selected by the user in the tag selection page and the selected target work order type, and generate an original tag word cloud of the work order to be annotated according to the number of tags and the target work order type.

[0127] In this embodiment, the number of tags selected by the user is the display number in the aforementioned display drop-down block.

[0128] Specifically, the tag word cloud image generation module 103 generates the original tag word cloud image of the work order to be annotated by performing the following operations:

[0129] A preset word cloud generator is used to generate an original tag word cloud corresponding to the target work order type and the tag quantity.

[0130] In an optional embodiment of the present invention, the preset word cloud generator may be wordcloud2, Wordle, etc. For example, if the target work order type selected by the user is "Business System A-User Assistance" in the page tag block, and the number of tags selected is 50 in the display drop-down block, a word cloud of the top 50 words in the frequency ranking of the tags describing "Business System A-User Assistance" is generated.

[0131] Furthermore, since the tags in the problem tickets are often numerous and complex, and most of them appear very rarely, the tags are displayed in the form of word clouds, which more intuitively reflects the high-frequency tags in the tickets and facilitates their selection.

[0132] The tag adding module 104 is used to detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be annotated.

[0133] In another optional embodiment of the present invention, the tag adding module 104 further includes:

[0134] Calculate the similarity between the target tag and the tags not selected in the original tag word cloud;

[0135] When the similarity between the target tag and the unselected tags is greater than the similarity threshold, the target tag is used to replace the tag whose similarity is greater than the similarity threshold, and the word frequency describing the tag in the original tag word cloud is counted again;

[0136] Setting the style of the label after the re-word frequency statistics according to the label style to obtain a standard style label;

[0137] The word cloud generator is used to generate a standard tag word cloud of the standard style tag, and the original tag word cloud is replaced with the standard tag word cloud.

[0138] In another optional embodiment of the present invention, the tag adding module 104 further includes:

[0139] When the similarity between the target tag and the unselected tags is less than or equal to a preset similarity threshold, the original tag word cloud is maintained.

[0140] In detail, the tag adding module 104 calculates the similarity between the target tag and the tags not selected in the original tag word cloud by performing the following operations:

[0141] Select any unselected tag as a comparison tag in turn, perform word segmentation on the target tag and the comparison tag, and obtain a target list and a comparison list;

[0142] constructing a coding dictionary according to the target list and the comparison list;

[0143] Performing vector encoding on the target list and the comparison list using the encoding dictionary to obtain a target vector and a comparison vector;

[0144] The target similarity between the target vector and the comparison vector is calculated using a preset cosine similarity calculation formula, and the target similarity is determined to be the similarity between the target tag and the comparison tag.

[0145] In an optional embodiment of the present invention, the similarity is calculated using the following formula:

[0146]

[0147] Wherein, a is the annotation vector, and b is the comparison vector.

[0148] In an optional embodiment of the present invention, for example, the target label is "to-do tasks not generated", and the comparison label is "invalidated to-do tasks". The target list obtained by using the Jieba word segmentation is: ["to-do", "task", "not", "generated"], and the comparison list is: ["invalidated", "to-do", "task"]. The two lists are put in a set to obtain: {"to-do", "task", "not", "generated", "invalidated"}, and converted into a coding dictionary: {"to-do": 0, "task": 1, "not": 2, "generated": 3, "invalidated": 4}. Position encoding is performed on the target list and the comparison list, and each word in the list is converted into a position in the set to obtain [0, 1, 2, 3] and [4, 0, 1]. OneHot encoding is performed on the position-coded list, that is, the number of occurrences of each word is calculated to obtain the target vector: [1, 1, 1, 1, 0], and the comparison vector: [1, 1, 1, 0, 0]. The cosine similarity of the target vector and the comparison vector is calculated.

[0149] In an embodiment of the present invention, since each person has an inconsistent understanding and description of a work order, when work orders are manually labeled, inconsistent labels are often applied to the same work order. Therefore, labels with similar meanings may appear in the original label word cloud. By calculating the similarity of the remaining labels using the target label selected by the user, labels with higher similarity can be removed, and the standard label word cloud can be used as a shared label word cloud for subsequent users to select. This can continuously standardize the label standards and improve the uniformity of work order labels.

[0150] The present invention classifies work orders through non-standard labels, which can refine the types of work orders and improve the standardization of labels for work orders. It also uses a label word cloud diagram to display and select labels for work orders, so that both high-frequency labels and low-frequency labels can be accurately selected, which is conducive to improving the accuracy of work order labels. Therefore, the work order label adding device proposed by the present invention can solve the problem of inaccurate label addition to work orders.

[0151] like Figure 3 , is a schematic diagram of the structure of an electronic device for implementing a method for adding a work order tag provided by an embodiment of the present invention, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0152] Memory 113, used to store computer programs, such as a work order tag adding program;

[0153] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the work order label adding method provided by any of the above method embodiments, including:

[0154] Obtaining an original work order set, wherein the original work order set includes non-standard tags of the original work orders;

[0155] Determining the work order types included in the original work order set according to the type of the non-standard tag;

[0156] After receiving a request instruction to add a label to the work order to be labeled, generating a label selection page for the work order to be labeled according to the non-standard label and the work order type;

[0157] Detecting the number of tags selected by the user in the tag selection page and the type of target work order selected, and generating an original tag word cloud diagram of the work order to be annotated according to the number of tags and the type of target work order;

[0158] Detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be labeled.

[0159] The communication bus 114 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 114 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0160] The communication interface 112 is used for communication between the above electronic device and other devices.

[0161] The memory 113 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory 113 may also be at least one storage device located away from the processor 111 .

[0162] The above-mentioned processor 111 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0163] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0164] Obtaining an original work order set, wherein the original work order set includes non-standard tags of the original work orders;

[0165] Determining the work order types included in the original work order set according to the type of the non-standard tag;

[0166] After receiving a request instruction to add a label to the work order to be labeled, generating a label selection page for the work order to be labeled according to the non-standard label and the work order type;

[0167] Detecting the number of tags selected by the user in the tag selection page and the type of target work order selected, and generating an original tag word cloud diagram of the work order to be annotated according to the number of tags and the type of target work order;

[0168] Detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be labeled.

[0169] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0170] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0171] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0172] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0173] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0174] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0175] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The second and other words are used to indicate names, but not to indicate any particular order.

[0176] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for adding a work order label, characterized in that: The method comprises: Obtaining an original work order set, wherein the original work order set includes non-standard tags of the original work orders, wherein the non-standard tags include a type tag marking the work order type and a description tag of the work order problem; Extracting the type tag included in the non-standard tag, classifying the original work order set according to the type tag and a preset classification rule to obtain one or more classified work order sets, and determining the work order type included in the original work order set according to the classification of the classified work order sets; After receiving a request instruction to add a mark to the work order to be marked, selecting the classified work order sets corresponding to different work order types in the original work order set in turn; Extracting description tags contained in the work orders in the classified work order set; Performing word frequency statistics on the description tag, and performing style settings on the description tag according to the word frequency statistics result and a preset tag style to obtain a style tag; Setting a page label block according to the category name of the classified work order set, wherein the page label block is provided for a user to select a corresponding classified work order set; The style tags are displayed and divided using a preset tag quantity threshold, and a display drop-down block is set, wherein the display drop-down block allows the user to select the number of tags to be displayed; Integrate the page label block and the display drop-down block to obtain a label selection page for the work order to be labeled; Detecting the number of tags selected by the user in the tag selection page and the types of work orders included in the selected classified work order set, and using a preset word cloud generator to generate an original tag word cloud corresponding to the types of work orders included in the classified work order set and the number of tags; Detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be labeled.

2. The work order label adding method according to claim 1, characterized in that: After adding the target tag as the standard tag of the work order to be labeled, the method further includes: Calculate the similarity between the target tag and the tags not selected in the original tag word cloud; When the similarity between the target tag and the unselected tags is greater than a threshold, the target tag is used to replace the tag whose similarity is greater than the threshold, and the word frequency describing the tag in the original tag word cloud is counted again; Setting the style of the label after the re-word frequency statistics according to the label style to obtain a standard style label; The word cloud generator is used to generate a standard tag word cloud of the standard style tag, and the original tag word cloud is replaced with the standard tag word cloud.

3. The work order label adding method according to claim 2, characterized in that: Also includes: When the similarity between the target tag and the unselected tags is less than or equal to a preset similarity threshold, the original tag word cloud is maintained.

4. The work order label adding method according to claim 2, characterized in that: The calculating the similarity between the target tag and the unselected tags in the original tag word cloud diagram includes: Select any unselected tag as a comparison tag in turn, perform word segmentation on the target tag and the comparison tag, and obtain a target list and a comparison list; constructing a coding dictionary according to the target list and the comparison list; Performing vector encoding on the target list and the comparison list using the encoding dictionary to obtain a target vector and a comparison vector; The target similarity between the target vector and the comparison vector is calculated using a preset cosine similarity calculation formula, and the target similarity is determined to be the similarity between the target tag and the comparison tag.

5. A work order label adding device, used to implement the work order label adding method according to any one of claims 1 to 4, characterized in that: The device comprises: A work order classification module is used to obtain an original work order set, wherein the original work order set includes non-standard tags of the original work orders, and determine the type of work orders included in the original work order set according to the type of the non-standard tags; A label selection page generation module, configured to generate a label selection page for the work order to be annotated according to the non-standard label and the work order type after receiving a request instruction to add an annotation to the work order to be annotated; A tag word cloud generation module is used to detect the number of tags selected by the user in the tag selection page and the selected target work order type, and generate an original tag word cloud of the work order to be annotated according to the number of tags and the target work order type; The tag adding module is used to detect the target tag selected by the user in the original tag word cloud diagram, and add the target tag as the standard tag of the work order to be marked.

6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the work order tag adding method as described in any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the work order tag adding method as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Electric customer service work order classifying method and device and electronic equipment

    CN108897798A

  • Method and device for determining label of electronic resource and readable medium

    CN109918662A