CN110019748B - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN110019748B
CN110019748B CN201811130954.9A CN201811130954A CN110019748B CN 110019748 B CN110019748 B CN 110019748B CN 201811130954 A CN201811130954 A CN 201811130954A CN 110019748 B CN110019748 B CN 110019748B
Authority
CN
China
Prior art keywords
user
information
input information
style
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811130954.9A
Other languages
Chinese (zh)
Other versions
CN110019748A (en
Inventor
刘立娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811130954.9A priority Critical patent/CN110019748B/en
Publication of CN110019748A publication Critical patent/CN110019748A/en
Application granted granted Critical
Publication of CN110019748B publication Critical patent/CN110019748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Abstract

The invention discloses a data processing method and electronic equipment, comprising the following steps: receiving input information of a user, determining an adaptive style at least according to the input information of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the input information of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.

Description

Data processing method and electronic equipment
Technical Field
The present invention relates to the field of data, and in particular, to a data processing method and an electronic device.
Background
At present, when the intelligent device interacts with a user, the content input by the intelligent device is the preset common content, such as: when the user interacts with the intelligent customer service system, the intelligent customer service system replies according to the input of the user, for example: the user inquires the intelligent customer service system: when the goods are delivered, the intelligent customer service system can reply: and shipping within 48 hours. This makes the interactive process lack of interest and reduces the user experience.
Disclosure of Invention
In view of this, the present invention provides a data processing method and an electronic device, so as to solve the problems that in the prior art, the interaction between a user and an intelligent device lacks interest, and the user experience is reduced, and the specific scheme is as follows:
a method of data processing, comprising:
receiving input information of a user, wherein the input information comprises: voice input information or text input information;
determining an adapted style at least according to the input information of the user;
and outputting output information in the determined adaptive style, and using the output information as a response to the input information.
Further, the determining an adapted style at least according to the input information of the user includes:
determining a style adapted to the input information according to at least one or more of the following elements in the input information of the user:
a keyword of the input information;
the tone of the input information;
and tone of the input information.
A method of data processing, comprising:
receiving input information of a user, wherein the input information comprises: voice input information or text input information;
determining an adaptive style at least according to the historical behavior record of the user;
and outputting output information in the determined adaptive style, and using the output information as a response to the input information.
Further, the historical behavior record comprises one or more of the following combinations:
content viewed by the user;
content searched by the user;
the location the user has gone;
the operation completed by the user.
Further, the determining an adapted style according to the viewed content includes:
and determining the adaptive style according to the expression style of the viewed content or the expression style of the character in the content.
An electronic device, comprising: a processor and an output unit, wherein:
the processor is used for receiving input information of a user, wherein the input information comprises: determining an adaptive style at least according to the input information of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information;
the output unit is used for outputting the output information.
Further, the processor determines an adaptive style based at least on the input information of the user, including:
the processor determines a style adapted to the input information based on at least one or more of the following elements in the user input information:
a keyword of the input information;
the tone of the input information;
and tone of the input information.
An electronic device, comprising: a processor and a memory, wherein:
the memory is used for storing historical behavior records of users;
the processor is used for receiving input information of a user, wherein the input information comprises: determining an adaptive style according to at least historical behavior records of a user, outputting output information in the determined adaptive style, and using the output information as a response to the input information.
Further, the memory stores historical behavior records including combinations of one or more of the following:
content viewed by the user;
content searched by the user;
the location the user has gone;
the operation completed by the user.
Further, the processor determines an adapted style according to the viewed content, including:
the processor determines the adapted style according to the expression style of the viewed content or the expression style of the character in the content.
As can be seen from the foregoing technical solutions, the data processing method and the electronic device disclosed in the present application include: receiving input information of a user, determining an adaptive style at least according to the input information of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the input information of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a data processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
The invention discloses a data processing method, the flow chart of which is shown in figure 1, comprising the following steps:
step S11, receiving input information of a user, the input information including: voice input information or text input information;
the input information may be voice input information input by a user or text input information.
The input information may include: user requirements such as: the input information may further include contents that the user wants to know or contents that the user wants to finish with the other party: the user's name to the other party may further include: and (4) Chinese language word.
Now, the following examples are given: the content that the user wants to know can be: what the weather is, what the temperature is; the content that the user wants to complete by the other party can be: please play a song; the user's name to the other party can be: siri, or, lovely pyridazine; the language word can be: wo, or good and bad, etc.
Step S12, determining an adaptive style at least according to the input information of the user;
wherein, the style of adaptation can be: the style corresponding to the language habit or the character habit of the user may specifically be: the same or opposite style as the user's language or text habits; specifically, the style may specifically be: the tone of the speaking cavity, the content of the speaking, the content of the text or the like.
An adaptation style may be determined according to the input information of the user, wherein the adaptation style may be a style adapted to the input information or a style adapted to the output information.
Specifically, when the style of the adaptation is the style of the adaptation to the input information, the adaptation can be determined directly according to the voice or text information input by the user; when the style of the adaptation is a style adapted to the output information, the style of the input information of the user may be determined according to the voice or text information input by the user, and then the style of the output information may be determined according to the style of the input information, or: the language environment input by the user is directly determined according to the voice or text information input by the user, so that the language environment of the output information is determined according to the language environment input by the user, and then the style of the output information is determined according to the language environment of the output information.
The style of adaptation of the output information may be the same as the style of adaptation of the input information of the user, or may be opposite to the style of adaptation of the input information of the user.
For example: the information input by the user is: the user expresses his/her mind by applying the voice or characters of the passenger, then the style adapted to the input information of the user is the passenger, if the adapted style determined according to the input information of the user is the style adapted to the input information, then the style adapted to the input information can be directly determined to be the passenger; if the matching style determined according to the input information of the user is the style matched with the output information, the corresponding style corresponding to the output information can be passenger air;
for another example: the information input by the user is: if the adaptive style determined according to the input information of the user is the style adaptive to the input information, the style adaptive to the input information can be directly determined to be the inexact style; if the style of adaptation determined according to the input information of the user is a style of adaptation to the output information, then correspondingly, the style corresponding to the output information may be the same as the style of adaptation to the input information, which is not a fine idea, but the style of adaptation to the output information is preferably: the style corresponding to the style adapted to the input information is a style of encouragement or excitement;
for another example: the name of the opposite party in the information input by the user is as follows: the big pig hoof is a network popular language, and accordingly, the network popular language may also be included in the output information, so that the output information is adapted to the style of the input information, such as: "Xiaoxianlu" or "Miss" and the like.
Step S13, outputting an output message with the determined adaptive style, and using the output message as a response to the input message.
When the adaptive style determined according to the input information of the user is the adaptive style of the output information, directly outputting the output information in the adaptive style; when the style determined according to the input information of the user is the style of the input information, the output information is output according to the style of the input information after the style of the output information is determined according to the style of the input information.
The output information, in response to the input information, may be: informing the user of what he wants to know, such as: today, the weather is clear, 15-24 degrees; the method can also comprise the following steps: directly completing the content which the user wants to complete, such as: the song is played.
Further, when the input information of the user is: the content that the user wants to complete by the other party, such as: when playing a song or other type of content, the style of the output information may be determined according to the style of the input information from the user, such as: determining the current mood of the user according to the tone or mood of the user, and outputting the song matched with the mood, such as: the current mood is low, then the output song can be an encouraged song; the current mood is more happy, and the output song may be a fast song.
When the input information of the user is the voice input information, the output information may be audio output information, or may be: the text output information may be: other forms of output information, such as: pictures, graphical interfaces, videos, and the like; further, the graphical interface may include a variety of styles, such as: selecting graphical interfaces with different styles according to different determined adaptive styles, wherein the graphical interfaces are warm, cool, concise, bright and the like; in addition, the corresponding output information may also be output in a menu form, where the menu form may include multiple forms, such as: command type menu or other forms, and selecting different types of menu types according to different determined adaptive styles.
For example: the input information is cool voice input information, such as: today, the output information is a light voice output information, such as: ouba, today, is sunny and comfortable in temperature;
for another example: the input information is voice input information, such as: how the style 'lattice' is written, the output information is text output information, such as: the 'lattice' can output text output information with different font styles according to the styles of different voice input information;
for another example: the input information is tired voice input information, such as: when children are thought, the output information is picture output information, such as: photos of children laughing at ease;
for another example: the input information is tedious voice input information, such as: think of mom, the output information is a warm graphical interface, such as: whether to connect a video call with the mother;
for another example: the input information is voice input information without fine mining, such as: playing a movie bar, and outputting the information as video, such as: a funny movie.
When the input information of the user is text input information, the output information may be audio output information, or may be: the text output information may be: other forms of output information, such as: pictures, graphical interfaces, videos, etc.
For example: the input information of the user is text input information, such as: how do the weather today? The output information is audio output information, such as: when the voice outputs 'big wind exists today and the exit is reduced as much as possible', the voice frequency of the wind sound of 'call' is output;
for another example: the input information of the user is text input information, such as: help me to find a book in the aspect of astronomy, the output information is text output information, such as: contents of "time history".
The data processing method disclosed by the embodiment comprises the following steps: receiving input information of a user, determining an adaptive style at least according to the input information of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the input information of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
The present embodiment discloses a data processing method, a flowchart of which is shown in fig. 2, and includes:
step S21, receiving input information of a user, the input information including: voice input information or text input information;
step S22, determining a style adapted to the input information according to at least one or more of the following elements in the input information of the user: inputting key words of information, tone of the information and tone of the information;
the input information at least comprises: the key words, tone and other elements can determine the style adapted to the input information according to one or more elements in the input information.
When the style adaptive to the input information is determined according to the keywords in the input information, the input information consists of at least one vocabulary, and at least one vocabulary capable of indicating the style of the input information is selected as the keywords to determine the style of the input information.
For example: the user inputs ' overtaking me to find the contact telephone of a certain company ' through voice or characters ', the user can be clear of the current urgency through the key word ' overtaking ', then when the output information is voice information, the voice output information can be responded at a faster speed, so that the time for the user to obtain the output information is saved, when the output information is text information, the user can respond through a concise text, and if the output information is the text information, the method comprises the following steps: only the contact telephone is output, and other text information is not included, so that the time for reading the output information by the user is saved.
When determining the style adapted to the input information according to the mood of the input information, the input information may be: the voice input information may be text input information. Specifically, when the input information is voice input information, the tone of the input information can be determined through the sound, the speech speed, the tone words and the like of the voice input information; when the input information is text input information, the tone of the input information can be determined through the part of speech of the key words or the tone words in the text input information.
For example: when the voice input information is 'how a certain company walks' with a faster speech speed, the user can be determined to be in urgency at present according to the speech speed in the voice input information, so that when the output information is the voice information, the voice output information can be responded with the faster speech speed so as to save the time for the user to acquire the output information, and when the output information is the text information, the user can respond through a concise text, such as: only the contact telephone is output, and other text information is not included, so that the time for reading the output information by the user is saved;
for another example: when the voice input information is 'how to walk in a certain hospital' which is spoken by shivering voice, the current anxiety of the user can be determined according to the voice of the voice input information, and at the moment, the output information can be responded by adopting a stable style;
for another example: when the voice input information or the text input information tells me how to look good and not good at the weather today, the lover speaking style adopted by the input information of the user can be determined according to the tone word 'good and not good at' in the voice input information, and then the lover tone word, such as 'how to click', can be added in the output information;
for another example: when the text input information is "do it completely", the assistant verb "complete" can be used to make sure that the input information of the user is a firm mood, and thus, the corresponding output information can be output in the firm mood as well.
Further, when the input information is text input information, the style of the input information can be determined according to punctuation marks, such as: ellipses indicate no words, multiple exclamation marks indicate anger, question marks in the form of exclamation marks indicate challenges, etc.
When determining the style adapted to the input information according to the intonation of the input information, the input information is mainly voice input information, wherein the intonation may include: exciting, sinking and stabilizing, lively, without precise picking, encouraging and other tones.
For example: when the tone of the input information is exciting, the tone or vocabulary of the corresponding output information can adopt a stable style or an exciting style; for another example: when the intonation of the input information is lively, the corresponding intonation or vocabulary of the output information can adopt a lively style; for another example: when the tone of the input information is not adopted precisely, the tone or vocabulary of the corresponding output information can adopt the encouraging style.
When the style adapted to the input information is determined by at least two of at least three elements of the keyword of the input information, the tone of the input information and the tone of the input information, the collocation at least can comprise: determining a style matched with the input information according to the key words and the tone of the input information; determining a style matched with the input information through the key words of the input information and the tone of the input information; determining the style adapted to the input information according to the tone of the input information and the tone of the input information; and determining the style of the input information adaptation according to the key words of the input information, the tone of the input information and the tone of the input information.
For example: the voice input information with calm tone is 'weather', the content of the voice input information is concise, the tone is calm, and then the response is carried out with the same concise and calm output information.
Step S23, outputting an output message with the determined adaptive style, and using the output message as a response to the input message.
The data processing method disclosed by the embodiment comprises the following steps: receiving input information of a user, determining an adaptive style at least according to the input information of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the input information of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
The present embodiment discloses a data processing method, a flowchart of which is shown in fig. 3, and includes:
step S31, receiving input information of a user, the input information including: voice input information or text input information;
the input information may be voice input information input by a user or text input information.
The input information may include: user requirements such as: the input information may further include contents that the user wants to know or contents that the user wants to finish with the other party: the user's name to the other party may further include: and (4) Chinese language word.
Now, the following examples are given: the content that the user wants to know can be: what the weather is, what the temperature is; the content that the user wants to complete by the other party can be: please play a song; the user's name to the other party can be: siri, or, lovely pyridazine; the language word can be: wo, or good and bad, etc.
Step S32, determining an adaptive style at least according to the historical behavior record of the user;
wherein, the style of adaptation can be: the style corresponding to the historical behavior record of the user may specifically be: the same or opposite style as the user's historical behavior record; specifically, the style may specifically be: the tone of the speaking cavity, the content of the speaking, the content of the text or the like.
An adapted style may be determined based on the user's historical behavior record, wherein the adapted style may be a style adapted to the output information.
Specifically, when the input information is received, the style of the output information is determined according to the historical behavior record, so that the output is performed in the determined style, the response of the input of the user is realized according to the historical behavior record of the user, the interestingness in the interaction process is increased, and the user experience is improved. In the process, no matter what the input information of the user is, the style of the output information is not based on the style of the input information, but only based on the historical behavior record of the user.
Wherein, the historical behavior record of the user may include: content viewed by the user; the content searched by the user, the place the user has gone, the operation completed by the user, etc.; further, the historical behavior record of the user may specifically be: content viewed by a user over a period of time; content searched by a user over a period of time; a place that the user has gone within a period of time; operations completed by the user over a period of time, and the like. The specific time period or the specific duration of the period of time may be based on the setting of the user, and is not specifically limited herein.
Specifically, when the adapted genre is determined according to the content viewed by the user, the adapted genre may be determined according to the type and genre of the content viewed by the user, or the preference of the user may be determined according to the content viewed by the user, thereby determining the adapted genre.
The content watched by the user may specifically be: audiovisual material, such as: video and audio, wherein the video may specifically be: the audio may specifically be: music, commentary, voiced novel or loud audio clips, etc.
For example: in a period of time, the user watches more audiovisual materials as art movies, so that the user can determine the adapted style as art, and respond to the input information of the user with the style of the art, such as: the input information is "how the weather is today", and the output information may be "out-of-curtain rain gurgle, spring time" to indicate that it is currently raining.
The content viewed by the user may be specifically: text, such as: novel and short texts, and also can be chat records and the like.
For example: if the user watches a traversing novel for a period of time, the style of adaptation can be determined to be ancient or language habits corresponding to the traversing era, such as: the input information is "what is now, and the output information may be" unitary time three moments "to indicate that the current time is 45 minutes at 5 pm.
The content viewed by the user may be specifically: the book can be specifically a paper book, such as: a pure character paper book or a drawing book and the like.
For example: if the user watches the cartoon book as the main part in a period of time, the user can respond to the user in the form of the cartoon after receiving the input information, namely the output information is output in the form of the cartoon.
Further, the content viewed by the user may also be specifically: web pages, photographs, etc., and the style of the output information may be determined particularly according to the type or style of the web page or photograph.
For example: if the user watches the pictures with the fun mainly in a period of time, the user can respond to the input information with the fun characters or pictures or voice, namely the information is output in the fun style.
Further, the content viewed by the user may be: the content viewed by the user is determined according to the place the user has visited, or the searched content. Such as: if the user goes to the Disneyland, then it can be determined that the user watches the content in the Disneyland; such as: the user searches for relevant content that has passed through the disco park, then it can be determined that the user watches the relevant content that has passed through the disco park. Then, at this time, after receiving the input information of the user, the input information may be responded in a mique style.
When the adapted genre is determined according to the contents searched by the user, the adapted genre may be determined according to the type of the contents searched by the user, the genre, or the preference of the user may be determined according to the contents searched by the user, thereby determining the adapted genre.
The content searched may specifically be: searching by a search engine, such as: baidu search, Google search, thunder search, and the like, including not only search in web pages but also search in maps and search for audio-visual materials; the content of the search may be a search by shopping APP such as naja, kyoto, and the like.
For example: the user searches for the latest newly-shown movie information by hundreds of degrees, and then the user can be considered to have certain knowledge about the movie information, and further the hero characteristics or the actor characteristics in the movie can be output as the style of the output information.
When the adapted style is determined according to the place the user has gone, the adapted style may be determined according to the type or feature of the place the user has gone, or the preference of the user may be determined according to the type of the place the user has gone, thereby determining the adapted style.
The places that the user has visited may include: get a car location, photo location, takeaway location, can also include: the position information published by the social network site, or the position of the user is determined according to the information published by the user on the social network site, and the method further comprises the following steps: and the information about the characteristics or the geomantic omen and personal conditions of a certain place, which is published by the user on the social platform, determines that the user goes to the place, and the like.
For example: the user publishes travel strategies about Hawaii on a certain social platform, and then the user can be considered to have gone to Hawaii, and at the moment, the characteristics of Hawaii can be used as the style of output information, or the characteristics of sea can be used as the style of output information;
for another example: determining that the user has made a certain school order for takeaway in a certain city based on the user's takeaway location, the language style of the city, such as: in other words, the style of the output information may be the style of the output information such as the scholarship information and the school trainings of the school, for example: the input information of the user is ' how much weather is today ' and the output information can be ' rain is somewhat heavy, but the user should stay on.
When the adaptive style is determined according to the operation completed by the user, the adaptive style can be determined according to the characteristics of the operation completed by the user or the processing mode in the operation process, or the adaptive style can be determined by determining the preference of the user according to the type of the operation completed by the user.
The operation completed by the user may be: bought tickets, ordered takeoffs, purchased goods at the shopping APP, books viewed, games played, searched content, places visited, insist on completed sports, etc., may also be: chat records with a friend.
For example: if the user insists on running every morning, the user can be shown to pay more attention to health or fitness, and the user can pay more attention to the health condition when outputting information, such as: the input information of the user is 'how much weather is today', and the output information can be 'wind is bigger today and is not suitable for running';
for another example: users have more chats with a friend, and thus, the output information can be related to the friend appropriately, such as: the input information of the user is 'how much weather is like today', and the output information can be 'no weather is wrong, and can be cheer with small cheers'.
Of course, in this embodiment, the adaptive style may also be determined by a combination of not less than two historical behavior records, such as: the style is determined according to the content watched by the user and the searched content, or the style is determined according to the content watched by the user, the searched content and the place where the user has gone, which are not listed herein.
Step S33, outputting an output message with the determined adaptive style, and using the output message as a response to the input message.
The data processing method disclosed by the embodiment comprises the following steps: receiving input information of a user, determining an adaptive style at least according to historical behavior records of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the historical behavior record of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
The present embodiment discloses a data processing method, a flowchart of which is shown in fig. 4, and includes:
step S41, receiving input information of a user, the input information including: voice input information or text input information;
step S42, determining an adaptive style at least according to the expression style of the content watched by the user or the expression style of the role in the content;
the content viewed by the user may specifically be: audio-visual material, text, books, web pages, photographs, and the like.
Different contents have different expression styles, such as: the movie in the audio-visual material may be expressed in an exaggerated manner, in an ironic manner, in a funny manner, in a serious manner, or the like, and similarly, characters, books, web pages, photographs, and the like are associated with different expression styles.
For example: the strict expression mode mostly adopted by the movies watched by the user in a period of time can be used as the style of the output information in response to the input information of the user, such as: the input information of the user is ' how the weather is like today ', and the output information can be ' the weather is cloudy in sunny days, the highest temperature is 25 ℃, and the lowest temperature is 18 ℃.
In addition, different characters in different contents also have different expression styles, specifically, different characters in the same audio-visual material have different language characteristics or character characteristics, and characters in different audio-visual materials also have different language characteristics or character characteristics.
For example: in Tianlong eight departments, the segment reputation has different personality characteristics and language characteristics from that of Qiao mountain, and input information can be responded according to the language characteristics or personality characteristics of different roles.
Step S43, outputting an output message with the determined adaptive style, and using the output message as a response to the input message.
In the embodiments of the present application, it should be emphasized that any of the above embodiments can be combined with each other, and the embodiments combined with each other are not limited to the same independent claim, and can also be combined with each other even if they are combined with different independent claims, or can be combined with each other between two independent embodiments, and are not limited to the content described in one embodiment in the present specification.
For example: determining an adaptive style according to the input information of the user and the historical behavior record, specifically, the adaptive style may be: determining the adaptive style according to the keywords in the user input information and the content watched by the user, and further comprising the following steps: the style of adaptation is determined according to the tone of the user input information and the operation performed by the user, and the like, which are not listed herein.
Now, the following examples are given:
the input information of the user is 'the dead who you just want to be the dead of me', the output information can be 'the girl, and only you are best for the dead today in the world, and the dead can be the girl certainly'.
In the above example, the input information of the user is "children, why you just want to be dead of me", the keyword "children" is included in the input information, and a sentence of classical dialogs in the pair of the carving man can be made clear, the sentence is a conversation between the young dragon and the female, so to determine that the input information is from the carving man, the tv drama or martial arts novel of carving couple "needs to be included in the content watched by the user, and therefore, the content watched by the user and the keyword in the input information need to be combined to determine the matching style.
Specifically, the implementation manner may be: determining the role information of the user according to the input information of the user, determining the role information corresponding to the output information according to the keyword in the input information after determining the role information of the user, and outputting the language characteristic or the character characteristic of the role information of the output information as the style of the output information.
When determining the role information, the method may further include: the method comprises the steps of segmenting input information of a user according to a segmentation library, determining segmentation information, determining role information matched with the segmentation information of the user according to a preset segmentation model, and determining the role information matched with the segmentation information of the user as the role information of the user.
When determining the role information corresponding to the output information, the method may further include: obtaining a corpus, where the corpus is associated with historical behavior records of the user, and specifically, the corpus may be: can be directly or indirectly obtained from historical behavior records, such as: content viewed by the user, content searched for, etc.; and then, searching a role information pair corresponding to the input information of the user from the corpus, determining first role information matched with the input information of the user from the role information pair as the role information of the user, and determining second role information in the role information pair as the role information corresponding to the output information.
The data processing method disclosed by the embodiment comprises the following steps: receiving input information of a user, determining an adaptive style at least according to historical behavior records of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the historical behavior record of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
The embodiment discloses an electronic device, a schematic structural diagram of which is shown in fig. 5, and the electronic device includes:
a processor 51 and an output unit 52.
The processor 51 is configured to receive input information from a user, the input information including: the voice input information or the text input information at least determines an adaptive style according to the input information of the user, outputs output information in the determined adaptive style, and takes the output information as a response to the input information.
The output unit 52 is used for outputting the output information, wherein the output unit may be a display, a sound, or the like, and is not limited herein.
The input information may be voice input information input by a user or text input information.
The input information may include: user requirements such as: the input information may further include contents that the user wants to know or contents that the user wants to finish with the other party: the user's name to the other party may further include: and (4) Chinese language word.
Now, the following examples are given: the content that the user wants to know can be: what the weather is, what the temperature is; the content that the user wants to complete by the other party can be: please play a song; the user's name to the other party can be: siri, or, lovely pyridazine; the language word can be: wo, or good and bad, etc.
Wherein, the style of adaptation can be: the style corresponding to the language habit or the character habit of the user may specifically be: the same or opposite style as the user's language or text habits; specifically, the style may specifically be: the tone of the speaking cavity, the content of the speaking, the content of the text or the like.
An adaptation style may be determined according to the input information of the user, wherein the adaptation style may be a style adapted to the input information or a style adapted to the output information.
Specifically, when the style of the adaptation is the style of the adaptation to the input information, the adaptation can be determined directly according to the voice or text information input by the user; when the style of the adaptation is a style adapted to the output information, the style of the input information of the user may be determined according to the voice or text information input by the user, and then the style of the output information may be determined according to the style of the input information, or: the language environment input by the user is directly determined according to the voice or text information input by the user, so that the language environment of the output information is determined according to the language environment input by the user, and then the style of the output information is determined according to the language environment of the output information.
The style of adaptation of the output information may be the same as the style of adaptation of the input information of the user, or may be opposite to the style of adaptation of the input information of the user.
For example: the information input by the user is: the user expresses his/her mind by applying the voice or characters of the passenger, then the style adapted to the input information of the user is the passenger, if the adapted style determined according to the input information of the user is the style adapted to the input information, then the style adapted to the input information can be directly determined to be the passenger; if the matching style determined according to the input information of the user is the style matched with the output information, the corresponding style corresponding to the output information can be passenger air;
for another example: the information input by the user is: if the adaptive style determined according to the input information of the user is the style adaptive to the input information, the style adaptive to the input information can be directly determined to be the inexact style; if the style of adaptation determined according to the input information of the user is a style of adaptation to the output information, then correspondingly, the style corresponding to the output information may be the same as the style of adaptation to the input information, which is not a fine idea, but the style of adaptation to the output information is preferably: the style corresponding to the style adapted to the input information is a style of encouragement or excitement;
for another example: the name of the opposite party in the information input by the user is as follows: the big pig hoof is a network popular language, and accordingly, the network popular language may also be included in the output information, so that the output information is adapted to the style of the input information, such as: "Xiaoxianlu" or "Miss" and the like.
When the adaptive style determined according to the input information of the user is the adaptive style of the output information, directly outputting the output information in the adaptive style; when the style determined according to the input information of the user is the style of the input information, the output information is output according to the style of the input information after the style of the output information is determined according to the style of the input information.
The output information, in response to the input information, may be: informing the user of what he wants to know, such as: today, the weather is clear, 15-24 degrees; the method can also comprise the following steps: directly completing the content which the user wants to complete, such as: the song is played.
Further, when the input information of the user is: the content that the user wants to complete by the other party, such as: when playing a song or other type of content, the style of the output information may be determined according to the style of the input information from the user, such as: determining the current mood of the user according to the tone or mood of the user, and outputting the song matched with the mood, such as: the current mood is low, then the output song can be an encouraged song; the current mood is more happy, and the output song may be a fast song.
When the input information of the user is the voice input information, the output information may be audio output information, or may be: the text output information may be: other forms of output information, such as: pictures, graphical interfaces, videos, and the like; further, the graphical interface may include a variety of styles, such as: selecting graphical interfaces with different styles according to different determined adaptive styles, wherein the graphical interfaces are warm, cool, concise, bright and the like; in addition, the corresponding output information may also be output in a menu form, where the menu form may include multiple forms, such as: command type menu or other forms, and selecting different types of menu types according to different determined adaptive styles.
For example: the input information is cool voice input information, such as: today, the output information is a light voice output information, such as: ouba, today, is sunny and comfortable in temperature;
for another example: the input information is voice input information, such as: how the style 'lattice' is written, the output information is text output information, such as: the 'lattice' can output text output information with different font styles according to the styles of different voice input information;
for another example: the input information is tired voice input information, such as: when children are thought, the output information is picture output information, such as: photos of children laughing at ease;
for another example: the input information is tedious voice input information, such as: think of mom, the output information is a warm graphical interface, such as: whether to connect a video call with the mother;
for another example: the input information is voice input information without fine mining, such as: playing a movie bar, and outputting the information as video, such as: a funny movie.
When the input information of the user is text input information, the output information may be audio output information, or may be: the text output information may be: other forms of output information, such as: pictures, graphical interfaces, videos, etc.
For example: the input information of the user is text input information, such as: how do the weather today? The output information is audio output information, such as: when the voice outputs 'big wind exists today and the exit is reduced as much as possible', the voice frequency of the wind sound of 'call' is output;
for another example: the input information of the user is text input information, such as: help me to find a book in the aspect of astronomy, the output information is text output information, such as: contents of "time history".
The processor 51 determines an adapted style at least according to the input information of the user, including:
the processor determines a style adapted to the input information based on at least one or more of the following elements in the user input information: the key words of the input information, the tone of the input information and the tone of the input information.
The input information at least comprises: the key words, tone and other elements can determine the style adapted to the input information according to one or more elements in the input information.
When the style adaptive to the input information is determined according to the keywords in the input information, the input information consists of at least one vocabulary, and at least one vocabulary capable of indicating the style of the input information is selected as the keywords to determine the style of the input information.
For example: the user inputs ' overtaking me to find the contact telephone of a certain company ' through voice or characters ', the user can be clear of the current urgency through the key word ' overtaking ', then when the output information is voice information, the voice output information can be responded at a faster speed, so that the time for the user to obtain the output information is saved, when the output information is text information, the user can respond through a concise text, and if the output information is the text information, the method comprises the following steps: only the contact telephone is output, and other text information is not included, so that the time for reading the output information by the user is saved.
When determining the style adapted to the input information according to the mood of the input information, the input information may be: the voice input information may be text input information. Specifically, when the input information is voice input information, the tone of the input information can be determined through the sound, the speech speed, the tone words and the like of the voice input information; when the input information is text input information, the tone of the input information can be determined through the part of speech of the key words or the tone words in the text input information.
For example: when the voice input information is 'how a certain company walks' with a faster speech speed, the user can be determined to be in urgency at present according to the speech speed in the voice input information, so that when the output information is the voice information, the voice output information can be responded with the faster speech speed so as to save the time for the user to acquire the output information, and when the output information is the text information, the user can respond through a concise text, such as: only the contact telephone is output, and other text information is not included, so that the time for reading the output information by the user is saved;
for another example: when the voice input information is 'how to walk in a certain hospital' which is spoken by shivering voice, the current anxiety of the user can be determined according to the voice of the voice input information, and at the moment, the output information can be responded by adopting a stable style;
for another example: when the voice input information or the text input information tells me how to look good and not good at the weather today, the lover speaking style adopted by the input information of the user can be determined according to the tone word 'good and not good at' in the voice input information, and then the lover tone word, such as 'how to click', can be added in the output information;
for another example: when the text input information is "do it completely", the assistant verb "complete" can be used to make sure that the input information of the user is a firm mood, and thus, the corresponding output information can be output in the firm mood as well.
Further, when the input information is text input information, the style of the input information can be determined according to punctuation marks, such as: ellipses indicate no words, multiple exclamation marks indicate anger, question marks in the form of exclamation marks indicate challenges, etc.
When determining the style adapted to the input information according to the intonation of the input information, the input information is mainly voice input information, wherein the intonation may include: exciting, sinking and stabilizing, lively, without precise picking, encouraging and other tones.
For example: when the tone of the input information is exciting, the tone or vocabulary of the corresponding output information can adopt a stable style or an exciting style; for another example: when the intonation of the input information is lively, the corresponding intonation or vocabulary of the output information can adopt a lively style; for another example: when the tone of the input information is not adopted precisely, the tone or vocabulary of the corresponding output information can adopt the encouraging style.
When the style adapted to the input information is determined by at least two of at least three elements of the keyword of the input information, the tone of the input information and the tone of the input information, the collocation at least can comprise: determining a style matched with the input information according to the key words and the tone of the input information; determining a style matched with the input information through the key words of the input information and the tone of the input information; determining the style adapted to the input information according to the tone of the input information and the tone of the input information; and determining the style of the input information adaptation according to the key words of the input information, the tone of the input information and the tone of the input information.
For example: the voice input information with calm tone is 'weather', the content of the voice input information is concise, the tone is calm, and then the response is carried out with the same concise and calm output information.
The electronic device disclosed in the embodiment includes: the processor is used for receiving input information of a user, determining an adaptive style at least according to the input information of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the input information of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
The embodiment discloses an electronic device, a schematic structural diagram of which is shown in fig. 6, and the electronic device includes:
a processor 61 and a memory 62.
The memory 62 is used to store historical behavior records of the user.
The processor 61 is configured to receive input information from a user, the input information including: determining an adaptive style according to at least the historical behavior record of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information.
The input information may be voice input information input by a user or text input information.
The input information may include: user requirements such as: the input information may further include contents that the user wants to know or contents that the user wants to finish with the other party: the user's name to the other party may further include: and (4) Chinese language word.
Now, the following examples are given: the content that the user wants to know can be: what the weather is, what the temperature is; the content that the user wants to complete by the other party can be: please play a song; the user's name to the other party can be: siri, or, lovely pyridazine; the language word can be: wo, or good and bad, etc.
Wherein, the style of adaptation can be: the style corresponding to the historical behavior record of the user may specifically be: the same or opposite style as the user's historical behavior record; specifically, the style may specifically be: the tone of the speaking cavity, the content of the speaking, the content of the text or the like.
An adapted style may be determined based on the user's historical behavior record, wherein the adapted style may be a style adapted to the output information.
Specifically, when the input information is received, the style of the output information is determined according to the historical behavior record, so that the output is performed in the determined style, the response of the input of the user is realized according to the historical behavior record of the user, the interestingness in the interaction process is increased, and the user experience is improved. In the process, no matter what the input information of the user is, the style of the output information is not based on the style of the input information, but only based on the historical behavior record of the user.
Wherein, the historical behavior record of the user may include: content viewed by the user; the content searched by the user, the place the user has gone, the operation completed by the user, etc.; further, the historical behavior record of the user may specifically be: content viewed by a user over a period of time; content searched by a user over a period of time; a place that the user has gone within a period of time; operations completed by the user over a period of time, and the like. The specific time period or the specific duration of the period of time may be based on the setting of the user, and is not specifically limited herein.
Specifically, when the adapted genre is determined according to the content viewed by the user, the adapted genre may be determined according to the type and genre of the content viewed by the user, or the preference of the user may be determined according to the content viewed by the user, thereby determining the adapted genre.
The content watched by the user may specifically be: audiovisual material, such as: video and audio, wherein the video may specifically be: the audio may specifically be: music, commentary, voiced novel or loud audio clips, etc.
For example: in a period of time, the user watches more audiovisual materials as art movies, so that the user can determine the adapted style as art, and respond to the input information of the user with the style of the art, such as: the input information is "how the weather is today", and the output information may be "out-of-curtain rain gurgle, spring time" to indicate that it is currently raining.
The content viewed by the user may be specifically: text, such as: novel and short texts, and also can be chat records and the like.
For example: if the user watches a traversing novel for a period of time, the style of adaptation can be determined to be ancient or language habits corresponding to the traversing era, such as: the input information is "what is now, and the output information may be" unitary time three moments "to indicate that the current time is 45 minutes at 5 pm.
The content viewed by the user may be specifically: the book can be specifically a paper book, such as: a pure character paper book or a drawing book and the like.
For example: if the user watches the cartoon book as the main part in a period of time, the user can respond to the user in the form of the cartoon after receiving the input information, namely the output information is output in the form of the cartoon.
Further, the content viewed by the user may also be specifically: web pages, photographs, etc., and the style of the output information may be determined particularly according to the type or style of the web page or photograph.
For example: if the user watches the pictures with the fun mainly in a period of time, the user can respond to the input information with the fun characters or pictures or voice, namely the information is output in the fun style.
Further, the content viewed by the user may be: the content viewed by the user is determined according to the place the user has visited, or the searched content. Such as: if the user goes to the Disneyland, then it can be determined that the user watches the content in the Disneyland; such as: the user searches for relevant content that has passed through the disco park, then it can be determined that the user watches the relevant content that has passed through the disco park. Then, at this time, after receiving the input information of the user, the input information may be responded in a mique style.
When the adapted genre is determined according to the contents searched by the user, the adapted genre may be determined according to the type of the contents searched by the user, the genre, or the preference of the user may be determined according to the contents searched by the user, thereby determining the adapted genre.
The content searched may specifically be: searching by a search engine, such as: baidu search, Google search, thunder search, and the like, including not only search in web pages but also search in maps and search for audio-visual materials; the content of the search may be a search by shopping APP such as naja, kyoto, and the like.
For example: the user searches for the latest newly-shown movie information by hundreds of degrees, and then the user can be considered to have certain knowledge about the movie information, and further the hero characteristics or the actor characteristics in the movie can be output as the style of the output information.
When the adapted style is determined according to the place the user has gone, the adapted style may be determined according to the type or feature of the place the user has gone, or the preference of the user may be determined according to the type of the place the user has gone, thereby determining the adapted style.
The places that the user has visited may include: get a car location, photo location, takeaway location, can also include: the position information published by the social network site, or the position of the user is determined according to the information published by the user on the social network site, and the method further comprises the following steps: and the information about the characteristics or the geomantic omen and personal conditions of a certain place, which is published by the user on the social platform, determines that the user goes to the place, and the like.
For example: the user publishes travel strategies about Hawaii on a certain social platform, and then the user can be considered to have gone to Hawaii, and at the moment, the characteristics of Hawaii can be used as the style of output information, or the characteristics of sea can be used as the style of output information;
for another example: determining that the user has made a certain school order for takeaway in a certain city based on the user's takeaway location, the language style of the city, such as: in other words, the style of the output information may be the style of the output information such as the scholarship information and the school trainings of the school, for example: the input information of the user is ' how much weather is today ' and the output information can be ' rain is somewhat heavy, but the user should stay on.
When the adaptive style is determined according to the operation completed by the user, the adaptive style can be determined according to the characteristics of the operation completed by the user or the processing mode in the operation process, or the adaptive style can be determined by determining the preference of the user according to the type of the operation completed by the user.
The operation completed by the user may be: bought tickets, ordered takeoffs, purchased goods at the shopping APP, books viewed, games played, searched content, places visited, insist on completed sports, etc., may also be: chat records with a friend.
For example: if the user insists on running every morning, the user can be shown to pay more attention to health or fitness, and the user can pay more attention to the health condition when outputting information, such as: the input information of the user is 'how much weather is today', and the output information can be 'wind is bigger today and is not suitable for running';
for another example: users have more chats with a friend, and thus, the output information can be related to the friend appropriately, such as: the input information of the user is 'how much weather is like today', and the output information can be 'no weather is wrong, and can be cheer with small cheers'.
Of course, in this embodiment, the adaptive style may also be determined by a combination of not less than two historical behavior records, such as: the style is determined according to the content watched by the user and the searched content, or the style is determined according to the content watched by the user, the searched content and the place where the user has gone, which are not listed herein.
The processor 61 determines an adaptive style according to the content to be viewed, which may be specifically:
the processor determines an adapted style based on the expressive style of the content being viewed or the expressive style of the character in the content.
The content viewed by the user may specifically be: audio-visual material, text, books, web pages, photographs, and the like.
Different contents have different expression styles, such as: the movie in the audio-visual material may be expressed in an exaggerated manner, in an ironic manner, in a funny manner, in a serious manner, or the like, and similarly, characters, books, web pages, photographs, and the like are associated with different expression styles.
For example: the strict expression mode mostly adopted by the movies watched by the user in a period of time can be used as the style of the output information in response to the input information of the user, such as: the input information of the user is ' how the weather is like today ', and the output information can be ' the weather is cloudy in sunny days, the highest temperature is 25 ℃, and the lowest temperature is 18 ℃.
In addition, different characters in different contents also have different expression styles, specifically, different characters in the same audio-visual material have different language characteristics or character characteristics, and characters in different audio-visual materials also have different language characteristics or character characteristics.
For example: in Tianlong eight departments, the segment reputation has different personality characteristics and language characteristics from that of Qiao mountain, and input information can be responded according to the language characteristics or personality characteristics of different roles.
It should be emphasized that the electronic device disclosed in the current embodiment and the electronic device disclosed in the previous embodiment may be the same electronic device or different electronic devices. In the embodiments, the claims may be matched with each other, and the claims are not limited to the same independent claim, and the claims may be matched with each other even if the claims are different independent claims, or the claims may be matched with each other, and the claims are not limited to the content described in one embodiment in the present specification.
For example: determining an adaptive style according to the input information of the user and the historical behavior record, specifically, the adaptive style may be: determining the adaptive style according to the keywords in the user input information and the content watched by the user, and further comprising the following steps: the style of adaptation is determined according to the tone of the user input information and the operation performed by the user, and the like, which are not listed herein.
Now, the following examples are given:
the input information of the user is 'the dead who you just want to be the dead of me', the output information can be 'the girl, and only you are best for the dead today in the world, and the dead can be the girl certainly'.
In the above example, the input information of the user is "children, why you just want to be dead of me", the keyword "children" is included in the input information, and a sentence of classical dialogs in the pair of the carving man can be made clear, the sentence is a conversation between the young dragon and the female, so to determine that the input information is from the carving man, the tv drama or martial arts novel of carving couple "needs to be included in the content watched by the user, and therefore, the content watched by the user and the keyword in the input information need to be combined to determine the matching style.
Specifically, the implementation manner may be: determining the role information of the user according to the input information of the user, determining the role information corresponding to the output information according to the keyword in the input information after determining the role information of the user, and outputting the language characteristic or the character characteristic of the role information of the output information as the style of the output information.
When determining the role information, the method may further include: the method comprises the steps of segmenting input information of a user according to a segmentation library, determining segmentation information, determining role information matched with the segmentation information of the user according to a preset segmentation model, and determining the role information matched with the segmentation information of the user as the role information of the user.
When determining the role information corresponding to the output information, the method may further include: obtaining a corpus, where the corpus is associated with historical behavior records of the user, and specifically, the corpus may be: can be directly or indirectly obtained from historical behavior records, such as: content viewed by the user, content searched for, etc.; and then, searching a role information pair corresponding to the input information of the user from the corpus, determining first role information matched with the input information of the user from the role information pair as the role information of the user, and determining second role information in the role information pair as the role information corresponding to the output information.
The data processing method disclosed by the embodiment comprises the following steps: receiving input information of a user, determining an adaptive style at least according to historical behavior records of the user, outputting output information in the determined adaptive style, and using the output information as a response to the input information. According to the scheme, the adaptive style is determined according to the historical behavior record of the user, and then the adaptive style is used for responding the input information, so that the interaction between the output information in the adaptive style and the user is realized, the interestingness in the interaction process is increased, and the user experience is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A data processing method, comprising:
receiving input information of a user, wherein the input information comprises: voice input information or text input information;
determining role information of the user from a corpus at least according to the input information of the user, determining role information corresponding to output information according to keywords in the input information, and taking the style of the role information corresponding to the output information as an adaptive style;
and outputting output information in the determined adaptive style, and using the output information as a response to the input information.
2. The method of claim 1, wherein determining an adapted style based at least on the user input comprises:
determining a style adapted to the input information according to at least one or more of the following elements in the input information of the user:
a keyword of the input information;
the tone of the input information;
and tone of the input information.
3. A data processing method, comprising:
receiving input information of a user, wherein the input information comprises: voice input information or text input information;
determining role information of a user and role information corresponding to output information at least according to historical behavior records of the user in a period of time, and taking the style of the role information corresponding to the output information as an adaptive style; the specific time period or the specific duration of the period of time is subject to the setting of a user;
outputting an output message in the determined adaptive style, and using the output message as a response to the input message;
wherein the determining the role information of the user and the role information corresponding to the output information includes:
searching a role information pair corresponding to the input information of the user from a corpus related to historical behavior records of the user within a period of time, determining first role information matched with the input information of the user from the role information pair as the role information of the user, and determining second role information in the role information pair as the role information corresponding to the output information.
4. The method of claim 3, wherein the historical behavior record comprises a combination of one or more of:
content viewed by the user;
content searched by the user;
the location the user has gone;
the operation completed by the user.
5. The method of claim 4, wherein determining an adapted style based on the viewed content comprises:
and determining the adaptive style according to the expression style of the viewed content or the expression style of the character in the content.
6. An electronic device, comprising: a processor and an output unit, wherein:
the processor is used for receiving input information of a user, wherein the input information comprises: determining role information of the user from a corpus at least according to the input information of the user, determining role information corresponding to output information according to keywords in the input information, taking the style of the role information corresponding to the output information as an adaptive style, outputting output information according to the determined adaptive style, and taking the output information as a response to the input information;
the output unit is used for outputting the output information.
7. The electronic device of claim 6, wherein the processor determines an adapted style based at least on the input from the user, comprising:
the processor determines a style adapted to the input information based on at least one or more of the following elements in the user input information:
a keyword of the input information;
the tone of the input information;
and tone of the input information.
8. An electronic device, comprising: a processor and a memory, wherein:
the memory is used for storing historical behavior records of users;
the processor is used for receiving input information of a user, wherein the input information comprises: determining role information of a user and role information corresponding to output information at least according to historical behavior records of the user in a period of time, taking the style of the role information corresponding to the output information as an adaptive style, outputting output information in the determined adaptive style, and taking the output information as a response to the input information; the specific time period or the specific duration of the period of time is subject to the setting of a user;
wherein the determining the role information of the user and the role information corresponding to the output information includes:
searching a role information pair corresponding to the input information of the user from a corpus related to historical behavior records of the user within a period of time, determining first role information matched with the input information of the user from the role information pair as the role information of the user, and determining second role information in the role information pair as the role information corresponding to the output information.
9. The electronic device of claim 8, wherein the memory-stored historical behavior record comprises a combination of one or more of:
content viewed by the user;
content searched by the user;
the location the user has gone;
the operation completed by the user.
10. The electronic device of claim 9, wherein the processor determines an adapted style based on the viewed content, comprising:
the processor determines the adapted style according to the expression style of the viewed content or the expression style of the character in the content.
CN201811130954.9A 2018-09-27 2018-09-27 Data processing method and electronic equipment Active CN110019748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811130954.9A CN110019748B (en) 2018-09-27 2018-09-27 Data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811130954.9A CN110019748B (en) 2018-09-27 2018-09-27 Data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110019748A CN110019748A (en) 2019-07-16
CN110019748B true CN110019748B (en) 2021-12-24

Family

ID=67188476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811130954.9A Active CN110019748B (en) 2018-09-27 2018-09-27 Data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110019748B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902630A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Method, terminal and system for processing messages
CN104461226A (en) * 2013-09-23 2015-03-25 北京三星通信技术研究有限公司 Chatting method, device and system used for network
CN104834642A (en) * 2014-02-11 2015-08-12 北京三星通信技术研究有限公司 Method, apparatus and device for changing music performance style
CN105807933A (en) * 2016-03-18 2016-07-27 北京光年无限科技有限公司 Man-machine interaction method and apparatus used for intelligent robot
CN105929964A (en) * 2016-05-10 2016-09-07 海信集团有限公司 Method and device for human-computer interaction
CN106649704A (en) * 2016-12-20 2017-05-10 竹间智能科技(上海)有限公司 Intelligent dialogue control method and intelligent dialogue control system
CN106683672A (en) * 2016-12-21 2017-05-17 竹间智能科技(上海)有限公司 Intelligent dialogue method and system based on emotion and semantics
CN107168990A (en) * 2017-03-28 2017-09-15 厦门快商通科技股份有限公司 Intelligent customer service system and dialogue method based on user's personality
CN107657017A (en) * 2017-09-26 2018-02-02 百度在线网络技术(北京)有限公司 Method and apparatus for providing voice service
CN108227932A (en) * 2018-01-26 2018-06-29 上海智臻智能网络科技股份有限公司 Interaction is intended to determine method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8713038B2 (en) * 2009-04-02 2014-04-29 Pivotal Software, Inc. Integrating map-reduce into a distributed relational database
US9124590B2 (en) * 2011-07-19 2015-09-01 Sk Planet Co., Ltd. Intelligent information providing system and method
US8713433B1 (en) * 2012-10-16 2014-04-29 Google Inc. Feature-based autocorrection
JP2016189035A (en) * 2013-08-21 2016-11-04 株式会社Uei Information processing device, information processing program, and information processing method
CN107291772B (en) * 2016-04-11 2021-05-04 北京搜狗科技发展有限公司 Search access method and device and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902630A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Method, terminal and system for processing messages
CN104461226A (en) * 2013-09-23 2015-03-25 北京三星通信技术研究有限公司 Chatting method, device and system used for network
CN104834642A (en) * 2014-02-11 2015-08-12 北京三星通信技术研究有限公司 Method, apparatus and device for changing music performance style
CN105807933A (en) * 2016-03-18 2016-07-27 北京光年无限科技有限公司 Man-machine interaction method and apparatus used for intelligent robot
CN105929964A (en) * 2016-05-10 2016-09-07 海信集团有限公司 Method and device for human-computer interaction
CN106649704A (en) * 2016-12-20 2017-05-10 竹间智能科技(上海)有限公司 Intelligent dialogue control method and intelligent dialogue control system
CN106683672A (en) * 2016-12-21 2017-05-17 竹间智能科技(上海)有限公司 Intelligent dialogue method and system based on emotion and semantics
CN107168990A (en) * 2017-03-28 2017-09-15 厦门快商通科技股份有限公司 Intelligent customer service system and dialogue method based on user's personality
CN107657017A (en) * 2017-09-26 2018-02-02 百度在线网络技术(北京)有限公司 Method and apparatus for providing voice service
CN108227932A (en) * 2018-01-26 2018-06-29 上海智臻智能网络科技股份有限公司 Interaction is intended to determine method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110019748A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
US10956486B2 (en) Intelligent automated assistant for media search and playback
AU2020207867B2 (en) Intelligent automated assistant in a media environment
CN109844708B (en) Recommending media content through chat robots
US9292603B2 (en) Receipt and processing of user-specified queries
US10379712B2 (en) Conversation user interface
KR102541523B1 (en) Proactive incorporation of unsolicited content into human-to-computer dialogs
US20190057298A1 (en) Mapping actions and objects to tasks
US20140164506A1 (en) Multimedia message having portions of networked media content
US20140164507A1 (en) Media content portions recommended
US20140161356A1 (en) Multimedia message from text based images including emoticons and acronyms
US20140163980A1 (en) Multimedia message having portions of media content with audio overlay
US20140164371A1 (en) Extraction of media portions in association with correlated input
US20130086027A1 (en) Techniques for the receipt and processing of user-specified queries
US20130086025A1 (en) Techniques for receiving and processing one or more user-specified queries
CN105204886B (en) A kind of method, user terminal and server activating application program
JP6122792B2 (en) Robot control apparatus, robot control method, and robot control program
JP7171911B2 (en) Generate interactive audio tracks from visual content
US20130086026A1 (en) Techniques relating to receiving and processing user-specified queries
JP2010211513A (en) Animation contribution system
US10872116B1 (en) Systems, devices, and methods for contextualizing media
JP6333329B2 (en) Information processing apparatus, information processing method, and program
US20140161423A1 (en) Message composition of media portions in association with image content
US20140163956A1 (en) Message composition of media portions in association with correlated text
CN110019748B (en) Data processing method and electronic equipment
CN112492400B (en) Interaction method, device, equipment, communication method and shooting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant