Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide information acquisition equipment and an information acquisition method based on big data service.
In order to achieve the above purpose, the present invention provides the following technical solutions:
an information acquisition device based on big data service includes.
The data acquisition module comprises a first data acquisition unit and a second data acquisition unit.
The first data acquisition unit is used for acquiring basic information when an exchange person carries out language exchange with the robot; the basic information comprises language information, tone quality information and language emotion information.
The second data acquisition unit is used for acquiring other language information of the environment where the robot is in language communication; the language information comprises language tone quality information, language tone quality type information and language volume information.
The classification module is used for classifying and classifying voice quality information into effective communication languages after processing and analyzing the voice quality information when the communication person is in language communication with the robot; the voice quality information of other languages in the environment where the robot is in language communication is classified as invalid communication languages.
And the tracking acquisition module is used for tracking and acquiring the voice quality information of the same language as the effective communication language to acquire the language content of the communication person in real time, and the robot provides relevant services for the communication person according to the language content of the communication person.
The pushing module is used for processing and analyzing language emotion information when the communication person is in language communication with the robot to obtain a state value, processing and analyzing other language tone quality type information and language volume information of the environment where the communication person is in the language communication with the robot to obtain an environment value, and processing and analyzing the state value and the environment value in a combined mode to obtain a pushing value, wherein the robot promotes and selects services to the communication person according to the pushing value.
Preferably, the robot provides relevant services for the communication person according to the language content of the communication person, specifically:
identifying language information when the communication person is carrying out language communication with the robot.
The robot selects the same language according to the language content of the communication person to provide relevant services for the communication person.
When the communication person inquires the questions through the voice, the robot receives the voice consultation questions of the communication person, the robot matches answers related to the consultation questions of the communication person in the database, the communication person inquires the questions of the robot in different languages, if the language of the communication person asking the robot is Chinese, the robot selects to answer the questions of the communication person in Chinese, and if the language of the communication person asking the robot is English, the robot selects to answer the questions of the communication person in English.
Preferably, the state value ZTZ is obtained by taking and marking the language emotion information when the communication partner is in language communication with the robot.
It should be noted that, by analyzing the language of the ac user, the mood state of the ac user can be determined, for example, when the ac user speaks the robot and the words such as "you good", "you good" and "please ask" are included in the sentences, the mood state of the ac user is better; if the words such as "aiy" are included in the sentence when the communication partner speaks into the robot, it is indicated that the mood state of the communication partner is not good.
If the words such as "hello", "hello" and "please" are included in the sentence when the ac talker speaks into the robot, the value of the state value ZTZ is 1; if the word such as "aide" is included in the sentence when the ac speaks into the robot, the state value ZTZ is 5.
The state value ZTZ is compared to a preset state threshold P.
If the state value ZTZ is less than or equal to the preset state threshold value P, the state of the communication person when the communication person is communicating with the robot in language is better.
If the status value ZTZ > the preset status threshold value P, it indicates that the status of the communication partner is worse when the communication partner is communicating with the robot.
Here, the preset state threshold P is set to 3, and when the state value ZTZ is 5, the state is worse when the ac is performing language communication with the robot because the state value ZTZ is greater than the preset state threshold P; when the state value ZTZ is 1, the state value ZTZ is smaller than the preset state threshold value P, which indicates that the state of the communication person in language communication with the robot is better.
Preferably, the other language sound quality type information of the environment where the robot is in the language communication is marked and obtained, and the other language sound quality type value YYZ is obtained.
It should be noted that, because the voice characteristics of each person speaking are different when the communication person communicates with the robot, if two persons speak around the communication person, the voice types of other languages in the environment where the communication person communicates with the robot are two, namely, the value YYZ of the voice type of other languages is 2; if five people speak around the communication person, five kinds of other language tone quality kinds exist in the environment where the robot is in the process of carrying out language communication, namely, the value YYYZ of the other language tone quality kinds is 5 at the moment.
Other volume information of the environment in which the robot is communicating with the language is marked and obtained as other language volume values YLZ.
Preferably, the environmental value HJZ is calculated by the processing function hjz=a1×yyz+a2× YLZ; wherein a1 and a2 are influence factors and are greater than zero.
Preferably, the environmental value HJZ is compared with a preset environmental threshold Q.
If the environmental value HJZ is smaller than or equal to the preset environmental threshold value Q, the environmental noise is small when the robot is in language communication.
If the environment value HJZ is larger than the preset environment threshold value Q, the environment noise is large when the robot is in language communication.
Preferably by a joint functionCalculating to obtain a push value TGZ; wherein b1 and b2 are influencing factors and are greater than zero.
Preferably, the push value TGZ is compared with a preset push threshold a.
If the push value TGZ is less than or equal to a preset push threshold A, the robot is not required to popularize and select service to the communication person.
If the push value TGZ is greater than the preset push threshold A, the robot is required to promote the selection service to the communication person.
An information acquisition method based on big data service comprises the following steps.
Collecting basic information when an exchange person carries out language exchange with a robot; the basic information comprises language information, tone quality information and language emotion information.
Collecting other language information of the environment where the robot is in language communication; the language information comprises language tone quality information, language tone quality type information and language volume information.
Processing and analyzing tone quality information when the communication person is in language communication with the robot, and classifying the tone quality information into effective communication languages; the voice quality information of other languages in the environment where the robot is in language communication is classified as invalid communication languages.
The voice quality information of the same language as the effective communication language is tracked and collected to acquire the language content of the communication person in real time, and the robot provides relevant services for the communication person according to the language content of the communication person.
The method comprises the steps of processing and analyzing language emotion information when an exchange person carries out language exchange with a robot to obtain a state value, processing and analyzing other language tone quality type information and language volume information of an environment where the exchange person carries out language exchange with the robot to obtain an environment value, carrying out joint processing and analysis on the state value and the environment value to obtain a push value, and promoting and selecting service to the exchange person by the robot according to the push value.
Compared with the prior art, the invention has the following beneficial effects:
because the environment around the communication person possibly has other noise when the communication person speaks into the robot, the voice quality information of the communication person when the communication person carries out voice communication with the robot is identified, and the voice content of the communication person is identified after the voice quality of the communication person is tracked, so that the robot provides relevant services according to the voice content of the communication person.
Meanwhile, the pushing value is obtained by processing and analyzing the language emotion information when the communication person is in language communication with the robot, the other language tone quality type information and the language volume information of the environment where the communication person is in language communication with the robot, namely, the mood state of the communication person can be judged by analyzing the language emotion information when the communication person is in language communication with the robot, and meanwhile, whether the environment where the communication person is complicated or not is judged according to the other language tone quality type information and the language volume information of the environment where the communication person is in language communication with the robot, so that the communication person can be promoted and selected for service according to actual conditions.
Detailed Description
Reference is made to figures 1 to 3.
The embodiment provides information acquisition equipment and an information acquisition method based on big data service.
An information acquisition device based on big data service includes.
The data acquisition module comprises a first data acquisition unit and a second data acquisition unit.
The first data acquisition unit is used for acquiring basic information when an exchange person carries out language exchange with the robot; the basic information comprises language information, tone quality information and language emotion information.
The second data acquisition unit is used for acquiring other language information of the environment where the robot is in the process of carrying out language communication; the language information comprises language tone quality information, language tone quality type information and language volume information.
The classification module is used for classifying and classifying voice quality information into effective communication languages after processing and analyzing voice quality information when the communication person is in language communication with the robot; the voice quality information of other languages in the environment where the robot is in language communication is classified as invalid communication languages.
And the tracking acquisition module is used for tracking and acquiring the voice quality information which is the same as the effective communication language to acquire the language content of the communication person in real time, and the robot provides relevant services for the communication person according to the language content of the communication person.
The pushing module processes and analyzes language emotion information when the communication person carries out language communication with the robot to obtain a state value, processes and analyzes other language tone quality type information and language volume information of the environment where the communication person carries out language communication with the robot to obtain an environment value, processes and analyzes the state value and the environment value to obtain a pushing value, and the robot promotes and selects service to the communication person according to the pushing value.
Because the environment around the communication person possibly has other noise when the communication person speaks into the robot, the voice quality information of the communication person when the communication person carries out voice communication with the robot is identified, and the voice content of the communication person is identified after the voice quality of the communication person is tracked, so that the robot provides relevant services according to the voice content of the communication person.
Meanwhile, the pushing value is obtained by processing and analyzing the language emotion information when the communication person is in language communication with the robot, the other language tone quality type information and the language volume information of the environment where the communication person is in language communication with the robot, namely, the mood state of the communication person can be judged by analyzing the language emotion information when the communication person is in language communication with the robot, and meanwhile, whether the environment where the communication person is complicated or not is judged according to the other language tone quality type information and the language volume information of the environment where the communication person is in language communication with the robot, so that the communication person can be promoted and selected for service according to actual conditions.
The robot provides relevant services for the communication person according to the language content of the communication person, and specifically comprises the following steps:
identifying language information when the communication person is carrying out language communication with the robot.
The robot selects the same language according to the language content of the communication person to provide relevant services for the communication person.
When the communication person inquires the questions through the voice, the robot receives the voice consultation questions of the communication person, the robot matches answers related to the consultation questions of the communication person in the database, the communication person inquires the questions of the robot in different languages, if the language of the communication person asking the robot is Chinese, the robot selects to answer the questions of the communication person in Chinese, and if the language of the communication person asking the robot is English, the robot selects to answer the questions of the communication person in English.
The state value ZTZ is obtained by taking and marking the language emotion information when the communication partner is in language communication with the robot.
It should be noted that, by analyzing the language of the ac user, the mood state of the ac user can be determined, for example, when the ac user speaks the robot and the words such as "you good", "you good" and "please ask" are included in the sentences, the mood state of the ac user is better; if the words such as "aiy" are included in the sentence when the communication partner speaks into the robot, it is indicated that the mood state of the communication partner is not good.
If the words such as "hello", "hello" and "please" are included in the sentence when the ac talker speaks into the robot, the value of the state value ZTZ is 1; if the word such as "aide" is included in the sentence when the ac speaks into the robot, the state value ZTZ is 5.
The state value ZTZ is compared to a preset state threshold P.
If the state value ZTZ is less than or equal to the preset state threshold value P, the state of the communication person when the communication person is communicating with the robot in language is better.
If the status value ZTZ > the preset status threshold value P, it indicates that the status of the communication partner is worse when the communication partner is communicating with the robot.
Here, the preset state threshold P is set to 3, and when the state value ZTZ is 5, the state is worse when the ac is performing language communication with the robot because the state value ZTZ is greater than the preset state threshold P; when the state value ZTZ is 1, the state value ZTZ is smaller than the preset state threshold value P, which indicates that the state of the communication person in language communication with the robot is better.
And marking and obtaining other language tone quality type information of the environment where the robot is in the language communication with the robot, and obtaining other language tone quality type values YYYZ.
It should be noted that, because the voice characteristics of each person speaking are different when the communication person communicates with the robot, if two persons speak around the communication person, the voice types of other languages in the environment where the communication person communicates with the robot are two, namely, the value YYZ of the voice type of other languages is 2; if five people speak around the communication person, five kinds of other language tone quality kinds exist in the environment where the robot is in the process of carrying out language communication, namely, the value YYYZ of the other language tone quality kinds is 5 at the moment.
Other volume information of the environment in which the robot is communicating with the language is marked and obtained as other language volume values YLZ.
It should be noted that if the db of the other volume of the environment in which the robot is communicating with the language is 50 db, the value YLZ of the other volume of the language is 50, and if the db of the other volume of the environment in which the robot is communicating with the language is 65 db, the value YLZ of the other volume of the language is 65.
Calculating to obtain an environment value HJZ through a processing function HJZ=a1×YYZ+a2× YLZ; wherein a1 and a2 are influence factors and are greater than zero.
It should be noted that, here, the values of a1 and a2 are set to 1, and when the value of the other language sound quality class YYZ is 2 and the value of the other language sound quality value YLZ is 50, the value of the environment value HJZ is calculated by the processing function hjz=a1×yyz+a2× YLZ to be 52; when the other language sound quality type value YYZ is 5 and the other language sound quality value YLZ is 65, the environment value HJZ is 70 by the processing function hjz=a1×yyz+a2× YLZ.
And comparing the environment value HJZ with a preset environment threshold value Q.
If the environmental value HJZ is smaller than or equal to the preset environmental threshold value Q, the environmental noise is small when the robot is in language communication.
If the environment value HJZ is larger than the preset environment threshold value Q, the environment noise is large when the robot is in language communication.
Setting the preset environment threshold value Q to 60, and under the condition that the environment value HJZ is 52, indicating that the environment noise is small when the robot is in language communication because the environment value HJZ is smaller than the preset environment threshold value Q; under the condition that the environmental value HJZ is 70, the environmental value HJZ is larger than the preset environmental threshold value Q, so that the environmental noise is large when the robot is in language communication.
By joint functionCalculating to obtain a push value TGZ; wherein b1 and b2 are influencing factors and are greater than zero.
Note that here, the value of b1 is set to 1, the value of b2 is set to 100, and when the state value ZTZ is 1 and the environment value HJZ is 50, the value is set to 50 by the joint functionCalculating to obtain a push value TGZ of 3; in the case that the state value ZTZ is 5 and the environment value HJZ is 50, the function is combinedThe calculated push value TGZ is 6.
And comparing the push value TGZ with a preset push threshold A.
If the push value TGZ is less than or equal to a preset push threshold A, the robot is not required to popularize and select service to the communication person.
If the push value TGZ is greater than the preset push threshold A, the robot is required to promote the selection service to the communication person.
It should be noted that, here, the preset push threshold value a is set to 4, and in the case that the push value TGZ is 3, since the push value TGZ is less than the preset push threshold value a, the robot is not required to promote the selection service to the ac, which indicates that the mood state of the ac is better and the environment is more intense, so that the robot is not required to provide the selection service of listening to music and watching movies to the ac; in the case where the push value TGZ is 6, since the push value TGZ is greater than the preset push threshold value a, the robot is required to promote the selection service to the ac, that is, the mood state of the ac is poor and the environment is relatively quiet, so that the robot is required to provide the selection service of listening to music and watching movies to the ac.
Example two
The following technical features are added on the basis of the first embodiment:
an information acquisition method based on big data service comprises the following steps.
Collecting basic information when an exchange person carries out language exchange with a robot; the basic information comprises language information, tone quality information and language emotion information.
Collecting other language information of the environment where the robot is in language communication; the language information comprises language tone quality information, language tone quality type information and language volume information.
Processing and analyzing tone quality information when the communication person is in language communication with the robot, and classifying the tone quality information into effective communication languages; the voice quality information of other languages in the environment where the robot is in language communication is classified as invalid communication languages.
The voice quality information of the same language as the effective communication language is tracked and collected to acquire the language content of the communication person in real time, and the robot provides relevant services for the communication person according to the language content of the communication person.
The method comprises the steps of processing and analyzing language emotion information when an exchange person carries out language exchange with a robot to obtain a state value, processing and analyzing other language tone quality type information and language volume information of an environment where the exchange person carries out language exchange with the robot to obtain an environment value, carrying out joint processing and analysis on the state value and the environment value to obtain a push value, and promoting and selecting service to the exchange person by the robot according to the push value.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above examples, and all technical solutions belonging to the concept of the present invention belong to the protection scope of the present invention. It should be noted that modifications and adaptations to the present invention may occur to one skilled in the art without departing from the principles of the present invention and are intended to be within the scope of the present invention.