A method, device and related medium for automatic acceptance of work orders based on multi-dimensional detection

Through multi-dimensional detection technology, combined with face recognition, deep learning model and Transformer architecture, the work order is automatically accepted, which solves the problems of low manual acceptance efficiency and poor accuracy, achieves efficient and accurate work order acceptance, reduces costs and Ensure the authenticity and accuracy of the assignment.

CN117094592BActive Publication Date: 2024-10-18WUHAN WANWUYUN DIGITAL OPERATION CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202311051085.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-21
Publication Date
2024-10-18
Estimated Expiration
2043-08-21

AI Technical Summary

Technical Problem

The existing work order acceptance method mainly relies on manual labor, resulting in high cost, low efficiency, low accuracy, and difficulty in achieving rapid acceptance, resulting in a backlog of work orders.

Method used

Adopting an automatic acceptance method based on multi-dimensional detection, through face recognition, Contrastive Networks deep learning model, parity method, Transformer architecture and other technologies, multi-dimensional detection of work orders is carried out, including on-site acceptance, timestamp comparison, location comparison, and syntax rationality. Detection and distance calculation to generate comprehensive acceptance results.

Benefits of technology

It improves the efficiency and quality of work order acceptance, reduces operation and management costs, ensures the authenticity and accuracy of work order operations, achieves full coverage of work order operation scenarios, prevents the problem of personnel substitution operations, and ensures the safety of work orders. Effective management and control of single operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117094592B_ABST
    Figure CN117094592B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and related medium for automatic acceptance of work orders based on multi-dimensional detection, the method comprising: obtaining a work order to be accepted; performing face recognition and calculating similarity and generating a field acceptance result in combination with the face recognition and similarity calculation results; comparing a timestamp with a preset timestamp threshold and generating a time comparison acceptance result; judging whether the operation position is within the work order planned operation range by an even-odd method and generating a position comparison acceptance result; performing a grammatical rationality detection on the work order operation description and generating a grammatical rationality acceptance result; performing a pairwise coordinate distance calculation on the operation order position coordinates, the start work position coordinates and the completion position coordinates and generating a distance acceptance result; judging whether the work order is accepted based on the field acceptance, timestamp comparison acceptance, position comparison acceptance, grammatical rationality acceptance and distance acceptance results. The present invention automatically accepts the work order from multiple dimensions, thereby improving the efficiency and quality of the work order acceptance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of work order acceptance and quality inspection, and in particular to a work order automatic acceptance method and device based on multi-dimensional detection and related media. Background Art

[0002] Labor-intensive is the label of service industries such as property management, home appliance repair, and housekeeping. Nowadays, the traditional management model of the service industry faces problems such as low efficiency of multi-layer management, opaque management, difficulty in quantifying service results, and difficulty in maintaining service standards. In recent years, with the digital transformation of the service industry, smart work orders have been widely used, providing overall solutions such as unified reporting, periodic maintenance tasks, task allocation and scheduling for customers' assets and space in the service industry.

[0003] The existing work order acceptance method is generally a manual acceptance method, but due to the large volume of work orders that need to be accepted, the manual acceptance method has universal disadvantages, such as high labor costs, inconsistent acceptance standards, long acceptance time, and low acceptance accuracy, which will lead to a large number of completed work orders piling up and difficulty in timely acceptance. Therefore, how to improve the efficiency and quality of work order acceptance and reduce the cost of work order acceptance is a problem that technicians in this field need to solve. Summary of the invention

[0004] The embodiments of the present invention provide a method, apparatus, computer equipment and storage medium for automatic work order acceptance based on multi-dimensional detection, aiming to improve the efficiency and quality of work order acceptance and reduce the cost of work order acceptance.

[0005] In a first aspect, an embodiment of the present invention provides a method for automatic acceptance of work orders based on multi-dimensional detection, comprising:

[0006] Obtaining a work order to be accepted uploaded by an operator; the work order includes work order information, including a site standard operating procedure photo and a completion photo, timestamps corresponding to the site standard operating procedure photo and the completion photo, a work location and a work order planned work scope, a work order job description, a work order receiving location coordinate, a work start location coordinate, and a completion location coordinate; the site standard operating procedure photo and the completion photo both include a face image of the operator;

[0007] Performing face recognition on the on-site standard operating procedure photo and the completed photo respectively, calculating the similarity between the on-site standard operating procedure photo and the completed photo based on the Contrastive Networks deep learning model, and generating an on-site acceptance result by combining the face recognition result and the similarity calculation result;

[0008] Comparing the timestamp with a preset timestamp threshold, and generating a time comparison acceptance result according to the comparison result;

[0009] Determine whether the operation position is within the planned operation range of the work order by using the odd-even method, and generate a position comparison acceptance result according to the determination result;

[0010] Performing a grammatical rationality check on the work order job description based on the Transformer architecture, and generating a grammatical rationality acceptance result based on the check result;

[0011] Calculate the distance between the coordinates of the job order receiving location, the starting location and the completion location, and generate the distance acceptance result based on the distance calculation result;

[0012] Whether the work order has been accepted is determined based on the on-site acceptance result, the timestamp comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result.

[0013] In a second aspect, an embodiment of the present invention provides a work order automatic acceptance device based on multi-dimensional detection, comprising:

[0014] A work order acquisition unit is used to acquire a work order to be accepted uploaded by an operator; the work order includes work order information, and the work order information includes a site standard operating procedure photo and a completion photo, a timestamp corresponding to the site standard operating procedure photo and the completion photo, a work location and a work order planned work scope, a work order job description, a work order receiving location coordinate, a work start location coordinate, and a completion location coordinate; the site standard operating procedure photo and the completion photo both include a face image of the operator;

[0015] An on-site acceptance unit, configured to perform face recognition on the on-site standard operating procedure photo and the completed photo respectively, calculate the similarity between the on-site standard operating procedure photo and the completed photo based on a Contrastive Networks deep learning model, and generate an on-site acceptance result by combining the face recognition result and the similarity calculation result;

[0016] A time comparison and acceptance unit, used to compare the timestamp with a preset timestamp threshold, and generate a time comparison and acceptance result according to the comparison result;

[0017] A position comparison and acceptance unit, used to determine whether the operation position is within the planned operation range of the work order by using an even-odd method, and generate a position comparison and acceptance result according to the determination result;

[0018] A grammatical rationality acceptance unit, used to perform grammatical rationality detection on the work order job description based on the Transformer architecture, and generate a grammatical rationality acceptance result according to the detection result;

[0019] The distance acceptance unit is used to calculate the distance between the coordinates of the job receiving position, the starting position and the completion position, and generate the distance acceptance result according to the distance calculation result;

[0020] The work order acceptance unit is used to determine whether the work order has been accepted based on the on-site acceptance result, the timestamp comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result.

[0021] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for automatic acceptance of work orders based on multi-dimensional detection as described in the first aspect is implemented.

[0022] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for automatic acceptance of work orders based on multi-dimensional detection as described in the first aspect is implemented.

[0023] The present invention discloses a method, device and related medium for automatic acceptance of work orders based on multi-dimensional detection. The method comprises: obtaining a work order to be accepted uploaded by an operator; performing face recognition on the on-site standard operating procedure photo and the completed photo respectively, and calculating the similarity between the on-site standard operating procedure photo and the completed photo based on a Contrastive Networks deep learning model, and generating an on-site acceptance result in combination with the face recognition result and the similarity calculation result; comparing the timestamp with a preset timestamp threshold, and generating a time comparison acceptance result according to the comparison result; judging whether the operation position is within the planned operation range of the work order by an even-odd method, and generating a position comparison acceptance result according to the judgment result; performing grammatical rationality detection on the work order operation description based on a Transformer architecture, and generating a grammatical rationality acceptance result according to the detection result; performing pairwise coordinate distance calculation on the operation order receiving position coordinates, the starting work position coordinates and the completed position coordinates, and generating a distance acceptance result according to the distance calculation result; judging whether the work order is accepted based on the on-site acceptance result, the timestamp comparison acceptance result, the position comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result. The present invention automatically accepts the work orders to be accepted from multiple dimensions, thereby effectively reducing the resource investment of operation management personnel in work order acceptance and saving costs; it can also achieve full coverage of work order detection in target operation scenarios, improving the efficiency and quality of work order acceptance; it can also prevent the problem of personnel replacing operations, ensure the authenticity of work order operations, and thus achieve effective control over work order operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0025] Figure 1 A schematic diagram of a process flow of a method for automatic acceptance of work orders based on multi-dimensional detection provided by an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of a sub-process of a method for automatic acceptance of a work order based on multi-dimensional detection provided by an embodiment of the present invention;

[0027] Figure 3 An example diagram of an automatic work order acceptance method based on multi-dimensional detection provided by an embodiment of the present invention;

[0028] Figure 4 A model architecture diagram of the ERNIE model in a work order automatic acceptance method based on multi-dimensional detection provided in an embodiment of the present invention;

[0029] Figure 5 A schematic block diagram of a work order automatic acceptance device based on multi-dimensional detection provided by an embodiment of the present invention;

[0030] Figure 6 A sub-schematic block diagram of a work order automatic acceptance device based on multi-dimensional detection provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0033] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0034] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0035] See below Figure 1 , Figure 1 A flowchart of a method for automatic acceptance of work orders based on multi-dimensional detection provided by an embodiment of the present invention specifically includes: steps S101 to S107.

[0036] S101, obtaining a work order to be accepted uploaded by an operator; the work order includes work order information, and the work order information includes a site standard operating procedure photo and a completion photo, a timestamp corresponding to the site standard operating procedure photo and the completion photo, a work location and a work order planned work scope, a work order job description, a work order receiving location coordinate, a work start location coordinate, and a completion location coordinate; the site standard operating procedure photo and the completion photo both include a face image of the operator;

[0037] S102, performing face recognition on the on-site standard operating procedure photo and the completed photo respectively, and calculating the similarity between the on-site standard operating procedure photo and the completed photo based on the Contrastive Networks deep learning model, and generating an on-site acceptance result by combining the face recognition result and the similarity calculation result;

[0038] S103, comparing the timestamp with a preset timestamp threshold, and generating a time comparison acceptance result according to the comparison result;

[0039] S104, judging whether the operation position is within the planned operation range of the work order by using the odd-even method, and generating a position comparison acceptance result according to the judgment result;

[0040] S105, performing a grammatical rationality check on the work order job description based on the Transformer architecture, and generating a grammatical rationality acceptance result according to the check result;

[0041] S106, calculating the distance between each pair of the coordinates of the job receiving position, the starting position and the completion position, and generating a distance acceptance result according to the distance calculation result;

[0042] S107. Determine whether the work order has been accepted based on the on-site acceptance result, the timestamp comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result, and the distance acceptance result.

[0043] The embodiment of the present invention first obtains the work order to be accepted uploaded by the operator, and then performs acceptance from the on-site acceptance dimension and timestamp dimension according to the on-site standard operating procedure (SOP) photos and the completion photos in the work order information, performs acceptance from the location dimension according to the job location and the work order planned job scope, performs acceptance from the grammatical rationality dimension according to the work order job description, and performs acceptance from the distance acceptance dimension according to the job order acceptance location coordinates, the start work location coordinates and the completion location coordinates. Starting from five different dimensions, the work order to be accepted is inspected, and then based on the acceptance results of the five dimensions, it is judged whether the work order to be accepted has passed the acceptance.

[0044] The embodiment of the present invention generates on-site acceptance results by combining face recognition and similarity calculation, and generates time comparison acceptance results by timestamp comparison, thereby ensuring the authenticity of the work order and effectively controlling the work efficiency of the work order; and determines whether the work location is within the planned work range of the work order by the parity method, thereby generating a position comparison acceptance result, ensuring the accuracy of the work order; and also ensures the quality of the work order by performing grammatical rationality detection on the work order job description and generating a grammatical rationality acceptance result. The information of the work order can be more comprehensively accepted from multiple dimensions, and all aspects of the work order job scene acceptance can be achieved, which not only ensures the authenticity and accuracy of the work order acceptance, but also ensures the quality and efficiency of the work order acceptance, and also reduces the cost of the work order acceptance.

[0045] Combination Figure 3 As shown, in a specific embodiment, the manager of the work order acceptance can judge whether the work order acceptance has passed according to the actual situation and the acceptance results of multiple dimensions. For example, it can be set that only when the on-site acceptance result, the timestamp comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result are all passed, the work order acceptance is judged to have passed, otherwise the work order acceptance is judged to have failed, or it can also be set that only when any three of the on-site acceptance result, the timestamp comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result are passed, the work order acceptance is judged to have passed. In addition, the number of dimensions can be adjusted according to the specific work order type or job type. For example, for relatively simple jobs, the work order can be accepted only based on the on-site acceptance result and the location comparison acceptance result.

[0046] In one embodiment, the step S102 includes:

[0047] Extracting facial feature information from the on-site standard operating procedure photo and the completed photo using a FaceNet neural network to obtain first facial feature information and second facial feature information, and performing L2 norm normalization processing on the first facial feature information and the second facial feature information to obtain a first face detection result and a second face detection result;

[0048] Obtaining a face difference between the first face detection result and the second face detection result, and comparing the face difference with a preset face threshold;

[0049] When the face difference is less than or equal to a preset face threshold, it is determined that the face information of the on-site standard operating procedure photo and the completed photo matches;

[0050] When the face difference is greater than or less than a preset face threshold, it is determined that the face information of the on-site standard operating procedure photo and the completed photo do not match;

[0051] The comparison result of the face difference value and the preset face threshold is used as the result of face recognition.

[0052] In this embodiment, facial feature information is extracted by using the FaceNet neural network to obtain first facial feature information corresponding to the on-site standard operating procedure photo and second facial feature information corresponding to the completed photo. The first facial feature information and the second facial feature information output by the FaceNet neural network are feature vectors in a 128-dimensional hyperspace. Therefore, it is necessary to perform L2 norm normalization processing on the first facial feature information and the second facial feature information, and normalize the points in the 128-dimensional hyperspace to the 128-dimensional hypersphere to obtain a first face detection result and a second face detection result, so that the face difference between the first face detection result and the second face detection result can be calculated, and the face difference is compared with a preset face threshold to finally generate a face recognition result. If the face difference is less than or equal to the preset face threshold, the face information match is used as the face information determination result of the on-site standard operating procedure photo and the completed photo; if the face difference is greater than or less than the preset face threshold, the face information mismatch is used as the face information determination result of the on-site standard operating procedure photo and the completed photo, and finally the face information determination result is used as the face recognition result.

[0053] In a specific embodiment, before the FaceNet neural network extracts facial feature information, it is necessary to pre-process the on-site standard operating procedure photos and completed photos to remove irrelevant background information in the photos, cut out the facial images, and align the cut facial images.

[0054] In another specific embodiment, the FaceNet neural network uses the Inception deep convolutional neural network, and before the FaceNet neural network extracts facial feature information, the FaceNet neural network needs to be trained. The training steps of the FaceNet neural network include:

[0055] First, the face training photos for training are obtained and data preprocessed, and then the face training photos after data preprocessing are combined into a triple training data containing three pictures; the faces in the two pictures in the triple training data match each other, and the faces in the two pictures do not match the face in the remaining picture; secondly, the triple training data is input into the FaceNet neural network for facial feature information extraction training; finally, the ternary loss function is calculated according to the following formula to optimize the FaceNet neural network:

[0056]

[0057] Where L represents the ternary loss function, N represents the number of samples of the triplet training data, i represents the number of samples currently processed, f represents the FaceNet neural network, x represents the input sample, a represents the anchor point, p represents the positive sample, n represents the negative sample, and α represents the threshold. and The distance between and When the distance between is added to α, the value in [] is greater than zero, and a loss will occur. The ternary loss function calculated based on the triplet training data optimizes the FaceNet neural network so that and as small as possible, and and By making the distance between them as large as possible, the FaceNet neural network can better learn the differences between different faces and speed up the optimization of the FaceNet neural network towards the target direction, thereby improving the performance of face recognition tasks.

[0058] In one embodiment, the step S102 further includes:

[0059] Performing feature extraction on the on-site standard operating procedure photo and the completed photo respectively through a ResNet convolutional neural network to obtain a first feature and a second feature;

[0060] Performing similarity calculation on the first feature and the second feature to obtain a similarity calculation result;

[0061] Compare the similarity calculation result with a preset similarity threshold;

[0062] When the similarity calculation result is greater than or equal to a preset similarity threshold, it is determined that the on-site information of the on-site standard operating procedure photo and the on-site information of the completed photo match;

[0063] When the similarity calculation result is less than a preset similarity threshold, it is determined that the on-site information of the on-site standard operating procedure photo and the on-site information of the completed photo do not match;

[0064] In combination with the result of face recognition, if the face information matches and the on-site information matches, the on-site acceptance passed is taken as the on-site acceptance result; if the face information does not match and / or the on-site information does not match, the on-site acceptance failed is taken as the on-site acceptance result.

[0065] In this embodiment, when calculating the similarity between the on-site standard operating procedure photo and the completed photo based on the Contrastive Networks deep learning model, the ResNet convolutional neural network is first used to extract features from the on-site standard operating procedure photo and the completed photo to obtain a first feature and a second feature, and then the first feature and the second feature are similarly calculated, and the similarity calculation result is compared with a preset similarity threshold to determine whether the on-site information matches, and finally the on-site acceptance result is generated by combining the face recognition result and the on-site information determination result. Specifically, if the face information matches and the on-site information matches, the on-site acceptance is passed as the on-site acceptance result; if any one of the face information and the on-site information does not match, for example, the face information matches but the on-site information does not match, or the face information does not match but the on-site information matches, or the face information and the on-site information do not match, then the on-site acceptance is not passed as the on-site acceptance result. In specific application scenarios, only one of the facial information and the scene information needs to match, and the on-site acceptance is passed as the on-site acceptance result. That is, as long as the facial information matches but the scene information does not match, the facial information does not match but the scene information matches, or the facial information matches and the scene information matches, the on-site acceptance can be judged as passed and used as the on-site acceptance result. Contrast Networks is a deep learning model used to calculate image similarity. Its basic idea is to compare the feature vectors of two images and calculate the similarity score between them.

[0066] In a specific embodiment, the ResNet convolutional neural network needs to be pre-trained. Pre-training first requires preparing a set of labeled image pairs, where the labels of the image pairs are used to indicate whether the two images in the image pairs are similar or dissimilar. Then, the ResNet convolutional neural network is trained using the images, and the loss function of the ResNet convolutional neural network is calculated according to the following formula:

[0067] L1=y·D 2 +(1-y)·max(0,mD)2

[0068] Wherein, L1 represents the second loss function, y represents the label, D represents the distance between the two feature vectors corresponding to the training data group, and m represents the preset boundary value.

[0069] After calculating the loss function of the ResNet convolutional neural network, the loss function is used to optimize the ResNet convolutional neural network so that the ResNet convolutional neural network can accurately distinguish between similar and dissimilar image pairs. In addition, when optimizing the ResNet convolutional neural network through the loss function, methods such as random gradient descent can also be used, and some hyperparameters (such as learning rate, batch size, etc.) can be set to control the optimization process. By optimizing the loss function and updating the parameters of the ResNet convolutional neural network through multiple iterations, the performance of the ResNet convolutional neural network on the retrieval task can be gradually improved.

[0070] In one embodiment, the step S103 includes:

[0071] When the timestamp is greater than or equal to a preset timestamp threshold, the time detection is determined to be passed and output as a time comparison acceptance result;

[0072] When the timestamp is less than a preset timestamp threshold, it is determined that the time detection fails and is output as a time comparison acceptance result.

[0073] In this embodiment, the timestamps corresponding to the on-site standard operating procedure photos and the completed photos are compared with the preset timestamp threshold, and the time comparison acceptance result is generated according to the comparison result of the timestamps. If the timestamp is greater than or equal to the preset timestamp threshold, the time detection is passed as the time determination result, and if the timestamp is less than the preset timestamp threshold, the time detection is not passed as the time determination result, and finally the time determination result is output as the time comparison acceptance result. The timestamp is usually an integer, which represents the number of seconds or milliseconds that have passed since a fixed time point (for example, January 1, 1970 00:00:00 UTC).

[0074] Combination Figure 2 As shown, in one embodiment, step S104 includes steps S201 to S205.

[0075] S201, obtaining the area polygon corresponding to the work range of the work order plan and the work point corresponding to the work position;

[0076] S202, taking the operation point as an endpoint, generating a ray that is directed toward and passes through the area polygon;

[0077] S203, obtaining the number of line segments where the area polygon intersects with the ray;

[0078] S204, when the number of line segments is an odd number, determining that the operation position is within the work order planned operation range and outputting it as a position comparison acceptance result;

[0079] S205. When the number of line segments is an even number, it is determined that the operation position is not within the planned operation range of the work order and the result is output as a position comparison acceptance result.

[0080] In this embodiment, the area polygon corresponding to the planned work range of the work order and the work point corresponding to the work position are first obtained. Secondly, according to the odd-even method, a ray is generated with the work point as the endpoint, which is directed toward and passes through the area polygon, and the number of line segments intersecting the area polygon and the ray is obtained. Finally, according to the number of line segments, it is determined whether the work position is within the planned work range of the work order, so as to generate a position comparison and acceptance result. If the actual work position is within the planned work position range, the position dimension acceptance is passed as the position determination result; if the actual work position is not within the planned work position range, the position dimension acceptance is passed as the position determination result, and finally the position determination result is output as the position comparison and acceptance result.

[0081] The odd-even method is also called the odd-even rule. The odd-even method can be used to determine whether a point is located in an area. In this embodiment, the odd-even method is to represent the area corresponding to the planned operation range of the work order with a multi-vertex polygon, and the lines connecting all the vertices of the polygon constitute the area constituted by the planned operation range of the work order. Then, a ray is emitted from the operation point corresponding to the operation position toward and through the polygon, and the number of line segments intersecting the polygon and the ray is counted. If the number of intersecting line segments is an odd number, it means that the actual operation position is within the planned operation position range; if the number of intersecting line segments is an even number, it means that the actual operation position is not within the planned operation position range.

[0082] In one embodiment, the step S105 includes:

[0083] Preprocessing the work order job description; wherein the preprocessing includes text segmentation, part-of-speech tagging, and named entity recognition;

[0084] Input the work order job description into the T-encoder module in the ERNIE model based on the Transformer architecture, and output the first character embedding, segment embedding and position embedding of the work order job description, and then combine the first character embedding, segment embedding and position embedding into the input embedding;

[0085] Inputting the input embedding into the first multi-head attention layer and the feedforward network layer of the T-encoder module in sequence, and outputting to obtain the first text information embedding;

[0086] Obtain a first entity embedding in the first text information embedding, and input the first text information embedding to a second multi-head attention layer of a K-encoder module, and input the first entity embedding to a third multi-head attention layer of the K-encoder module;

[0087] Aligning the output results of the second multi-head attention layer and the third multi-head attention layer, and inputting them into the information fusion layer in the K-encoder module, and outputting a second text information embedding and a second entity embedding;

[0088] The second text information embedding and the second entity embedding are combined as a deep representation and input into a fully connected layer, and then the grammatical rationality score of the work order job description is output through the output layer of the ERNIE model;

[0089] comparing the grammatical rationality score with a preset score threshold;

[0090] When the grammatical rationality score is greater than a preset score threshold, the grammar of the work order job description is determined to be reasonable and output as a grammatical rationality acceptance result;

[0091] When the grammatical rationality score is less than or equal to a preset score threshold, it is determined that the grammar of the work order job description is unreasonable and output as a grammatical rationality acceptance result.

[0092] In this embodiment, the preprocessed work order job description is first input into the T-encoder module, and the T-encoder module outputs the first character embedding, segment embedding and position embedding and combines them into the input embedding, and then processes them through the first multi-head attention layer and the feedforward network layer, and outputs the first text information embedding. Secondly, the first text information embedding and the entity embedding therein are processed by the second multi-head attention layer and the third multi-head attention layer respectively, and the output results of the second multi-head attention layer and the third multi-head attention layer are aligned and input into the K-encoder module, and the second text information embedding and the second entity embedding are obtained by using the information fusion layer output. Enter, again, combine the second text information embedding and the second entity embedding as a deep representation, then pass through the fully connected layer, and then output the grammatical rationality score of the work order job description through the output layer, and finally use the grammatical rationality score to compare with the preset score threshold to determine whether the grammar of the work order job description is reasonable. If the grammatical rationality score is greater than the preset score threshold, the grammatical rationality is used as the judgment result of the work order job description; if the grammatical rationality score is less than or equal to the preset score threshold, the grammatical irrationality is used as the judgment result of the work order job description, and finally the judgment result of the work order job description is output as the grammatical rationality acceptance result. The preset score threshold can be set according to the actual needs of the application scenario. For example, the preset score threshold can be set to 0.5. If the grammatical rationality score is greater than or equal to 0.5, the grammar of the work order job description is judged to be reasonable. If the grammatical rationality score is less than 0.5, the grammar of the work order job description is judged to be unreasonable.

[0093] The preprocessing of the work order job description can be achieved using some Chinese natural language processing tool libraries (such as jieba, StanfordNLP, etc.). Among them, text segmentation is to divide the input text into individual words according to certain rules; part-of-speech tagging is to classify each word, such as determining whether it is a noun, verb or adjective, etc.; named entity recognition is to mark the entities in the text (such as names, place names, organizations, etc.). In addition, the preprocessing work can also include input encoding, which is to convert the text into an input format acceptable to the ERNIE model. In the input encoding step, the text needs to be converted into a series of corresponding characters, and special characters are added to mark the beginning and end of the sentence.

[0094] The token embedding in the work order job description represents the vector representation of each character in the vocabulary; the segment embedding represents the sentence number to which each character belongs; the positional embedding represents the position information of each character in the input sequence; the input embeddings obtained by combining the first character embedding, segment embedding and positional embedding contain a variety of information such as vocabulary, position and sentence information, so it can help the ERNIE model better understand the text information in the work order job description and improve the performance of the ERNIE model on various natural language processing tasks. The entity in the entity embedding refers to a word or phrase in the text information that has a specific meaning or represents something. For example, the name of a person or place that appears in a news report is an entity.

[0095] Combination Figure 4 As shown, the multi-head attention layer (Multi-headAttention) in the T-encoder module is used to understand the relationship between each character of the input embedding and other characters, and capture the contextual information of each character of the input embedding; the feedforward network layer (FeedForward) is used to perform nonlinear transformations and process the features extracted from the input embedding, mapping these features to the score of predicted grammatical rationality. The multi-head attention layer of the K-encoder module is used to combine characters with their associated entity information to obtain more comprehensive information, so that the ERNIE model can not only understand the semantics of a single character, but also understand the semantics of the character in the context and the relationship between the character and the entity; the information fusion layer (Information Fusion) is used to determine which parts of the sentence the ERNIE model should focus on when judging the grammatical rationality of a sentence, so that the ERNIE model can better understand the context of the sentence and make more accurate predictions. The second text information embedding and the second entity embedding output by the K-encoder module are combined as deep representations in subsequent steps.

[0096] Some processing steps of the ERNIE model can be expressed by formulas. For example, in a specific embodiment, the first text information is embedded into the second multi-head attention layer of the K-encoder module, and the first entity is embedded into the third multi-head attention layer of the K-encoder module, which can be expressed as:

[0097]

[0098]

[0099] in, represents the first entity embedding, MH-ATT represents the multi-head attention layer (Multi-headAttention), Indicates that the first text information is embedded.

[0100] In the information fusion layer, for characters with corresponding entities, the state of the hidden layer is calculated according to the following formula:

[0101]

[0102] Among them, h j represents the state of the hidden layer, is the jth character embedding of the i-th layer of the information fusion layer, is the k-th entity embedding of the i-th information fusion layer. and is a weight matrix used to weight the information of characters and entities. is a bias term. σ is a nonlinear activation function, such as ReLU or tanh.

[0103] The j-th character embedding is calculated as follows

[0104]

[0105] The k-th entity embedding is calculated as follows

[0106]

[0107] For characters that have no corresponding entity, the state h of the hidden layer is calculated according to the following formula j :

[0108]

[0109] The j-th character embedding is calculated as follows

[0110]

[0111] Where W t Represents the weights in the hidden layer.

[0112] The hidden layer states are actually used inside the ERNIE model to process and understand the input text. The hidden layer states provide the ERNIE model with a multi-dimensional representation of the vocabulary, which can capture the grammatical and semantic information of words (characters), such as word categories (nouns, verbs, etc.), the relationship between words (such as subject-verb-object relationship), and the meaning of words in a specific context. The hidden state of each layer in the information fusion layer can be regarded as an understanding of the text information of the input information fusion layer from low level (i.e. surface form) to high level (i.e. deep semantics).

[0113] In another specific embodiment, the processing process in the fully connected layer is represented by the following formula:

[0114] L2=ReLU(W_l*H+b_l)

[0115] Wherein, L2 represents the processing result of the fully connected layer, W_l represents the weight of the fully connected layer, b_l represents the bias of the fully connected layer, and ReLU represents a nonlinear activation function;

[0116] The processing in the output layer is represented as follows:

[0117] S = sigmoid (W_s*L2+b_s)

[0118] Among them, S represents the grammatical rationality score, W_s represents the weight of the output layer, and b_s represents the bias of the output layer.

[0119] In one embodiment, the step S106 includes:

[0120] Calculate respectively a first distance between the coordinates of the job receiving position and the coordinates of the starting position, a second distance between the coordinates of the job receiving position and the coordinates of the finishing position, and a third distance between the coordinates of the starting position and the coordinates of the finishing position;

[0121] Comparing the first distance, the second distance, and the third distance with preset distance thresholds respectively;

[0122] When at least one of the first distance, the second distance, and the third distance is greater than or equal to a preset distance threshold, it is determined that the distance acceptance is passed and the result is output as the distance acceptance result;

[0123] When the first distance, the second distance, and the third distance are all less than the preset distance threshold, it is determined that the distance acceptance has failed and the result is output as the distance acceptance result.

[0124] In this embodiment, the operator should be in different coordinate positions from the time the job order is received to the time the work is started or completed. The coordinate distance between the job order receiving position and the start work position, the coordinate distance between the job order receiving position and the completion position, and the coordinate distance between the start work position and the completion position are calculated respectively, so as to obtain the corresponding first distance, second distance and third distance. The first distance, second distance and third distance are then compared with the preset distance threshold respectively. Finally, the distance acceptance result is generated according to the comparison result. If at least one (any one) of the first distance, the second distance and the third distance is greater than or equal to the preset distance threshold, the distance acceptance is passed as the distance judgment result. If the first distance, the second distance and the third distance are all less than the preset distance threshold, the distance acceptance is failed as the distance judgment result. Finally, the distance judgment result is output as the distance acceptance result. In addition, the conditions for distance acceptance can be adjusted according to actual needs. For example, in addition to setting the distance acceptance to be passed when at least one of the first distance, the second distance, and the third distance is greater than or equal to the preset distance threshold, it can also be set that the distance acceptance is passed when at least two of the first distance, the second distance, and the third distance are greater than or equal to the preset distance threshold, or it can also be set that the distance acceptance is judged to be passed only when the first distance, the second distance, and the third distance are all greater than the preset distance threshold.

[0125] In a specific embodiment, the distance between any two coordinates is calculated according to the following formula:

[0126]

[0127] Among them, d represents the distance between two coordinates, x1 represents the horizontal coordinate of the first coordinate, y1 represents the vertical coordinate of the first coordinate, x2 represents the horizontal coordinate of the second coordinate, and y2 represents the vertical coordinate of the second coordinate.

[0128] In a specific embodiment, the preset distance threshold can be set according to the actual situation of the work location. For example, the preset distance threshold can be set to 20m. When at least one of the first distance, the second distance and the third distance is greater than or equal to 20m, the distance acceptance is determined to be passed and output as the distance acceptance result. When any work order to be accepted meets one or more conditions in the above-mentioned automatic acceptance five-dimensional detection model, it is determined that the work order has passed the system automatic acceptance.

[0129] Figure 5 A schematic block diagram of a work order automatic acceptance device 500 based on multi-dimensional detection provided by an embodiment of the present invention, the device 500 includes:

[0130] The work order acquisition unit 501 is used to acquire the work order to be accepted uploaded by the operator; the work order includes work order information, and the work order information includes the on-site standard operating procedure photo and the completion photo, the timestamp corresponding to the on-site standard operating procedure photo and the completion photo, the work location and the work order planned work scope, the work order job description, the work order acceptance location coordinates, the start work location coordinates and the completion location coordinates; the on-site standard operating procedure photo and the completion photo both include the operator's face image;

[0131] The on-site acceptance unit 502 is used to perform face recognition on the on-site standard operating procedure photo and the completed photo respectively, calculate the similarity between the on-site standard operating procedure photo and the completed photo based on the Contrastive Networks deep learning model, and generate an on-site acceptance result in combination with the face recognition result and the similarity calculation result;

[0132] A time comparison and acceptance unit 503 is used to compare the timestamp with a preset timestamp threshold and generate a time comparison and acceptance result according to the comparison result;

[0133] A position comparison and acceptance unit 504 is used to determine whether the operation position is within the work order planned operation range by using an even-odd method, and generate a position comparison and acceptance result according to the determination result;

[0134] A grammatical rationality acceptance unit 505 is used to perform a grammatical rationality test on the work order job description based on the Transformer architecture, and generate a grammatical rationality acceptance result according to the test result;

[0135] The distance acceptance unit 506 is used to calculate the distance between the coordinates of the job receiving position, the starting position and the completion position, and generate a distance acceptance result according to the distance calculation result;

[0136] The work order acceptance unit 507 is used to determine whether the work order has been accepted based on the on-site acceptance result, the timestamp comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result.

[0137] In one embodiment, the on-site acceptance unit 502 includes:

[0138] A face detection unit is used to extract face feature information from the on-site standard operating procedure photo and the completed photo respectively through a FaceNet neural network to obtain first face feature information and second face feature information, and to perform L2 norm normalization processing on the first face feature information and the second face feature information respectively to obtain a first face detection result and a second face detection result;

[0139] a face threshold comparison unit, configured to obtain a face difference between the first face detection result and the second face detection result, and compare the face difference with a preset face threshold;

[0140] A face matching unit, configured to determine that the face information of the on-site standard operating procedure photo and the completed photo matches when the face difference is less than or equal to a preset face threshold;

[0141] A face matching unit, configured to determine that the face information of the on-site standard operating procedure photo and the completed photo do not match when the face difference is greater than or less than a preset face threshold;

[0142] The face recognition result unit is used to use the comparison result between the face difference value and the preset face threshold as the result of face recognition.

[0143] In one embodiment, the on-site acceptance unit 502 further includes:

[0144] A feature extraction unit, configured to extract features from the on-site standard operating procedure photo and the completed photo respectively through a ResNet convolutional neural network to obtain a first feature and a second feature;

[0145] A similarity calculation unit, used to perform similarity calculation on the first feature and the second feature to obtain a similarity calculation result;

[0146] A similarity threshold comparison unit, used to compare the similarity calculation result with a preset similarity threshold;

[0147] A site information matching unit, configured to determine that the site information of the site standard operating procedure photo and the completion photo match when the similarity calculation result is greater than or equal to a preset similarity threshold;

[0148] An on-site information mismatching unit, configured to determine that the on-site information of the on-site standard operating procedure photo and the on-site information of the completed photo do not match when the similarity calculation result is less than a preset similarity threshold;

[0149] The on-site acceptance result unit is used to combine the result of face recognition. If the face information matches and the on-site information matches, the on-site acceptance is passed as the on-site acceptance result; if the face information does not match and / or the on-site information does not match, the on-site acceptance is failed as the on-site acceptance result.

[0150] In one embodiment, the time comparison and acceptance unit 503 includes:

[0151] A time detection passing unit, used to determine that the time detection is passed and output it as a time comparison acceptance result when the timestamp is greater than or equal to a preset timestamp threshold;

[0152] The time detection failure unit is used to determine that the time detection fails when the timestamp is less than a preset timestamp threshold and output it as a time comparison acceptance result.

[0153] In one embodiment, the position comparison and acceptance unit 504 includes:

[0154] A location acquisition unit 601 is used to acquire a regional polygon corresponding to the work range of the work order plan and a work point corresponding to the work position;

[0155] A ray generating unit 602 is used to generate a ray that is directed toward and passes through the area polygon with the operation point as an end point;

[0156] A line segment number unit 603 is used to obtain the number of line segments intersecting the area polygon and the ray;

[0157] A line segment odd number unit 604, used to determine that the operation position is within the work order planned operation range when the number of line segments is an odd number and output it as a position comparison acceptance result;

[0158] The line segment even number unit 605 is used to determine that the operation position is not within the work order planned operation range when the number of line segments is an even number, and output it as a position comparison acceptance result.

[0159] In one embodiment, the grammatical rationality checking unit 505 includes:

[0160] A preprocessing unit, used to preprocess the work order job description; wherein the preprocessing includes text segmentation, part-of-speech tagging, and named entity recognition;

[0161] An input embedding unit, used to input the work order job description into a T-encoder module in an ERNIE model based on a Transformer architecture, and output a first character embedding, a segment embedding, and a position embedding of the work order job description, and then combine the first character embedding, the segment embedding, and the position embedding into an input embedding;

[0162] A first text information embedding unit, used to input the input embedding into the first multi-head attention layer and the feedforward network layer of the T-encoder module in sequence, and output to obtain a first text information embedding;

[0163] A text information and entity embedding unit, configured to obtain a first entity embedding in a first text information embedding, and input the first text information embedding into a second multi-head attention layer of a K-encoder module, and input the first entity embedding into a third multi-head attention layer of the K-encoder module;

[0164] An output alignment unit, used to align the output results of the second multi-head attention layer and the third multi-head attention layer, and input the output results into the information fusion layer in the K-encoder module, and output a second text information embedding and a second entity embedding;

[0165] A grammatical rationality scoring unit, used to combine the second text information embedding and the second entity embedding as a deep representation and input them into a fully connected layer, and then output a grammatical rationality score of the work order job description through an output layer of the ERNIE model;

[0166] A score threshold comparison unit, used to compare the grammatical rationality score with a preset score threshold;

[0167] A grammatical rationality unit, used for determining that the grammar of the work order job description is reasonable and outputting it as a grammatical rationality acceptance result when the grammatical rationality score is greater than a preset score threshold;

[0168] The grammatical unreasonable unit is used to determine that the grammar of the work order job description is unreasonable and output it as a grammatical reasonableness acceptance result when the grammatical reasonableness score is less than or equal to a preset score threshold.

[0169] In one embodiment, the distance acceptance unit 506 includes:

[0170] a distance calculation unit, for respectively calculating a first distance between the coordinates of the job order receiving position and the coordinates of the starting work position, a second distance between the coordinates of the job order receiving position and the coordinates of the finishing position, and a third distance between the coordinates of the starting work position and the coordinates of the finishing position;

[0171] a distance threshold comparison unit, configured to compare the first distance, the second distance, and the third distance with preset distance thresholds respectively;

[0172] A distance acceptance passing unit, configured to determine that the distance acceptance is passed and output it as a distance acceptance result when at least one of the first distance, the second distance, and the third distance is greater than or equal to a preset distance threshold;

[0173] The distance acceptance failure unit is used to determine that the distance acceptance has failed and output it as a distance acceptance result when the first distance, the second distance, and the third distance are all less than a preset distance threshold.

[0174] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0175] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0176] The embodiment of the present invention also provides a computer device, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the computer device may also include various network interfaces, power supplies and other components.

[0177] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.

[0178] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for automatic acceptance of work orders based on multi-dimensional detection, characterized in that: include: Obtaining a work order to be accepted uploaded by an operator; the work order includes work order information, including a site standard operating procedure photo and a completion photo, timestamps corresponding to the site standard operating procedure photo and the completion photo, a work location and a work order planned work scope, a work order job description, a work order receiving location coordinate, a work start location coordinate, and a completion location coordinate; the site standard operating procedure photo and the completion photo both include a face image of the operator; Performing face recognition on the on-site standard operating procedure photo and the completed photo respectively, calculating the similarity between the on-site standard operating procedure photo and the completed photo based on the Contrastive Networks deep learning model, and generating an on-site acceptance result by combining the face recognition result and the similarity calculation result; Comparing the timestamp with a preset timestamp threshold, and generating a time comparison acceptance result according to the comparison result; Determine whether the operation position is within the planned operation range of the work order by using the odd-even method, and generate a position comparison acceptance result according to the determination result; Performing a grammatical rationality check on the work order job description based on the Transformer architecture, and generating a grammatical rationality acceptance result based on the check result; Calculate the distance between the coordinates of the job order receiving location, the starting location and the completion location, and generate the distance acceptance result based on the distance calculation result; Determine whether the work order has been accepted based on the on-site acceptance result, the time comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result; The similarity between the on-site standard operating procedure photo and the completed photo is calculated based on the Contrastive Networks deep learning model, and the on-site acceptance result is generated by combining the face recognition result and the similarity calculation result, including: Performing feature extraction on the on-site standard operating procedure photo and the completed photo respectively through a ResNet convolutional neural network to obtain a first feature and a second feature; Performing similarity calculation on the first feature and the second feature to obtain a similarity calculation result; Compare the similarity calculation result with a preset similarity threshold; When the similarity calculation result is greater than or equal to a preset similarity threshold, it is determined that the on-site information of the on-site standard operating procedure photo and the on-site information of the completed photo match; When the similarity calculation result is less than a preset similarity threshold, it is determined that the on-site information of the on-site standard operating procedure photo and the on-site information of the completed photo do not match; In combination with the face recognition result, if the face information matches and the on-site information matches, the on-site acceptance is passed as the on-site acceptance result; if the face information does not match and / or the on-site information does not match, the on-site acceptance is failed as the on-site acceptance result; The Transformer-based architecture is used to perform a grammatical rationality check on the work order job description, and a grammatical rationality acceptance result is generated according to the check result, including: Preprocessing the work order job description; wherein the preprocessing includes text segmentation, part-of-speech tagging, and named entity recognition; Input the work order job description into the T-encoder module in the ERNIE model based on the Transformer architecture, and output the first character embedding, segment embedding and position embedding of the work order job description, and then combine the first character embedding, segment embedding and position embedding into the input embedding; Inputting the input embedding into the first multi-head attention layer and the feedforward network layer of the T-encoder module in sequence, and outputting to obtain the first text information embedding; Obtain a first entity embedding in the first text information embedding, and input the first text information embedding to a second multi-head attention layer of a K-encoder module, and input the first entity embedding to a third multi-head attention layer of the K-encoder module; Aligning the output results of the second multi-head attention layer and the third multi-head attention layer, and inputting them into the information fusion layer in the K-encoder module, and outputting a second text information embedding and a second entity embedding; The second text information embedding and the second entity embedding are combined as a deep representation and input into a fully connected layer, and then the grammatical rationality score of the work order job description is output through the output layer of the ERNIE model; comparing the grammatical rationality score with a preset score threshold; When the grammatical rationality score is greater than a preset score threshold, the grammar of the work order job description is determined to be reasonable and output as a grammatical rationality acceptance result; When the grammatical rationality score is less than or equal to a preset score threshold, it is determined that the grammar of the work order job description is unreasonable and output as a grammatical rationality acceptance result.

2. The method for automatic acceptance of work orders based on multi-dimensional detection according to claim 1, characterized in that: The performing face recognition on the on-site standard operating procedure photo and the completed photo respectively includes: Extracting facial feature information from the on-site standard operating procedure photo and the completed photo using a FaceNet neural network to obtain first facial feature information and second facial feature information, and performing L2 norm normalization processing on the first facial feature information and the second facial feature information to obtain a first face detection result and a second face detection result; Obtaining a face difference between the first face detection result and the second face detection result, and comparing the face difference with a preset face threshold; When the face difference is less than or equal to a preset face threshold, it is determined that the face information of the on-site standard operating procedure photo and the completed photo matches; When the face difference is greater than or less than a preset face threshold, it is determined that the face information of the on-site standard operating procedure photo and the completed photo do not match; The comparison result of the face difference value and the preset face threshold is used as the result of face recognition.

3. The method for automatic acceptance of work orders based on multi-dimensional detection according to claim 1, characterized in that: The comparing the timestamp with a preset timestamp threshold and generating a time comparison acceptance result according to the comparison result includes: When the timestamp is greater than or equal to a preset timestamp threshold, the time detection is determined to be passed and output as a time comparison acceptance result; When the timestamp is less than a preset timestamp threshold, it is determined that the time detection fails and is output as a time comparison acceptance result.

4. The method for automatic acceptance of work orders based on multi-dimensional detection according to claim 1 is characterized in that: The step of judging whether the operation position is within the operation range of the work order plan by using the odd-even method, and generating a position comparison acceptance result according to the judgment result, includes: Obtaining the area polygon corresponding to the work range of the work order plan and the work point corresponding to the work position; Taking the operation point as an endpoint, generating a ray toward and passing through the area polygon; Obtain the number of line segments where the area polygon intersects with the ray; When the number of line segments is an odd number, the operation position is determined to be within the work order planned operation range and is output as a position comparison acceptance result; When the number of line segments is an even number, it is determined that the operation position is not within the planned operation range of the work order and is output as a position comparison acceptance result.

5. The method for automatic acceptance of work orders based on multi-dimensional detection according to claim 1, characterized in that: The coordinate distance calculation is performed on the coordinates of the job receiving position, the starting position and the completion position, and the distance acceptance result is generated according to the distance calculation result, including: Calculate respectively a first distance between the coordinates of the job receiving position and the coordinates of the starting position, a second distance between the coordinates of the job receiving position and the coordinates of the finishing position, and a third distance between the coordinates of the starting position and the coordinates of the finishing position; Comparing the first distance, the second distance, and the third distance with preset distance thresholds respectively; When at least one of the first distance, the second distance, and the third distance is greater than or equal to a preset distance threshold, it is determined that the distance acceptance is passed and the result is output as the distance acceptance result; When the first distance, the second distance, and the third distance are all less than the preset distance threshold, it is determined that the distance acceptance has failed and the result is output as the distance acceptance result.

6. A work order automatic acceptance device based on multi-dimensional detection, characterized in that: include: A work order acquisition unit is used to acquire a work order to be accepted uploaded by an operator; the work order includes work order information, and the work order information includes a site standard operating procedure photo and a completion photo, a timestamp corresponding to the site standard operating procedure photo and the completion photo, a work location and a work order planned work scope, a work order job description, a work order receiving location coordinate, a work start location coordinate, and a completion location coordinate; the site standard operating procedure photo and the completion photo both include a face image of the operator; An on-site acceptance unit, configured to perform face recognition on the on-site standard operating procedure photo and the completed photo respectively, calculate the similarity between the on-site standard operating procedure photo and the completed photo based on a Contrastive Networks deep learning model, and generate an on-site acceptance result by combining the face recognition result and the similarity calculation result; A time comparison and acceptance unit, used to compare the timestamp with a preset timestamp threshold, and generate a time comparison and acceptance result according to the comparison result; A position comparison and acceptance unit, used to determine whether the operation position is within the planned operation range of the work order by using an even-odd method, and generate a position comparison and acceptance result according to the determination result; A grammatical rationality acceptance unit, used to perform grammatical rationality detection on the work order job description based on the Transformer architecture, and generate a grammatical rationality acceptance result according to the detection result; The distance acceptance unit is used to calculate the distance between the coordinates of the job receiving position, the starting position and the completion position, and generate the distance acceptance result according to the distance calculation result; A work order acceptance unit, used to determine whether the work order has been accepted based on the on-site acceptance result, the time comparison acceptance result, the location comparison acceptance result, the grammatical rationality acceptance result and the distance acceptance result; The on-site acceptance unit includes: A feature extraction unit, configured to extract features from the on-site standard operating procedure photo and the completed photo respectively through a ResNet convolutional neural network to obtain a first feature and a second feature; A similarity calculation unit, used to perform similarity calculation on the first feature and the second feature to obtain a similarity calculation result; A similarity threshold comparison unit, used to compare the similarity calculation result with a preset similarity threshold; A site information matching unit, configured to determine that the site information of the site standard operating procedure photo and the completion photo match when the similarity calculation result is greater than or equal to a preset similarity threshold; An on-site information mismatching unit, configured to determine that the on-site information of the on-site standard operating procedure photo and the on-site information of the completed photo do not match when the similarity calculation result is less than a preset similarity threshold; An on-site acceptance result unit is used to combine the face recognition result, if the face information matches and the on-site information matches, then the on-site acceptance is passed as the on-site acceptance result; if the face information does not match and / or the on-site information does not match, then the on-site acceptance is failed as the on-site acceptance result; The grammatical rationality acceptance unit includes: A preprocessing unit, used to preprocess the work order job description; wherein the preprocessing includes text segmentation, part-of-speech tagging, and named entity recognition; An input embedding unit, used to input the work order job description into a T-encoder module in an ERN IE model based on a Transformer architecture, and output a first character embedding, a segment embedding, and a position embedding of the work order job description, and then combine the first character embedding, the segment embedding, and the position embedding into an input embedding; A first text information embedding unit, used to input the input embedding into the first multi-head attention layer and the feedforward network layer of the T-encoder module in sequence, and output to obtain a first text information embedding; A text information and entity embedding unit, configured to obtain a first entity embedding in a first text information embedding, and input the first text information embedding into a second multi-head attention layer of a K-encoder module, and input the first entity embedding into a third multi-head attention layer of the K-encoder module; An output alignment unit, used to align the output results of the second multi-head attention layer and the third multi-head attention layer, and input the output results into the information fusion layer in the K-encoder module, and output a second text information embedding and a second entity embedding; A grammatical rationality scoring unit, used to combine the second text information embedding and the second entity embedding as a deep representation and input them into a fully connected layer, and then output a grammatical rationality score of the work order job description through an output layer of the ERNIE model; A score threshold comparison unit, used to compare the grammatical rationality score with a preset score threshold; A grammatical rationality unit, used for determining that the grammar of the work order job description is reasonable and outputting it as a grammatical rationality acceptance result when the grammatical rationality score is greater than a preset score threshold; The grammatical unreasonable unit is used to determine that the grammar of the work order job description is unreasonable and output it as a grammatical reasonableness acceptance result when the grammatical reasonableness score is less than or equal to a preset score threshold.

7. A computer device, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for automatic acceptance of work orders based on multi-dimensional detection as described in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for automatic acceptance of work orders based on multi-dimensional detection as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Onsite inspection task performing effect optimization method

    CN107967569A

  • Project quality acceptance management system and method based on field positioning

    CN112396302A

  • Entity relation joint extraction method and device based on neural network

    CN113468888A

  • Environmental assessment report quality inspection system and method thereof

    CN114580978A

  • Intelligent checking method and platform

    CN114782028A