A text risk identification method, device and equipment

By identifying keywords and attribute information of the text to be published, risks are automatically identified according to set conditions, which solves the problem of low document risk identification efficiency in the existing technology, improves compliance and assessment efficiency, and reduces compliance risks.

CN113689148BActive Publication Date: 2024-10-18ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111131530.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-26
Publication Date
2024-10-18
Estimated Expiration
2041-09-26

AI Technical Summary

Technical Problem

Existing document risk identification methods have low identification efficiency, resulting in low efficiency of compliance risk assessment in the Internet industry, high labor costs, low assessment efficiency, and human influence factors.

Method used

By obtaining the document type information of the text to be released, identifying keywords, determining the attribute information of the keywords, and automatically identifying the risk information of the document according to the setting conditions of the document type and attribute information, improving the risk identification efficiency before document release.

Benefits of technology

It realizes automatic risk identification before the text to be released is released, improves compliance and efficiency, reduces post-release compliance risks, and simplifies the compliance risk assessment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113689148B_ABST
    Figure CN113689148B_ABST
Patent Text Reader

Abstract

The embodiments of this specification disclose a method, device and equipment for identifying text risks, which are related to the field of compliance and supervision. The scheme includes: before the text to be published is published, the text to be published uploaded by the first user is obtained; the document type information of the text to be published is determined, and based on the document type information, the keywords in the text to be published are identified; the attribute information describing each keyword is determined, and then based on the document type information, the setting conditions that the attribute information needs to meet are determined; then based on the attribute information corresponding to each keyword and the setting conditions, the risk information of the text to be published can be determined, and the risk information is prompted. If there is no risk, the text to be published can be published to users in the second user set defined by the first user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of compliance and regulatory technology, and in particular to a text risk identification method, device and equipment. Background Art

[0002] Compliance risks exist widely in all aspects of financial institutions' business and management. In the Internet industry, compliance risks can refer to the risks caused by failure to comply with national laws, regulations, policies, industry practices or service level agreements during the operation or internal management of an enterprise.

[0003] At present, relevant regulatory agencies attach great importance to the legal compliance control of the Internet industry. In this context, during the transaction process, each user, while checking their own compliance risks, also pays attention to the compliance risks of the other party. They will conduct reasonable assessments on the compliance risks of various legal documents and agreement documents that need to be signed by both parties to ensure that the published documents comply with the relevant provisions of the legal compliance clauses.

[0004] Therefore, there is an urgent need to provide a compliance risk assessment solution to evaluate the compliance risks of various documents to be published. Summary of the invention

[0005] The embodiments of the present specification provide a text risk identification method, device and equipment to solve the problem of low identification efficiency in existing document risk identification methods.

[0006] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0007] The present invention provides a method for identifying text risks, including:

[0008] Before the text to be published is published, the text to be published uploaded by the first user is obtained; the publishing object of the text to be published is a second user set defined by the first user;

[0009] Determining the document type information of the text to be published;

[0010] Based on the document type information, identifying keywords in the text to be published;

[0011] Determine attribute information describing each keyword;

[0012] Based on the document type information, determining a setting condition that the attribute information needs to satisfy;

[0013] Determining risk information of the text to be published based on the attribute information corresponding to each of the keywords and the set conditions;

[0014] Prompt the risk information.

[0015] The embodiment of this specification provides a text risk identification device, including:

[0016] A module for acquiring text to be published, used for acquiring the text to be published uploaded by a first user before the text to be published is published; the publishing object of the text to be published is a set of second users defined by the first user;

[0017] A document type information determination module, used to determine the document type information of the text to be published;

[0018] A keyword recognition module, used for recognizing keywords in the to-be-published text based on the document type information;

[0019] An attribute information determination module, used to determine the attribute information describing each keyword;

[0020] A setting condition determination module, used to determine the setting condition that the attribute information needs to satisfy based on the document type information;

[0021] A risk information determination module, used to determine the risk information of the to-be-published text based on the attribute information corresponding to each of the keywords and the set conditions;

[0022] The risk information prompt module is used to prompt the risk information.

[0023] The embodiment of this specification provides a text risk identification device, including:

[0024] at least one processor; and,

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

[0026] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0027] Before the text to be published is published, the text to be published uploaded by the first user is obtained; the publishing object of the text to be published is a second user set defined by the first user;

[0028] Determining the document type information of the text to be published;

[0029] Based on the document type information, identifying keywords in the text to be published;

[0030] Determine attribute information describing each keyword;

[0031] Based on the document type information, determining a setting condition that the attribute information needs to satisfy;

[0032] Determining risk information of the text to be published based on the attribute information corresponding to each of the keywords and the set conditions;

[0033] The risk information is prompted. An embodiment of this specification provides a computer-readable medium, on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement a text risk identification method.

[0034] At least one embodiment of the present specification can achieve the following beneficial effects: by obtaining the text to be published uploaded by the first user before the text to be published is published; determining the document type information of the text to be published, and identifying the keywords in the text to be published based on the document type information; determining the attribute information describing each keyword, and then determining the set conditions that the attribute information needs to meet based on the document type information; then based on the attribute information and the set conditions corresponding to each keyword, the risk information of the text to be published can be determined, and the risk information can be prompted. In the case of no risk, the text to be published can be published to users in the second user set defined by the first user. Through this method, the risk of the text to be published can be automatically identified based on the set conditions that the keyword attribute information in each document type needs to meet before it is published, which can improve the risk identification efficiency of the text to be published and reduce the risk of the published text after it is published. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0036] Figure 1 This is a schematic diagram of an overall solution for text risk identification in an embodiment of this specification;

[0037] Figure 2 A flowchart of a text risk identification method provided in an embodiment of this specification;

[0038] Figure 3 A schematic diagram of the structure of a text risk identification device provided in an embodiment of this specification;

[0039] Figure 4 A structural schematic diagram of a text risk identification device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.

[0041] "Compliance risk" refers to the risk that a bank may suffer legal sanctions or regulatory penalties, significant financial losses or reputational losses due to its failure to comply with laws, regulations, regulatory requirements, rules, relevant guidelines formulated by self-regulatory organizations, and codes of conduct that have been applied to the bank's own business activities. Compliance risk is widely present in all aspects of financial institutions' business and management. In the Internet industry, compliance risk can refer to the risk caused by failure to comply with national laws, regulations, policies, industry examples or service level agreements during the operation or internal management of an enterprise.

[0042] Risk Assessment refers to the work of quantitatively evaluating the impact and possibility of loss caused by a risk event on people's lives, lives, property, etc. before or after the risk event occurs (but not yet over). In other words, risk assessment is to quantitatively evaluate the possible degree of impact or loss caused by an event or thing.

[0043] From the perspective of information security, risk assessment is an assessment of the threats, weaknesses, impacts, and the possibility of risks caused by the combined effects of information assets (i.e., the information set of an event or thing). As the basis of risk management, risk assessment is an important way for organizations to determine information security needs and is part of the process of planning the organization's information security management system. Conducting compliance risk assessment can give full play to the role of compliance risk assessment in risk management.

[0044] For legal documents, agreements or some marketing documents, risk review can be conducted on the document content before release, and then release after the review is passed. Agreements can refer to "contractual" documents commonly used by social groups or individuals to deal with various social relations and affairs, including contracts, protocols, treaties, conventions, joint declarations, joint statements, and bills. In a narrow sense, agreements can refer to a contractual document with economic or other relationships that is concluded after a country, political party, enterprise, group or individual negotiates or consults with each other on a certain issue and reaches a consensus. Contracts are the legal manifestation of commodity exchange, which emerged to meet the objective requirements of the commodity economy of private ownership. After the production of commodities, in order to ensure the safety and credibility of exchange, people gradually formed many habits and rituals about exchange in the long-term exchange practice. These habits and rituals of commodity exchange gradually became general rules for regulating commodity exchange. Marketing copy can represent a plan for the purpose of sales, which refers to the overall planning of various sales promotion activities carried out before market sales and services in order to achieve the expected sales goals, or the description of marketing activities carried out during the activities to attract consumers.

[0045] These documents need to be published for other parties to view or sign. For example, before signing a contract, both parties can conduct a risk review of the contract to review whether the content in the contract is compliant. After the review is passed, the contract is allowed to be published. For example, marketing copywriting also needs to be reviewed to see if there are any illegal words or words that violate the Advertising Law, etc. Only after the review is passed can it be published.

[0046] In actual applications, in order to meet the regulatory authorities' effective supervision of compliance risks of various documents, in the field of Internet technology, most of the numerous documents need to meet regulatory requirements. For example, legal documents, contracts, marketing documents, etc. need to comply with the requirements of regulatory laws and regulations. For example, it is possible that marketing documents have already occurred before we realize that they are not in compliance with regulations, or before the behavior occurs, we need to arrange for special legal compliance professionals to conduct legal compliance risk assessments on specific documents to avoid violations of legal terms after release. In this process, there are problems such as high labor costs, low evaluation efficiency, large human influence factors, and long time consumption. When there are a large number of documents. When there are a variety of legal terms involved, the requirements for reviewers are high, manual risk assessment is more difficult, and it does not have the characteristics of universality and standardization.

[0047] In order to solve the above defects, this solution provides the following embodiments:

[0048] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0049] Figure 1Schematic diagram of an overall solution for text risk identification in an embodiment of this specification. Figure 1 As shown, user A uploads the to-be-published text A to the risk review platform 103 through the user terminal 101. The risk review platform 103 identifies the risks of the to-be-published text A and generates risk information corresponding to the to-be-published text. The risk information can be returned to the user terminal 101 of user A. Of course, in actual applications, the risk information can be returned only to the user terminal 101 of user A, or to the user terminals of other users defined by user A. At this time, the review result of the risk review platform 103 can be used as auxiliary information for user A to determine whether the to-be-published text has risks. When it is determined that the to-be-published text has no risks, user A can publish the to-be-published text by himself or through the risk review platform 103. In addition, in actual applications, the risk review platform 103 can also automatically determine whether the to-be-published text has risks based on the generated risk information. When there is no risk, the to-be-published text can be published. After the to-be-published text is published, its recipient can be the second user set 105 defined by user A. The user terminal of each user in the second user set 105 can receive the published to-be-published text. Figure 1 In this context, the risk of the text to be published may refer to compliance risk.

[0050] Next, a text risk identification method provided in the embodiment of the specification will be specifically described with reference to the accompanying drawings:

[0051] Figure 2 A flowchart of a text risk identification method provided in an embodiment of this specification. From a program perspective, the execution entity of the process can be a program or application client installed on an application server. In an embodiment of this specification, the execution entity of the process can be a server corresponding to a risk review platform for identifying text risks. The risk review platform can be used only to review the risks of the text, and can also publish the text to be published and monitor the implementation of the text after it is published.

[0052] like Figure 2 As shown, the process may include the following steps:

[0053] Step 210: before the text to be published is published, the text to be published uploaded by the first user is obtained; the publishing object of the text to be published is a second user set defined by the first user.

[0054] The texts to be published may be legal documents, agreements, marketing documents, etc., which may include contracts, protocols, treaties, bills, etc.

[0055] Before legal documents are released, they need to undergo a compliance risk review. They can only be released after the review is passed. Marketing documents generally involve information such as preferential policies, event content, and advertising provided by merchants or platforms to users. Before they are released, they also need to undergo a compliance risk review. For agreement documents and their content, both parties need to conduct a risk review, and they can only be released after the review is passed.

[0056] The second user set can be a user set defined by the first user. For example, taking a contract as an example, the first user can define that when the contract is risk-free, it can be published to the contract signing parties, the legal staff of the first user's organization, the direct supervisor, the contract control personnel, etc. At this time, after the contract is published, each user in the second user set can receive the contract.

[0057] Step 220: Determine the document type information of the text to be published.

[0058] The "document type information" mentioned in this step may indicate the document type to which the to-be-published text belongs. For example, the document type may include legal documents, contract documents, marketing documents, bidding documents, and the like.

[0059] Step 230: Based on the document type information, identify keywords in the text to be published.

[0060] Each type of document may correspond to different keywords. For example, for a contract, keywords may include amount, rate, counterparty information, default compensation rate, etc. For a marketing plan, keywords may include reward amount, advertising language, activity method, etc. The correspondence between document type and keywords can be stored in advance. When a new text to be published is obtained, the document type described in the text to be published can be identified first. After determining the document type, the keywords corresponding to the document type can be obtained, and then these keywords can be located and detected in the text to be published. For example, the text to be published is identified as a contract. In the pre-stored correspondence, the keywords corresponding to the contract include amount, rate, counterparty entity name, ..., default compensation rate. In the text to be published, the location information of these keywords in the text to be published is located and identified.

[0061] Step 240: Determine the attribute information describing each keyword.

[0062] Attribute information can be information used to describe each keyword. For keywords such as amount, rate, or compensation rate, the attribute information can be a specific value. For example, if the rate is 30%, the keyword is "rate", and the attribute information of the rate is "30%". For an entity name, such as XX Co., Ltd., the attribute information can be entity description information related to the operation of the entity, such as whether there is a warning, whether there is a talk, whether there is negative public opinion, and the operation status.

[0063] Step 250: Based on the document type information, determine the setting conditions that the attribute information needs to meet.

[0064] In practical applications, for each type of text, the attribute information of keywords has setting conditions that need to be met. For example, for marketing copy, the Advertising Law has corresponding regulations for advertising behavior and advertising content. For example, for the keyword advertising slogan in marketing copy, the setting conditions that need to be met by its attribute information can be the corresponding regulations for advertising slogans in the Advertising Law. For example, the Advertising Law stipulates that advertisements cannot use terms such as "most..."; cannot contain superstitious, terrorist, violent content, religious, discriminatory content, etc. And there are compliance clauses corresponding to advertisements in different industries. These compliance clauses can be used as setting conditions. For contract texts, the attribute information of keywords can be relevant clauses in the Contract Law, or the numerical ranges specified by each industry for the amount, rate, etc. in the contract.

[0065] Step 260: Based on the attribute information corresponding to each of the keywords and the set conditions, determine the risk information of the text to be published.

[0066] In this step, by comparing the attribute information of each keyword in the text to be published with the corresponding setting conditions, the risk information of the text to be published can be determined. The risk information can be the risk situation corresponding to each keyword in the text to be published, for example, the risk information can be the risk level corresponding to each keyword.

[0067] Step 270: Prompt the risk information.

[0068] When prompting risk information, the prompting method may include: chart display, text display, voice prompt or video prompt, etc. It can be set according to actual application requirements, and the embodiments of this specification do not make specific limitations on this.

[0069] The object of the prompt may be the first user or a set of second users including the first user.

[0070] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted.

[0071] Figure 2 The method in the embodiment of the present invention obtains the text to be published uploaded by the first user before the text to be published is published; determines the document type information of the text to be published, and identifies the keywords in the text to be published based on the document type information; determines the attribute information describing each keyword, and then determines the set conditions that the attribute information needs to meet based on the document type information; then, based on the attribute information and the set conditions corresponding to each keyword, the risk information of the text to be published can be determined, and the risk information can be prompted. In the case of no risk, the text to be published can be published to users in the second user set defined by the first user. Through this method, the risk of the text to be published can be automatically identified based on the set conditions that the keyword attribute information in each document type needs to meet before the text to be published is published, which can improve the risk identification efficiency of the text to be published and further improve the compliance of the published text after it is published.

[0072] based on Figure 2 The method, the examples of this specification also provide some specific implementation plans of the method, which are described below.

[0073] Optionally, the second user set includes the first user; after determining the risk information of the to-be-published text based on the attribute information corresponding to each of the keywords and the set condition, the method may further include:

[0074] If the risk information indicates that the risk of the to-be-published text does not reach a preset risk level, the to-be-published text is published for viewing by users in the second user set.

[0075] Whether the risk of the text to be published reaches the preset risk level can be judged based on the risk level corresponding to each keyword in the text to be published. In actual applications, it is not only when each keyword is risk-free that the text to be published is judged to be risk-free. According to the actual application scenario, even if some keywords are at risk, the text to be published can be allowed to be published according to the actual situation. The preset risk level can be a preset risk level for each keyword. When comparing, the risk level of each keyword is compared with the corresponding preset risk level. In addition, in one embodiment, there can also be a preset level for the entire text to be published. When there is a preset risk level for the entire text to be published, each keyword risk level can be integrated according to the preset rules, and then compared. For example: determine the weight of each keyword, and integrate based on the weight and the risk level of each keyword.

[0076] Through the above method, only when the risk of the text to be published does not reach the preset risk level, can the text to be published be allowed to be published, thereby reducing the risk rate of the published text.

[0077] Optionally, the determining of the document type information of the text to be published may specifically include:

[0078] Determining the scene information to which the to-be-published text belongs;

[0079] Based on the scenario information, document type information to which the to-be-published text belongs in the application scenario corresponding to the scenario information is determined; the document type information at least includes a protocol document or a marketing document.

[0080] The scenario information can be used to indicate the scenario classification to which the text to be published belongs. The scenario classification can include industry classification, application field classification, or business platform classification, etc. Specifically, the scenario information in this step can specifically indicate the specific application field to which the text to be published belongs, for example, the scenario information to which the text to be published belongs can be the e-commerce field.

[0081] After the scenario information is determined, the document type of the text to be published is determined based on the scenario information, for example, a marketing document in the e-commerce field, a loan contract in a financial lending platform, or a legal document, etc.

[0082] Through the above method, the document type information of the text to be published is determined based on the scene information of the text to be published, so that the document type of the text to be published can be more accurately identified, thereby improving the accuracy of subsequent detection of keywords in the document to be published and further improving the efficiency of risk monitoring.

[0083] When identifying keywords in a document, there are two approaches you can take:

[0084] Method 1: Identify keywords in the text to be published based on the recognition model:

[0085] Optionally, the identifying keywords in the to-be-published text based on the document type information may specifically include:

[0086] Based on the document type information, determining a recognition model; there is a corresponding relationship between the document type information and the recognition model;

[0087] The text to be published is input into the recognition model to obtain keywords output by the recognition model.

[0088] In practical applications, the recognition model is determined based on the document type information. In one embodiment, the text of one document type may correspond to a recognition model, which is trained based on the text of the corresponding document type. In another embodiment, one recognition model may correspond to the text of multiple document types. In this case, the recognition model may be trained based on the text of multiple document types.

[0089] After the corresponding recognition model is determined based on the document type information, the corresponding recognition model is used to perform keyword recognition on the text to be published. The recognition model can output all the keywords in the text to be published and the position information of the keywords in the text to be published.

[0090] Method 2: Identify keywords in the text to be published based on OCR technology:

[0091] OCR (Optical Character Recognition) refers to the process in which an electronic device (such as a scanner or digital camera) examines characters printed on paper, determines their shapes by detecting dark and light patterns, and then uses character recognition methods to translate the shapes into computer text; that is, for printed characters, an optical method is used to convert the text in a paper document into a black and white dot matrix image file, and recognition software is used to convert the text in the image into text format for further editing and processing by word processing software.

[0092] Optionally, the identifying keywords in the to-be-published text based on the document type information may specifically include:

[0093] Determine a keyword thesaurus based on the document type information; there is a corresponding relationship between the document type information and the keyword thesaurus;

[0094] Based on the OCR technology and in combination with the keyword database, keywords in the text to be published are detected.

[0095] Each document type may correspond to a pre-stored keyword thesaurus. For example, for a contract, the keyword thesaurus may include keywords such as amount, rate, and compensation ratio.

[0096] Through the above method, the efficiency and accuracy of identifying keywords in the text to be published can be improved.

[0097] Optionally, determining the risk information of the to-be-published text based on the attribute information corresponding to each keyword and the set condition may specifically include:

[0098] For one of the keywords, the attribute information corresponding to the keyword is compared with the set condition to obtain a degree of difference;

[0099] Based on the degree of difference, determining the risk level of the keyword;

[0100] Based on the risk level of each of the keywords, risk information of the text to be published is determined.

[0101] When prompting the risk information, the risk level of each of the keywords may be displayed on the terminal interface of the first user.

[0102] When determining the risk level of a keyword, the attribute information of the keyword can be compared with the set conditions corresponding to the attribute information to determine the degree of difference. The degree of difference can be calculated based on the actual application scenario using a corresponding algorithm, which is not specifically limited in this solution.

[0103] The risk information may be the risk level of each keyword, or may be a result of calculating and integrating the risk levels of all keywords.

[0104] Optionally, after determining the risk information of the to-be-published text based on the attribute information corresponding to each keyword and the set condition, the method may further include:

[0105] If the risk information indicates that the risk of the to-be-published text reaches a preset risk level, the to-be-published text is refused to be published.

[0106] If the risk information indicates that the text to be published has reached the preset risk level, it can be determined that there is a compliance risk in the text to be published, and the publication of the text to be published with compliance risk is rejected.

[0107] Through the above method, when the risk of the text to be published reaches a preset risk level, the text to be published is refused to be published, thereby avoiding the situation where the published text has compliance risks.

[0108] Taking the text to be published as the contract text as an example, the above scheme is further explained:

[0109] If the text to be published is a contract text, the keywords may at least include the contract amount, rate, and the names of the entities that sign the contract.

[0110] If the keyword is a contract amount or a rate, the setting condition may be a preset numerical range.

[0111] Before determining the risk level of the keyword based on the difference, the following steps may also be performed:

[0112] Determine whether the contract amount in the contract text is within the preset value range to obtain a first determination result;

[0113] If the first judgment result indicates that the contract amount in the contract text is within the preset value range, it is determined that the contract text is risk-free;

[0114] If the first judgment result indicates that the contract amount value in the contract text is outside the preset value range, the difference between the contract amount value and the preset value range is calculated.

[0115] It should be noted that the contract text is risk-free, which can mean that the risk levels of all keywords in the contract text meet the preset risk level, or that the number of keywords in the contract text that meet the preset risk level meets the preset number; it can also mean that the weight value corresponding to the keywords in the contract text that do not meet the preset risk level is less than the preset weight value. For example: the preset risk level is set to level 3, and the smaller the number of risk levels, the higher the risk. The risk level of each keyword in a risk-free contract text can be higher than level 3. In the financial field, the amount values ​​in some contracts are not identified as risky. At this time, the weight value corresponding to the amount keyword in such contracts can be set lower than the preset weight, thereby reducing the misjudgment rate.

[0116] When the keyword is a numerical keyword such as amount or rate, its attribute information may be a numerical value. The corresponding regulations generally set a normal numerical range when setting preset conditions. Once it exceeds the set normal numerical range, it can be determined that the keyword is risky. The risk level can be further determined based on the degree of difference between the specific value of the attribute information and the normal numerical range.

[0117] If the keyword is the entity name of the two parties to the contract, the setting condition may be preset entity description information;

[0118] Determining the risk level of the keyword based on the degree of difference may also include:

[0119] Obtaining description data of the entities of the two parties signing the contract; the description data is used to describe the operation-related information of the entities of the two parties signing the contract within a preset time period;

[0120] Compare the operation-related information with the preset entity description information to obtain a second judgment result;

[0121] If the second judgment result indicates that the operation-related information is consistent with the meaning expressed by the preset entity description information, it is determined that the contract text has no risk;

[0122] If the second judgment result indicates that the meanings expressed by the operation-related information and the preset entity description information are inconsistent, the degree of difference between the meanings expressed by the operation-related information and the preset entity description information is calculated.

[0123] When the keyword is the entity name of the two parties to the contract, the difference between the description information of the keyword and the preset entity description information can be compared when determining the risk level.

[0124] Operation-related information may include company reputation, historical information of company warnings, penalties or interviews, negative epidemics, profit conditions, etc. The calculation of the degree of difference between words can also be determined according to the actual application scenario, and this application does not limit this.

[0125] In actual applications, after publishing the text to be published, you can also include:

[0126] Obtaining performance information uploaded by any user in the second user set;

[0127] Comparing the performance information with the information in the to-be-published text to obtain a comparison result;

[0128] If the comparison result indicates that the fulfillment information is consistent with the information in the text to be published, it is determined that the second user set fulfills the text to be published according to the information in the text to be published.

[0129] After the text to be published is published, the risk review platform can monitor the content execution process of the text to be published;

[0130] Specifically, the risk review platform can obtain the performance information uploaded by at least one of the two parties to the contract, or the performance information uploaded by at least one of the second user set, such as photos, images, text or video files and other data during the performance process; by comparing the performance information with the content in the contract, it can be determined whether there are any abnormalities in the implementation process of the text to be published. If the contract performance information is consistent with the information in the contract text, it can be determined that the second user set performs the contract text according to the information in the published contract text. On the contrary, if they are inconsistent, it can be determined that there are abnormalities in the contract performance process, and abnormal reminder information can be sent to one or more users in the second user set to remind the users to correct the implementation process according to the contract content or upload the reasons for the abnormality.

[0131] Through the above method, risks are identified before the text to be published is published, and it is published when the risks meet the preset risk level. After the publication, the execution process of the contract is continuously monitored to ensure the compliance of the contract during the publication and implementation stages.

[0132] In another embodiment, taking the text to be published as a marketing copy as an example, the keywords include at least: amount, reward method, advertising slogan, etc. Its attribute information can be the specific value of the amount, the advertising slogan or the description of the reward method. Taking the advertising slogan as an example, the setting conditions can be the relevant regulations on advertising slogans in the Advertising Law. The following process can be included:

[0133] Identify advertising slogans in the text to be published;

[0134] The identified advertising slogans are compared with the set conditions stipulated in the Advertising Law. If the conditions are met, there is no risk; if the conditions are not met, there is a risk of non-compliance in the use of advertising slogans. In this method, it can ensure that the published marketing copy meets the marketing rules while improving the efficiency of text risk identification.

[0135] In addition, for the risk review platform, text can also be generated based on structured components. When conducting risk review on the text generated by its own platform, since the components of each keyword in the text have been determined when the text is generated, when the risk is detected, there is no need to additionally identify the keywords and the locations of the keywords in the text to be published. You can directly determine the description information of the keywords:

[0136] The method is applied to a risk review platform; after obtaining the to-be-published text uploaded by the first user, the method may further include:

[0137] Identify whether the text to be published is a structured text; the structured text is a text generated by the risk review platform according to a structured template;

[0138] If the text to be published is the structured text, the attribute information of each keyword in the text to be published is determined according to the structured template.

[0139] Structured text can represent text generated by the risk review platform according to a structured template. In practical applications, the structured template can have a corresponding relationship with the document type of the text required to be generated, that is, different types of text can correspond to different structured templates when they are generated. For example, generating contracts and generating marketing copy can be generated based on different structured templates. When the text is generated, the structured template can be a clause library, and the text is generated based on the structured components according to the clause library. In the subsequent risk identification, the description information of the component location can be directly compared with the set conditions, without the need to use OCR technology or recognition model methods to identify keywords and determine the location of the component, thereby further improving the efficiency of identifying text risks.

[0140] Through the above method, using structured thinking, expert experience is consolidated into platform capabilities, and text generation and text risk assessment are carried out through structured thinking.

[0141] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Figure 3 This is a schematic diagram of the structure of a text risk identification device provided in an embodiment of this specification. Figure 3 As shown, the device may include:

[0142] The to-be-published text acquisition module 310 is used to acquire the to-be-published text uploaded by the first user before the to-be-published text is published; the publishing object of the to-be-published text is a second user set defined by the first user;

[0143] A document type information determination module 320, used to determine the document type information of the text to be published;

[0144] A keyword identification module 330, used to identify keywords in the to-be-published text based on the document type information;

[0145] An attribute information determination module 340, used to determine attribute information describing each keyword;

[0146] A setting condition determination module 350, used to determine the setting condition that the attribute information needs to satisfy based on the document type information;

[0147] A risk information determination module 360, configured to determine the risk information of the to-be-published text based on the attribute information corresponding to each of the keywords and the set conditions;

[0148] The risk information prompting module 370 is used to prompt the risk information.

[0149] based on Figure 3 The present specification also provides some specific implementation schemes of the device, which are described below.

[0150] Optionally, the second user set may include the first user; and the device may further include:

[0151] The module for publishing the text to be published is used to publish the text to be published for viewing by users in the second user set if the risk information indicates that the risk of the text to be published does not reach a preset risk level.

[0152] Optionally, the document type information determination module 320 may specifically include:

[0153] A scene information determination unit, used to determine the scene information to which the to-be-published text belongs;

[0154] A document type information determination unit is used to determine, based on the scenario information, the document type information to which the to-be-published text belongs in the application scenario corresponding to the scenario information; the document type information at least includes a protocol document or a marketing document.

[0155] Optionally, the keyword identification module 330 may specifically include:

[0156] A recognition model determination unit, configured to determine a recognition model based on the document type information; the document type information and the recognition model have a corresponding relationship;

[0157] The keyword output unit is used to input the text to be published into the recognition model to obtain keywords output by the recognition model.

[0158] Optionally, the risk information determination module 360 ​​may specifically include:

[0159] a difference degree determination unit, configured to compare, for one of the keywords, the attribute information corresponding to the keyword with the set condition to obtain a difference degree;

[0160] A risk level determination unit, configured to determine the risk level of the keyword based on the degree of difference;

[0161] The risk information determining unit is used to determine the risk information of the to-be-published text based on the risk level of each of the keywords.

[0162] Optionally, the risk information prompt module 370 may specifically include:

[0163] The risk level display unit is used to display the risk level of each of the keywords in the terminal interface of the first user.

[0164] Optionally, the device may further include:

[0165] The module for refusing to publish texts to be published is used to refuse to publish the texts to be published if the risk information indicates that the risk of the texts to be published reaches a preset risk level.

[0166] Optionally, the text to be published may be a contract text, and the keywords may include at least the contract amount, rate, and the names of the entities signing the contract.

[0167] Optionally, if the keyword may be a contract amount or a rate, the setting condition may be a preset numerical range;

[0168] The risk information determination module 360 ​​may further include:

[0169] A first judgment unit is used to judge whether the contract amount value in the contract text is within the preset value range to obtain a first judgment result;

[0170] A first contract risk-free determination unit, configured to determine that the contract text is risk-free if the first judgment result indicates that the contract amount value in the contract text is within the preset value range;

[0171] The first difference degree calculation unit is used to calculate the difference degree between the contract amount value and the preset numerical range if the first judgment result indicates that the contract amount value in the contract text is outside the preset numerical range.

[0172] Optionally, if the keyword may be the entity name of the two parties to the contract, the setting condition may be preset entity description information;

[0173] The risk information determination module 360 ​​may further include:

[0174] A description data acquisition unit is used to acquire description data of the entities of the two parties signing the contract; the description data is used to describe the operation-related information of the entities of the two parties signing the contract within a preset time period.

[0175] A second judgment unit, used for comparing the operation related information with the preset entity description information to obtain a second judgment result;

[0176] A second contract risk-free determination unit, configured to determine that the contract text is risk-free if the second judgment result indicates that the operation-related information is consistent with the meaning expressed by the preset entity description information;

[0177] The second difference degree calculation unit is used to calculate the difference degree between the meaning expressed by the operation-related information and the preset entity description information if the second judgment result indicates that the meaning expressed by the operation-related information is inconsistent with the meaning expressed by the preset entity description information.

[0178] Optionally, the device may further include:

[0179] A contract performance information acquisition module, used to acquire contract performance information uploaded by any user in the second user set;

[0180] A performance comparison module, used to compare the performance information with the information in the to-be-published text to obtain a comparison result;

[0181] The normal fulfillment determination module is used to determine that the second user set fulfills the text to be published according to the information in the text to be published if the comparison result indicates that the fulfillment information is consistent with the information in the text to be published.

[0182] Optionally, the method may be applied to a risk assessment platform; the device may further include:

[0183] A structured text recognition module, used to identify whether the text to be published is a structured text; the structured text is a text generated by the risk review platform according to a structured template;

[0184] The attribute information determination module is used to determine the attribute information of each keyword in the text to be published according to the structured template if the text to be published is the structured text.

[0185] Optionally, the device may also be used for:

[0186] If the text to be published is an unstructured text, determining document type information of the text to be published;

[0187] The identifying the keywords in the to-be-published text based on the document type information specifically includes:

[0188] Based on the document type information, an optical character recognition method is used to recognize keywords in the text to be published.

[0189] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0190] Figure 4 This is a schematic diagram of the structure of a text risk identification device provided in an embodiment of this specification. Figure 4 As shown, the device 400 may include:

[0191] at least one processor 410; and,

[0192] A memory 430 is communicatively connected to the at least one processor; wherein,

[0193] The memory 430 stores instructions 420 executable by the at least one processor 410. The instructions are executed by the at least one processor 410 to enable the at least one processor 410 to:

[0194] Before the text to be published is published, the text to be published uploaded by the first user is obtained; the publishing object of the text to be published is a second user set defined by the first user;

[0195] Determining the document type information of the text to be published;

[0196] Based on the document type information, identifying keywords in the text to be published;

[0197] Determine attribute information describing each keyword;

[0198] Based on the document type information, determining a setting condition that the attribute information needs to satisfy;

[0199] Determining risk information of the text to be published based on the attribute information corresponding to each of the keywords and the set conditions;

[0200] Prompt the risk information.

[0201] Based on the same idea, the embodiment of this specification also provides a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the following method:

[0202] Before the text to be published is published, the text to be published uploaded by the first user is obtained; the publishing object of the text to be published is a second user set defined by the first user;

[0203] Determining the document type information of the text to be published;

[0204] Based on the document type information, identifying keywords in the text to be published;

[0205] Determine attribute information describing each keyword;

[0206] Based on the document type information, determining a setting condition that the attribute information needs to satisfy;

[0207] Determining risk information of the text to be published based on the attribute information corresponding to each of the keywords and the set conditions;

[0208] Prompt the risk information.

[0209] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0210] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0211] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0212] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0213] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0214] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0215] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0216] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0217] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0218] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0219] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0220] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0221] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0222] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0223] The present application may 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 may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0224] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A text risk identification method, comprising: Before the text to be published is published, obtaining the text to be published uploaded by the first user; The publishing object of the text to be published is a second user set defined by the first user; Identify whether the text to be published is a structured text; The structured text is a text generated according to a structured template; If the text to be published is the structured text, then determining the attribute information of each keyword in the text to be published according to the structured template; the attribute information is information used to describe the keyword; If the text to be published is an unstructured text, determining the document type information of the text to be published based on the scene classification to which the text to be published belongs; Based on the document type information, identifying keywords in the text to be published; Determine attribute information describing each keyword; Based on the document type information, determining a setting condition that the attribute information needs to satisfy; Determining the risk information of the to-be-published text based on the degree of difference obtained by comparing the attribute information corresponding to each of the keywords with the set condition; Prompt the risk information.

2. The method according to claim 1, wherein the second user set includes the first user; after determining the risk information of the to-be-published text based on the attribute information corresponding to each of the keywords and the set conditions, the method further comprises: If the risk information indicates that the risk of the to-be-published text does not reach a preset risk level, the to-be-published text is published for viewing by users in the second user set.

3. According to the method of claim 1, the step of determining the document type information of the text to be published specifically comprises: Determining the scene information to which the to-be-published text belongs; Based on the scenario information, determining document type information to which the to-be-published text belongs in the application scenario corresponding to the scenario information; The document type information includes at least a protocol document or a marketing document.

4. According to the method of claim 1, identifying keywords in the to-be-published text based on the document type information specifically comprises: Based on the document type information, determining a recognition model; There is a corresponding relationship between the document type information and the recognition model; The text to be published is input into the recognition model to obtain keywords output by the recognition model.

5. The method according to claim 1, wherein determining the risk information of the to-be-published text based on the attribute information corresponding to each of the keywords and the set conditions comprises: For one of the keywords, the attribute information corresponding to the keyword is compared with the set condition to obtain a degree of difference; Based on the degree of difference, determining the risk level of the keyword; Based on the risk level of each of the keywords, risk information of the text to be published is determined.

6. According to the method of claim 5, the prompting of the risk information specifically comprises: The risk level of each of the keywords is displayed on the terminal interface of the first user.

7. According to the method of claim 5, the text to be published is a contract text, and the keywords include at least the contract amount, rate, and the names of the entities signing the contract.

8. The method according to claim 7, if the keyword is a contract amount or a rate, the set condition is a preset value range; Before determining the risk level of the keyword based on the difference, the method further includes: Determine whether the contract amount in the contract text is within the preset value range to obtain a first determination result; If the first judgment result indicates that the contract amount in the contract text is within the preset value range, it is determined that the contract text is risk-free; If the first judgment result indicates that the contract amount value in the contract text is outside the preset value range, the difference between the contract amount value and the preset value range is calculated.

9. According to the method of claim 7, if the keyword is the entity name of the two parties to the contract, the set condition is the preset entity description information; Determining the risk level of the keyword based on the difference degree also includes: Obtaining description data of the entities signing the contract; The description data is used to describe the operation-related information of the two entities signing the contract within a preset time period. Compare the operation-related information with the preset entity description information to obtain a second judgment result; If the second judgment result indicates that the operation-related information is consistent with the meaning expressed by the preset entity description information, it is determined that the contract text has no risk; If the second judgment result indicates that the meanings expressed by the operation-related information and the preset entity description information are inconsistent, the degree of difference between the meanings expressed by the operation-related information and the preset entity description information is calculated.

10. A text risk identification device, comprising: A module for obtaining text to be published, used for obtaining the text to be published uploaded by the first user before the text to be published is published; The publishing object of the text to be published is a second user set defined by the first user; A document type information determination module, used to identify whether the to-be-published text is a structured text; The structured text is a text generated according to a structured template; If the text to be published is the structured text, then determining the attribute information of each keyword in the text to be published according to the structured template; the attribute information is information used to describe the keyword; If the text to be published is an unstructured text, determining the document type information of the text to be published based on the scene classification to which the text to be published belongs; A keyword recognition module, used for recognizing keywords in the to-be-published text based on the document type information; An attribute information determination module, used to determine the attribute information describing each keyword; A setting condition determination module, used to determine the setting condition that the attribute information needs to satisfy based on the document type information; A risk information determination module, configured to determine the risk information of the to-be-published text based on a difference degree obtained by comparing the attribute information corresponding to each of the keywords with the set condition; The risk information prompt module is used to prompt the risk information.

Citation Information

Patent Citations

  • Text detection method, device and equipment

    CN109447469A

  • Risk identification method and device

    CN110032727A