Legal consultation method and system based on intelligent interaction

文档序号:7693 发布日期:2021-09-17 浏览:33次 中文

1. A legal consultation method based on intelligent interaction is characterized by comprising the following steps:

acquiring text information;

obtaining a plurality of rounds of man-machine conversations according to the text information;

generating a customized legal consultation result according to multiple rounds of man-machine conversations;

recommending corresponding legal resources according to any one or more of the multi-round man-machine conversation content, the legal consultation result and the user requirement;

and the user determines the required legal resources and sends the multi-turn man-machine conversation contents and/or the legal consultation results to the selected legal resources.

2. The intelligent interaction-based legal consultation method according to claim 1, wherein said recommending corresponding legal resources specifically comprises:

recommending lawyer service ecosphere partners related to the legal consultation result to the user, and/or;

recommending a law firm related to the legal consultation result to the user, and/or;

recommending lawyers related to the legal consultation result to the user.

3. The intelligent interaction-based legal consultation method according to claim 2, wherein said recommending corresponding legal resources further comprises:

the introduction of the law firm, public praise in the industry, actual combat experience and cases;

the lawyers' professional field, practice time, and actual combat experience and case.

4. The intelligent interaction-based legal consultancy method of claim 1, wherein said obtaining textual information specifically comprises:

collecting a user voice signal and/or obtaining information of a text, a picture, an interactive page and a chat record, and converting the voice information and/or the information of the text, the picture, the interactive page and the chat record into text information.

5. The intelligent interaction-based legal consultation method according to claim 1, wherein obtaining a plurality of rounds of human-machine conversation based on said text information specifically comprises:

determining a legal category domain based on the deep learning intention identification model;

and generating a man-machine conversation based on a plurality of rounds of conversation models according to the legal category domain.

6. The intelligent interaction-based legal consultancy method of claim 1, wherein said generating customized legal consultancy results from multiple rounds of human-machine conversation comprises:

collecting and assigning legal characteristic variables for each man-machine conversation;

and generating a customized legal consultation result based on a reasoning decision strategy model according to the legal characteristic variables.

7. A legal consultancy system based on intelligent interaction is characterized by comprising:

the intelligent interaction equipment is used for acquiring text information; and performing voice interaction with the user;

the cloud server is used for generating a customized legal consultation result; recommending corresponding legal resources to the user;

the television is used for playing and/or displaying legal consultation results and displaying recommended legal resources;

the IPTV set top box is used for communication between the intelligent interaction equipment and the cloud service; and communication between the cloud server and the television.

8. The intelligent interaction-based legal advisory system of claim 7, wherein the cloud server comprises a legal resources database;

the legal resource database is used for storing any one or more of the information of lawyer service ecosphere partners, law firms and lawyers.

9. The intelligent interaction-based legal advisory system of claim 7, wherein the cloud server further comprises:

an intention recognition unit for determining a legal category domain based on a deep-learned intention recognition model;

the multi-round conversation unit is used for generating a man-machine conversation based on a multi-round conversation model library;

the assignment variable unit is used for collecting and assigning legal characteristic variables for each man-machine conversation;

and the reasoning decision unit is used for generating a customized legal consultation result based on a reasoning decision strategy model according to the legal characteristic variables.

10. The intelligent interaction-based legal advisory system of claim 7 wherein the intelligent interaction device further comprises:

the information acquisition unit is used for acquiring voice signals of a user and/or; obtaining information of texts, pictures, interactive pages and chat records;

and the generating unit is used for converting the information of the voice signal and/or the text, the picture, the interactive page and the chat record into text information.

Background

With the popularization of the concept of law and state control, the legal consciousness of people is continuously improved, basic level people gradually have right-maintaining consciousness, as the population of China is numerous and the conventional legal attorneys cannot meet the legal requirements of the people, many people have right-maintaining consciousness and cannot obtain professional legal consultants, and the time cost of legal consultation is increased due to higher charge of the legal consultation industry, and many basic level people are forbidden to meet high consultation price.

With the development of artificial intelligence technology, in order to meet the legal consultation requirements of numerous legal consultants, a lot of intelligent robots for legal consultation services appear, the existing robots only arrange the problems provided by users and then give out consultation results, and no relevant prompts are given for subsequent processes such as how to handle, so that a lot of users bring certain difficulties in searching for proper lawyers or law firm places.

Disclosure of Invention

Objects of the invention

In view of the above problems, the present invention is directed to a legal consultation method and system based on intelligent interaction, which recommend corresponding legal resources to a user according to the legal consultation results and requirements of the user consultation, so that the legal resources can quickly and accurately know the problem of the user consultation, and provide corresponding services to the user, thereby satisfying the requirement that the user can enjoy accurate, timely and effective legal services without going out of home.

(II) technical scheme

As a first aspect of the invention, the invention discloses a legal consultation method based on intelligent interaction, which comprises the following steps:

acquiring text information;

obtaining a plurality of rounds of man-machine conversations according to the text information;

generating a customized legal consultation result according to multiple rounds of man-machine conversations;

recommending corresponding legal resources according to any one or more of the multi-round man-machine conversation content, the legal consultation result and the user requirement;

and the user determines the required legal resources and sends the multi-turn man-machine conversation contents and/or the legal consultation results to the selected legal resources.

In a possible embodiment, the recommending the corresponding legal resource specifically includes:

recommending lawyer service ecosphere partners related to the legal consultation result to the user, and/or;

recommending a law firm related to the legal consultation result to the user, and/or;

recommending lawyers related to the legal consultation result to the user.

In a possible embodiment, the recommending corresponding legal resources specifically further includes:

the introduction of the law firm, public praise in the industry, actual combat experience and cases;

the lawyers' professional field, practice time, and actual combat experience and case.

In a possible implementation manner, the obtaining text information specifically includes:

collecting a user voice signal and/or obtaining information of a text, a picture, an interactive page and a chat record, and converting the voice information and/or the information of the text, the picture, the interactive page and the chat record into text information.

In a possible implementation manner, obtaining multiple rounds of man-machine conversations according to the text information specifically includes:

determining a legal category domain based on the deep learning intention identification model;

and generating a man-machine conversation based on a plurality of rounds of conversation models according to the legal category domain.

In a possible embodiment, the generating a customized legal consultation result according to multiple rounds of man-machine conversations specifically includes:

collecting and assigning legal characteristic variables for each man-machine conversation;

and generating a customized legal consultation result based on a reasoning decision strategy model according to the legal characteristic variables.

As a second aspect of the invention, the invention also discloses a legal consulting system based on intelligent interaction, which comprises:

the intelligent interaction equipment is used for acquiring text information; and performing voice interaction with the user;

the cloud server is used for generating a customized legal consultation result; recommending corresponding legal resources to the user;

the television is used for playing and/or displaying legal consultation results and displaying recommended legal resources;

the IPTV set top box is used for communication between the intelligent interaction equipment and the cloud service; and communication between the cloud server and the television.

In one possible embodiment, the cloud server includes a legal resources database;

the legal resource database is used for storing any one or more of the information of lawyer service ecosphere partners, law firms and lawyers.

In one possible embodiment, the cloud server further includes:

an intention recognition unit for determining a legal category domain based on a deep-learned intention recognition model;

the multi-round conversation unit is used for generating a man-machine conversation based on a multi-round conversation model library;

the assignment variable unit is used for collecting and assigning legal characteristic variables for each man-machine conversation;

and the reasoning decision unit is used for generating a customized legal consultation result based on a reasoning decision strategy model according to the legal characteristic variables.

In one possible implementation, the intelligent interactive device further includes:

the information acquisition unit is used for acquiring voice signals of a user and/or; obtaining information of texts, pictures, interactive pages and chat records;

and the generating unit is used for converting the information of the voice signal and/or the text, the picture, the interactive page and the chat record into text information.

(III) advantageous effects

The invention discloses a legal consultation method and system based on intelligent interaction, which are based on intelligent interaction equipment, an IPTV set top box and external equipment, provide family legal consultation service for a user, recommend corresponding legal resources to the user according to the legal consultation result and requirement of the user consultation, enable the legal resources to quickly and accurately know the problem of the user consultation, and provide corresponding service for the user, thereby meeting the requirement that the user can enjoy accurate, timely and effective legal service without going out of home.

Drawings

The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining and illustrating the present invention and should not be construed as limiting the scope of the present invention.

FIG. 1 is a flow chart of a legal consultancy method based on intelligent interaction as disclosed in the present invention;

FIG. 2 is a flow chart of the present disclosure for obtaining multiple rounds of human-machine conversation;

FIG. 3 is a flow chart of the disclosed generation of customized legal advisory results;

FIG. 4 is a schematic diagram of the intelligent interaction based legal advisory system disclosed in the present invention.

Reference numerals:

700. an intelligent interaction device; 710. collecting an information unit; 720. a generating unit; 800. a cloud server; 810. a legal resource database; 830. an intention identifying unit; 840. a multi-turn dialogue unit; 850. assigning a variable unit; 860. a reasoning decision unit; 900. an IPTV set-top box; 910. a television set.

Detailed Description

In order to make the implementation objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be described in more detail below with reference to the accompanying drawings in the embodiments of the present invention.

It should be noted that: in the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described are some embodiments of the present invention, not all embodiments, and features in embodiments and embodiments in the present application may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

A first embodiment of the intelligent interaction-based legal consultancy method disclosed in the present invention is described in detail below with reference to fig. 1-3. The embodiment is mainly applied to legal consultation, corresponding legal resources are recommended to the user according to the legal consultation result and the requirement of the user consultation, so that the legal resources can quickly and accurately know the problem of the user consultation, corresponding services are provided for the user, and the user can enjoy accurate, timely and effective legal services without going out.

As shown in fig. 1, the present embodiment mainly includes the following steps:

and step 100, acquiring text information.

In step 100, acquiring text information specifically includes the following two ways:

the first method is that voice signals of a user are collected and converted into text information, namely, a section of audio is converted into corresponding characters;

the second is to obtain information in the form of text, picture, interactive page, or even chat record, and extract text information related to legal consultation from the information, and the information can also be used as evidence information of legal consultation, where the evidence information is a material for proving the fact of the case, such as contract, invoice, and recording.

The text, the picture, the interactive page and the chat record can be obtained from a mobile phone, or can be obtained from a computer or a paper piece.

In the embodiment of the application, the ASR technology, the MIC display and the voice board technology are adopted to convert the voice signal into text information.

And 200, obtaining multiple rounds of man-machine conversations according to the text information.

As shown in fig. 2, in step 200, according to the text information, multiple rounds of man-machine conversations are obtained, which specifically includes the following steps:

step 210, determining a legal category domain based on an intention recognition model of deep learning;

and step 220, generating a man-machine conversation based on the multi-turn conversation model according to the legal category domain.

In the method, a cloud server obtains a Toronto man-machine conversation according to text information, wherein after the text information is received in the cloud server, a type consulted by a user is determined based on an intention recognition model of deep learning, a corresponding type domain is searched from a type domain library, after a legal type domain consulted by the user is determined, a corresponding multi-turn conversation model is called from the Toronto conversation model library, a conversation mechanism between the user and equipment is generated based on the multi-turn conversation model, and legal fact information is finally generated.

For example, the legal issues consulted by current users are: medical dispute, when a user says: when I see a doctor in a hospital, the prescription given by an attending doctor to I is an incorrect prescription, and I need to inform the doctor. The method comprises the steps that after receiving voice information of a user, the device converts the voice information into text information and sends the text information to a cloud server, after receiving the text information, the cloud server recognizes that the intention of the user is 'medical treatment and prescription', after determining the intention of the user, finds a category domain matched with the 'medical treatment and prescription' from a category domain library, and after determining the category domain, calls a corresponding multi-turn dialogue model from a multi-turn dialogue model library to carry out dialogue with the user, for example: the name of the hospital, the name of the attending physician, the prescription and other related questions are inquired, so that the user can describe the passing of things more accurately and in detail, and legal fact information consulted by the user is generated after a plurality of rounds of conversations.

And 300, generating a customized legal consultation result according to multiple rounds of man-machine conversation.

As shown in fig. 3, in step 300, a customized legal consultation result is generated according to multiple rounds of man-machine conversations, which specifically includes the following steps:

step 310, collecting and assigning legal characteristic variables for each man-machine conversation;

after the corresponding multi-turn dialogue model is called, each dialogue between the equipment and the user receives and converts the voice signal of the user into the text information, the text information is collected and the legal characteristic variable is assigned, so that the legal characteristic content of each interaction between the user and the equipment is accurately determined.

And 320, generating a customized legal consultation result based on the reasoning decision strategy model according to the legal characteristic variables.

After the text information of the user is assigned with the legal characteristic variables, the assigned legal characteristic variables are input into a value reasoning decision strategy model, and then a customized legal consultation result is generated, wherein the legal consultation result comprises the appeal, the brief description of the event, the judicial materials and some relative suggestions of the user, and after the customized legal consultation result is generated, the legal consultation result is displayed and/or played to the user through an IPTV and a television, or is displayed in an interactive interface mode through a mobile phone, a computer, a projector and other equipment and is accompanied with automatic voice generation and broadcast, wherein multimedia type interaction can be automatically generated and displayed, and the interaction comprises automatic animation generation, for example, a cartoon attorney is displayed on the television for broadcast and the like.

And 400, recommending corresponding legal resources according to any one or more of the multi-round man-machine conversation content, the legal consultation result and the user requirement.

In step 400, according to any one or more of the multi-round man-machine conversation content, the legal consultation result and the user requirement, recommending corresponding legal resources, which specifically includes:

after the customized legal consultation result is generated, the equipment consults the requirements of lawyers or law offices required by the user, recommends lawyers and/or law offices meeting the requirements of the user to the user according to the requirements of the user, the legal consultation result and the contents of the multi-turn man-machine conversation, and provides diversified services for the user.

In a possible implementation, recommending the corresponding legal resource specifically includes:

recommending lawyer service ecosphere partners related to the legal consultation results to the user, and/or;

recommending law firms related to legal consultation results to the user, and/or;

and recommending lawyers related to legal consultation results to the user.

In a possible implementation, recommending the corresponding legal resource specifically includes:

introduction of law firm, public praise in industry, and actual combat experience and case;

the profession field, the practice time, and the actual combat experience and case of lawyers.

When recommending corresponding legal resources for a user, the system can be connected with other equipment which can be watched and/or played by the user, such as a television, a mobile phone, a projector and the like through the IPVT to present the legal resources, can perform certain sequencing on the recommended legal resources according to the requirements of the user, and can further understand the legal resources through watching actual combat cases of lawyers or law firms when recommending the legal resources.

For example, the user is now located in tianjin, after the user finishes the legal service consultation, the device consults the user for the requirements of a lawyer or a law firm, if the user only needs local legal resources, the device recommends tianjin local to the user according to the user requirements of the "legal resources of tianjin local", the legal consultation result of "medical dispute", and information such as a content "prescription, error" of multiple rounds of man-machine conversation, the device performs comprehensive sequencing on the aspects of handling the medical dispute, working years and the like, and sends the final result to a television, a mobile phone or other devices for the user to select.

Step 500, the user determines the required legal resources and sends the multi-turn man-machine conversation content and/or the legal consultation result to the selected legal resources.

In step 500, the user determines the required legal resources and sends the contents of the multiple rounds of human-computer conversation and/or the legal consultation results to the selected legal resources, which specifically includes:

after the legal resources are selected by the user, the equipment directly sends the multi-turn man-machine conversation contents and/or the legal consultation results to the legal resources, the legal resources can timely, accurately and effectively receive the appeal of the user, and the user can ask and answer the legal resources on line through other equipment such as a television, a mobile phone and the like, so that more accurate and effective legal services are provided for the user until the user solves the problem.

The following detailed description refers to fig. 4, and based on the same inventive concept, the embodiment of the present invention further provides a first embodiment of a legal consultancy system based on intelligent interaction. Because the principle of the problem solved by the system is similar to that of the intelligent interaction-based legal consultation method, the implementation of the system can be referred to that of the method, and repeated details are not repeated. The embodiment is mainly applied to legal consultation conditions, and corresponding legal resources are recommended to the user according to the legal consultation results and requirements of the user consultation, so that the legal resources can quickly and accurately know the problem of the user consultation, corresponding services are provided for the user, and the user can enjoy accurate, timely and effective legal services without going out.

As shown in fig. 4, the present embodiment mainly includes an intelligent interaction device 700, a cloud server 800, an IPTV set-top box 900 and a television 910, where the intelligent interaction device 700 is connected to the IPTV set-top box, the IPTV set-top box 900 is connected to the cloud server 800 by using the internet, and the IPTV set-top box 900 is connected to the television by using the internet.

The intelligent interaction device 700 is used for acquiring text information; and performing voice interaction with the user;

the cloud server 800 is used for generating customized legal consultation results and recommending related legal resources to the user;

the television 910 is used for playing and/or displaying legal consultation results and displaying recommended legal resources;

the IPTV set top box 900 is used for communication between the intelligent interaction device and the cloud server; and communication between the cloud server and the television;

cloud server 800 includes a legal resources database 810, legal resources database 810 for storing any one or more of lawyer services ecosphere partner, lawyer firm, and lawyer information. The legal resource database 810 stores a large amount of information of law attorney service ecosphere partners, attorney firms and attorneys in different fields and different types in advance, so as to provide different legal resources for users to meet the requirements of different users, and meanwhile, the content of the legal resource database can be modified and increased in real time or regularly according to the actual requirements.

Specifically, a user can use the home intelligent interaction device 700 to perform legal consultation, the intelligent interaction device 700 collects voice information, texts, pictures, interaction pages, chat records of the user and converts the voice information, the texts, the pictures, the interaction pages, the chat records and other information provided by the user into text information, the text information is sent to the cloud server 800 through the IPTV set-top box 900 by using the internet of things, the cloud server 800 generates a result of the legal consultation by using the received text information, and the result of the legal consultation is sent to the television by using the IPTV set-top box 900 to play and/or display the result of the legal consultation to the user.

The cloud server 800 further recommends corresponding legal resources to the user according to the legal consultation result, the multi-turn man-machine conversation content and the user requirement, and sends the recommended corresponding legal resources to the IPTV set top box 900, the IPTV set top box 900 sends the legal resources to the television to play and/or display legal resource information to the user, the user can select legal resources meeting the requirements of the user according to the recommended legal resources, and after the user selects the legal resources, the cloud server sends the legal consultation result and/or the multi-turn man-machine conversation content to the legal resources selected by the user, so that the user can enjoy accurate, timely and effective legal services without going out.

In one possible implementation, the cloud server 800 includes: an intention recognition unit 830, a multi-turn dialogue unit 840, an assignment variable unit 850, and an inference decision unit 860, wherein the intention recognition unit 830 is configured to determine a legal category domain based on a deep-learning intention recognition model; the multi-turn dialogue unit 840 is used for generating a man-machine dialogue based on the multi-turn dialogue model library; the assignment variable unit 850 is used for collecting and assigning legal feature variables for each man-machine conversation; the inference decision unit 860 is configured to generate a customized legal consultation result based on the inference decision policy model according to the legal feature variable.

The man-machine conversation generated by the multi-turn conversation unit 840 can interact with the user in a voice form, specifically, the man-machine conversation can be sent to the IPTV set-top box 900 by the sound box of the intelligent interaction device 700, and the IPTV set-top box 900 plays voice information by using the sound box of the television to interact with the user; or in the form of a menu interface, and is sent to the IPTV set-top box 900 to be displayed on the television, and the user uses the television remote controller to select the menu in an interactive manner; and an interactive mode for displaying the menu interface and selecting can be also utilized by a mobile phone and a computer.

In a possible implementation, the intelligent interaction device 700 further includes an information collecting unit 710 and a generating unit 720, where the information collecting unit 710 is configured to collect a voice signal of a user, or; the method comprises the steps of obtaining information of texts, pictures, interactive pages and chat records, converting the information of the texts, the pictures, the interactive pages and the chat records into text information by the generating unit 720 according to voice signals and/or the information of the texts, the pictures, the interactive pages and the chat records, and converting the voice signals into the text information by the generating unit 720 by adopting an ASR technology, an MIC display technology and a voice board technology.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:基于IPTV端的政务咨询方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!