Dispute mediation information processing method, electronic equipment and storage medium

By automatically analyzing, summarizing and refining the voice information during the dispute mediation process, generating text summaries and extracting key elements, the problem of low efficiency of mediators in the recording and sorting process is solved, and the processing efficiency and decision-making support of dispute mediation are improved.

CN118733756AActive Publication Date: 2024-10-01SHANGHAI JINQIAO YIFA INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410883346.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-01
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

During the dispute mediation process, the mediator needs to spend a lot of time recording and sorting out the content of telephone communications, resulting in low efficiency, information omission and distortion. The existing technology lacks the function of analyzing, summarizing and refining voice information.

Method used

By obtaining the voice information in the dispute mediation process, converting it into initial text information, preprocessing and text summary generation are performed, using large language models and preset prompt word templates for automatic analysis, induction and refinement, extracting key elements and displaying different role types. Summary paragraph.

Benefits of technology

It reduces labor costs, improves the efficiency of processing dispute mediation information, provides comprehensive, accurate and efficient auxiliary decision-making support, helps mediators better understand the needs, attitudes and wishes of the parties, and improves mediation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733756A_ABST
    Figure CN118733756A_ABST
Patent Text Reader

Abstract

The invention provides a dispute mediation information processing method, electronic equipment and a storage medium. The method comprises the following steps: acquiring voice information in a dispute mediation process; converting the voice information into corresponding initial text information; preprocessing the initial text information to obtain target text information; inputting the target text information into a preset cue word template to obtain a target cue word; and processing the target cue word by using a large language model to obtain a text abstract of the target text information. The text abstract obtained by the scheme can accurately display the core information of the voice information in the dispute mediation process, and can provide comprehensive, accurate and efficient auxiliary decision support for mediators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of dispute mediation, and more specifically to a method for processing dispute mediation information, an electronic device and a computer-readable storage medium. Background Art

[0002] As the central government continues to implement the transformation of the conflict resolution model to "mediation as the center, litigation as the ultimate guarantee" to improve the legal level of conflict prevention and resolution, the number of court mediation cases has also surged. During the mediation process, the telephone communication between the mediator and the parties is the core link of mediation communication. The mediator needs to make a lot of calls to confirm the parties' willingness to mediate and negotiate to confirm the mediation plan. In this process, the mediator needs to spend a lot of time and energy to record and organize the content of the telephone communication. Not only is it inefficient and takes up a lot of mediators' working time, it is also easy to cause information omissions, distortions, and untimely processing.

[0003] In the current market, although there are some call management software and communication recording systems that can convert the voice in the mediation process into text in real time, so as to record and archive the content of telephone communication, and facilitate subsequent recording and analysis, these products can usually only convert telephone recordings into text records, and lack the function of analyzing and summarizing the content of the call. Summary of the invention

[0004] The present invention is proposed in view of the above problems. According to one aspect of the present invention, a method for processing dispute mediation information is provided, comprising: obtaining voice information in the dispute mediation process; converting the voice information into corresponding initial text information; preprocessing the initial text information to obtain target text information; inputting the target text information into a preset prompt word template to obtain a target prompt word; and processing the target prompt word using a large language model to obtain a text summary of the target text information.

[0005] Exemplarily, the initial text information includes multiple text segments and role labels corresponding to the multiple text segments one by one; the initial text information is preprocessed, including: based on a preset correspondence, unifying the role labels corresponding to the multiple text segments one by one into mediator and party; for any two adjacent text segments among the multiple text segments, when the role labels corresponding to the two text segments are the same, merging the two text segments.

[0006] Exemplarily, the initial text information is preprocessed, including: performing text cleaning on the initial text information to remove redundant information in the initial text information, where the redundant information includes any one or more of special symbols, modal particles and repeated words.

[0007] Exemplarily, after obtaining a text summary of the target text information, the method further includes: based on punctuation marks in the text summary, sentence-segmenting the text summary to obtain a plurality of text sentences; for each of the plurality of text sentences, performing subject-verb-object decomposition on the text sentence using a natural language processing algorithm to determine a role type corresponding to the text sentence; based on the role type corresponding to each of the plurality of text sentences, dividing the text summary into a plurality of summary paragraphs, wherein each summary paragraph corresponds to a different subject type.

[0008] Exemplarily, the method further includes: displaying summary paragraphs corresponding to different role types.

[0009] Exemplarily, after obtaining the target text information, the method further includes: extracting key elements from the target text information based on a preset dynamic rule library; wherein the preset dynamic rule library includes elements to be extracted, keywords and rules, and the key elements are text information in the target text information corresponding to the elements to be extracted.

[0010] Exemplarily, based on a preset dynamic rule library, extracting key elements from target text information includes: determining the paragraph range of the paragraph after the paragraph where the target keyword is located in the target text information as the target paragraph range, wherein the keywords in the preset dynamic rule library include the target keyword, and the paragraph where the target keyword is located is used to communicate the intention of the parties; detecting the sentences where each keyword in the preset dynamic rule library is located within the target paragraph range to obtain a target sentence set, wherein each target sentence in the target sentence paragraph set is arranged in reverse order according to the chronological order of the conversation; for each target sentence in the target sentence set, determining the sentence type of the target sentence, wherein the sentence types include interrogative sentences and declarative sentences; when the sentence type of the target sentence is an interrogative sentence, determining the target sentence and the next sentence of the target sentence as a target sentence group; when the sentence type of the target sentence is a declarative sentence, determining the target sentence and the previous sentence of the target sentence as a target sentence group; for each target sentence group in the determined target sentence groups, extracting key elements from the target sentence group based on the rules in the dynamic rule library.

[0011] Exemplarily, the method further includes: performing keyword analysis on the target sentence group where the key element is located to determine associated keywords corresponding to the key element; and updating the determined associated keywords into the corresponding dynamic rule library.

[0012] According to another aspect of the present invention, an electronic device is provided, including a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the computer program to implement the above method.

[0013] According to another aspect of the present invention, a computer-readable storage medium is provided, storing a computer program / instruction, and the computer program / instruction implements the above method when executed by a processor.

[0014] The above technical solution can obtain a text summary of the target text information by using a preset prompt word template to encapsulate the target text information corresponding to the voice information in the dispute mediation process as a target prompt word, and using a large language model to process the target prompt word. This solution can use preset prompt word templates and large language models to automatically analyze and summarize the voice information in the dispute mediation process, which helps to reduce labor costs and improve the processing efficiency of dispute mediation information, thereby helping to improve user experience. The text summary obtained by this solution can more accurately display the core information of the voice information in the dispute mediation process, and can provide comprehensive, accurate and efficient auxiliary decision support for mediators, so that mediators can better understand the needs, attitudes and wishes of the parties, so as to more effectively reach mediation results.

[0015] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0017] Figure 1 A schematic flow chart showing a method for processing dispute mediation information according to an embodiment of the present invention;

[0018] Figure 2 A schematic diagram showing a processing system according to one embodiment of the present invention;

[0019] Figure 3 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.

[0021] As mentioned above, there are some call management software and communication recording systems on the current market, which can convert the voice in the mediation process into text in real time, so as to record and archive the content of telephone communication, and facilitate subsequent recording and analysis. However, these products often have some limitations, require a lot of manual participation and time cost, are inefficient and prone to subjective bias. Specifically, these products can usually only convert telephone recordings into text records, lack the function of analyzing and summarizing the content of the phone (i.e., the voice information in the dispute mediation process), and users still need to spend a lot of time to manually summarize and summarize, which is inefficient and has poor user experience. In view of this, the present invention provides a method for processing dispute mediation information, an electronic device and a computer-readable storage medium, which can automatically analyze and summarize the voice information in dispute mediation, help reduce labor costs, improve the processing efficiency of dispute mediation information, and thus help improve the user experience. The method, electronic device and computer-readable storage medium are described in detail below.

[0022] According to one aspect of the present invention, a method for processing dispute mediation information is provided. Figure 1 FIG. 1 is a schematic flow chart showing a method for processing dispute mediation information according to an embodiment of the present invention. Figure 1 As shown, method 100 may include but is not limited to step S110 , step S120 , step S130 , step S140 and step S150 .

[0023] In step S110, voice information during the dispute mediation process is obtained.

[0024] It can be understood that the dispute mediation process refers to the telephone communication between the mediator and the parties. The voice information in the dispute mediation process is the audio data in the above telephone communication process. The audio data can be recorded during the telephone communication process through the recording software or other recording equipment that comes with the phone.

[0025] In step S120, the voice information is converted into corresponding initial text information.

[0026] Optionally, the voice information can be converted into corresponding initial text information by any existing or future developed voice-to-text technology. For example, the voice information can be converted into text information by an automatic speech recognition (ASR) algorithm. Of course, the initial text information can also be obtained by the built-in voice-to-text function of the existing mediation platform system.

[0027] In step S130, the initial text information is preprocessed to obtain target text information.

[0028] After obtaining the initial text information, the initial text information can be preprocessed. The preprocessing method includes but is not limited to unifying words with the same meaning in different expressions, unifying the labels of each text segment, merging text segments with the same role labels, and removing special symbols, modal particles, repeated words, etc. in the text information. The specific preprocessing method can be selected according to actual needs and will not be described in detail. This step can remove noise in the initial text information by preprocessing the initial text information, thereby preventing the noise in the text information from affecting the accuracy of subsequent steps.

[0029] In step S140, the target text information is input into a preset prompt word template to obtain a target prompt word.

[0030] It is understandable that the preset prompt word template can be pre-set as needed. The prompt words in the preset prompt word template can be set according to actual needs, which will not be described in detail. In a specific embodiment, the preset prompt word template can be:

[0031] """

[0032] {input}

[0033] Take a deep breath and think carefully: Please write a summary of the above conversation.

[0034] Require:

[0035] 1. The abstract should be within 300 words.

[0036] 2. The language style is concise and easy to understand.

[0037] 3. The summary of information such as amount, date, etc. must be accurate.

[0038] """

[0039] In step S140, the target text information may be input into a preset prompt word template, that is, the preset prompt word template may be used to encapsulate the target text information into the input data format of the large language model described below, thereby facilitating the large language model to recognize the text information.

[0040] Optionally, the number of prompt word templates can be multiple. Before step S140, method 100 may further include the following steps: in response to the user's first selection operation, determine a preset prompt word template in multiple prompt word templates. It can be understood that different mediation cases and different users have different requirements for text summaries. For example, depending on the type of case, more complex cases (such as property rights disputes and debt disputes) require a longer text summary to describe the mediation process, while simple cases (such as financial loan disputes) only need to be described by a shorter text summary. For another example, when the user of the text summary is a mediator, a more concise and professional style can be used; when the user of the summary is an examiner, a more written and easy-to-understand language is used. In the scheme of this embodiment, multiple prompt word templates corresponding to different business needs can be pre-set. Before executing step S140, the user (such as a mediator) can select the required prompt word template from multiple prompt word templates as needed, thereby making the generated summary more in line with the user's needs and helping to further improve work efficiency.

[0041] Optionally, before step S140, method 100 may further include the following steps: in response to the user's first editing operation, editing the preset prompt word template. In this embodiment, the user can edit and adjust the preset prompt word template as needed. For example, the user can adjust the length, language style, etc. of the summary to make the generated summary more in line with user needs. In the above scheme, the user can edit the preset prompt word template as needed. In other words, the preset prompt word template is dynamically configurable. This flexibility allows the user to adjust the preset prompt word template according to their own needs, thereby helping to quickly obtain the information points that the user is concerned about, and helping to further improve work efficiency.

[0042] In step S150, the target prompt word is processed using the large language model to obtain a text summary of the target text information.

[0043] It can be understood that the text summary of the target text information is the text summary corresponding to the above-mentioned voice information.

[0044] Optionally, the large language model may adopt any open source or closed source large language model that is currently available or will be developed in the future. The large language model may include but is not limited to GPT-3.5, Tongyi Qianwen, Wenxin Yiyan, LLAMA, ChatGLM, etc.

[0045] After obtaining the target prompt word, the target prompt word can be processed by the large language model. In some embodiments, the target prompt word can be input into the large language model, and the large language model can output a text summary of the target text information according to the input target prompt word.

[0046] The above technical solution can obtain a text summary of the target text information by using a preset prompt word template to encapsulate the target text information corresponding to the voice information in the dispute mediation process as a target prompt word, and using a large language model to process the target prompt word. This solution can use preset prompt word templates and large language models to automatically analyze and summarize the voice information in the dispute mediation process, which helps to reduce labor costs and improve the processing efficiency of dispute mediation information, thereby helping to improve user experience. The text summary obtained by this solution can more accurately display the core information of the voice information in the dispute mediation process, and can provide comprehensive, accurate and efficient auxiliary decision support for mediators, so that mediators can better understand the needs, attitudes and wishes of the parties, so as to more effectively reach mediation results.

[0047] Exemplarily, the initial text information includes multiple text segments and role labels corresponding to the multiple text segments one by one; the initial text information is preprocessed, including: based on a preset correspondence, unifying the role labels corresponding to the multiple text segments one by one into mediator and party; for any two adjacent text segments in the multiple text segments, if the role labels corresponding to the two text segments are the same, merging the two text segments. This preprocessing method can be called preprocessing based on role labels.

[0048] In this article, when the initial text information is obtained by conversion such as a mediation platform system, the mediation platform system will add prefixes (i.e., role labels) to both parties of the call, so that the initial text information obtained includes multiple text segments and role labels corresponding to the multiple text segments. For example, one of the text segments and the corresponding role label can be: "Collector: When will you repay the loan?" However, in the related art, although some mediation platform systems or speech-to-text algorithms will add role labels to both parties of the call when converting speech to text, the role labels added by different systems or algorithms are not uniform. In the scheme of this example, all role labels can be unified as mediators and parties based on the preset corresponding relationship, which can facilitate the processing of text information in subsequent steps.

[0049] Optionally, the preset correspondence can be set as needed. For example, the preset correspondence can be set according to the selected mediation platform system or algorithm for voice-to-text conversion, so as to uniformly map the role labels automatically generated by the mediation platform system or algorithm to mediators and parties. In one embodiment, the preset correspondence can be: Agent, mediation, and reminder correspond to mediators, and Customer, when, and debt correspond to parties. Of course, the above preset correspondence is only an example, and users can adjust the preset correspondence as needed, which will not be repeated.

[0050] After the role labels are unified, the role label corresponding to each text segment is either the party or the mediator. In this case, the role labels of each text segment can be traversed in order. If the role labels corresponding to two adjacent text segments are the same, the two text segments can be merged into the same text segment. At this time, the text segments corresponding to the mediator and the party appear alternately in the text information.

[0051] The above technical solution can improve the quality of text information by unifying the role labels of text segments and merging adjacent text segments with the same role labels, thereby helping to improve the accuracy of the obtained text summary.

[0052] Exemplarily, preprocessing the initial text information includes: performing text cleaning on the initial text information to remove redundant information in the initial text information, wherein the redundant information includes any one or more of special symbols, modal particles and repeated words. This preprocessing method can be called preprocessing based on text cleaning.

[0053] Optionally, the redundant information may include special symbols. Performing text cleaning on the initial text information to remove the redundant information in the initial text information may include: using a regular expression to remove the special symbols in the initial text information. The regular expression may be: "content = re.sub(r"[\s+! / _,$%^*(+\"\):+——()?【】""!,.?、~@#¥%……&*()]+",",",content)".

[0054] Optionally, the redundant information may include modal particles. In some embodiments, modal particles (such as "um", "ah", "uh", etc.) may be stored in a modal particle stop word list in advance. Then, the jieba segmentation may be used to determine whether each token after the segmentation exists in the modal particle stop word list. If so, the token is removed. The above-mentioned method of removing modal particles is only an example, and those skilled in the art may also use other methods to remove modal particles. For example, modal particles in the initial text information may be removed by regular expressions.

[0055] Optionally, redundant information may include repeated words. Repeated words may be, for example, meaningless repeated words such as "Wait a minute, wait a minute", "I want to think about it", etc. In some embodiments, jieba word segmentation may be used to perform a cyclic judgment on each token. If the token is the same as the previous token, the token is removed. In other embodiments, the token may be pre-screened to prevent the removal of key information such as date and amount. In a specific embodiment, three functions may be pre-set: a Chinese date judgment function, an English date judgment function, and a digital judgment function. After the initial text information is processed using jieba word segmentation, each token after the word segmentation may be cyclically judged. If the token does not belong to a Chinese date, an English date, or a number, it is further determined whether it is equivalent to the previous token. If the token is the same as the previous token, the token is removed. The Chinese date judgment function, the English date judgment function, and the digital judgment function may be selected as needed. For example, a regular expression may be used to construct a Chinese date judgment function, an English date judgment function, and a digital judgment function. Taking the Chinese date judgment as an example, a regular expression can be used to judge whether there is "number + year", "number + month", or "number + day". Those skilled in the art can understand the specific construction method of the regular expression, which will not be repeated.

[0056] In a preferred embodiment, the redundant information includes special symbols, modal particles and repeated words. The solution of this embodiment can remove the special symbols, modal particles and repeated words, thereby improving the quality of the obtained target text information.

[0057] According to the above technical solution, by removing redundant information in the initial text information through text cleaning, the quality of the target text information finally obtained can be improved, which is conducive to improving the accuracy of the text summary finally obtained.

[0058] Optionally, preprocessing the initial text information may include the above-mentioned preprocessing based on role tags, and may also include the above-mentioned preprocessing based on text cleaning. When preprocessing the initial text information may include the above-mentioned preprocessing based on role tags and the above-mentioned preprocessing based on text cleaning, the two preprocessing methods may be performed in sequence. For example, preprocessing based on role tags may be performed first, and then preprocessing based on text cleaning may be performed. For another example, preprocessing based on text cleaning may be performed first, and then preprocessing based on role tags may be performed. This helps to further improve the quality of the target text information obtained.

[0059] Exemplarily, after obtaining a text summary of the target text information, the method further includes: based on punctuation marks in the text summary, segmenting the text summary to obtain a plurality of text sentences; for each text sentence in the plurality of text sentences, performing subject-verb-object decomposition on the text sentence using a natural language processing (NLP) algorithm to determine a role type corresponding to the text sentence; based on the role type corresponding to each text sentence in the plurality of text sentences, dividing the text summary into a plurality of summary paragraphs, wherein each summary paragraph corresponds to a different subject type.

[0060] In the scheme of this example, the text summary can first be divided into sentences according to the punctuation in the text summary. For example, the text summary can be divided into sentences according to the period. After the sentence division, the NLP algorithm can be used to perform subject-verb-object decomposition on each text sentence to determine the corresponding role type, and the text sentences of the same role type can be divided into the same summary paragraph. Specifically, the role type corresponding to each text sentence can be determined according to the subject of the text sentence. In some embodiments, the role type can include parties and mediators. In other embodiments, the role type can include parties, mediators and others.

[0061] The solution of this example is described below through a specific embodiment.

[0062] In this embodiment, the summary is: [The mediator communicated with the parties about the XX financial loan case. The mediator introduced himself and asked the parties whether they were willing to repay. The parties said they were willing to repay but did not have the ability to repay. The mediator introduced the installment policy. The parties asked if he could pay in installments. The financial institution has regulations on the installment policy.]

[0063] It can be seen that the above summary text is mixed with the mediator's paragraph, the parties' paragraph, and other statements.

[0064] In this embodiment, the NLP algorithm can be used to perform differentiation and integration, so that "only the mediator" or "only the parties" can be viewed.

[0065] The multiple summary paragraphs after division are as follows:

[0066] [1. Mediator paragraph: The mediator communicated with the parties regarding the XX financial loan case. The mediator introduced himself and asked the parties whether they were willing to repay the loan.

[0067] 2. The party’s paragraph: The party expressed his willingness to repay the loan, but he did not have the ability to do so. The party asked him whether he could pay in installments.

[0068] 3. Other paragraphs: Financial institutions have their own policies regarding installment payments. 】

[0069] It can be understood that in the dispute mediation process, the interaction between the mediator and the parties is involved, and the amount of information is large. As mentioned above, the related art lacks the analysis and induction of voice information in the dispute mediation process, and it is even more impossible to achieve the effect of analyzing and summarizing voice information according to role types. In the above technical scheme of the present invention, by dividing the text summary according to the role type, the text sentences related to each role type can be clearly displayed. Therefore, the scheme effectively distinguishes the roles of the mediator and the parties and their speeches through natural language processing technology, which helps to improve the pertinence and practicality of the extracted information (i.e. the above-mentioned multiple summary paragraphs). This information can facilitate users to quickly understand the positions and intentions of both the mediator and the parties, thereby helping to improve the efficiency of mediation.

[0070] Exemplarily, the method further includes: displaying summary paragraphs corresponding to different role types. After dividing the text summary into multiple summary paragraphs according to role types, the summary paragraphs corresponding to different role types can be displayed in separate lines for users to view.

[0071] In some embodiments, the method may further include: in response to a display setting operation of the user, setting a display format for each summary paragraph. The display format includes but is not limited to color, font, font size, etc. In this embodiment, the user can adjust the display color, font, font size, etc. of the summary paragraphs corresponding to different role types, thereby further facilitating user distinction.

[0072] The above technical solution can facilitate users to view the summary paragraphs corresponding to different role types by displaying the summary paragraphs corresponding to different role types, which helps to improve user experience.

[0073] Exemplarily, after obtaining the target text information, the method also includes: step S160, extracting key elements from the target text information based on a preset dynamic rule library; wherein the preset dynamic rule library includes elements to be extracted, keywords and rules, and the key elements are text information in the target text information corresponding to the elements to be extracted.

[0074] It can be understood that the key elements are the elements that the user focuses on. The types of the key elements (i.e. the elements to be extracted) include but are not limited to the status of the party, the promised repayment amount, the promised repayment time, the next communication time, etc. It can be understood that the key elements are the text information in the target text information that corresponds to the elements to be extracted. In this article, the text information in the target text that corresponds to the elements to be extracted can be called the status of the elements to be extracted.

[0075] Optionally, the preset dynamic rule library can be pre-set according to user needs. For example, the preset dynamic rule library can be:

[0076] [Elements to be extracted: Committed repayment amount

[0077] Keywords: public account, good, OK, transfer, proof of successful transfer, record

[0078] Rules: {Mediator, Record} AND {Parties, Payment}]

[0079] The above preset dynamic rule library is only an example. Users can adjust the extraction elements, keywords and rules according to actual needs, which will not be elaborated here.

[0080] Optionally, the number of dynamic rule bases may include multiple ones. Before extracting key elements from the target text information based on the preset dynamic rule base, the method may also include: in response to the user's second selection operation, determining a preset dynamic rule base from multiple dynamic rule bases. It can be understood that different mediation scenarios and different users have different requirements for key elements. In the scheme of this embodiment, a preset dynamic rule base can be selected from multiple dynamic rule bases as needed. For example, when the types of key elements required are the status of the party, the promised repayment amount, the promised repayment time, and the next communication time, the dynamic rule bases whose elements to be extracted are the status of the party, the promised repayment amount, the promised repayment time, and the next communication time can be determined as the preset dynamic rule bases in multiple dynamic rule bases.

[0081] Optionally, before extracting key elements from the target text information based on the preset dynamic rule library, the method may further include: editing the preset dynamic rule library in response to a second editing operation of the user. In this embodiment, the user can edit and adjust the preset dynamic rule library as needed. For example, the user can adjust the elements to be extracted, keywords, rules, etc. in the preset dynamic rule library to more accurately extract the key elements. In the above scheme, the user can edit the preset dynamic rule library as needed. In other words, the user can flexibly adjust the analysis strategies and rules according to different mediation scenarios and needs, which enhances the adaptability and flexibility of the system and helps to meet the personalized needs of users.

[0082] In the above technical solution, key elements can be extracted from the target text information based on a preset dynamic rule base. This method can flexibly adjust the analysis strategy and rules according to different mediation scenarios and needs through the design of a dynamic rule base, which helps to improve the adaptability and flexibility of the processing method.

[0083] Exemplarily, step S160, extracting key elements from the target text information based on a preset dynamic rule library, may include the following steps S161, S162, S163, S164, S165, and S166:

[0084] In step S161, the paragraph range of the paragraph after the paragraph where the target keyword is located in the target text information is set as the target paragraph range, wherein the keywords in the preset dynamic rule library include the target keyword, and the paragraph where the target keyword is located is used to communicate the intention of the parties;

[0085] In step S162, sentences containing each keyword in the preset dynamic rule library are detected within the target paragraph to obtain a target sentence set, wherein each target sentence in the target sentence set is arranged in reverse order according to the time sequence of the conversation.

[0086] In step S163, for each target sentence in the target sentence set, the sentence type of the target sentence is determined, where the sentence types include interrogative sentences and declarative sentences.

[0087] In step S164, when the statement type of the target statement is an inquiry statement, the target statement and the next statement of the target statement are determined as a target statement group.

[0088] In step S165, when the target sentence type is a declarative sentence, the target sentence and the previous sentence of the target sentence are determined as a target sentence group;

[0089] In step S166 , for each target sentence group in the determined target sentence groups, key elements are extracted from the target sentence group based on the rules in the dynamic rule base.

[0090] In the solution of this example, the target paragraph used to communicate the intention of the parties can be located first according to the target keywords in the dynamic rule library, and then the paragraph and the paragraph after the paragraph can be determined as the first target paragraph. In this way, the scope can be narrowed down and the amount of information to be processed in subsequent steps can be reduced. It can be understood that the paragraph after the paragraph refers to the paragraphs arranged in the chronological order of the conversation.

[0091] After narrowing the text range, the conversation content between the parties and the mediator can be cyclically retrieved within the target paragraph range based on the keywords in the preset dynamic rule library (that is, each target paragraph within the target paragraph range, and it can be understood that each target paragraph corresponds to the parties and the mediator respectively), and the target sentences containing the keywords are detected, and the target sentences containing the keywords are collected into a target sentence set, and the target sentences in the target sentence set are arranged in reverse order according to the time sequence of the conversation. The target sentence set can be recorded as Xi = {X1, X2, X3, ..., Xn}.

[0092] After obtaining the target sentence set, the sentence type of each target sentence can be determined. For example, a binary classification model can be used to determine whether the target sentence is an interrogative sentence or a declarative sentence. The binary classification model can use any existing or future developed classification model or classification neural network. In a specific embodiment, the Bert text binary classification model can be used.

[0093] After determining the sentence type of each target sentence, step S164 or S165 can be performed according to the sentence type to obtain a target sentence group. In this step, the context of the current target sentence or the context thereof can be combined with the current target sentence to form a target sentence group. The target sentence group can be recorded as Qi={Xi,Yi}, where Xi represents the current target sentence and Yi represents the context of the current target sentence or the context thereof obtained by step S164 or S165.

[0094] After obtaining the target sentence group, it is possible to determine whether each Qi complies with the rules according to the rules in the dynamic rule library, and extract key elements from the Qi that complies with the rules. For example, in this embodiment, part of the text information in the target text information can be:

[0095] "Party: Yes, I understand. Uh, if it is in installments, how many installments are there?

[0096] Mediator: Well, the original amount can only be divided into 2 to 3 installments.

[0097] Party: More than 9,400.

[0098] Party: One-time.

[0099] Party: Uh, can I pay it off in two months?

[0100] Mediator: When you say two months, do you mean this month and next month?

[0101] Party: This month, this month.

[0102] Party: Yes, July 4. The first payment should be 5,000.

[0103] Mediator: Okay, OK, I will record it for you.

[0104] After adopting the above steps S161-S165, the target sentence set can be obtained:

[0105] “Party: Yes, July 4. The first payment should be 5,000.

[0106] Mediator: Okay, OK, I will record it for you.

[0107] When the dynamic rule library in which the element to be extracted in the above embodiment is the promised repayment amount is used as the preset dynamic rule library, it can be judged that the target sentence group meets the rules {mediator, record} AND {party, payment} (the mediator said "record" and the party said "payment"), so the "5000" in the party's statement is extracted as the state of "promised repayment amount", that is, the key element in the target sentence group is 5000.

[0108] According to the above technical solution, the key factors can be determined relatively quickly and accurately. This solution helps to improve the processing efficiency of dispute mediation information.

[0109] Exemplarily, the method further includes: performing keyword analysis on the target sentence group where the key element is located to determine associated keywords corresponding to the key element; and updating the determined associated keywords into the corresponding dynamic rule library.

[0110] In some embodiments, the TF-IDF (term frequency-inverse document frequency) algorithm can be used to determine the importance of each word in the target sentence group, thereby determining the frequently occurring words in the target sentence group where the determined key elements are located, and the frequently occurring words (i.e., words with higher weights) can be used as potential keywords. In the solution of this embodiment, the potential keywords can be updated as associated keywords to the corresponding dynamic rule library. The corresponding dynamic rule library is a dynamic rule library for extracting the key elements.

[0111] In some embodiments, after the potential keywords are obtained, the potential keywords can be corrected by manual correction, and the corrected keywords are updated to the corresponding dynamic rule library.

[0112] According to the above technical solution, keyword analysis can be performed on the target sentence group where the key elements are located to determine the associated keywords, and the associated keywords can be updated to the dynamic rule library, which helps to ensure the accuracy of the keywords in the dynamic rule library and improve the accuracy of the key elements determined based on the dynamic rule library.

[0113] Exemplarily, the method further includes: displaying the extracted key elements. In this example, after the key elements are obtained, the key elements can be output and displayed for easy viewing by the user.

[0114] In some embodiments, it may be displayed that the user can manually modify key elements of the current output to correct and optimize the result, and then save the corrected and optimized result.

[0115] Optionally, the extracted key elements and the summary paragraphs corresponding to the different role types can be displayed on the same page, or can be displayed on different pages. In some embodiments, the extracted key elements and the summary paragraphs corresponding to the different role types are displayed simultaneously. Thus, this embodiment effectively integrates the key elements and the summary paragraphs corresponding to the different role types, which helps to provide users with intuitive and easy-to-understand case analysis results.

[0116] Exemplarily, the above processing method can be applied to a system for processing dispute mediation information. In some embodiments, the processing system may include a speech-to-text module, a call content preprocessing module, a call content summary module, a summary role distinction module, a call content element extraction module, and an information integration and display module. Among them, the speech-to-text module is used to obtain voice information in the dispute mediation process and convert the voice information into corresponding initial text information. The call content preprocessing module is used to preprocess the initial text information to obtain the target text information. The call content summary module is used to input the target text information into a preset prompt word template to obtain the target prompt word, and then use the large language model to process the target prompt word to obtain the text summary of the target text information. The summary role distinction module is used to sentence the text summary based on the punctuation in the text summary to obtain multiple text sentences; for each text sentence in the multiple text sentences, the text sentence is decomposed into a subject, predicate, and object using a natural language processing algorithm to determine the role type corresponding to the text sentence; based on the role type corresponding to each text sentence in the multiple text sentences, the text summary is divided into multiple summary paragraphs. The call content element extraction module is used to extract key elements from the target text information based on a preset dynamic rule library. The information integration and display module is used to display the summary paragraphs corresponding to different role types and the extracted key elements.

[0117] Figure 2 FIG. 2 is a schematic diagram of a processing system according to an embodiment of the present invention. Figure 2As shown, first, the call recording (i.e., the voice information in the dispute mediation process) is input into the voice-to-text module, and the voice-to-text module outputs the call content text (i.e., the initial text information) to the call content preprocessing module. The call content preprocessing module preprocesses the call content text to obtain the preprocessed call content text (i.e., the target text information). The preprocessed call content text is respectively input into the call content summary module and the call content element extraction module. In the call content summary module, the preprocessed call content text is embedded in the prompt word template (i.e., the preset prompt word template mentioned above) to generate the prompt word (i.e., the target prompt word). Then the prompt word is input into the large language model to obtain the call content summary (i.e., the text summary). The call content summary is input into the summary role distinction module for processing to obtain a formatted summary, i.e., a plurality of summary paragraphs divided by role type. In the call content element extraction module, based on the preset dynamic rule library, key elements are extracted from the target text information, and the key words in the dynamic rule library are updated using the element extraction algorithm (e.g., the TF-IDF algorithm mentioned above). The call content element extraction module outputs the call content elements (i.e., key elements). The call content summary and call content elements are input into the information integration and display module, and the information integration and display module displays the call content summary and call content elements, which can be called call content analysis results.

[0118] According to another aspect of the embodiments of the present invention, an electronic device is provided. Figure 3 FIG. 2 shows a schematic block diagram of an electronic device according to an embodiment of the present invention. Figure 3 As shown, the electronic device 300 includes: a processor 310 and a memory 320. The memory 320 stores a computer program, and the processor 310 is used to execute the computer program to implement the above method 100.

[0119] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided. The storage medium stores a computer program / instruction, and the computer program / instruction implements the above method 100 when executed by a processor. The storage medium may include, for example, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0120] A person skilled in the art can easily understand the implementation structure, working principle and beneficial effects of the electronic device and the computer-readable storage medium by reading the above method 100. For the sake of brevity, no further description is given here.

[0121] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.

[0122] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0123] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0124] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0125] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.

[0126] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0127] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0128] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some modules in the electronic device according to an embodiment of the present invention. The present invention can also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0129] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0130] The above is only a specific embodiment of the present invention or an explanation of a specific embodiment. The protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for processing dispute mediation information, characterized in that: include: Obtaining voice information during dispute mediation; Converting the voice information into corresponding initial text information; Preprocessing the initial text information to obtain target text information; Inputting the target text information into a preset prompt word template to obtain a target prompt word; The target prompt word is processed using a large language model to obtain a text summary of the target text information.

2. The method according to claim 1, characterized in that The initial text information includes a plurality of text segments and role tags corresponding to the plurality of text segments one by one; the preprocessing of the initial text information includes: Based on the preset corresponding relationship, the role labels corresponding to the multiple text segments are unified into mediator and party; For any two adjacent text segments among the multiple text segments, when the role labels corresponding to the two text segments are the same, the two text segments are merged.

3. The method according to claim 1, characterized in that The preprocessing of the initial text information includes: The initial text information is cleaned to remove redundant information in the initial text information, wherein the redundant information includes any one or more of special symbols, modal particles and repeated words.

4. The method according to claim 1, characterized in that: After obtaining the text summary of the target text information, the method further includes: Segmenting the text summary based on punctuation marks in the text summary to obtain a plurality of text sentences; For each of the plurality of text sentences, subject-verb-object decomposition is performed on the text sentence using a natural language processing algorithm to determine a role type corresponding to the text sentence; Based on the role type corresponding to each of the plurality of text sentences, the text summary is divided into a plurality of summary paragraphs, wherein each of the summary paragraphs corresponds to a different subject type.

5. The method according to claim 4, characterized in that The method further comprises: Displays summary paragraphs for each of the described role types.

6. The method according to any one of claims 1 to 5, characterized in that: After obtaining the target text information, the method further includes: Extracting key elements from the target text information based on a preset dynamic rule library; The preset dynamic rule library includes elements to be extracted, keywords and rules, and the key elements are text information in the target text information corresponding to the elements to be extracted.

7. The method according to claim 6, characterized in that The extracting key elements from the target text information based on a preset dynamic rule base includes: Determine the paragraph range of the paragraph located after the paragraph where the target keyword is located in the target text information as the target paragraph range, wherein the keywords in the preset dynamic rule library include the target keyword, and the paragraph where the target keyword is located is used to communicate the intention of the parties; Detecting sentences containing each keyword in the preset dynamic rule library within the target paragraph range to obtain a target sentence set, wherein the target sentences in the target sentence paragraph set are arranged in reverse order according to the time sequence of the conversation; For each target sentence in the target sentence set, Determining a sentence type of the target sentence, wherein the sentence type includes an interrogative sentence and a declarative sentence; When the sentence type of the target sentence is an inquiry sentence, determining the target sentence and the next sentence of the target sentence as a target sentence group; When the sentence type of the target sentence is a declarative sentence, the target sentence and a previous sentence of the target sentence are determined as a target sentence group; For each target sentence group in the determined target sentence groups, key elements are extracted from the target sentence group based on the rules in the dynamic rule base.

8. The method according to claim 7, characterized in that The method further comprises: Performing keyword analysis on the target sentence group where the key elements are located to determine associated keywords corresponding to the key elements; The determined associated keywords are updated into the corresponding dynamic rule library.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: A computer program / instruction is stored, and when the computer program / instruction is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Dialogue processing method, voice abstract extraction method and target dialogue model training method

    CN117332072A

  • AI-based dispute mediation method and system

    CN117557416A

  • Data labeling method and device, terminal equipment and storage medium

    CN117591885A

  • Dialogue method and system based on document retrieval enhanced machine language model

    CN117807199A

  • Customer service dialogue abstract generation method based on large model and readable storage medium

    CN117874219A