Content recognition method and apparatus, electronic device, and storage medium
By using artificial intelligence programs to identify differences between forms and historical documents and display prompts, the problem of identifying abnormal content during the internal approval process of a group is solved, thereby improving the decision-making efficiency and quality of the personnel involved.
Patent Information
- Application Number
- PCT/CN2025/080203
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-31
- Filing Date
- 2025-03-03
- Publication Date
- 2025-12-04
AI Technical Summary
During the approval process within a group, when staff need to process forms, they often cannot effectively identify abnormal content in the forms, resulting in an excessive decision-making burden.
Artificial intelligence programs are used to identify differences between target files and historical files, displaying prompts to indicate abnormal content and providing relevant information to assist personnel in making decisions.
By automatically identifying abnormal content in forms, the decision-making burden on processing personnel is reduced, and the processing quality and decision-making efficiency are improved.
Smart Images

Figure CN2025080203_04122025_PF_FP_ABST
Abstract
Description
Content recognition methods, devices, electronic devices and storage media
[0001] This application claims priority to Chinese Patent Application No. 202410695098.0, filed on May 31, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0002] This disclosure relates to a content recognition method, apparatus, electronic device, and storage medium. Background Technology
[0003] Within a group, approval forms are frequently required. When processing these forms, staff may need to pay attention to any unusual content within them. Summary of the Invention
[0004] This disclosure provides a content recognition method, apparatus, electronic device, and storage medium.
[0005] The following technical solution is adopted in this disclosure.
[0006] In some embodiments, this disclosure provides a content recognition method, including:
[0007] Get the contents of the target file;
[0008] The system identifies whether there is target content in the target file that meets the prompting conditions, wherein the prompting conditions include: the target file contains content whose difference from similar content in historical files reaches a preset difference threshold;
[0009] In response to the presence of the target content in the target file, a prompt icon is displayed in the target file or in the associated area of the target file;
[0010] The prompt icon is used to indicate the existence of target content.
[0011] In some embodiments, this disclosure provides a content recognition device, including:
[0012] The acquisition unit is used to acquire the contents of the target file;
[0013] The control unit is used to identify whether there is target content in the target file that meets the prompting conditions, wherein the prompting conditions include: the target file contains content whose difference from similar content in historical files reaches a preset difference threshold;
[0014] The control unit is further configured to display a prompt icon in the target file or in the associated area of the target file in response to the presence of the target content in the target file;
[0015] The prompt icon is used to indicate the existence of target content.
[0016] In some embodiments, this disclosure provides an electronic device, including: at least one memory and at least one processor;
[0017] The memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above method.
[0018] In some embodiments, this disclosure provides a computer-readable storage medium for storing program code that, when run by a processor, causes the processor to perform the methods described above. Attached Figure Description
[0019] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0020] Figure 1 is a flowchart of the content recognition method according to an embodiment of this disclosure.
[0021] Figures 2 and 3 are schematic diagrams of the display interface of an embodiment of this disclosure.
[0022] Figure 4 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0023] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0024] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0025] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0026] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0027] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0028] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0029] It should be understood that the various steps described in the method embodiments of this disclosure can be performed in sequence and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0030] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0031] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0032] It should be noted that the use of the word "a" in this disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise expressly indicated in the context.
[0033] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0034] The solutions provided by the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0035] Within organizations such as companies and departments, approvals are often created. The approver can only make approval decisions based on the content of the approval form. However, this is often insufficient to support the approver's decision-making. They often need to review historical approval forms, relevant policies, etc., before making a decision. Or, when the approval item is associated with an attachment, the approver needs to verify the associated content to ensure the accuracy of the approval, which makes the approver's workload heavy.
[0036] As shown in Figure 1, which is a flowchart of a content recognition method according to an embodiment of the present disclosure, the method includes the following steps.
[0037] S11. Obtain the contents of the target file.
[0038] In some embodiments, the execution end of the method proposed in this disclosure can be a terminal, server, etc. Specifically, it can be executed by an artificial intelligence program. The target file can be a form, such as an approval form, and the content of the target file can include text or image content from the form. The content of the target file can be identified by an artificial intelligence program. The target file can be a form currently being processed by a handler. In some embodiments, the target file can be a form for approval items, and step S11 can be executed after the approval creator creates the approval item, or after the approver who approves the approval item views or modifies the approval item. If the approval form has attachments, the content of the attachments to the approval form can also be obtained. Attachments are files attached to the approval form and can include other forms, images, text, etc.
[0039] S12. Identify whether the target file contains target content that meets the prompt conditions.
[0040] In some embodiments, the prompt condition includes: the target file contains content whose difference from similar content in historical files reaches a preset difference threshold. That is, the difference between the target content and similar content in historical files reaches the preset difference threshold. In some embodiments, the historical file and the target file are files of the same type, and the historical file is a file preceding the target file. For example, if the target file is a reimbursement approval form, then the historical file contains historical reimbursement approval forms. Similar content in the historical file has the same content type as the target content in the target file; for example, the reimbursement amount in the target file is considered the target content, and similar content in the historical file represents previous reimbursement amounts. In some embodiments, to avoid differences caused by different user levels, the target file and the historical file correspond to the same user level and / or position. For example, if the target file is a form for approval items created by a first-level salesperson, then the historical file could be a form for approval items created by other first-level salespersons. This avoids incorrect identification of the target content due to differences in level and / or position. In some embodiments, step S12 can be performed by an artificial intelligence program (also known as AI). Specifically, the content of the target file can be sent to the AI program, which analyzes the content and identifies the target content. After identifying the target content, the AI program can mark it and perform operations without human intervention.
[0041] S13. In response to the existence of target content in the target file, display a prompt icon in the target file or the associated area of the target file.
[0042] In some embodiments, a notification icon is used to indicate the presence of target content. When target content exists in the target file, the notification icon will be displayed. The display style of the notification icon may differ from the display style of other content in the target file, thereby drawing the user's attention to the notification icon. The notification icon may display the number of instances of target content.
[0043] To better illustrate the method proposed in this embodiment, the following description is provided in conjunction with Figure 2. Taking an approval form as an example, after the creator of the approval item submits the approval item, the form is submitted. The form may have associated files, and the approver can modify the approval item. Then, the approval system uses an artificial intelligence program to obtain the content of the form. Figure 2 is a schematic diagram of the target file, which is a travel expense reimbursement form. Its associated file is a business trip application form. The artificial intelligence program can compare the content of the target file with that of historical files. For example, the amount to be approved in Figure 2 is compared with the amount to be approved in historical files. If the difference between the two reaches a preset difference threshold (for example, the amount to be approved in the target file is higher than the amount to be approved in historical files and the percentage difference is more than 30%), then the approval amount in the target file is considered abnormal and is considered target content. After identifying the target content in the target file, a prompt icon will be displayed, as shown in Figure 2. The prompt icon "2 prompts" is displayed at the top of Figure 2. This prompt icon can be highlighted.
[0044] In some embodiments of this disclosure, when a form handler (e.g., an approver) views the form, a prompt icon is displayed if the form contains target content. This allows the handler to understand that the target file contains target content, which helps assist the handler in processing the target file and improves processing quality.
[0045] In some embodiments of this disclosure, the prompting condition further includes: the target file contains content that does not conform to the preset rules of the user group to which it belongs. In some embodiments, the creator of the target file may be a person belonging to a user group, and the preset rules of the user group to which the creator belongs are the preset rules of the user group to which the creator belongs. For example, the target handler may be a company employee, and the user group may be the company to which the employee belongs. Different user groups have different preset rules, which may be regulations (e.g., the total amount that users with different identities can be reimbursed, the types of reimbursements allowed, consumption standards, etc.). The creator of the target file needs to conform to the preset rules when creating the target file. If it does not conform, it indicates that the target file contains target content. For example, the preset rules may be the regulations of a group, and the preset rules may limit hotel cost standards. If the hotel cost incurred by the creator exceeds the limited hotel cost standard, it indicates that the accommodation cost is target content. In this way, the target file handler does not need to spend time comparing the target file with the user group's preset rules, reducing the workload of the handler and improving the speed of decision-making.
[0046] In some embodiments of this disclosure, the prompting condition further includes: the target file contains content inconsistent with its associated file. For example, as shown in Figure 2, the target file is a travel expense reimbursement form, and the associated file is a business trip application form. If the amount pending approval in the target file is inconsistent with the amount in the associated business trip application form, it indicates that the amount pending approval is abnormal and constitutes target content. This eliminates the need for personnel processing the target file to compare the target file and the associated file, reducing their workload.
[0047] In some embodiments, the presence of content in the target file that is inconsistent with its associated files includes: abnormal data in the form of the target file, and the abnormal data being inconsistent with the data in the associated fields of the attached files of the target file. Taking Figure 2 as an example, the abnormal data could be an abnormal amount, the data in the associated fields of the attached files could be the amount in the invoice attachment, the target file could be a travel expense reimbursement form, and the attached files could be travel expense reimbursement invoices. If the amount or total amount in the invoice is inconsistent with the amount or total amount in the target file, it indicates that there is an abnormality in the target content.
[0048] In some embodiments of this disclosure, the method further includes: in response to a first operation on the prompt identifier, highlighting target content in the target file, and / or displaying a target area and displaying a prompt item corresponding to the target content in the target area.
[0049] In some embodiments, as shown in Figures 2 and 3, Figure 2 displays a prompt icon "2 prompts" in the upper center. Clicking this prompt icon triggers a first operation, and as shown in Figure 3, the target content is highlighted in the target file. This can be achieved by changing the display style of the target content or marking it with a box, and the prompt item corresponding to the target content can be displayed within the target area. There may be multiple target contents. After performing the first operation on a target content, the first target content is automatically located from top to bottom as the currently viewed target content. There are also multiple prompt items, with a one-to-one correspondence between target content and prompt items. The prompt item corresponding to the currently viewed target content will also be highlighted. Prompt items can be triggered by clicking, and after triggering a prompt item, the target file will be located at the target content corresponding to the triggered prompt item. For example, as shown on the right side of Figure 3, the area where the approval assistant (artificial intelligence program) is located is the target area, which is the conversation area of the artificial intelligence program. The prompt items are the content in the conversation messages sent by the artificial intelligence program, which are sent in the form of conversation cards. The currently viewed target content is related to "amount to be approved," and the prompt item corresponding to this target content is highlighted in the conversation message in Figure 3. Another prompt, "Department cumulative...exceeds the previous average by 30%", is not highlighted. Clicking this other prompt will highlight it and locate the corresponding target content in the form. In this embodiment, by performing the first operation on the prompt icon, the target content can be highlighted and the prompt can be displayed, allowing personnel to quickly locate the target content.
[0050] In some embodiments, the prompt item corresponding to the target content includes one or more of the following: the reason why the target content meets the prompt conditions, and an identifier indicating the basis for determining that the content is the target content. As shown in Figure 3, the highlighted prompt item in Figure 3 displays "The total amount pending approval for this reimbursement is inconsistent with the amount in the business trip application," which shows the reason why the target content meets the prompt conditions, and a more specific reason is also displayed below. In addition, the prompt item in Figure 3 also displays "Caused by 2 places, click to view," which is used to view the basis for determining that the content is the target content. In Figure 3, based on the "amount pending approval" in the target file and the amount in the business trip application, clicking or other methods can trigger this identifier to view the amount pending approval in the target file and the amount in the business trip application.
[0051] In some embodiments of this disclosure, content in the target file that differs from similar content in historical files by a preset difference threshold is classified as first-category target content; the method further includes: displaying, in the prompt item corresponding to the first-category target content, the numerical comparison result between the first-category target content and similar content in the historical files.
[0052] In some embodiments, as shown in Figure 3, the prompts not highlighted in the approval assistant's conversation area on the right side of Figure 3 are prompts for the first type of target content. These prompts display "Department's cumulative reimbursements...exceed the average of previous periods by 30%". It can be seen that the prompts show a numerical comparison between the first type of target content and similar content. Specifically, the first type of target content in Figure 3 is "This month's cumulative reimbursement amount for the administrative department is 398,000 RMB" (not shown in the form in Figure 3, but located in another sub-interface within the form). Its comparison with the cumulative department reimbursement amount in historical files shows "exceeds the average of previous periods by 30%". For user convenience, as shown in Figure 3, the statistical results of the first type of target content and similar content can also be displayed in the form of a chart.
[0053] In some embodiments of this disclosure, a summary identifier is displayed in the target area. This summary identifier is used to summarize the target file upon being triggered. In some embodiments, as shown in Figure 3, a "Summary of This Document's Content" is displayed. When this identifier is triggered, the target file will be automatically summarized. The summary may display the key points, main content, and points requiring attention of the target file. The summary can also be sent by the AI program as a conversational message in the AI program's chat area.
[0054] In some embodiments, an introductory marker is displayed in the target area. This marker, when triggered, provides information on precautions for processing the target file. As shown in Figure 3, "Understanding Approval Points" is displayed. Triggering this marker by clicking or other means will generate precautions for processing the target file. These precautions can then be sent as a conversational message by an AI program to the current user (usually the person processing the target file). The precautions can explain how to process the target file, what aspects require extra attention, and what are common errors or oversights during processing.
[0055] In some embodiments of this disclosure, the target file displays a prompt indicating that the target content meets the specified conditions. In some embodiments, as shown on the left side of Figure 3, the upper left corner of Figure 3 highlights "The total amount pending approval for this expense report is inconsistent with the amount applied for in the business trip," indicating that the target content meets the preset conditions, while a prompt indicating that the target content does not meet the conditions is displayed.
[0056] In some embodiments of this disclosure, before obtaining the content of the target file, the method further includes: determining whether the title of the target file contains preset keywords; and, in response to the presence of preset keywords in the title of the target file, performing the step of obtaining the content of the target file. In some embodiments, the method proposed in this disclosure may not be applied to all forms. Preset keywords may be pre-defined, such as finance-related keywords like "reimbursement," because these contents are financially important and therefore require the application of the method proposed in this disclosure, thereby reducing computational power consumption.
[0057] This disclosure also proposes a content recognition device, comprising:
[0058] The acquisition unit is used to acquire the contents of the target file;
[0059] The control unit is used to identify whether there is target content in the target file that meets the prompting conditions, wherein the prompting conditions include: the target file contains content whose difference from similar content in historical files reaches a preset difference threshold;
[0060] The control unit is further configured to display a prompt icon in the target file or in the associated area of the target file in response to the presence of the target content in the target file;
[0061] The prompt icon is used to indicate the existence of target content.
[0062] In some embodiments, the prompting conditions further include one or more of the following:
[0063] The target file contains content that does not conform to the preset rules of the user group to which it belongs;
[0064] The target file contains content that is inconsistent with the associated files of the target file.
[0065] In some embodiments, the target file contains content inconsistent with its associated files, including: abnormal data in the form of the target file, and the abnormal data being inconsistent with the data in the associated fields of the attached files of the target file.
[0066] In some embodiments, identifying whether there is target content in the content of the target file that meets the prompting conditions includes: sending the content of the target file to an artificial intelligence program, analyzing the content of the target file through the artificial intelligence program, and identifying the target content in the content of the target file by the artificial intelligence program.
[0067] In some embodiments, the control unit is also configured to, in response to a first operation on the prompt identifier, highlight target content in the target file, and / or, display a target area and display a prompt item corresponding to the target content in the target area.
[0068] In some embodiments, content in the target file that differs from similar content in historical files to a preset difference threshold is classified as first-category target content;
[0069] In some embodiments, the control unit is also configured to display, in the prompt item corresponding to the first type of target content, the numerical comparison result between the first type of target content and the same type of content in the historical file.
[0070] In some embodiments, the prompt item corresponding to the target content includes one or more of the following: the reason why the target content meets the prompt conditions, and an identifier of the basis for determining that the content is the target content.
[0071] In some embodiments, the target area is the session area of an artificial intelligence program, and the prompt item is the content of a session message sent by the artificial intelligence program.
[0072] In some embodiments, the control unit is also configured to display a summary label and / or an introductory label in the target area;
[0073] The summary identifier is used to summarize the target file after it is triggered;
[0074] The introductory identifier is used to introduce precautions for processing the target file after it is triggered.
[0075] In some embodiments, the control unit is also configured to associate the reason why the highlighted target content meets the prompt condition with the target content in the target file.
[0076] In some embodiments, the control unit is further configured to determine whether the title of the target file contains preset keywords before acquiring the content of the target file;
[0077] In response to the fact that the title of the target file contains preset keywords, the step of obtaining the content of the target file is executed.
[0078] For embodiments of the apparatus, since they basically correspond to the method embodiments, relevant details can be found in the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0079] The methods and apparatus of this disclosure have been described above based on embodiments and application examples. Furthermore, this disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0080] Referring now to FIG4, a schematic diagram of the structure of an electronic device (e.g., a terminal device or a server) 800 suitable for implementing embodiments of the present disclosure is shown. The terminal device in embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present disclosure.
[0081] Electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. RAM 803 also stores various programs and data required for the operation of electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0082] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0083] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0084] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0085] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0086] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0087] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure.
[0088] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0090] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0091] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0092] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0093] According to one or more embodiments of this disclosure, a content recognition method is provided, comprising:
[0094] Get the contents of the target file;
[0095] The system identifies whether there is target content in the target file that meets the prompting conditions, wherein the prompting conditions include: the target file contains content whose difference from similar content in historical files reaches a preset difference threshold;
[0096] In response to the presence of the target content in the target file, a prompt icon is displayed in the target file or in the associated area of the target file;
[0097] The prompt icon is used to indicate the existence of target content.
[0098] According to one or more embodiments of this disclosure, a content recognition method is provided, wherein the prompting conditions further include one or more of the following:
[0099] The target file contains content that does not conform to the preset rules of the user group to which it belongs;
[0100] The target file contains content that is inconsistent with the associated files of the target file.
[0101] According to one or more embodiments of this disclosure, a content recognition method is provided, wherein the target file contains content inconsistent with the associated file of the target file, including: abnormal data in the form of the target file, and the abnormal data is inconsistent with the data of the associated field of the attachment file of the target file.
[0102] According to one or more embodiments of this disclosure, a content recognition method is provided to identify whether there is target content in the content of a target file that meets prompting conditions, including: sending the content of the target file to an artificial intelligence program, analyzing the content of the target file through the artificial intelligence program, and identifying the target content in the content of the target file by the artificial intelligence program.
[0103] According to one or more embodiments of this disclosure, a content recognition method is provided, further comprising:
[0104] In response to a first operation on the prompt identifier, the target content is highlighted in the target file, and / or a target area is displayed and a prompt item corresponding to the target content is displayed in the target area.
[0105] According to one or more embodiments of this disclosure, a content recognition method is provided, wherein content in the target file that differs from similar content in historical files to a preset difference threshold is classified as first-category target content;
[0106] The method further includes: displaying, in the prompt item corresponding to the first type of target content, the numerical comparison result between the first type of target content and the same type of content in the historical file.
[0107] According to one or more embodiments of this disclosure, a content recognition method is provided, wherein the prompt item corresponding to the target content includes one or more of the following: the reason why the target content meets the prompt conditions, and an identifier of the basis for determining that the content is the target content.
[0108] According to one or more embodiments of this disclosure, a content recognition method is provided, wherein the target area is the session area of an artificial intelligence program, and the prompt item is the content of a session message sent by the artificial intelligence program.
[0109] According to one or more embodiments of this disclosure, a content recognition method is provided to display a summary identifier and / or an introduction identifier in the target area;
[0110] The summary identifier is used to summarize the target file after it is triggered;
[0111] The introductory identifier is used to introduce precautions for processing the target file after it is triggered.
[0112] According to one or more embodiments of this disclosure, a content recognition method is provided to associate highlighted target content in a target file with the reason why the target content meets the prompt conditions.
[0113] According to one or more embodiments of this disclosure, a content recognition method is provided, which, before obtaining the content of the target file, further includes: determining whether the title of the target file contains preset keywords;
[0114] In response to the fact that the title of the target file contains a preset keyword, the step of obtaining the content of the target file is executed.
[0115] According to one or more embodiments of this disclosure, a content recognition device is provided, comprising:
[0116] The acquisition unit is used to acquire the contents of the target file;
[0117] The control unit is used to identify whether there is target content in the target file that meets the prompting conditions, wherein the prompting conditions include: the target file contains content whose difference from similar content in historical files reaches a preset difference threshold;
[0118] The control unit is further configured to display a prompt icon in the target file or in the associated area of the target file in response to the presence of the target content in the target file;
[0119] The prompt icon is used to indicate the existence of target content.
[0120] According to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one memory and at least one processor;
[0121] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method described in any one of the above.
[0122] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code that, when executed by a processor, causes the processor to perform the methods described above.
[0123] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0124] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0125] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A content identification method, comprising: obtaining content of a target file; identifying whether target content meeting a prompt condition exists in the content of the target file, wherein the prompt condition comprises: content in the target file meeting a preset difference threshold with similar content in a historical file; in response to the target content existing in the target file, displaying a prompt identifier in the target file or an associated area of the target file; wherein the prompt identifier is used to prompt the existence of the target content.
2. The method of claim 1, wherein, The prompt condition further comprises one or more of the following: content in the target file does not meet a preset rule of a user group to which the target file belongs; content in the target file is inconsistent with an associated file of the target file.
3. The method of claim 2, wherein, Content in the target file is inconsistent with an associated file of the target file, comprising: abnormal data existing in a form of the target file, the abnormal data being inconsistent with data of an associated field of an attachment file of the target file.
4. The method according to any one of claims 1 to 3, wherein, Identifying whether target content meeting a prompt condition exists in the content of the target file comprises: sending the content of the target file to an artificial intelligence program, analyzing the content of the target file by the artificial intelligence program, and identifying the target content in the content of the target file by the artificial intelligence program.
5. The method of any one of claims 1-4, further comprising: in response to a first operation on the prompt identifier, highlighting the target content in the target file, and / or displaying a target area and displaying a prompt item corresponding to the target content in the target area.
6. The method of claim 5, wherein: the content in the target file meeting the preset difference threshold with similar content in a historical file is first target content; the method further comprises: displaying a numerical comparison result of the first target content with similar content in the historical file in the prompt item corresponding to the first target content.
7. The method of claim 5 or 6, wherein, The prompt item corresponding to the target content comprises one or more of the following: a reason why the target content meets the prompt condition, and an identifier for viewing a basis for determining that the content is the target content.
8. The method according to any one of claims 5-7, wherein, The target area is a conversation area of an artificial intelligence program, and the prompt item is content in a conversation message sent by the artificial intelligence program.
9. The method of any one of claims 5-8, further comprising: A summary identifier and / or an introduction identifier are displayed in the target area; The summary identifier is used to summarize the target file after being triggered; The introduction identifier is used to introduce matters needing attention in processing the target file after being triggered.
10. The method of any one of claims 5-9, further comprising: A reason why the target content meets the prompt condition is displayed in association with the highlighted target content in the target file.
11. The method of any one of claims 1-10, wherein: before obtaining the content of the target file, the method further comprises: determining whether a preset keyword is contained in a title of the target file; in response to the preset keyword being contained in the title of the target file, the step of obtaining the content of the target file is performed.
12. A content identification apparatus, comprising: an obtaining unit configured to obtain content of a target file; The control unit is configured to identify whether target content meeting a prompt condition exists in the content of the target file, wherein the prompt condition comprises: the target file contains content that is different from the same type of content in the history file by a preset difference threshold; The control unit is further configured to display a prompt identifier in the target file or an associated area of the target file in response to the target content existing in the target file; The prompt identifier is used to prompt the existence of the target content.
13. An electronic device, comprising: at least one memory and at least one processor; The at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored in the at least one memory to execute the content identification method in any one of claims 1 to 11.
14. A computer-readable storage medium storing program code, wherein, The program code, when executed by the processor, causes the processor to execute the content identification method in any one of claims 1 to 11.
Citation Information
Patent Citations
Method and system and device for labeling and reminding content in webpage
CN102982129A
Operation interface identification method and apparatus
CN105528198A
Intelligent clause analysis method and device, computer equipment and storage medium
CN109902288A
Target content display method and device, equipment, readable storage medium and product
CN113253885A
Information processing method and device, electronic equipment and storage medium
CN116136953A