Internet Protocol Television (IPTV) -terminal-based government affair consultation method and system
1. A method for consulting government affairs based on an IPTV terminal is characterized by comprising the following steps:
obtaining multiple rounds of man-machine conversations according to the text information;
generating a customized government affair consultation result according to multiple rounds of man-machine conversations;
and judging the type of the government affair service consulted by the user according to any one or more of the multi-round man-machine conversation content, the result of the government affair consultation and the user requirement, and providing corresponding government affair service.
2. The IPTV end-based government affair consultation method of claim 1, wherein said determining the type of government affair service consulted by the user and providing corresponding government affair service comprises:
if the type of the government affair business consulted by the user is judged to belong to the affair business which does not need to be transacted on the spot, directly butting with a window for transacting the business, and transacting the remote business;
and if the type of the government affair business consulted by the user is judged to belong to the business needing to be transacted on the current side, providing the reservation service.
3. The IPTV end-based government affairs consultation method of claim 2, wherein said providing a subscription service specifically further comprises:
and providing the user with the predicted service handling time and the number of reserved persons in the service handling time period.
4. The IPTV-terminal-based government affairs consultation method according to claim 1, wherein said obtaining multiple rounds of man-machine conversations according to said text information specifically comprises:
acquiring text information;
the method comprises the steps of acquiring 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 IPTV-terminal-based government affairs consultation method according to claim 4, wherein a plurality of rounds of man-machine conversations are obtained according to the text information, and further comprising:
determining a government affair category domain based on the deep learning intention identification model;
and generating a man-machine conversation based on a multi-round conversation model according to the government affair category domain.
6. The IPTV-terminal-based government consultation method according to claim 5, wherein the generating of customized government consultation results according to multiple rounds of man-machine conversation specifically comprises:
for each man-machine conversation, collecting and assigning government affair characteristic variables;
and generating a customized government affair consultation result based on a reasoning decision strategy model according to the government affair characteristic variable.
7. An IPTV terminal-based government affair consultation system 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 customized government affair consultation results; providing corresponding government affair service for the user;
the client is used for playing and/or displaying a government affair consultation result and displaying the provided government affair service;
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 user side.
8. The IPTV end-based government counseling system of claim 7, wherein the cloud server comprises:
an intention recognition unit for determining a government affair category domain based on a deeply 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 government affair characteristic variables for each man-machine conversation;
and the reasoning decision unit is used for generating a customized government affair consultation result based on a reasoning decision strategy model according to the government affair characteristic variable.
9. The IPTV end-based government counseling system of claim 7, wherein the intelligent interactive device 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.
10. The IPTV end-based government advisory system of claim 7, wherein the user side comprises a tv, a mobile phone, a projector, a smart speaker.
Background
With the development of artificial intelligence technology, in order to meet the consultation requirements of numerous consultants, a plurality of intelligent robots for consultation services appear, the existing robots are only used for business and government affairs at present, consultation results are given after the problems proposed by users are arranged, and relevant prompts are not given to the subsequent processes such as how to handle, so that the users only obtain consultation feedback in the using process and do not obtain effective treatment results, particularly consultation for government affairs.
Disclosure of Invention
Objects of the invention
In view of the above problems, the present invention is directed to a method and a system for consulting government affairs based on an IPTV, which provide corresponding government affair services to a user according to a result and a appeal of the consultation of the user, thereby enabling the user to transact government affairs quickly, efficiently, and accurately.
(II) technical scheme
As a first aspect of the present invention, the present invention discloses a method for consulting government affairs based on an IPTV terminal, comprising:
obtaining a plurality of rounds of man-machine conversations according to the text information;
generating a customized government affair consultation result according to multiple rounds of man-machine conversations;
and judging the type of the government affair service consulted by the user according to any one or more of the multi-round man-machine conversation content, the result of the government affair consultation and the user requirement, and providing corresponding government affair service.
In a possible implementation manner, the determining a type of the government affair business consulted by the user and providing the corresponding government affair service specifically includes:
if the type of the government affair business consulted by the user is judged to belong to the affair business which does not need to be transacted on the spot, directly butting with a window for transacting the business, and transacting the remote business;
and if the type of the government affair business consulted by the user is judged to belong to the business needing to be transacted on the current side, providing the reservation service.
In a possible implementation manner, the providing a subscription service specifically further includes:
and providing the user with the predicted service handling time and the number of reserved persons in the service handling time period.
In a possible implementation manner, the obtaining multiple rounds of man-machine conversations according to the text information specifically includes:
acquiring text information;
the method comprises the steps of acquiring 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 further includes:
determining a government affair category domain based on the deep learning intention identification model;
and generating a man-machine conversation based on a multi-round conversation model according to the government affair category domain.
In a possible implementation manner, the generating a customized government affair consultation result according to multiple rounds of man-machine conversations specifically includes:
for each man-machine conversation, collecting and assigning government affair characteristic variables;
and generating a customized government affair consultation result based on a reasoning decision strategy model according to the government affair characteristic variable.
As a second aspect of the present invention, the present invention also discloses an IPTV end-based government affairs consultation system, including:
the intelligent interaction equipment is used for acquiring text information; and performing voice interaction with the user;
the cloud server is used for generating customized government affair consultation results; providing corresponding government affair service for the user;
the client is used for playing and/or displaying a government affair consultation result and displaying the provided government affair service;
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 user side.
In one possible embodiment, the cloud server includes:
an intention recognition unit for determining a government affair category domain based on a deeply 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 government affair characteristic variables for each man-machine conversation;
and the reasoning decision unit is used for generating a customized government affair consultation result based on a reasoning decision strategy model according to the government affair characteristic variable.
In one possible implementation, the intelligent interaction device 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.
In a possible implementation manner, the user side includes a television, a mobile phone, a projector, and a smart speaker.
(III) advantageous effects
The invention discloses a method and a system for consulting government affairs based on an IPTV terminal, which are based on intelligent interaction equipment, an IPTV set top box and external equipment, provide home government affair consulting services for users, and provide corresponding government affair services for the users through the result and appeal of the government affair consulting of the users, thereby realizing the rapid, efficient and accurate handling of government affair services for the users.
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 flowchart of a method for consulting government affairs based on an IPTV end according to the present disclosure;
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 present disclosure for generating customized government advisory results;
fig. 4 is a schematic diagram of an IPTV-based government counseling 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; 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. and a user side.
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 IPTV terminal-based government counseling method of the present disclosure will be described in detail with reference to fig. 1 to 3. The embodiment is mainly applied to government affair consultation, and corresponding government affair service is provided for the user through the result and the appeal of the government affair consultation, so that the user can transact government affair business quickly, efficiently and accurately.
As shown in fig. 1, the present embodiment mainly includes the following steps:
and step 100, obtaining multiple rounds of man-machine conversations according to the text information.
As shown in fig. 2, in step 100, multiple rounds of man-machine conversations are obtained according to the text information, which specifically includes the following steps:
step 110, acquiring text information;
step 120, determining a government affair category domain based on the deep learning intention identification model;
and step 130, generating a man-machine conversation based on the multi-turn conversation model according to the government affair category domain.
In step 110, the text information is obtained, which 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;
secondly, information in the form of text, pictures, interactive pages, or even chat records is obtained, and text information related to government counseling, such as contract, invoice, recording, etc., can be extracted from the information.
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, and the speech signal is converted into text information by adopting an ASR technology, an MIC display technology and a voice board technology.
In the embodiment of the application, the cloud server obtains the Toronto man-machine conversation according to the text information, wherein after the text information is received in the cloud server, the categories consulted by the user are determined based on the deep learning intention recognition model, the corresponding category domains are searched from the category domain library, after the government affair category domains consulted by the user are determined, the corresponding multi-turn conversation models are called from the Toronto conversation model library, the conversation mechanism between the user and the equipment is generated based on the multi-turn conversation models, and finally the government affair fact information is generated.
For example, the current government issues consulted by the user are: transacting the medical insurance card, and when the user says that: i want to transact the Beijing medical insurance card. The method comprises the steps that after voice information of a user is received by equipment, the voice information is converted into text information, the text information is sent to a cloud server, after the text information is received by the cloud server, the intention of the user is recognized to be a 'handling and medical insurance card', after the intention of the user is determined, a category domain matched with the 'handling and medical insurance card' is found from a category domain library, after the category domain is determined, a corresponding multi-turn conversation model is called from a multi-turn conversation model library, and conversation is conducted with the user, for example: inquiring whether the user transacts the medical insurance card for the first time, whether the medical insurance card of other cities exists, the age, the working unit and the like, thereby leading the user to describe the consultation events more accurately and in detail and generating the government affair fact information consulted by the user after a plurality of rounds of conversations.
And 200, generating a customized government affair consultation result according to multiple rounds of man-machine conversations.
As shown in fig. 3, in step 200, a customized government affair consultation result is generated according to multiple rounds of man-machine conversations, which specifically includes the following steps:
step 210, collecting and assigning government affair characteristic variables for each man-machine conversation;
after the corresponding multi-turn conversation model is called, each conversation 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 government affair characteristic variable is assigned, so that the government affair characteristic content of each interaction between the user and the equipment is accurately determined.
And step 220, generating a customized government affair consultation result based on the reasoning decision strategy model according to the government affair characteristic variable.
After the text information of the user is assigned with the government affair characteristic variables, the assigned government affair characteristic variables are input into a value reasoning and decision strategy model, and then customized government affair consultation results are generated, wherein the government affair consultation results comprise the demands of the user, materials required for handling the government affairs, handling processes, addresses of handling the affairs, working time and the like, and after the customized government affair consultation results are generated, the government affair consultation results are displayed and/or played to the user through an IPTV and a television, or displayed in an interactive interface mode with equipment such as a mobile phone, a computer and a projector and are accompanied with automatic voice generation and broadcasting, and multimedia type interaction can be automatically generated and displayed, including automatic animation generation, for example, a cartoon character is displayed on the television for broadcasting and the like.
And step 300, providing corresponding government affair services according to any one or more of the multi-round man-machine conversation contents, the government affair consultation results and the user requirements.
In step 300, according to any one or more of the multi-round man-machine conversation content, the result of the government affair consultation and the user's requirement, the type of the government affair business consulted by the user is judged, and a corresponding government affair service is provided, which specifically includes:
after the customized government affair consultation result is generated, the equipment judges the type of the government affair business consulted by the user, provides corresponding government affair service for the user according to the type of the government affair business, if the type of the government affair business consulted by the user is judged to belong to the business which is not needed to be transacted on the spot, the equipment is directly butted with a window for transacting the business, and performs remote business transaction, such as transacting a medical insurance card; if the type of the government affair business consulted by the user is judged to belong to the business needing to be transacted on the spot, a reservation service is provided, for example, a wedding certificate is fetched, the generated customized government affair consultation result is judged, the business needing to fetch the wedding certificate is confirmed to be transacted, the device conducts reservation of a service hall for fetching the wedding certificate at the corresponding place for the user according to information in the government affair consultation result, reservation information is fed back to the user through a user end connected with the IPTV, if only one reservation is needed, the user is required to confirm whether to agree with the reservation, if multiple reservations are available, the user is required to select according to own will, for example, the wedding certificate is fetched at the place where the two users live, and the user is required to select.
In one possible embodiment, the reservation information further includes information such as a time for which the transaction is predicted and the number of reservations made during the time period.
The following describes in detail with reference to fig. 4, based on the same inventive concept, an embodiment of the present invention further provides a first embodiment of an IPTV-based government counseling system. Because the principle of the problem solved by the system is similar to the aforementioned method for consulting government affairs based on the IPTV end, the implementation of the system can be referred to the implementation of the aforementioned method, and repeated details are not repeated. The embodiment is mainly applied to the situation of government affair consultation, and corresponding government affair service is provided for the user through the result and the appeal of the government affair consultation, so that the user can transact government affair business quickly, efficiently and accurately.
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 user terminal 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 a television set 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 government affair consultation results and providing related government affair services for the user;
the user terminal 910 is used for playing and/or displaying the result of the government consultation and handling the government business;
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 user side;
specifically, a user can utilize the home intelligent interaction device 700 to perform government affair consultation, the intelligent interaction device 700 collects voice information, texts, pictures, interaction pages and chat records of the user and converts the voice information, the texts, the pictures, the interaction pages and the chat records 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 government affair consultation by using the received text information, and the result of the government affair consultation is sent to a television by using the IPTV set-top box 900 to play and/or display the result of the government affair consultation for the user.
The cloud server 800 further provides corresponding government affair services to the user according to the result of the government affair consultation, the contents of the multi-turn man-machine conversation and the user requirements, and performs the government affair handling and/or the reservation of the government affair services for the user through the user side connected with the IPTV set top box 900, thereby realizing the fast, efficient and accurate government affair handling for the user.
In one possible implementation, the cloud server 800 includes: the system comprises 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 used for determining a government affair category domain based on a deeply learned 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 government affair characteristic variables for each man-machine conversation; the inference decision unit 860 is used for generating a customized government affair consultation result based on the inference decision strategy model according to the government affair characteristic variables.
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.
In a possible implementation mode, the user side comprises a television, a mobile phone, a projector and a smart sound box, and is used for displaying and/or playing human-computer interaction information, handling government affair services and reserving government affair services.
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.