Teaching plan auditing method and system and electronic equipment

Through the automated teaching plan review method and the use of text and image recognition technology, the problem of cumbersome teaching plan review process and difficulty in identifying plagiarism has been solved, efficient and accurate teaching plan review has been achieved, and review efficiency and quality have been improved.

CN118570497APending Publication Date: 2024-08-30GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1

Patent Information

Application Number
CN202310190133.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing teaching plan review process is cumbersome, requires a lot of human resources, and is difficult to manually determine whether text or pictures are plagiarized, resulting in low review efficiency and low quality.

Method used

By extracting the text information and picture information in the lesson plan, we perform text plagiarism identification, sensitive word identification and picture plagiarism identification, calculate the total score, and provide an automated teaching plan review method and system, using the minimum hash algorithm and the local sensitive hash algorithm. Carry out text feature vector indexing, and combine with the preset model to construct image vector library and calculate similarity.

Benefits of technology

It improves the efficiency and quality of teaching plan review, reduces labor costs, can effectively identify plagiarism of text and pictures, and improves the accuracy and efficiency of review.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570497A
    Figure CN118570497A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a teaching plan auditing method and system and electronic device.The teaching plan auditing method comprises the steps that a to-be-audited teaching plan is obtained; preprocessing the to-be-audited teaching plan to obtain text information and picture information in the to-be-audited teaching plan; performing text plagiarism identification on the text information to determine a text plagiarism identification result; performing sensitive word recognition on the text information, and determining a sensitive word recognition result; performing picture plagiarism identification on the picture information, and determining a picture plagiarism identification result; according to the text plagiarism recognition result, the sensitive word recognition result and the picture plagiarism recognition result, the auditing result of the teaching plan to be audited is calculated, the text information and the picture information in the teaching plan can be extracted, text plagiarism recognition and sensitive word recognition are conducted on the text information, and picture plagiarism recognition is conducted on the picture information; and the total score is calculated, so that the teaching plan auditing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a teaching plan review method, system and electronic equipment. Background Art

[0002] A lesson plan refers to the teacher's arrangement of teaching content and teaching steps for each topic or each class. The content of the lesson plan brings together the teacher's wisdom and teaching ideas, and precipitates the teacher's years of teaching experience.

[0003] At present, teaching plans often need to be manually reviewed and screened, and then scored and displayed. The process of teaching plan review and screening is cumbersome and requires a lot of human resources. In addition, due to the huge amount of data in the historical teaching plan database, it is often difficult to determine whether the text or pictures are plagiarized through manual review. Therefore, an automated teaching plan review method is needed to reduce labor costs and improve the quality of teaching plan review. Summary of the invention

[0004] The embodiments of the present application provide a teaching plan review method, system and electronic device, which improve the efficiency of teaching plan review by extracting text information and image information in the teaching plan, performing text plagiarism recognition and sensitive word recognition on the text information and performing image plagiarism recognition on the image information, and calculating the total score.

[0005] The embodiments of the present application provide the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a teaching plan review method, the method comprising:

[0007] Get lesson plans for review;

[0008] Pre-process the lesson plans to be reviewed to obtain text information and image information in the lesson plans to be reviewed;

[0009] Performing text plagiarism identification on text information and determining text plagiarism identification results;

[0010] Perform sensitive word recognition on text information and determine the sensitive word recognition result;

[0011] Performing image plagiarism identification on the image information and determining the image plagiarism identification result;

[0012] Based on the text plagiarism identification results, sensitive word identification results and image plagiarism identification results, the review results of the lesson plans to be reviewed are calculated.

[0013] In some embodiments, before performing text plagiarism identification on the text information, the method further includes:

[0014] Removing punctuation marks from the text information in the lesson plan to be reviewed to obtain first text information;

[0015] Performing word segmentation processing on the first text information to obtain a word segmentation result;

[0016] According to the preset stop word list, the stop words in the word segmentation results are removed to obtain the valid words in the text information in the lesson plan to be reviewed.

[0017] In some embodiments, the text plagiarism identification result includes the length of the plagiarized text, and performing text plagiarism identification on the text information to determine the text plagiarism identification result includes:

[0018] According to the valid words in the text information, based on the set substring length, determining multiple consecutive valid word substrings;

[0019] According to the minimum hash algorithm, the text feature vectors of multiple consecutive valid word substrings are obtained;

[0020] According to the locality sensitive hashing algorithm, the index of the text feature vector is determined;

[0021] According to the index of the text feature vector, multiple similar teaching plans are determined;

[0022] Perform text matching on similar teaching plans and text information to obtain matching texts, and determine the length of the matching texts;

[0023] If the length of the matching text is greater than or equal to the matching text length threshold, the matching text is determined to be a plagiarized text to determine the length of the plagiarized text;

[0024] The length of the plagiarized text is determined as the text plagiarism identification result.

[0025] In some embodiments, performing sensitive word recognition on text information and determining a sensitive word recognition result includes:

[0026] Use a sensitive word in the preset sensitive word list as the root node of the sensitive word tree;

[0027] Set the end mark of suspicious sensitive words in text information;

[0028] Build a sensitive word tree based on the preset sensitive word list;

[0029] Traverse the text information to obtain suspicious sensitive words in the text information;

[0030] Determine whether the sensitive word tree has a subtree with the sensitive word as the root node;

[0031] If there is no subtree with the sensitive word as the root node, then take out the next word in the text information and continue to determine whether there is a subtree with the sensitive word as the root node in the sensitive word tree;

[0032] If there is a subtree with the sensitive word as the root node, enter the subtree with the sensitive word as the root node and determine whether the subtree has an end character;

[0033] If the subtree has an end character, it is determined that the text information contains suspicious sensitive words;

[0034] Based on the suspected sensitive words, the sensitive word recognition result is determined.

[0035] In some embodiments, determining a sensitive word recognition result based on a suspicious sensitive word includes:

[0036] According to the first preset model, obtaining the confidence probability of the suspicious sensitive word;

[0037] If the confidence probability is less than the confidence probability threshold, it is determined that the suspicious sensitive word is not a real sensitive word;

[0038] If the confidence probability is greater than or equal to the confidence probability threshold, the suspected sensitive word is determined to be a real sensitive word, so as to determine the number of real sensitive words detected;

[0039] The number of detected real sensitive words is determined as the sensitive word recognition result.

[0040] In some embodiments, before performing image plagiarism identification on the image information, the method further includes:

[0041] Obtaining a history lesson plan, wherein the history lesson plan includes a number of history pictures;

[0042] According to the second preset training model, converting a number of historical pictures into historical picture vectors;

[0043] Based on historical picture vectors, build a historical picture vector library.

[0044] In some embodiments, performing image plagiarism identification on the image information and determining the image plagiarism identification result includes:

[0045] According to the second preset training model, the image information of the teaching plan to be reviewed is converted into an image vector;

[0046] Calculate the Euclidean distance between the picture vector and the historical picture vector in the historical picture vector library;

[0047] According to the Euclidean distance, several similar pictures are determined from several historical pictures;

[0048] Normalize similar images and image information;

[0049] Calculate the cosine similarity of similar images and image information;

[0050] If the cosine similarity is greater than or equal to the cosine similarity threshold, the image information is determined to be a plagiarized image;

[0051] The number of plagiarized images is determined as the image plagiarism identification result.

[0052] In some embodiments, the text plagiarism identification result includes the length of the plagiarized text, the sensitive word identification result includes the number of detected real sensitive words, and the image plagiarism identification result includes the number of plagiarized images. The method further includes:

[0053] Calculate the text plagiarism score, including:

[0054]

[0055] Among them, Score cw is the text plagiarism score, L cw is the length of the plagiarized text, L w is the total length of the text information in the teaching plan to be reviewed;

[0056] Calculate the sensitive word score, including:

[0057]

[0058] Among them, Score sw is the score of sensitive words, N sw is the number of real sensitive words detected, a sw is the threshold of the number of sensitive words, min(N sw ,a sw ) is N sw 、a sw The smaller value of ;

[0059] Calculate the image plagiarism score, including:

[0060]

[0061] Among them, Score ci is the image plagiarism score, N ci is the number of plagiarized images whose similarity is greater than the preset similarity threshold, N i is the number of pictures in the lesson plan to be reviewed, a ci is the threshold of the number of plagiarized images, min(N ci ,a ci ) is N ci 、a ci The smaller value, min(N i ,a ci ) is N i 、a ci The smaller value in .

[0062] In some embodiments, the audit result of the lesson plan to be audited includes a total plagiarism score. The audit result of the lesson plan to be audited is calculated based on the text plagiarism recognition result, the sensitive word recognition result, and the image plagiarism recognition result, including:

[0063] Total plagiarism score = text plagiarism score * first weight + sensitive word score * second weight + image plagiarism score * third weight.

[0064] In a second aspect, the present application embodiment provides a teaching plan review system, including:

[0065] The text plagiarism identification module is used to obtain the lesson plan to be reviewed; pre-process the lesson plan to be reviewed to obtain the text information and image information in the lesson plan to be reviewed; perform text plagiarism identification on the text information and determine the text plagiarism identification result;

[0066] A sensitive word recognition module is used to recognize sensitive words in text information and determine the sensitive word recognition results;

[0067] An image plagiarism identification module is used to identify image plagiarism on image information and determine the image plagiarism identification result;

[0068] The review module is used to calculate the review results of the lesson plans to be reviewed based on the text plagiarism recognition results, sensitive word recognition results and image plagiarism recognition results.

[0069] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0070] at least one processor; and

[0071] a memory communicatively connected to at least one processor; wherein,

[0072] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the teaching plan review method as described in the first aspect.

[0073] The beneficial effect of the implementation mode of the present application is: different from the existing technology, the implementation mode of the present application provides a teaching plan review method, which includes: obtaining the teaching plan to be reviewed; pre-processing the teaching plan to be reviewed to obtain text information and image information in the teaching plan to be reviewed; performing text plagiarism recognition on the text information to determine the text plagiarism recognition result; performing sensitive word recognition on the text information to determine the sensitive word recognition result; performing image plagiarism recognition on the image information to determine the image plagiarism recognition result; and calculating the review result of the teaching plan to be reviewed based on the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result.

[0074] This application can improve the efficiency of lesson plan review by extracting text information and image information in the lesson plan, performing text plagiarism identification and sensitive word identification on the text information and image plagiarism identification on the image information, and calculating the total score. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0076] Figure 1 is a schematic diagram of an application environment provided by an embodiment of the present application;

[0077] Figure 2 It is a schematic diagram of the overall process of teaching plan review provided by an embodiment of the present application;

[0078] Figure 3 It is a flow chart of a teaching plan review method provided in an embodiment of the present application;

[0079] Figure 4 It is a schematic diagram of a flow chart of obtaining valid words in text information provided by an embodiment of the present application;

[0080] Figure 5 yes Figure 3 A detailed flow chart of step S303 in FIG.

[0081] Figure 6 yes Figure 3 A detailed flow chart of step S304 in FIG.

[0082] Figure 7 is a schematic diagram of a suspicious sensitive word tree provided in an embodiment of the present application;

[0083] Figure 8 yes Figure 6 A detailed flow chart of step S349 in FIG.

[0084] Fig. 9 It is a schematic diagram of a process of constructing a historical picture vector library provided by an embodiment of the present application;

[0085] Fig.10 yes Figure 3 A detailed flow chart of step S305 in FIG.

[0086] Fig.11 It is a flowchart of calculating a text plagiarism score, a sensitive word score, and an image plagiarism score provided in an embodiment of the present application;

[0087] Fig.12 yes Figure 3 A detailed flow chart of step S306 in FIG.

[0088] Fig.13 It is a structural diagram of a teaching plan review system provided in an embodiment of the present application;

[0089] Fig.14 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0090] Description of Figure Numbers:

[0091] Label name Label name 100 Application Environment 133 Image plagiarism detection module 10 server 134 Audit Module 20 Lesson plan review equipment 140 Electronic devices 130 Teaching plan review system 141 processor 131 Text plagiarism detection module 142 Memory 132 Sensitive word recognition module DETAILED DESCRIPTION

[0092] In order to facilitate the understanding of the present application, the present application is described in more detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that when an element is described as "fixed to" another element, it can be directly on the other element, or there can be one or more centered elements therebetween. When an element is described as "connected to" another element, it can be directly connected to the other element, or there can be one or more centered elements therebetween. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.

[0093] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this specification and in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0094] The technical solution of the present application is described in detail below in conjunction with the accompanying drawings:

[0095] See also Figure 1 , Figure 1 is a schematic diagram of an application environment provided by an embodiment of the present application;

[0096] like Figure 1 As shown, the application environment 100 includes: a server 10 and a teaching plan review device 20, wherein the server 10 and the teaching plan review device 20 are connected via network communication, wherein the network includes a wired network and / or a wireless network. It is understandable that the network includes wireless networks such as 2G, 3G, 4G, 5G, wireless LAN, Bluetooth, etc., and may also include wired networks such as serial cables and network cables.

[0097] In the embodiment of the present application, the server 10 is connected to the teaching plan review device 20 for receiving the text information and image information of the teaching plan to be reviewed and the review result sent by the teaching plan review device 20, or sending a control command to the teaching plan review device 20, for example: controlling the teaching plan review device to obtain the teaching plan to be reviewed, or controlling the teaching plan review device to pre-process the teaching plan to be reviewed, or controlling the teaching plan review device to perform text plagiarism recognition, sensitive word recognition, and image plagiarism recognition on the teaching plan to be reviewed. The server 10 can also be used to obtain historical teaching plans. The number of the servers 10 is multiple, and multiple servers can constitute a server cluster, for example: the server cluster includes: a first server, a second server, ..., an Nth server, or the server cluster can be a cloud computing service center, which includes several servers. The server in the embodiment of the present application includes but is not limited to: a tower server, a rack server, a blade server, and a cloud server. Preferably, the server is a cloud server (Elastic Compute Service, ECS).

[0098] In an embodiment of the present application, the teaching plan review device 20 includes a teaching plan review unit, a communication module and a controller.

[0099] In an embodiment of the present application, a teaching plan review unit is provided inside a teaching plan review device, and is used to review the teaching plan to be reviewed. The teaching plan review unit is communicatively connected to a controller. The teaching plan review unit is used to obtain and review the teaching plan to be reviewed, for example: pre-processing the teaching plan to be reviewed, obtaining text information and image information in the teaching plan to be reviewed; performing text plagiarism recognition on the text information, and determining the text plagiarism recognition result; performing sensitive word recognition on the text information, and determining the sensitive word recognition result; performing image plagiarism recognition on the image information, and determining the image plagiarism recognition result; calculating the review result of the teaching plan to be reviewed based on the text plagiarism recognition result, the sensitive word recognition result, and the image plagiarism recognition result, and sending the review result to the controller.

[0100] In an embodiment of the present application, the communication module is connected to the server for receiving data sent by the server, for example, receiving text information and image information in the teaching plan to be reviewed sent by the server; or sending data to the server, for example, sending the review result of the teaching plan to be reviewed to the server. In an embodiment of the present application, the communication module can realize communication with the Internet, wherein the communication module includes but is not limited to communication units such as WIFI module, ZigBee module, NB_IoT module, 4G module, 5G module, Bluetooth module, etc.

[0101] In an embodiment of the present application, the controller is disposed inside the teaching plan review device. The controller, as the control core of the teaching plan review device, is used to control the teaching plan review device to review the teaching plan to be reviewed and to process some business logic. For example, the controller is used to perform text plagiarism recognition on text information and determine the text plagiarism recognition result, or to perform sensitive word recognition on text information and determine the sensitive word recognition result, or to perform image plagiarism recognition on image information and determine the image plagiarism recognition result.

[0102] In the embodiment of the present application, the controller can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination of these components. The controller can also be any traditional processor, controller, microcontroller or state machine. The controller can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP and / or any other such configuration, or a combination of one or more of a microcontroller unit (MCU), a field programmable gate array (FPGA), and a system on chip (SoC).

[0103] It can be understood that the teaching plan review device 20 in the embodiment of the present application also includes a storage module, which includes but is not limited to: FLASH flash memory, NAND flash memory, vertical NAND flash memory (VNAND), NOR flash memory, resistive random access memory (RRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), spin transfer torque random access memory (STT-RAM) and other devices. One or more.

[0104] Embodiment 1

[0105] See also Figure 2 , Figure 2 It is a schematic diagram of the overall process of teaching plan review provided by an embodiment of the present application;

[0106] like Figure 2As shown, input the lesson plan to be reviewed, process the lesson plan to be reviewed, obtain the text information and picture information of the lesson plan to be reviewed respectively, perform text plagiarism recognition and sensitive word recognition on the text information, perform image plagiarism recognition on the picture information, and after obtaining the length of the plagiarized text, the number of real sensitive words detected, and the number of plagiarized pictures, calculate the text plagiarism score, sensitive word score, and picture plagiarism score, and finally calculate the review result of the lesson plan to be reviewed through the text plagiarism score, sensitive word score, and picture plagiarism score.

[0107] See also Figure 3 , Figure 3 It is a flow chart of a teaching plan review method provided in an embodiment of the present application;

[0108] Among them, the teaching plan review method is applied to an electronic device, and the executor of the teaching plan review method is one or at least two processors of the electronic device.

[0109] like Figure 3 As shown in the figure, the teaching plan review method includes:

[0110] Step S301: Obtain the teaching plan to be reviewed;

[0111] Specifically, the electronic device obtains the lesson plan to be reviewed, and the lesson plan to be reviewed is downloaded by the electronic device from a server, or the lesson plan to be reviewed is obtained by the electronic device from its own memory.

[0112] Step S302: pre-processing the lesson plan to be reviewed to obtain text information and image information in the lesson plan to be reviewed;

[0113] Specifically, the lesson plan to be reviewed is preprocessed, that is, the text information and image information of the lesson plan are respectively extracted from the lesson plan to be reviewed, and the text information and image information in the lesson plan to be reviewed are obtained. The text information refers to all the text content in the lesson plan to be reviewed, and the image information refers to all the image content in the lesson plan to be reviewed.

[0114] Please refer to Figure 4 , Figure 4 It is a schematic diagram of a flow chart of obtaining valid words in text information provided by an embodiment of the present application;

[0115] like Figure 4 As shown, the valid words in the text information are obtained, including:

[0116] Step S401: removing punctuation marks from the text information in the teaching plan to be reviewed to obtain first text information;

[0117] Specifically, identify the punctuation marks in the text information and process all the punctuation marks in the text information. For example, directly delete all the punctuation marks to remove the punctuation marks in the text information of the teaching plan to be reviewed, and obtain the first text information in the teaching plan to be reviewed.

[0118] Step S402: Perform word segmentation on the first text information to obtain a word segmentation result.

[0119] Specifically, use a word segmenter to perform word segmentation on the first text information of the teaching plan to be reviewed to obtain a word segmentation result. In the embodiments of the present application, the word segmenter includes but is not limited to word segmenters such as mmseg4j, jieba, Ansj, and IKAnalyzer.

[0120] Step S403: Remove the stop words in the word segmentation result according to a preset stop word list to obtain the effective words in the text information of the teaching plan to be reviewed.

[0121] Specifically, manually extract some supplementary stop words from existing text data and integrate them with the general stop word list to obtain the stop word list. According to the stop word list, perform the operation of removing stop words on the word segmentation result, that is, remove the words that do not affect the sentence meaning in the teaching plan to be reviewed, such as modal words. By removing the modal words in the teaching plan to be reviewed, such as stop words like "de", "di", "a", "o", etc., the effective words in the text information of the teaching plan to be reviewed are obtained. It should be noted that the general stop word list includes but is not limited to stop word lists such as the Harbin Institute of Technology stop word list, the Baidu stop word list, and the Machine Intelligence Laboratory stop word library. The present application does not make any limitations in this regard.

[0122] In the embodiments of the present application, by preprocessing the teaching plan to be reviewed, the effective words in the teaching plan to be reviewed can be extracted, which is convenient for subsequent identification of the text information of the teaching plan to be reviewed.

[0123] Step S303: Perform text plagiarism identification on the text information to determine the text plagiarism identification result.

[0124] Please refer to Figure 5 , Figure 5 is Figure 3 the detailed process schematic diagram of step S303 in

[0125] As Figure 5 shown, performing text plagiarism identification on the text information to determine the text plagiarism identification result includes:

[0126] Step S3031: Based on the effective words in the text information and the set substring length, determine multiple consecutive effective word substrings.

[0127] Specifically, a K-shingle method is used to construct a continuous valid word substring, and a substring length is set. According to the valid words in the text information, based on the set substring length, multiple continuous valid word substrings are determined. For example, the valid words obtained from the lesson plan to be reviewed are ["fraction", "multiplication", "three", "teaching", "goal"], and the substring length is set to 2, that is, K=2, then it is determined that all the continuous valid word substrings composed of 2-shingles in the lesson plan to be reviewed are ["fraction multiplication", "multiplication three", "three teaching", "teaching goal"].

[0128] Step S3032: Obtain text feature vectors of multiple consecutive valid word substrings according to the minimum hash algorithm;

[0129] Specifically, the minimum hash algorithm (minHash) is used to construct a feature matrix of the text. The feature matrix of the text is randomly shuffled, and the row number with the first value of 1 in each shuffle is used as the result of the shuffle. The results of multiple shuffles are counted to obtain the hash signature matrix of the text. According to the hash signature matrix, continuous valid word substrings are encoded into text feature vectors.

[0130] Step S3033: Determine the index of the text feature vector according to the local sensitive hashing algorithm;

[0131] Specifically, according to the hash signature matrix, the hash signature matrix is ​​divided into b rows, each row consisting of r rows. For each row, there is a hash function that can map the column vector (each column in the row) composed of each r integer in the row to a hash bucket. The local sensitive hash algorithm (LSH) puts the text feature vector into a hash bucket according to the hash result of the text feature vector, that is, the more similar the text feature vector is, the easier it is to be put into the same hash bucket. The local sensitive hash algorithm can index the feature vector, cluster the feature vector and then store it. Since the vector does not take up much space, the vector can be directly stored in the memory. In an embodiment of the present application, according to the local sensitive hash algorithm, the text feature vector is indexed and the index of the text feature vector is determined.

[0132] Step S3034: determining a plurality of similar teaching plans according to the index of the text feature vector;

[0133] Specifically, according to the index of the text feature vector, the nearest neighbor search is performed through the index. When performing the nearest neighbor search retrieval, the results in the close hash bucket can be returned according to the text feature vector of the lesson plan to be reviewed, and multiple similar lesson plans can be obtained.

[0134] Step S3035: performing text matching on similar teaching plans and text information to obtain matching texts, and determining the length of the matching texts;

[0135] Specifically, according to the SequenceMatcher algorithm, text matching is performed on multiple similar lesson plans and the lesson plan to be reviewed to obtain matching texts, and the length of the matching texts is determined.

[0136] Step S3036: Determine whether the length of the matching text is greater than or equal to the matching text length threshold;

[0137] Specifically, a matching text length threshold is set. If the length of the matching text is greater than or equal to the matching text length threshold, the process proceeds to step S3037; if the length of the matching text is less than the matching text length threshold, the process proceeds to step S3039.

[0138] In an embodiment of the present application, the matching text length threshold is set according to specific needs, for example: set to 30 characters, 40 characters or other lengths, which are not limited here.

[0139] Step S3037: determining that the matched text is a plagiarized text, so as to determine the length of the plagiarized text;

[0140] Specifically, if the length of the matching text is greater than or equal to the matching text length threshold, the matching text is determined to be a plagiarized text, so as to determine the length of the plagiarized text, and the plagiarized lesson plan and the plagiarized text can also be obtained.

[0141] Step S3038: determining the length of the plagiarized text as a text plagiarism identification result;

[0142] Specifically, the length of the plagiarized text is determined as the text plagiarism identification result, and the length of the plagiarized text is used as an indicator to determine whether the text is plagiarized, and is subsequently used to calculate the text plagiarism score.

[0143] Step S3039: Determine whether the matching text is not plagiarized text;

[0144] Specifically, if the length of the matching text is less than the matching text length threshold, it is determined that the matching text is not plagiarized text.

[0145] Step S304: performing sensitive word recognition on the text information and determining a sensitive word recognition result;

[0146] Please refer to Figure 6 , Figure 6 yes Figure 3 A detailed flow chart of step S304 in FIG.

[0147] like Figure 6 As shown, sensitive words are identified in text information to determine the sensitive word identification result, including:

[0148] Step S341: taking a sensitive word in a preset sensitive word list as the root node of the sensitive word tree;

[0149] Specifically, a sensitive word in a preset sensitive word list is used as the root node of the sensitive word tree, wherein the preset sensitive word list is obtained by integrating manually extracted sensitive words and a common sensitive word list on the Internet.

[0150] Step S342: Setting the end symbol of the suspicious sensitive word in the text message;

[0151] Specifically, the end symbol is a sign indicating that the end of the sensitive word has been reached. After obtaining the suspicious sensitive word in the text information, the end symbol of the suspicious sensitive word in the text information is set, that is, an end symbol is set after the last word of the suspicious sensitive word. For example, the end symbol of the suspicious sensitive word is set to any identifier such as True, False, :0, etc. In the embodiment of the present application, the end symbol of the suspicious sensitive word is set to :1.

[0152] Step S343: construct a sensitive word tree according to a preset sensitive word list;

[0153] Specifically, according to a preset sensitive word list, the sensitive word list is constructed into a sensitive word tree through the DFA algorithm.

[0154] Step S344: traverse the text information to obtain suspicious sensitive words in the text information;

[0155] Specifically, the text information of the lesson plan to be reviewed is traversed word by word to obtain suspicious sensitive words in the text information.

[0156] Step S345: Determine whether there is a subtree with the sensitive word as the root node in the sensitive word tree;

[0157] Specifically, determine whether the sensitive word tree has a subtree with the same sensitive word as the sensitive word in step S341 as the root node. For example, the sensitive word is "A". If there is no subtree with the sensitive word as the root node, go to step S346; if there is a subtree with the sensitive word as the root node, go to step S347.

[0158] Step S346: Return the root node of the sensitive word tree;

[0159] Specifically, if there is no subtree with the sensitive word as the root node, the sensitive word tree is controlled to return to the root node, and the text information of the lesson plan to be reviewed is traversed word by word until a subtree with the same sensitive word as the root node is found in the sensitive word tree.

[0160] Step S347: Enter the subtree with the sensitive word as the root node;

[0161] Specifically, if there is a subtree with the sensitive word as the root node, then enter the subtree with the sensitive word as the root node.

[0162] Step S348: Determine whether the subtree has an end character;

[0163] Specifically, it is further determined whether the subtree has an end character. If the subtree has an end character, it indicates that a sensitive word is matched, and the process goes to step S3410; if the subtree does not have an end character, the process goes to step S349.

[0164] Step S349: taking out the next word in the text message;

[0165] Specifically, if the subtree does not have an end character, the next word in the text information is taken out, and it is further determined whether there is a subtree with the same sensitive word as the root node in the sensitive word tree.

[0166] Step S3410: Determine whether the text information contains suspicious sensitive words;

[0167] Specifically, if the subtree has an end character, it is determined that the text information contains suspicious sensitive words.

[0168] Step S3411: Determine a sensitive word recognition result according to the suspicious sensitive word;

[0169] Specifically, based on the suspicious sensitive words, a sensitive word recognition result is determined, wherein the sensitive word recognition result includes the number of the suspicious sensitive words and the locations of the suspicious sensitive words.

[0170] Please refer to Figure 7 , Figure 7 is a schematic diagram of a suspicious sensitive word tree provided in an embodiment of the present application;

[0171] like Figure 7 As shown, the suspicious sensitive word tree has three subtrees. The word "A" is the root node of the suspicious sensitive word tree. According to the DFA algorithm, there is a subtree with the word "A" as the root node. Then enter the subtree with the sensitive word as the root node, and further determine whether the subtree has an end symbol (:1). Figure 6 There is an end symbol at the end of each suspicious sensitive word in each subtree, so it is determined that the sensitive words corresponding to the three subtrees are all suspicious sensitive words, and the number of suspicious sensitive words identified is 3.

[0172] Please refer to Figure 8 , Figure 8 yes Figure 6 A detailed flow chart of step S3411 in FIG.

[0173] like Figure 8 As shown, step S3411 includes:

[0174] Step S3401: Obtain the confidence probability of the suspicious sensitive word according to the first preset model;

[0175] Specifically, [CLS] and [SEP] are the flags of the BERT model. [CLS] is placed at the first position of the first sentence to obtain the representation vector of the entire input text and can also be used for subsequent classification tasks, while [SEP] is placed at the end of each sentence to separate the two sentences. The suspicious sensitive words and the sentences containing the suspicious sensitive words are concatenated into the form of "[CLS] sensitive words [SEP] sensitive words containing sentences", and input into the first preset model to obtain the output result of the first preset model, which is the feature vector of the input sentence. The output result of the first preset model is passed through the Pooling function (max-pooling / mean-pooling and other functions), and all the output results are summarized into the feature vector of the entire sentence. The feature vector of the entire sentence is then input into the fully connected layer and the Sigmoid function to obtain a result in the interval (0,1), and the confidence probability of the suspicious sensitive words is obtained, that is, the confidence probability of whether the suspicious sensitive words are real sensitive words. It should be noted that the first preset model is a machine learning model, and the first preset model includes but is not limited to Transformer-derived models such as BERT, DeBERTa, and RoBERTa.

[0176] Step S3402: Determine whether the confidence probability of the suspicious sensitive word is greater than or equal to the confidence probability threshold;

[0177] Specifically, a confidence probability threshold is set. If the confidence probability is less than the threshold, proceed to step S3405; if the confidence probability is greater than or equal to the threshold, proceed to step S3403, wherein the confidence probability threshold needs to be set by verifying the accuracy of the data. For example, the confidence probability threshold is set to between 0.3 and 0.5, which is not limited here.

[0178] Step S3403: Determine whether the suspicious sensitive word is a real sensitive word, so as to determine the number of detected real sensitive words;

[0179] Specifically, if the confidence probability is greater than or equal to the confidence probability threshold, it is determined that the suspicious sensitive word is a real sensitive word to determine the number of detected real sensitive words.

[0180] Step S3404: determining the number of detected real sensitive words as the sensitive word recognition result;

[0181] Specifically, the number of detected real sensitive words is determined as the sensitive word recognition result, which is subsequently used to calculate the sensitive word score.

[0182] Step S3405: ​​Determine whether the suspicious sensitive word is not a real sensitive word;

[0183] Specifically, if the confidence probability is less than the confidence probability threshold, it is determined that the suspicious sensitive word is not a real sensitive word, and the suspicious sensitive word is discarded.

[0184] In an embodiment of the present application, a machine learning model is used to determine whether the suspicious sensitive word in a sentence is a real sensitive word, thereby reducing the probability of misjudgment of sensitive words.

[0185] Step S305: performing image plagiarism identification on the image information and determining the image plagiarism identification result;

[0186] Please refer to Fig. 9 , Fig. 9 It is a schematic diagram of a process of constructing a historical picture vector library provided by an embodiment of the present application;

[0187] like Fig. 9 As shown, a historical picture vector library is constructed, including:

[0188] Step S901: Obtaining history lesson plans;

[0189] Specifically, before image plagiarism identification is performed on the image information of the lesson plan to be reviewed, the electronic device obtains the history lesson plan from the Internet, for example, obtains the history lesson plan from the server, the history lesson plan is the lesson plan uploaded to the server by the teacher, and the history lesson plan includes multiple lesson plans.

[0190] Step S902: converting a number of historical pictures into historical picture vectors according to a second preset training model;

[0191] Specifically, the history lesson plan includes several historical pictures. According to the second preset training model, the several historical pictures are converted into historical picture vectors, and Faiss is used to store the historical picture vectors of all historical pictures, wherein the second preset training model is a ResNet model.

[0192] Step S903: constructing a historical picture vector library according to the historical picture vectors;

[0193] Specifically, based on the historical picture vectors, a historical picture vector library of history lesson plans is constructed, and the historical picture vector library includes multiple historical picture vectors to facilitate subsequent search for similar pictures.

[0194] Please refer to Fig.10 , Fig.10 yes Figure 3 A detailed flow chart of step S305 in FIG.

[0195] like Fig.10 As shown, step S305 includes:

[0196] Step S3051: converting the image information of the teaching plan to be reviewed into an image vector according to the second preset training model;

[0197] Specifically, according to the second preset training model, the image information of the lesson plan to be reviewed is converted into an image vector, wherein the second preset training model is a ResNet model.

[0198] Step S3052: Calculate the Euclidean distance between the picture vector and the historical picture vector in the historical picture vector library;

[0199] Specifically, the Euclidean distance between the image vector and the historical image vector in the historical image vector library is calculated. For example, if the image vector x = (x1, ..., xn) T , historical picture vector y=(y1,…,yn) T , then the Euclidean distance between the image vector and the historical image vector is

[0200] Step S3053: determining a number of similar pictures from a number of historical pictures according to the Euclidean distance;

[0201] Specifically, Faiss is used to retrieve the embedding features of each picture of the lesson plan to be reviewed. According to the Euclidean distance, the smaller the Euclidean distance between the picture vector of the lesson plan to be reviewed and the historical picture vector, the more similar the picture of the lesson plan to be reviewed is to the historical picture. For each picture of the lesson plan to be reviewed, several similar pictures will be retrieved, and several pictures similar to the picture of the lesson plan to be reviewed will be determined as similar pictures.

[0202] Step S3054: normalizing similar pictures and picture information;

[0203] Specifically, the feature vectors of similar images and image information are normalized to have a mean of 0 and a variance of 1. The specific formula is as follows:

[0204]

[0205] Among them, x * is the normalized eigenvector, μ is the mean value of the eigenvector, and σ is the standard deviation of the eigenvector.

[0206] Step S3055: Calculate the cosine similarity between similar pictures and picture information;

[0207] Specifically, the cosine similarity between the normalized similar images and the image information is calculated, that is, the dot product of the feature vector of the similar image and the feature vector of the image information is divided by the product of the modulus of the feature vector of the similar image and the feature vector of the image information to obtain the cosine similarity between the similar images and the image information.

[0208] Step S3056: Determine whether the cosine similarity is greater than or equal to the cosine similarity threshold;

[0209] Specifically, a cosine similarity threshold is set. If the cosine similarity is less than the cosine similarity threshold, the process proceeds to step S3059; if the cosine similarity is greater than or equal to the cosine similarity threshold, the process proceeds to step S3057. In the embodiment of the present application, the cosine similarity threshold is set according to specific needs, for example, the cosine similarity threshold is set to a value between 0.6 and 0.8, which is not limited here.

[0210] Step S3057: Determine that the image information is a plagiarized image;

[0211] Specifically, if the cosine similarity is greater than or equal to the cosine similarity threshold, it is determined that the image information of the lesson plan to be reviewed is a plagiarized image.

[0212] Step S3058: determining the number of plagiarized pictures as the picture plagiarism identification result;

[0213] Specifically, through the above steps, the picture vector of the lesson plan to be reviewed is compared with the historical picture vectors in the historical picture vector library to obtain the number of plagiarized pictures, and the number of plagiarized pictures is determined as the picture plagiarism recognition result.

[0214] Step S3059: Determine that the image information is not a plagiarized image;

[0215] Specifically, if the cosine similarity is less than the cosine similarity threshold, it is determined that the image information is not a plagiarized image.

[0216] Step S306: Calculate the review result of the teaching plan to be reviewed according to the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result;

[0217] Please refer to Fig.11 , Fig.11 It is a flowchart of calculating a text plagiarism score, a sensitive word score, and an image plagiarism score provided in an embodiment of the present application;

[0218] like Fig.11 As shown in the figure, the process of calculating the text plagiarism score, sensitive word score, and image plagiarism score includes:

[0219] Step S1101: Calculate the text plagiarism score;

[0220] Specifically, the text plagiarism identification result includes the length of the plagiarized text. According to the text plagiarism identification result, the text plagiarism score is calculated:

[0221]

[0222] Among them, Scorecw is the text plagiarism score, L cw is the length of the plagiarized text, L w It is the total length of the text information in the teaching plan to be reviewed.

[0223] Step S1102: Calculate the sensitive word score;

[0224] Specifically, the sensitive word recognition result includes the number of real sensitive words detected. According to the sensitive word recognition result, the sensitive word score is calculated:

[0225]

[0226] Among them, Score sw is the score of sensitive words, N sw is the number of real sensitive words detected, a sw is the threshold of the number of sensitive words, min(N sw ,a sw ) is N sw 、a sw The smaller value of ;

[0227] Step S1103: Calculate the image plagiarism score;

[0228] Specifically, the image plagiarism identification result includes the number of plagiarized images. According to the image plagiarism result, the image plagiarism score is calculated:

[0229]

[0230] Among them, Score ci is the image plagiarism score, N ci is the number of plagiarized images whose similarity is greater than the preset similarity threshold, N i is the number of pictures in the lesson plan to be reviewed, a ci is the threshold of the number of plagiarized images, min(N ci ,a ci ) is N ci 、a ci The smaller value, min(N i ,a ci ) is N i 、a ci The smaller value in .

[0231] Please refer to Fig.12 , Fig.12 yes Figure 3 A detailed flow chart of step S306 in FIG.

[0232] like Fig.12As shown, based on the text plagiarism recognition results, sensitive word recognition results, and image plagiarism recognition results, the review results of the lesson plans to be reviewed are calculated, including:

[0233] Step S3061: Total plagiarism score = text plagiarism score * first weight + sensitive word score * second weight + image plagiarism score * third weight;

[0234] Specifically, the review results of the lesson plans to be reviewed include the total plagiarism score. According to the text plagiarism identification results, the sensitive word identification results and the image plagiarism identification results, the formula for calculating the review results of the lesson plans to be reviewed is: Total plagiarism score = text plagiarism degree score * first weight + sensitive word score * second weight + image plagiarism degree score * third weight, wherein the first weight, the second weight and the third weight are the weights of the text plagiarism degree score, the sensitive word score and the image plagiarism degree score, respectively, and can be set according to actual conditions. For example, the first weight, the second weight and the third weight are set to 0.3, 0.5, 0.2 or other values, respectively, which are not limited here.

[0235] In an embodiment of the present application, a teaching plan review method is provided, which includes: obtaining a teaching plan to be reviewed; preprocessing the teaching plan to be reviewed to obtain text information and image information in the teaching plan to be reviewed; performing text plagiarism recognition on the text information to determine a text plagiarism recognition result; performing sensitive word recognition on the text information to determine a sensitive word recognition result; performing image plagiarism recognition on the image information to determine an image plagiarism recognition result; calculating the review result of the teaching plan to be reviewed based on the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result. The present application can improve the efficiency of teaching plan review by extracting text information and image information in the teaching plan, performing text plagiarism recognition and sensitive word recognition on the text information, performing image plagiarism recognition on the image information, and calculating the total score.

[0236] Embodiment 2

[0237] Please refer to Fig.13 , Fig.13 It is a structural schematic diagram of a teaching plan review device provided in an embodiment of the present application;

[0238] The teaching plan review device is applied to an electronic device. Specifically, the teaching plan review device is applied to one or more processors of the electronic device.

[0239] like Fig.13 As shown, the teaching plan review device 130 includes:

[0240] The text plagiarism identification module 131 is used to obtain the lesson plan to be reviewed; pre-process the lesson plan to be reviewed to obtain text information and image information in the lesson plan to be reviewed; perform text plagiarism identification on the text information and determine the text plagiarism identification result;

[0241] The sensitive word recognition module 132 is used to recognize sensitive words in text information and determine the sensitive word recognition result;

[0242] The image plagiarism identification module 133 is used to perform image plagiarism identification on the image information and determine the image plagiarism identification result;

[0243] The review module 134 is used to calculate the review result of the lesson plan to be reviewed based on the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result.

[0244] In the embodiment of the present application, the text plagiarism identification module 131 is specifically used for:

[0245] Removing punctuation marks from the text information in the lesson plan to be reviewed to obtain first text information;

[0246] Performing word segmentation processing on the first text information to obtain a word segmentation result;

[0247] According to the preset stop word list, the stop words in the word segmentation results are removed to obtain the valid words in the text information of the teaching plan to be reviewed;

[0248] According to the valid words in the text information, based on the set substring length, determining multiple consecutive valid word substrings;

[0249] According to the minimum hash algorithm, the text feature vectors of multiple consecutive valid word substrings are obtained;

[0250] According to the locality sensitive hashing algorithm, the index of the text feature vector is determined;

[0251] According to the index of the text feature vector, multiple similar teaching plans are determined;

[0252] Perform text matching on similar teaching plans and text information to obtain matching texts, and determine the length of the matching texts;

[0253] If the length of the matching text is greater than or equal to the matching text length threshold, the matching text is determined to be a plagiarized text to determine the length of the plagiarized text;

[0254] The length of the plagiarized text is determined as the text plagiarism identification result.

[0255] In the embodiment of the present application, the sensitive word identification module 132 is specifically used for:

[0256] Use a sensitive word in the preset sensitive word list as the root node of the sensitive word tree;

[0257] Traverse the text information to obtain suspicious sensitive words in the text information;

[0258] Set the end mark of suspicious sensitive words in text information;

[0259] Build a sensitive word tree based on the preset sensitive word list;

[0260] Determine whether the sensitive word tree has a subtree with the sensitive word as the root node;

[0261] If there is no subtree with the sensitive word as the root node, the sensitive word tree is controlled to return to the root node and continue to traverse the next sensitive word in the sensitive word table;

[0262] If there is a subtree with the sensitive word as the root node, enter the subtree with the sensitive word as the root node and determine whether the subtree has an end character;

[0263] If the subtree has an end character, the sensitive word is determined to be a suspicious sensitive word;

[0264] Determine sensitive word recognition results based on suspicious sensitive words;

[0265] According to the first preset model, obtaining the confidence probability of the suspicious sensitive word;

[0266] If the confidence probability is less than the confidence probability threshold, it is determined that the suspicious sensitive word is not a real sensitive word;

[0267] If the confidence probability is greater than or equal to the confidence probability threshold, the suspected sensitive word is determined to be a real sensitive word, so as to determine the number of real sensitive words detected;

[0268] The number of detected real sensitive words is determined as the sensitive word recognition result.

[0269] In the embodiment of the present application, the image plagiarism identification module 133 is specifically used for:

[0270] Obtaining a history lesson plan, wherein the history lesson plan includes a number of history pictures;

[0271] According to the second preset training model, converting a number of historical pictures into historical picture vectors;

[0272] Based on the historical picture vectors, a historical picture vector library is constructed;

[0273] According to the second preset training model, the image information of the teaching plan to be reviewed is converted into an image vector;

[0274] Calculate the Euclidean distance between the picture vector and the historical picture vector in the historical picture vector library;

[0275] According to the Euclidean distance, several similar pictures are determined from several historical pictures;

[0276] Normalize similar images and image information;

[0277] Calculate the cosine similarity of similar images and image information;

[0278] If the cosine similarity is greater than or equal to the cosine similarity threshold, the image information is determined to be a plagiarized image;

[0279] The number of plagiarized images is determined as the image plagiarism identification result.

[0280] In the embodiment of the present application, the audit module 134 is specifically used for:

[0281] Calculate the text plagiarism score;

[0282] Calculate the sensitive word score;

[0283] Calculate the image plagiarism score;

[0284] Based on the text plagiarism identification results, sensitive word identification results and image plagiarism identification results, the review results of the lesson plans to be reviewed are calculated.

[0285] In the embodiment of the present application, the teaching plan review device can also be built by hardware devices. For example, the teaching plan review device can be built by one or more chips, and each chip can work in coordination with each other to complete the teaching plan review method described in the above embodiments. For another example, the teaching plan review device can also be built by various logic devices, such as a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, or any combination of these components.

[0286] The teaching plan audit device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0287] The teaching plan review device in the embodiment of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0288] The teaching plan review device provided in the embodiment of the present application can achieve Figure 3 To avoid repetition, the various implementation processes will not be described here.

[0289] It should be noted that the above teaching plan review device can execute the teaching plan review method provided in the embodiment of this application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in the teaching plan review device embodiment, reference can be made to the teaching plan review method provided in the above embodiment.

[0290] In an embodiment of the present application, a teaching plan review device is provided, including: a text plagiarism identification module, used to obtain the teaching plan to be reviewed; pre-processing the teaching plan to be reviewed to obtain text information and image information in the teaching plan to be reviewed; performing text plagiarism identification on the text information to determine the text plagiarism identification result; a sensitive word identification module, used to perform sensitive word identification on the text information to determine the sensitive word identification result; a picture plagiarism identification module, used to perform picture plagiarism identification on the picture information to determine the picture plagiarism identification result; and a review module, used to calculate the review result of the teaching plan to be reviewed based on the text plagiarism identification result, the sensitive word identification result and the picture plagiarism identification result. The present application can improve the efficiency of teaching plan review.

[0291] Embodiment 3

[0292] Please refer to Fig.14 , Fig.14 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0293] like Fig.14 As shown, the electronic device 140 includes one or more processors 141 and a memory 142. Fig.14 A processor 141 is taken as an example.

[0294] The processor 141 and the memory 142 may be connected via a bus or other means. Fig.13 The example of connecting through bus is taken in the following.

[0295] The processor 141 is used to provide computing and control capabilities to control the electronic device 140 to perform corresponding tasks, for example, to control the electronic device 140 to perform the teaching plan review method in any of the above method embodiments, including: obtaining the teaching plan to be reviewed; preprocessing the teaching plan to be reviewed to obtain text information and image information in the teaching plan to be reviewed; performing text plagiarism recognition on the text information to determine the text plagiarism recognition result; performing sensitive word recognition on the text information to determine the sensitive word recognition result; performing image plagiarism recognition on the image information to determine the image plagiarism recognition result; and calculating the review result of the teaching plan to be reviewed based on the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result.

[0296] By extracting text information and image information from lesson plans, performing text plagiarism identification and sensitive word identification on the text information and image plagiarism identification on the image information, and calculating the total score, the efficiency of lesson plan review can be improved.

[0297] The processor 141 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0298] The memory 142, as a non-transient computer-readable storage medium, can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the teaching plan review method in the embodiment of the present application. The processor 141 can implement the teaching plan review method in any of the following method embodiments by running the non-transient software programs, instructions and modules stored in the memory 142. Specifically, the memory 142 may include a volatile memory (volatile memory, VM), such as a random access memory (random access memory, RAM); the memory 132 may also include a non-volatile memory (non-volatile memory, NVM), such as a read-only memory (read-only memory, ROM), a flash memory (flash memory), a hard disk drive (hard disk drive, HDD) or a solid-state drive (solid-state drive, SSD) or other non-transient solid-state storage devices; the memory 142 may also include a combination of the above-mentioned types of memories.

[0299] The memory 142 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 142 may optionally include a memory remotely arranged relative to the processor 141, and these remote memories may be connected to the processor 141 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0300] One or more modules are stored in the memory 142, and when executed by one or more processors 141, the teaching plan review method in any of the above method embodiments is executed, for example, the teaching plan review method described above is executed. Figure 3 The steps shown can also be implemented Fig.13 The functions of each module.

[0301] In the embodiment of the present application, the electronic device 140 may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output. The electronic device 140 may also include other components for realizing device functions, which will not be described in detail here.

[0302] The present application also provides a computer-readable storage medium, such as a memory including a program code, and the program code can be executed by a processor to complete the teaching plan review method in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CDROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0303] The present application also provides a computer program product, which includes one or more program codes stored in a computer-readable storage medium. The processor of the electronic device reads the program code from the computer-readable storage medium, and the processor executes the program code to complete the method steps of the teaching plan review method provided in the above embodiment.

[0304] A person skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware or by hardware associated with a program code, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0305] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0306] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as mentioned above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A teaching plan review method, characterized in that: The method comprises: Get lesson plans for review; Preprocessing the lesson plan to be reviewed to obtain text information and picture information in the lesson plan to be reviewed; Performing text plagiarism identification on the text information to determine a text plagiarism identification result; Performing sensitive word recognition on the text information to determine a sensitive word recognition result; Performing image plagiarism identification on the image information to determine the image plagiarism identification result; The review result of the teaching plan to be reviewed is calculated based on the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result.

2. The method according to claim 1, characterized in that Before performing text plagiarism identification on the text information, the method further includes: Removing punctuation marks from the text information in the teaching plan to be reviewed to obtain first text information; Performing word segmentation processing on the first text information to obtain a word segmentation result; According to a preset stop word list, the stop words in the word segmentation result are removed to obtain valid words in the text information in the teaching plan to be reviewed.

3. The method according to claim 2, characterized in that The text plagiarism identification result includes the length of the plagiarized text, and the text information is subjected to text plagiarism identification to determine the text plagiarism identification result, including: According to the valid words in the text information, based on the set substring length, determining a plurality of consecutive valid word substrings; According to the minimum hash algorithm, obtaining text feature vectors of the plurality of continuous valid word substrings; Determine the index of the text feature vector according to a local sensitive hashing algorithm; Determining a plurality of similar teaching plans according to the index of the text feature vector; Performing text matching between the similar teaching plan and the text information to obtain matching text, and determining the length of the matching text; If the length of the matching text is greater than or equal to the matching text length threshold, the matching text is determined to be a plagiarized text, so as to determine the length of the plagiarized text; The length of the plagiarized text is determined as a text plagiarism recognition result.

4. The method according to claim 1, characterized in that: The step of identifying sensitive words in text information and determining the sensitive word identification result includes: Use a sensitive word in the preset sensitive word list as the root node of the sensitive word tree; Setting the end mark of the suspicious sensitive words in the text information; Constructing a sensitive word tree according to the preset sensitive word list; Traversing the text information to obtain suspicious sensitive words in the text information; Determine whether the sensitive word tree has a subtree with the sensitive word as the root node; If there is no subtree with the sensitive word as the root node, then take out the next word in the text information, and continue to determine whether the sensitive word tree has a subtree with the sensitive word as the root node; If there is a subtree with the sensitive word as the root node, enter the subtree with the sensitive word as the root node, and determine whether there is an end symbol in the subtree; If the subtree has an end character, it is determined that the text information contains suspicious sensitive words; The sensitive word recognition result is determined according to the suspicious sensitive word.

5. The method according to claim 4, characterized in that The step of determining the sensitive word recognition result according to the suspicious sensitive word includes: According to the first preset model, obtaining the confidence probability of the suspicious sensitive word; If the confidence probability is less than the confidence probability threshold, it is determined that the suspicious sensitive word is not a real sensitive word; If the confidence probability is greater than or equal to the confidence probability threshold, the suspicious sensitive word is determined to be a real sensitive word, so as to determine the number of detected real sensitive words; The detected number of real sensitive words is determined as the sensitive word recognition result.

6. The method according to claim 1, characterized in that Before performing image plagiarism identification on the image information, the method further includes: Obtaining a history lesson plan, wherein the history lesson plan includes a plurality of history pictures; According to a second preset training model, converting a number of the historical pictures into historical picture vectors; Based on the historical picture vectors, a historical picture vector library is constructed.

7. The method according to claim 6, characterized in that The performing image plagiarism identification on the image information and determining the image plagiarism identification result includes: According to the second preset training model, the image information of the teaching plan to be reviewed is converted into an image vector; Calculating the Euclidean distance between the picture vector and the historical picture vectors in the historical picture vector library; Determining a plurality of similar images from the plurality of historical images according to the Euclidean distance; Normalizing the similar pictures and the picture information; Calculating the cosine similarity between the similar picture and the picture information; If the cosine similarity is greater than or equal to the cosine similarity threshold, determining that the image information is a plagiarized image; The number of the plagiarized pictures is determined as a picture plagiarism identification result.

8. The method according to claim 1, characterized in that The text plagiarism identification result includes the length of the plagiarized text, the sensitive word identification result includes the number of detected real sensitive words, and the picture plagiarism identification result includes the number of plagiarized pictures. The method further includes: Calculate the text plagiarism score, including: Among them, Score cw is the text plagiarism score, L cw is the length of the plagiarized text, L w is the total length of the text information in the teaching plan to be reviewed; Calculate the sensitive word score, including: Among them, Score sw is the score of sensitive words, N sw is the number of real sensitive words detected, a sw is the threshold of the number of sensitive words, min(N sw ,a sw ) is N sw 、a sw The smaller value of ; Calculate the image plagiarism score, including: Among them, Score ci is the image plagiarism score, N ci is the number of plagiarized images whose similarity is greater than the preset similarity threshold, N i is the number of pictures in the lesson plan to be reviewed, a ci is the threshold of the number of plagiarized images, min(N ci ,a ci ) is N ci 、a ci The smaller value, min(N i ,a ci ) is N i 、a ci The smaller value in .

9. The method according to claim 8, characterized in that The audit result of the lesson plan to be audited includes a total plagiarism score. The audit result of the lesson plan to be audited is calculated based on the text plagiarism identification result, the sensitive word identification result, and the image plagiarism identification result, including: Total plagiarism score = text plagiarism score * first weight + sensitive word score * second weight + image plagiarism score * third weight.

10. A teaching plan review system, characterized in that: include: Text plagiarism identification module, used to obtain teaching plans for review; Preprocessing the lesson plan to be reviewed to obtain text information and picture information in the lesson plan to be reviewed; Performing text plagiarism identification on the text information to determine a text plagiarism identification result; A sensitive word recognition module, used to perform sensitive word recognition on the text information and determine a sensitive word recognition result; An image plagiarism identification module is used to perform image plagiarism identification on the image information and determine the image plagiarism identification result; The review module is used to calculate the review result of the teaching plan to be reviewed based on the text plagiarism recognition result, the sensitive word recognition result and the image plagiarism recognition result.

11. An electronic device, characterized in that: include: 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 teaching plan review method as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Copyright authentication method, device, equipment, system and computer readable storage medium

    CN110781460A

  • Video auditing method, video auditing device, equipment and storage medium

    CN111225234A

  • Text auditing method and system based on keyword and deep learning and medium

    CN113312449A

Cited By

  • Service delivery photo auditing and auditing system for automobile road rescue

    CN120387800A