Online document processing method, device, computer equipment and readable storage medium
By distinguishing and reminding the modification content of online insurance policies, the efficiency and accuracy of insurance underwriting are improved, and the problem of low underwriting efficiency of online insurance policies is solved.
Patent Information
- Application Number
- CN202010902919.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-01
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2040-09-01
AI Technical Summary
During the insurance underwriting process, the modification of online insurance policies leads to low underwriting efficiency, and underwriting personnel need to check item by item, resulting in poor timeliness and low efficiency.
By determining the content of the document to be reviewed relative to the modified content after the previous verification, different display methods are used to distinguish the content that has not been modified and modified, and underwriting personnel are reminded according to the risk level to improve verification efficiency and accuracy.
It has achieved rapid attention to the modification content, reduced verification scope, improved underwriting efficiency and accuracy, and improved user experience.
Smart Images

Figure CN112016268B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an online document processing method, device, computer equipment and readable storage medium. Background Art
[0002] Insurance and technology have always been inseparable, and the essence of technology in insurance is to solve the problems of efficiency and risk. In recent years, with the development and application of technologies such as big data, cloud computing, artificial intelligence, and blockchain, the insurance industry has produced a large number of innovative products and models, making the business more efficient and convenient. In the traditional underwriting risk control process, underwriters are required to verify the paper insurance policies confirmed by users, and when users modify certain items of the insurance policy, they need to regenerate the paper insurance policy for verification again. The processing cost of the entire insurance policy is high, the timeliness is poor, the efficiency is low, and the user experience is poor, which makes it difficult to meet the rapid growth of insurance policy approvals.
[0003] In order to solve the above problems, optimize customer service, and improve user experience and satisfaction, the existing technology adopts online policy services, so that users can modify the entire policy content online at any time. However, since the entire policy content can be modified, the risk of each modification application is uncontrollable, and the underwriter still needs to verify each item, resulting in the policy still taking several minutes to check, and the underwriting time needs to be further improved.
[0004] Therefore, how to improve the underwriting efficiency of online insurance policies has become a technical problem that needs to be urgently solved in this field. Summary of the invention
[0005] The purpose of the present invention is to provide an online document processing method, device, computer equipment and readable storage medium to solve the above-mentioned technical problems in the prior art.
[0006] On the one hand, to achieve the above objectives, the present invention provides an online document processing method.
[0007] The online document processing method includes: determining the content of the document to be verified that has been modified compared to the previous verification; judging whether the modified content includes content that requires a risk warning; when it includes content that requires a risk warning, using a preset first display mode to display the unmodified content, using a preset second display mode to display the modified content, and using a preset third display mode to display the content that requires a risk warning, so as to distinguish between the unmodified content, the modified content, and the content that requires a risk warning.
[0008] Furthermore, determining the modified content of the document to be verified compared with the previous verification includes: generating the document to be verified in response to the user's modification operation on the verified original document; comparing the document to be verified with the original document to extract the modified content.
[0009] Furthermore, the online document includes a fixed value area and an editable area, the editable area is mapped to a document field table, the document field table includes a field name, field content and field parameter information, the field name corresponds one-to-one to the field content and field parameter information, the editable area includes the field content, and the document to be verified is compared with the original document, and the modified content is extracted, including: obtaining the document field table corresponding to the document to be verified to obtain the field table of the document to be verified; obtaining the document field table corresponding to the original document to obtain the field table of the original document; and comparing the field content and field parameter information corresponding to the same field name in the field table of the document to be verified and the original document table to extract the modified content.
[0010] Further, the field parameter information includes a risk level attribute, and determining whether the modified content includes content that requires a risk warning includes: querying the risk level attribute of the modified content in the field table of the document to be reviewed, or calculating the risk level attribute based on the modified content; determining whether the risk level attribute reaches a preset risk level, and when the risk level attribute reaches the preset risk level, determining that the modified content includes content that requires a risk warning.
[0011] Furthermore, determining whether the modified content includes content that requires risk warning includes: determining the project category to which the document to be reviewed belongs; determining the risk warning type corresponding to the document to be reviewed in a preset risk database based on the project category, wherein the preset risk database includes different project categories and their corresponding risk warning types; determining whether the modified content includes target content mapped by the risk warning type corresponding to the document to be reviewed, and when the modified content includes the target content, extracting the target content as content that requires risk warning.
[0012] Furthermore, when content requiring risk warning is included, a preset first display mode is used to display the unmodified content, a preset second display mode is used to display the modified content, and a preset third display mode is used to display the content requiring risk warning, so as to distinguish the unmodified content, the modified content, and the content requiring risk warning, including: setting the color attribute of the unmodified content to a first color value; setting the color attribute of the modified content to a second color value, wherein the first color value and the second color value are two color values whose hue value difference reaches a preset threshold; and adding a highlight display layer to the content requiring risk warning.
[0013] Furthermore, after determining the content of the document to be reviewed that has been modified compared to the previous review, the online document processing method also includes: extracting the modified content to generate a correction file; displaying the document to be reviewed in a first window, and displaying the correction file in a second window, wherein the first window and the second window are located on the same display interface.
[0014] On the other hand, to achieve the above objective, the present invention provides an online document processing device.
[0015] The online document processing device includes: a determination module, used to determine the content of the document to be verified that has been modified compared to the previous verification; a judgment module, used to judge whether the modified content includes content that requires risk warning; a processing module, used to, when the content requires risk warning, use a preset first display mode to display the unmodified content, use a preset second display mode to display the modified content, and use a preset third display mode to display the content that requires risk warning, so as to distinguish the unmodified content, the modified content and the content that requires risk warning.
[0016] On the other hand, to achieve the above purpose, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.
[0017] On the other hand, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, including a data storage area and a program storage area, the data storage area stores data created according to the use of the blockchain node, and the program storage area stores a computer program, wherein the computer program implements the steps of the above-mentioned method when executed by the processor.
[0018] The online document processing method, device, computer equipment and readable storage medium provided by the present invention, when displaying the document to be reviewed to the reviewer, first determine the content of the document to be reviewed that has been modified compared with the previous review, and then use a preset first display mode to display the unmodified content, and use a preset second display mode to display the modified content, so that the reviewer can quickly pay attention to the modified content and conduct a focused review on the modified part without having to review the entire document, which can improve the review efficiency. At the same time, for the modified content, it is determined whether it includes content that requires risk warning. When it includes content that requires risk warning, the preset third display mode is used to display the content that requires risk warning, so as to distinguish between the unmodified content, the modified content and the content that requires risk warning, which can remind the reviewer of the matters that require special attention in the modified content and increase the accuracy of the review. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0020] Figure 1 A flowchart of an online document processing method provided in Embodiment 1 of the present invention;
[0021] Figure 2 A flowchart of an online document processing method provided in Embodiment 2 of the present invention;
[0022] Figure 3 A block diagram of an online document processing device provided in Embodiment 3 of the present invention;
[0023] Figure 4 This is a hardware structure diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0025] In order to solve the technical problems in the prior art, the present invention proposes an online document processing method, device, computer equipment and readable storage medium. In the online document processing method, when a verified document is modified again and needs to be re-verified, first determine the content of the document to be verified (that is, the document modified on the basis of the verified document) after the previous verification (that is, the original document), then determine whether the modified content includes content that requires risk warning, and finally, when the modified content includes content that requires risk warning, when displaying the document to be verified to the reviewer, use a preset first display mode to display the unmodified content, and use a preset second display mode to display the unmodified content. The modified content is displayed in a third display mode, and the content that requires risk warning is displayed in a preset third display mode, so as to distinguish between the unmodified content, the modified content and the content that requires risk warning. That is, different display modes are used for the unmodified content and the modified content, so that the reviewer can quickly pay attention to the modified content and focus on the modified part without checking the entire document, which can improve the review efficiency. At the same time, for the content in the modified content that requires risk warning, the preset third display mode is used to display it, which can prompt the reviewer to the matters that require special attention in the modified content, thereby increasing the accuracy of the review.
[0026] When the online document is an online insurance policy, when the insurance policy to be reviewed is displayed to the reviewer, the preset first display mode is used to display the unmodified content, the preset second display mode is used to display the modified content, and the preset third display mode is used to display the content that requires risk warning. That is, different display modes are used for the unmodified content and the modified content in the insurance policy to be reviewed, so that the underwriter can quickly pay attention to the modified content and focus on underwriting the modified part without checking the entire policy, which can improve the underwriting efficiency. At the same time, when displaying the insurance policy to be reviewed, the preset third display mode is used for the content that requires risk warning, which can remind the underwriter of the matters that require special attention in the modified content, thereby increasing the accuracy of underwriting.
[0027] The specific implementations of the online document processing method, apparatus, computer device, and readable storage medium provided by the present invention will be described in detail below.
[0028] Embodiment 1
[0029] An embodiment of the present invention provides an online document processing method. In a usage scenario, the online document may be an online insurance policy. Accordingly, the document to be reviewed is the insurance policy to be reviewed, and the original document is the original insurance policy. When the online insurance policy is processed by the online document processing method, after the user modifies the insurance policy online, the modified content and the unmodified content are displayed in different display modes, and the content that requires risk warning in the modified content is highlighted, so that the underwriter can quickly pay attention to the modified content without the need to underwrite the entire insurance policy, which can improve the underwriting efficiency and can remind the underwriter of the matters that require special attention in the modified content, thereby increasing the accuracy of underwriting. Specifically, Figure 1 This is a flowchart of an online document processing method provided in Embodiment 1 of the present invention, such as Figure 1 As shown, the online document processing method includes the following steps S101 to S103:
[0030] Step S101: Determine the content of the document to be verified that has been modified compared to the previous verification.
[0031] Specifically, the document to be reviewed is the insurance policy to be reviewed, and step S101 determines the modified content of the insurance policy to be reviewed relative to the original policy after the previous underwriting. Optionally, for online insurance policies, before the policy takes effect, personnel including users and insurance policy sales can modify the policy content at any time. After each modification of the policy, the underwriter usually needs to underwrite the modified policy. Among them, the insurance policy to be reviewed is a policy that has been modified but not yet underwritten, and the original policy is a policy that has been underwritten before being modified. In this step, it is determined which part of the insurance policy to be reviewed has not been modified and belongs to the original policy content, and which part belongs to the modified content.
[0032] Optionally, step S101 may further include: generating a document to be verified in response to a modification operation on the verified original document, comparing the document to be verified with the original document, and extracting the modified content.
[0033] Specifically, taking the online document as an online insurance policy, each time the original approved policy is modified and the modification is saved, a policy to be approved will be generated. By comparing the policy to be approved with the original policy, the modified content can be extracted. Specifically, when the policy to be approved and the original policy are compared, the content that is the same as the original policy is determined to be the unmodified content, and the content that is different from the original policy is the modified content.
[0034] Optionally, the document to be verified and the original document are both stored in a format that can be recognized by OCR. Based on this, the document to be verified is compared with the original document, and the modified content is extracted, which further includes: identifying the text information of the document to be verified and the original document respectively through OCR, and then comparing the identified text information of the document to be verified with the text information of the original document word by word, so as to determine the modified content by comparing the relationship between each word.
[0035] Alternatively, optionally, when an online document is modified, a modification position tracking event is triggered, which can specifically track the cursor position and input position during the modification, determine the modification start position and modification end position, and record the tracked modification start position and modification end position. Based on this, the document to be verified is compared with the original document, and extracting the modified content further includes: obtaining the content between the modification start position and the modification end position in the single-core document, comparing the obtained content with the original document, and if the obtained content does not exist in the original document, then the obtained content is the modified content, so that the content of the document to be verified that has been modified relative to the previous verification can be determined by directly reading the position when the user made the modification.
[0036] Alternatively, optionally, the online document includes a fixed value area and an editable area, wherein the fixed value area refers to the non-editable part of the online document, and the editable area refers to the editable part of the online document. For example, when the online document is an online insurance policy, the fixed value area of the policy includes some explanatory information about the policy rights and obligations, and the editable area includes personalized editable information such as user information, policy amount, and payment information.
[0037] The editable area is mapped to the document field table. The document field table includes field names, field contents and field parameter information. The field names correspond one to one with the field contents and field parameter information. The editable area includes field contents. Specifically, for an online document, its editable area includes multiple editable contents. Each editable content is mapped to a field. When mapping, the meaning represented by the editable content is used as the field name, the editable content is used as the field content, and the attributes configured for the editable content are used as the field parameter information. For example, the field parameter information includes location attributes, risk level attributes, etc. The location attribute is used to represent the specific location of the editable content in the document. Specifically, any identification method for calibrating the field location can be used, such as using the document's "page number + paragraph code" for identification. The risk level attribute is used to represent the risk level when the editable content is modified.
[0038] For example, the editable areas of the online insurance policy include editable content such as "Zhang San", "20 years old" and "10 years". Users can edit "Zhang San", "20 years old" and "10 years", change "Zhang San" to "Wang Mou", change "20 years old" to "30 years old", etc. When mapping the editable area to the document field table, "Zhang San", "20 years old" and "10 years" are mapped to a field respectively. Specifically, "Zhang San" is mapped to the first field in the document field table. "Zhang San" means name, which is the field name of the first field. "Zhang San" is the current field content of the first field. The risk level of "Zhang San" when modified is level one, which is the current field parameter information of the first field; "20 years old" is mapped to the second field in the document field table. "20 years old" means age, which is the field name of the second field. "20 years old" is the current field content of the second field. The risk level of "20 years old" when modified is level two, which is the current field parameter information of the second field; "10 years" is mapped to the third field in the document field table. "10 years" means payment years, which is the field name of the third field. "10 years" is the current field content of the third field. The risk level of "10 years" when modified is level one, which is the current field parameter information of the third field. Then, the editable area of the online insurance policy is mapped to the document field table as follows:
[0039] Name Zhang San Level 1 age 20 years old Level 2 Payment period 10 years Level 1
[0040] The corresponding document template and document field table template can be pre-generated corresponding to the specific project category of the online document and set in the template database. When an online document is newly created, the document template corresponding to the newly created online document is searched and obtained in the template database to generate online document A and the document field table corresponding to the online document A. When the online document A is modified, the document field table corresponding to the online document A is modified synchronously, and the modified online document A is stored as a document to be verified, and the modified document field table is stored as a document field table to be verified. When the online document A is verified, the verified online document A is stored as the original document, and the corresponding document field table is stored as the original document field table.
[0041] The document to be verified is compared with the original document. When the modified content is extracted, the field table of the document to be verified and the field table of the original document are obtained, and the field content and field parameter information corresponding to the same field name in the field table of the document to be verified and the original document table are compared to extract the modified content.
[0042] Step S102: Determine whether the modified content includes content that requires risk warning.
[0043] Optionally, a risk database is preset. In this step, the modified content is queried in the risk database to determine whether the modified content includes content that requires a risk warning, wherein the risk database includes several risk warning items. When the risk warning item corresponding to the modified content is queried, it is determined that the modified content includes content that requires a risk warning. Specifically, the risk warning item is used to define characteristics that require a risk warning, and when the risk warning item corresponding to the modified content is queried, it means that the modified content meets the characteristics defined by the risk warning item. For example, when the online document is an online insurance policy, the risk database includes risk warning items that define data features of key insurance information such as amount, insurance validity period, name, license plate number, etc. Specifically, data features include features that define data formats, such as a risk warning item in the risk database is "data format is digital"; data features also include features with certain specific keywords, such as a risk warning item in the risk database is "contains the surname keyword"; data features also include features that define data styles, such as a risk warning item in the risk database is "time style data", etc. When the modified content is queried in the risk database, the modified content is specifically compared with the various risk warning items in the risk database to query whether the modified content includes "data format is digital", "contains the surname keyword", "time style data", etc. If so, the "data format is digital", "contains the surname keyword" and "time style data" in the modified content are all content that requires risk warning.
[0044] Alternatively, a risk judgment model is preset, and in this step, the modified content is input into the risk judgment model to determine whether the modified content includes content that requires risk warnings. Specifically, a sample library can be constructed by using sample content that includes content that requires risk warnings and sample content that does not require risk warnings, and an initial risk judgment model can be constructed using an artificial intelligence learning model such as a neural network. The initial risk judgment model is trained using the sample library to obtain the above-mentioned preset risk judgment model. Specifically, the sample content can be used as the input of the initial risk judgment model, and whether the sample content includes content that requires risk warning and the content that requires risk warning are used as the output of the initial risk judgment model. The initial risk judgment model is trained. For example, the sample content is segmented to obtain multiple word vectors. The input of the initial risk judgment model is the word vector corresponding to the sample content. When the sample content includes content that requires risk warning, the output of the initial risk judgment model is "1" and S, where S is the position mark of the content that requires risk warning in the sample content. When the sample content does not include content that requires risk warning, the output of the initial risk judgment model is "0" and "NULL". For the trained risk judgment model, in this step, the modified content is segmented, and the word vector obtained after segmentation is input into the trained risk judgment model. When the risk judgment model outputs "1" and S, it indicates that the modified content includes content that requires risk warning, and the content that requires risk warning is at the position marked by S; when the risk judgment model outputs "0" and "NULL", the modified content does not include content that requires risk warning.
[0045] Alternatively, optionally, multiple project categories are preset, each document to be reviewed belongs to a project category, and different project categories and their corresponding risk warning types are set in a preset risk database, wherein the risk warning type is used to map target content, and the target content is the content that requires a risk warning. Based on this, in this step, first determine the project category to which the document to be reviewed belongs, and then determine the risk warning type corresponding to the document to be reviewed in the preset risk database according to the project category, and determine whether the modified content includes the target content mapped by the risk warning type corresponding to the document to be reviewed. When the modified content includes the target content, extract the target content as the content that requires a risk warning.
[0046] Specifically, when the online document is an insurance policy, the same risk warning type can be set for different insurance products (i.e., project categories), or different risk warning types can be set for different insurance products. For the latter case, in this step, first determine the insurance product to which the policy to be reviewed belongs. Specifically, the insurance product to which it belongs can be determined by information such as the policy number, and then determine the risk warning type corresponding to the policy to be reviewed in the preset risk database through the insurance product category. After determining the risk warning type, identify whether the modified content includes the target content mapped by the risk warning type. Specifically, determine whether the modified content includes the content of specific data attributes specified by the risk warning type. If included, further check the location of the content of the specific data attributes specified by the risk warning type in the policy, and use a semantic recognition model to identify the actual semantics of the content of the specific data attributes specified by the risk warning type, and determine whether it involves modifications to substantive content such as the amount and product type. If involved, determine that the modified content includes the target content mapped by the risk warning type.
[0047] Alternatively, optionally, the field parameter information in the above-mentioned document field table includes a risk level attribute, and the risk level attribute is used to characterize the degree of risk that needs to be paid attention to after the field content is modified. For example, the corresponding risk level attribute of the field is set according to its importance. Specifically, information such as premiums and insured amounts are important information, and their corresponding risk level attributes are higher. In this step S102, when determining whether the modified content includes content that requires risk warnings, the risk level attribute in the field corresponding to the modified content is queried in the document field table. When the risk level reaches the level that requires risk warnings, that is, the preset risk level, the content of the field is the content that requires risk warnings, that is, the modified content includes content that requires risk warnings.
[0048] Alternatively, the risk level attribute is calculated based on the modified content, and then it is determined whether the risk level attribute reaches a preset risk level. When the risk level attribute reaches the preset risk level, it is determined that the modified content includes content that requires risk warning.
[0049] Specifically, when calculating the risk level attribute based on the modified content, a risk level calculation model corresponding to the field name in the preset document field table is used to find the field name corresponding to the modified content in the document field table, and then the risk level attribute is calculated based on the found field name and the risk level calculation model.
[0050] In one case, the independent variable of the risk level calculation model is the field content. When calculating the risk level according to the found field name and the risk level attribute calculation model, the field content corresponding to the found field name is obtained, and the field content is input into the risk level calculation model to obtain the risk level attribute. For example, a field name is deductible, and the risk level calculation model corresponding to the deductible is: when the field content is a value of 10,000 or less, the risk level attribute of the field is low risk, and when the field content is a value higher than 10,000, the risk level attribute of the field is high risk. When the risk level attribute of the field reaches the preset risk level, the field content is the content that needs to be warned of risk.
[0051] In another case, the field parameter information in the document field table also includes a modification role attribute, which is used to characterize the role and level of the person who modifies the field content when the field content is modified. The initial value of the modification role attribute can be a default value. When the field content is modified, the modification role attribute can be changed accordingly according to the change of the person who modifies the field. The independent variable of the risk level calculation model is the modification role attribute. When calculating the risk level according to the found field name and the risk level attribute calculation model, the modification role attribute corresponding to the found field name is obtained, and the modification role attribute is input into the risk level calculation model to obtain the risk level attribute. For example, if a field name is name, the risk level calculation model corresponding to the name is: when the field content is modified by the administrator, the risk level attribute is low risk, and when the field content is modified by the user, the risk level attribute of the field is high risk. When the risk level attribute of the field reaches the preset risk level, the corresponding field content is the content that needs to be warned of risk.
[0052] Step S103: When the content includes content that requires risk warning, the preset first display mode is used to display the unmodified content, the preset second display mode is used to display the modified content, and the preset third display mode is used to display the content that requires risk warning, so as to distinguish between the unmodified content, the modified content and the content that requires risk warning.
[0053] Specifically, the second display mode is different from the first display mode, which may be a different color, a different font and / or a different display layer, etc. The third display mode includes the second display mode and a display effect superimposed on the second display mode, thereby being able to distinguish between unmodified content, modified content and content that requires risk warnings.
[0054] Optionally, the color attribute of the unmodified content can be set to a first color value, and the color attribute of the modified content can be set to a second color value, wherein the first color value and the second color value are two color values whose hue value difference reaches a preset threshold, that is, the display color of the unmodified content is the first color, and the color of the modified content is the second color. For example, the color attribute of the unmodified content is the default color, and the color attribute of the modified content is modified to red, so as to achieve a significant distinction between the unmodified content and the modified content. At the same time, for the content in the modified content that requires risk warning, a highlight display layer is added. Furthermore, for the prompt content of different risk levels, display layers with different colors, brightness and / or transparency can also be used for prompting, or, for different modification roles, display layers with different colors, brightness and / or transparency can also be used for prompting to distinguish the content that requires risk warning.
[0055] Optionally, in one embodiment, after the step of determining the content of the document to be reviewed that has been modified relative to the previous review, the online document processing method further includes: extracting the modified content to generate a separate revision file, integrating and assembling all revision contents in the revision file, including information on "what content is modified to what content", and then displaying the revision file in a second window in the same display interface when the document to be reviewed is displayed in the first window, so that the underwriter can view the modification history information of the document to be reviewed through the second window in the same display interface while reviewing the document to be reviewed in the first window, thereby further improving the underwriting efficiency.
[0056] Embodiment 2
[0057] Embodiment 2 of the present invention provides an optimal online document processing method, and some technical features may refer to the relevant description of the above embodiment 1. Figure 2 A flowchart of an online document processing method provided in Embodiment 2 of the present invention is shown in FIG. Figure 2 As shown, the online document processing method includes the following steps S201 to S207:
[0058] Step S201: In response to a user's modification operation on a verified original document, a document to be verified and a field table of the document to be verified are generated.
[0059] The online document includes a fixed value area and an editable area. The editable area is associated with a document field table. The document field table to be verified is a document field table mapped to the editable area in the document to be verified.
[0060] The document field table includes multiple fields, and the fields include field name, field content and field parameter information. Among them, the field name represents the specific meaning of the field content, and the field parameter information may include location attributes, risk level attributes and / or modification role attributes, etc. Among them, the location attribute is used to represent the specific location of the field content in the document, and any identification method for calibrating the field location can be used; the risk level attribute is used to represent the degree of risk that needs to be paid attention to after the field content is modified; the modification role attribute is used to represent the role and level of the person who modifies the field content when the field content is modified. When the field content is modified, the modification role attribute can be changed accordingly according to the change of the person who modifies the field.
[0061] In step S201, when the user modifies the verified original document, a document to be verified is generated based on the user's modification operation, and a field table of the document to be verified is generated according to the content of the editable area of the document to be verified.
[0062] Step S202: Acquire the document field table corresponding to the original document to obtain the original document field table.
[0063] The original document field table is a document field table mapped to the editable area in the original document. Optionally, the document identifier is associated with the field table corresponding to the document and stored. The original document field table can be obtained through the document identifier of the original document.
[0064] Step S203: Compare the field contents and field parameter information corresponding to the same field names in the document field table to be checked and the original document table, and extract the modified contents.
[0065] Optionally, for any field name A1 in the field table of the text segment to be reviewed, when there is a field name identical to field name A1 in the field table of the original document, then the field content corresponding to field name A1 in the field table of the text segment to be reviewed is compared with the field content corresponding to field name A1 in the field table of the original document, and the field parameter information corresponding to field name A1 in the field table of the text segment to be reviewed is compared with the field parameter information corresponding to field name A1 in the field table of the original document. If the field content and / or field parameter information are different, the field content corresponding to field name A1 in the field table of the text segment to be reviewed is the modified content.
[0066] Step S204: Determine the risk level attribute of the modified content according to the document field table to be reviewed.
[0067] In one embodiment, the risk level attribute of the modified content is determined by querying the field parameter information in the document field table to be reviewed. For example, the risk level attribute corresponding to the field name A1 in the text field table to be reviewed is the risk level attribute of the modified content.
[0068] In another embodiment, the risk level attribute is calculated based on the field content and field parameter information corresponding to the field name A1 in the field table of the document to be reviewed, and then the risk level attribute of the modified content is obtained, wherein the specific calculation method can be based on the specific business settings of the online document.
[0069] Step S205: Determine whether the risk level attribute reaches a preset risk level.
[0070] Step S206: When the risk level attribute reaches a preset risk level, it is determined that the modified content includes content that requires risk warning.
[0071] Step S207: setting the color attribute of the unmodified content to a first color value; setting the color attribute of the modified content to a second color value, wherein the first color value and the second color value are two color values whose hue value difference reaches a preset threshold; and adding a highlight display layer to the content that requires risk warning.
[0072] Embodiment 3
[0073] Corresponding to the above-mentioned embodiment 1, embodiment 3 of the present invention provides an online document processing device. The corresponding technical features and corresponding technical effects can be referred to the above-mentioned embodiment 1, which will not be repeated here. Figure 3 A block diagram of an online document processing device provided in Embodiment 3 of the present invention, such as Figure 3 As shown, the online document processing device includes a determination module 301 , a judgment module 302 and a processing module 303 .
[0074] Among them, the determination module 301 is used to determine the content of the document to be reviewed that has been modified compared to the previous review; the judgment module 302 is used to determine whether the modified content includes content that requires a risk warning; the processing module 303 is used to, when the content requires a risk warning, use a preset first display method to display the unmodified content, use a preset second display method to display the modified content, and use a preset third display method to display the content that requires a risk warning, so as to distinguish the unmodified content, the modified content and the content that requires a risk warning.
[0075] Optionally, in one embodiment, the determination module 301 includes a processing unit and a comparison unit, wherein the processing unit is used to generate the document to be verified in response to the user's modification operation on the verified original document; the comparison unit is used to compare the document to be verified with the original document to extract the modified content.
[0076] Optionally, in one embodiment, the online document includes a fixed value area and an editable area, the editable area is mapped to a document field table, the document field table includes a field name, field content and field parameter information, the field name corresponds one-to-one to the field content and the field parameter information, the editable area includes the field content, and the comparison unit compares the document to be verified with the original document, and when extracting the modified content, specifically executes: obtaining the document field table corresponding to the document to be verified, and obtaining the field table of the document to be verified; obtaining the document field table corresponding to the original document, and obtaining the field table of the original document; and comparing the field content and field parameter information corresponding to the same field name in the field table of the document to be verified and the original document table to extract the modified content.
[0077] Optionally, in one embodiment, the field parameter information includes a risk level attribute, and the judgment module 302 includes a first determination unit and a judgment unit, wherein the first determination unit is used to query the risk level attribute of the modified content in the field table of the document to be reviewed; the judgment unit is used to judge whether the risk level attribute reaches a preset risk level, wherein when the risk level attribute reaches the preset risk level, the modified content includes content that requires risk warning.
[0078] Optionally, in one embodiment, the judgment module 302 includes: a second determination unit, a third determination unit and an extraction unit, wherein the second determination unit is used to determine the project category to which the document to be reviewed belongs; the third determination unit is used to determine the risk warning type corresponding to the document to be reviewed in a preset risk database according to the project category, wherein the preset risk database includes different project categories and their corresponding risk warning types; the extraction unit is used to determine whether the modified content includes the target content mapped by the risk warning type corresponding to the document to be reviewed, and when the modified content includes the target content, the target content is extracted as the content requiring risk warning.
[0079] Optionally, in one embodiment, the processing module 303 includes a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used to set the color attribute of the unmodified content to a first color value; the second processing unit is used to set the color attribute of the modified content to a second color value, wherein the first color value and the second color value are two color values whose hue value difference reaches a preset threshold; and the third processing unit is used to add a highlight display layer to the content that requires risk warning.
[0080] Optionally, in one embodiment, the online document processing device further includes: a generation module and a display module, wherein the generation module is used to extract the modified content to generate a correction file after the determination module 301 determines that the content of the document to be reviewed has been modified compared to the previous verification; the display module is used to display the correction file in a second window when displaying the document to be reviewed in a first window, wherein the first window and the second window are different windows and are located in the same display interface.
[0081] Embodiment 4
[0082] This fourth embodiment also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack-mounted server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. Figure 4 As shown, the computer device 01 of this embodiment includes at least but is not limited to: a memory 011 and a processor 012 which can be interconnected through a system bus. Figure 4 It should be pointed out that Figure 4 Only a computer device 01 having components memory 011 and processor 012 is shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0083] In this embodiment, the memory 011 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 011 can be an internal storage unit of the computer device 01, such as a hard disk or memory of the computer device 01. In other embodiments, the memory 011 can also be an external storage device of the computer device 01, such as a plug-in hard disk equipped on the computer device 01, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 011 can also include both the internal storage unit of the computer device 01 and its external storage device. In this embodiment, the memory 011 is generally used to store the operating system and various application software installed on the computer device 01, such as the online document processing device provided in the embodiment. In addition, the memory 011 can also be used to temporarily store various types of data that have been output or are to be output.
[0084] In some embodiments, the processor 012 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 012 is generally used to control the overall operation of the computer device 01. In this embodiment, the processor 012 is used to run the program code stored in the memory 011 or process data, such as an online document processing method.
[0085] Embodiment 5
[0086] This embodiment five also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program realizes the corresponding function when executed by the processor. The computer-readable storage medium of this embodiment is used to store an online document processing device, and the computer-readable storage medium realizes the online document processing method provided in the embodiment when executed by the processor.
[0087] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.
[0088] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0089] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0090] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0091] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0093] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An online document processing method, characterized in that: The online document includes a fixed value area and an editable area, the editable area is mapped to a document field table, the document field table includes a field name, field content and field parameter information, the field name corresponds to the field content and the field parameter information one by one, the editable area includes the field content, the field parameter information includes a risk level attribute, and the online document processing method includes: Determining the content of the document to be verified that has been modified relative to the previous verification, includes: generating the document to be verified in response to a user's modification operation on the verified original document; comparing the document to be verified with the original document to extract the modified content, wherein the step of extracting the modified content further includes: acquiring a document field table corresponding to the document to be verified to obtain a document field table to be verified; acquiring a document field table corresponding to the original document to obtain an original document field table; comparing the field content and field parameter information corresponding to the same field name in the field table of the document to be verified and the field table of the original document to extract the modified content; Determining whether the modified content includes content that requires a risk warning, including: querying the risk level attribute of the modified content in the field table of the document to be reviewed; determining whether the risk level attribute reaches a preset risk level, and when the risk level attribute reaches the preset risk level, determining that the modified content includes content that requires a risk warning; When content that requires a risk warning is included, the unmodified content is displayed in a preset first display mode, the modified content is displayed in a preset second display mode, and the content that requires a risk warning is displayed in a preset third display mode, so as to distinguish between the unmodified content, the modified content, and the content that requires a risk warning.
2. The online document processing method according to claim 1, characterized in that: Determining whether the modified content includes content that requires risk warning includes: Determine the project category to which the document to be reviewed belongs; Determining the risk warning type corresponding to the document to be reviewed in a preset risk database according to the project category, wherein the preset risk database includes different project categories and their corresponding risk warning types; It is determined whether the modified content includes the target content mapped by the risk warning type corresponding to the document to be reviewed. When the modified content includes the target content, the target content is extracted as the content requiring risk warning.
3. The online document processing method according to claim 1, characterized in that: When including content that requires risk warning, using a preset first display mode to display the unmodified content, using a preset second display mode to display the modified content, and using a preset third display mode to display the content that requires risk warning, so as to distinguish the unmodified content, the modified content, and the content that requires risk warning, includes: Setting a color attribute of the unmodified content to a first color value; Setting the color attribute of the modified content to a second color value, wherein the first color value and the second color value are two color values whose hue value difference reaches a preset threshold; and For the content that requires risk warning, add a highlight layer.
4. The online document processing method according to claim 1, characterized in that: After determining the content of the document to be verified that has been modified since the last verification, the online document processing method further includes: Extracting the modified content to generate a correction file; The document to be reviewed is displayed in a first window, and the revised file is displayed in a second window, wherein the first window and the second window are located in the same display interface.
5. An online document processing device, characterized in that: The online document includes a fixed value area and an editable area, the editable area is mapped to a document field table, the document field table includes a field name, field content and field parameter information, the field name corresponds to the field content and the field parameter information one by one, the editable area includes the field content, the field parameter information includes a risk level attribute, and the online document processing device includes: A determination module is used to determine the content of the document to be verified that has been modified compared to the previous verification, and the determination module includes a processing unit and a comparison unit, wherein the processing unit is used to generate the document to be verified in response to the user's modification operation on the verified original document; the comparison unit is used to compare the document to be verified with the original document to extract the modified content, wherein the comparison unit compares the document to be verified with the original document to extract the modified content, specifically performing: obtaining a document field table corresponding to the document to be verified to obtain a document field table to be verified; obtaining a document field table corresponding to the original document to obtain an original document field table; and comparing the field content and field parameter information corresponding to the same field name in the field table of the document to be verified and the field table of the original document to extract the modified content; A judgment module, used to judge whether the modified content includes content that requires risk warning, wherein the judgment module includes a first determination unit and a judgment unit, wherein the first determination unit is used to query the risk level attribute of the modified content in the field table of the document to be reviewed; the judgment unit is used to judge whether the risk level attribute reaches a preset risk level, wherein when the risk level attribute reaches the preset risk level, the modified content includes content that requires risk warning; A processing module is used to display the unmodified content in a preset first display mode, display the modified content in a preset second display mode, and display the content requiring a risk warning in a preset third display mode when the content requires a risk warning, so as to distinguish between the unmodified content, the modified content, and the content requiring a risk warning.
6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, comprising a data storage area and a program storage area, wherein the data storage area stores data created according to the use of a blockchain node, and the program storage area stores a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Secondary insurance buying information display method and device
CN108257017A
Text information evaluation method and device, computer equipment and storage medium
CN110502745A