CN104866091B - A kind of method and apparatus for being used to export audio information in computer equipment - Google Patents

A kind of method and apparatus for being used to export audio information in computer equipment Download PDF

Info

Publication number
CN104866091B
CN104866091B CN201510134636.XA CN201510134636A CN104866091B CN 104866091 B CN104866091 B CN 104866091B CN 201510134636 A CN201510134636 A CN 201510134636A CN 104866091 B CN104866091 B CN 104866091B
Authority
CN
China
Prior art keywords
information
input
input operation
audio information
user
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
CN201510134636.XA
Other languages
Chinese (zh)
Other versions
CN104866091A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510134636.XA priority Critical patent/CN104866091B/en
Publication of CN104866091A publication Critical patent/CN104866091A/en
Application granted granted Critical
Publication of CN104866091B publication Critical patent/CN104866091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a kind of method for being used to export audio information in computer equipment, wherein, this method includes:The input operation performed according to user to input method, obtain input operation information;According to the input operation information, it is determined that the audio information to match;Export the audio information.The method according to the invention, on the premise of basic input method function is realized, the input operation that can be performed according to user to input method, export the audio information to match, so that the output effect of input method is compared with horn of plenty, sense of fatigue of the user in input can be mitigated, and then reduce caused input error therefrom.

Description

A kind of method and apparatus for being used to export audio information in computer equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of it is used to export audio information in computer equipment Method and apparatus.
Background technology
In the prior art, when user is inputted using input method, the list entries that input method inputs according only to user carries For candidate item, so that user is selected.
The content of the invention
It is an object of the invention to provide a kind of method and apparatus for being used to export audio information in computer equipment.
According to an aspect of the present invention, there is provided a kind of method for being used to export audio information in computer equipment, its In, this method includes:
The input operation performed according to user to input method, obtain input operation information;
According to the input operation information, it is determined that the audio information to match;
Export the audio information.
According to another aspect of the present invention, a kind of be used in computer equipment for exporting audio information is additionally provided Device, wherein, the device includes:
For the input operation performed according to user to input method, the device of acquisition input operation information;
For according to the input operation information, it is determined that the device of the audio information to match;
For exporting the device of the audio information.
Compared with prior art, the present invention has advantages below:1) on the premise of basic input method function is realized, energy Enough input operations (input operation is not limited to the list entries of user's input) performed according to user to input method, export phase The audio information matched somebody with somebody, so that the output effect of input method can mitigate sense of fatigue of the user in input, enter compared with horn of plenty And reduce caused input error therefrom;2) audio information of the invention includes sense of hearing audio information and visual sound effect information, During user performs input operation the sense of hearing and visual complete new experience can be brought for user;3) present invention can By determining the emotional information of user, to determine the audio information to match, so that the involvement sense of enhancing user, and can Effectively adjust the current mood of user.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow for being used to export the method for audio information in computer equipment of a preferred embodiment of the invention Schematic diagram;
Fig. 2 is the structure for being used to export the device of audio information in computer equipment of a preferred embodiment of the invention Schematic diagram;
Fig. 3 is the schematic diagram of the emotional information and the corresponding relation of audio information of an example.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
Fig. 1 is the flow for being used to export the method for audio information in computer equipment of a preferred embodiment of the invention Schematic diagram.
Wherein, the method for the present embodiment is mainly realized by computer equipment;The computer equipment is set including network Standby and user equipment.The network equipment includes but is not limited to the service of single network server, multiple webservers composition Device group or the cloud being made up of a large amount of computers or the webserver based on cloud computing (Cloud Computing), wherein, cloud meter It is one kind of Distributed Calculation, a super virtual computer being made up of the computer collection of a group loose couplings;The net Network residing for network equipment includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..The user sets Standby including but not limited to PC, tablet personal computer, smart mobile phone, PDA, IPTV etc..
It should be noted that the computer equipment is only for example, other computers that are existing or being likely to occur from now on Equipment is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Step S1, step S2 and step S3 are included according to the method for the present embodiment.
In step sl, the input operation that computer equipment performs according to user to input method, input operation information is obtained.
Wherein, the input operation includes any operation that user can perform in input method;Preferably, the input Operate including but not limited to user and pass through the letter input of keyboard progress presented to input method or operation, the use of stroke input etc. Selection operation that the candidate item that the list entries that family inputs to input method according to user is provided is carried out etc..
Wherein, the input operation information includes the information that any input operation performed to user is related.Preferably, institute Input operation information is stated to include but is not limited to:
1) list entries of user's input.
Wherein, the list entries includes any symbol that can be inputted in input method;Preferably, the list entries Including but not limited to letter, stroke, spcial character (such as@).
2) user's selection, the corresponding candidate item of list entries that is inputted with user.
Preferably, input method provides at least one candidate item for the list entries of user's input.
For example, the list entries of user's input is " keyi ", the candidate item that input method provides according to the list entries includes: " can with ", " deliberately ", " suspicious ", " can discuss ", " tech ";It is selected in such candidate item that the input operation information includes user The candidate item " can with " selected.
3) the input speed information of input operation.
Wherein, the input speed information is used to indicate the speed corresponding to input operation.Preferably, the input speed Information can use multiform expression;For example, the input speed information is expressed as speed class, such as quickly, commonly, at a slow speed Deng;In another example the input speed information is expressed as specific velocity amplitude, if velocity amplitude is 60WPM (words per Minute, words per minute).
It should be noted that above-mentioned input operation information is only for example, rather than limitation of the present invention, people in the art Member should be included in input operation of the present invention it will be understood that any information related to the input operation of user's execution In the range of information.
Specifically, computer equipment can use various ways to obtain the input operation information.
For example, computer equipment determines the input operation information by detecting the input operation of user's execution in real time, Such as, computer equipment counting user input symbol quantity and input operation corresponding to time, and when symbol quantity and when Between ratio when being more than predetermined speed, determine that input speed information is used to indicate that speed class is " quick ".
In another example computer equipment directly obtains the input operation information of input method offer, e.g., computer equipment directly obtains Take the input speed information that input method provides and the candidate item that user selects.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any input operation performed according to user to input method, obtains input operation information Implementation, should be included in the scope of the present invention.
In step s 2, computer equipment is according to input operation information, it is determined that the audio information to match.
Wherein, the audio information includes any information related to audio;Preferably, the audio information is included but not It is limited to:
1) sense of hearing audio information.
Wherein, the sense of hearing audio information includes any information related to the auditory effect of audio.Preferably, it is described to listen Buddhaghosa effect information includes but is not limited to:
A) cadence information of audio.
Wherein, the cadence information includes any information related to the rhythm of audio;Preferably, the cadence information bag Include but be not limited to rhythm corresponding to the combination of the rhythm corresponding to a note or multiple notes etc..
B) pattern information of audio.
Wherein, the pattern information is used to indicate the pattern corresponding to audio;Preferably, the pattern includes common sound Effect, classic audio, rock and roll audio, popular audio, jazz's audio, voice audio, EAX etc..
Preferably, a variety of preassigned patterns in input method be present;It is highly preferred that every kind of preassigned pattern be corresponding with it is at least one pre- Determine rhythm.For example, preassigned pattern includes EAX, the preassigned pattern corresponds to following predetermined cadence:Sound of the wind rhythm, underwater sound section Play, chirping of birds rhythm etc..
C) information volume.
Wherein, the information volume includes any information related to the volume of audio;Preferably, the information volume bag Include but be not limited to:The size of volume, the information related to the enhancing of volume, information related with the equilibrium of volume etc..
2) visual sound effect information.
Wherein, the visual sound effect information includes any information related to the visual effect of audio.Preferably, it is described to regard Buddhaghosa effect information includes but is not limited to:Animation corresponding to the note pattern that is presented, audio etc..
Preferably, input method includes a variety of predetermined visual sound effect information, such as predetermined note pattern, predetermined animation;More Preferably, the mapping between a variety of predetermined visual sound effect information and sense of hearing audio information is predefined in input method, for example, defeated Enter and mapping between a variety of predetermined note patterns and a variety of predetermined cadences is predefined in method.
It should be noted that above-mentioned audio information is only for example, rather than limitation of the present invention, those skilled in the art should It is understood that, any information related to audio, should be included in the range of audio information of the present invention.
Specifically, computer equipment is according to input operation information, it is determined that the implementation of the audio information to match includes But it is not limited to:
1) list entries or user selection, with user input list entries of the input operation information including user's input Corresponding candidate item, computer equipment is according to the list entries or candidate item, it is determined that the audio information to match.
Wherein, computer equipment is according to the list entries or candidate item, it is determined that the realization side of the audio information to match Formula includes but is not limited to:
A) computer equipment is directly according to the list entries or candidate item, it is determined that with the list entries or candidate item phase The audio information of matching.
For example, the list entries of user's input is " k ", then computer equipment directly determines what is matched with the list entries Audio information is the cadence information corresponding to symbol " k ".
In another example candidate item that user selects, corresponding with the list entries " gaoxing " of user's input is " happiness ", Then tone of the computer equipment according to corresponding to vocabulary " happiness ", it is determined that the audio information to match with the candidate item, the audio Information includes Heibei provincial opera ("-") and combines corresponding cadence information with falling tone (" ˋ ").
For another example candidate item that user selects, corresponding with the list entries " huanghe " of user's input is " the Yellow River ", Cadence information of the audio information that then computer equipment determines to match with the candidate item corresponding to underwater sound rhythm.
B) in this implementation, the present embodiment also includes step S4, and step S2 further comprises step S21.
In step s 4, computer equipment obtains list entries or the contextual information of candidate item.
Wherein, the contextual information is used to indicate the information adjacent with list entries or candidate item.Preferably, on described Context information includes but is not limited to:Text message before and after the insertion position of candidate item in the text is (before and after insertion position One or more vocabulary), before and after the input position of the list entries list entries (e.g., one before and after input position or Multiple symbols) etc..
For example, the insertion position of candidate item " happiness " in the text is in the last of text, and the vocabulary before the insertion position For " very ", then the contextual information of candidate item " happiness " is " very ".
In another example the former list entries in input method input frame is " gaxing ", symbol " a " of the user in the list entries The incoming symbol " o " between symbol " x ", the contextual information of then symbol " o " include " ga " and " xing ".
Wherein, computer equipment can use various ways to obtain list entries or the contextual information of candidate item.
For example, position (namely candidate item insertion position in the text) of the computer equipment according to cursor in the text, Determine the vocabulary before and after the position, and the contextual information using identified vocabulary as candidate item.
In another example position (namely current input sequence of the computer equipment according to cursor in the input frame of input method Input position), determine the symbol before and after the position, and the contextual information using identified symbol as list entries.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any implementation for obtaining list entries or the contextual information of candidate item, all should Within the scope of the present invention.
In the step s 21, computer equipment is according to the input operation information and the contextual information, it is determined that matching Audio information.
For example, the candidate item of user's selection is " seat ", the contextual information of the candidate item is the insertion positioned at the candidate item Vocabulary " Aries " in front of position, then the audio information that computer equipment determines to match include the rhythm corresponding to " Aries " Information and animation.
As a kind of preferred scheme, step S21 further comprises step S21-1 and step S21-2.
In step S21-1, computer equipment determines the feelings of the user according to input operation information and contextual information Thread information.
Wherein, the emotional information includes the information of any mood for instruction user.Preferably, the emotional information There can be multiform expression;For example, the emotional information be used to indicating a kind of specific mood (as glad, sad, indignation, Suspect etc.);In another example the emotional information be used for indicate mood grade (as it is high, it is low);For another example the mood letter A mood numerical value after ceasing for digitlization.
Specifically, computer equipment can be based on semantic analysis technology come according to input operation information and contextual information, really The emotional information of the fixed user.
For example, the candidate item of user's selection is " happiness ", the contextual information of the candidate item is inserting positioned at the candidate item Enter the vocabulary " very " in front of position, then computer equipment determines that the mood grade of user is height based on semantic analysis.
In another example the candidate item of user's selection is " happiness ", the contextual information of the candidate item is positioned at the candidate item " very not " in front of insertion position, then computer equipment determine the mood grade of user to be low based on semantic analysis.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to input operation information and contextual information, determine the mood of the user The implementation of information, should be included in the scope of the present invention.
In step S21-2, computer equipment is according to emotional information, it is determined that the audio information to match.
For example, when the mood that the emotional information is used for instruction user is glad, computer equipment determines and the mood The sense of hearing audio information of information match is the cadence information corresponding to more cheerful and more light-hearted rhythm, and visual sound effect information is moved for smiling face Draw.
Preferably, the corresponding relation being in a bad mood between information and audio information is predefined in input method, computer equipment can According to emotional information and the corresponding relation, it is determined that the audio information to match.
For example, Fig. 3 is the schematic diagram of the emotional information and the corresponding relation of audio information of an example, when emotional information refers to When the mood for showing user is " happiness ", then cadence information is randomly choosed in the audio information corresponding to computer equipment from " happiness " Rhythm2 and note pattern style1 is as the audio information to match.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to emotional information, it is determined that the implementation of the audio information to match, Should within the scope of the present invention.
2) input operation information includes input speed information corresponding to input operation, and computer equipment is according to the input speed Information is spent, it is determined that the sense of hearing audio information to match.
For example, when the speed indicated by input speed information exceedes threshold value value1, computer equipment determines audio Pattern is rock and roll audio, and a predetermined cadence is randomly choosed from multiple predetermined cadences corresponding to rock and roll audio;Work as input Speed indicated by velocity information is less than value2 (value1>When value2), computer equipment determines that the pattern of audio is Gu Allusion quotation audio, and a predetermined cadence is randomly choosed from multiple predetermined cadences corresponding to classic audio.
Preferably, the speed indicated by input speed information is bigger, and volume corresponding to sense of hearing audio information is bigger, input speed The speed spent indicated by information is smaller, and volume corresponding to sense of hearing audio information is smaller.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to input operation information, it is determined that the realization side of the audio information to match Formula, it should be included in the scope of the present invention.
In step s3, the audio information to match determined by computer equipment output.
Preferably, the audio information includes sense of hearing audio information and/or visual sound effect information, and computer equipment plays should Sense of hearing audio information, and/or, show the visual sound effect information.Preferably, computer equipment is shown in the input frame of input method The visual sound effect information.
For example, the audio information that computer equipment determines in step s 2 includes the cadence information and note pattern of audio, Then in step s3, computer equipment plays the cadence information, and the note pattern is shown in the input frame of input method.
In another example cadence information and volume of the audio information including audio that computer equipment determines in step s 2 is big Small, then in step s3, computer equipment plays the cadence information according to the size of the volume.
For another example the audio information that computer equipment determines in step s 2 includes the animation corresponding to audio, then in step In rapid S3, computer equipment shows the animation in the input frame of input method.
Need to illustrate when, whenever user changes in the list entries that input method inputs (such as input new symbol or Stroke etc.), computer equipment exports corresponding audio information according to current list entries;So circulation, as user exists Continually entering in input method, computer equipment constantly export corresponding audio information.For example, user inputs in input method " k ", cadence information and note pattern corresponding to computer equipment out alphabet " k ";Then, user continues to input " a ", calculates Cadence information and note pattern corresponding to machine equipment out alphabet " a ";Then, user continues to input " i ", and computer equipment is defeated Go out the cadence information and note pattern corresponding to alphabetical " i ";By that analogy, until user is in the list entries that input method inputs “kaixin”;When user selects candidate item " happy " corresponding with the list entries, it is right that computer equipment plays " happy " institute The cadence information answered, and smiling face's animation is shown in the input frame of input method.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that the implementation of any output audio information, should be included in the scope of the present invention It is interior.
In the prior art, when user is inputted using input method, the list entries that input method inputs according only to user carries For candidate item, so that user is selected.The output effect of the program is extremely single, and input operation is performed particularly with long-time User for, be easier to make user to produce sense of fatigue and barren sense.
, can be according to user to input on the premise of basic input method function is realized according to the scheme of the present embodiment The input operation (input operation is not limited to the list entries of user's input) that method performs, exports the audio information to match, from And cause the output effect of input method compared with horn of plenty, sense of fatigue of the user in input can be mitigated, and increase input method enjoyment; In addition, the audio information of the present invention includes sense of hearing audio information and visual sound effect information, input operation can be performed in user During, bring the sense of hearing and visual complete new experience for user;Also, the present invention can be believed by determining the mood of user Breath, to determine the audio information to match, so that the involvement sense of enhancing user, and it is current effectively to adjust user Mood.
Fig. 3 is the structure for being used to export the device of audio information in computer equipment of a preferred embodiment of the invention Schematic diagram.The device (hereinafter referred to as " sound effect output unit ") for being used to export audio information includes being used for according to user to defeated Enter the input operation of method execution, obtain the device (hereinafter referred to as " the first acquisition device 1 ") of input operation information, for basis The input operation information, it is determined that the device (hereinafter referred to as " determining device 2 ") of the audio information to match and for defeated Go out the device (hereinafter referred to as " output device 3 ") of the audio information.
The input operation that first acquisition device 1 performs according to user to input method, obtain input operation information.
Wherein, the input operation includes any operation that user can perform in input method;Preferably, the input Operate including but not limited to user and pass through the letter input of keyboard progress presented to input method or operation, the use of stroke input etc. Selection operation that the candidate item that the list entries that family inputs to input method according to user is provided is carried out etc..
Wherein, the input operation information includes the information that any input operation performed to user is related.Preferably, institute Input operation information is stated to include but is not limited to:
1) list entries of user's input.
Wherein, the list entries includes any symbol that can be inputted in input method;Preferably, the list entries Including but not limited to letter, stroke, spcial character (such as@).
2) user's selection, the corresponding candidate item of list entries that is inputted with user.
Preferably, input method provides at least one candidate item for the list entries of user's input.
For example, the list entries of user's input is " keyi ", the candidate item that input method provides according to the list entries includes: " can with ", " deliberately ", " suspicious ", " can discuss ", " tech ";It is selected in such candidate item that the input operation information includes user The candidate item " can with " selected.
3) the input speed information of input operation.
Wherein, the input speed information is used to indicate the speed corresponding to input operation.Preferably, the input speed Information can use multiform expression;For example, the input speed information is expressed as speed class, such as quickly, commonly, at a slow speed Deng;In another example the input speed information is expressed as specific velocity amplitude, if velocity amplitude is 60WPM (words per Minute, words per minute).
It should be noted that above-mentioned input operation information is only for example, rather than limitation of the present invention, people in the art Member should be included in input operation of the present invention it will be understood that any information related to the input operation of user's execution In the range of information.
Specifically, the first acquisition device 1 can use various ways to obtain the input operation information.
For example, the first acquisition device 1 determines that the input operation is believed by detecting the input operation of user's execution in real time Breath, e.g., the time corresponding to the symbol quantity of the counting user of the first acquisition device 1 input and input operation, and work as symbolic number When amount and the ratio of time are more than predetermined speed, determine that input speed information is used to indicate that speed class is " quick ".
In another example the first acquisition device 1 directly obtains the input operation information of input method offer, e.g., the first acquisition device 1 The input speed information of input method offer and the candidate item of user's selection are directly provided.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any input operation performed according to user to input method, obtains input operation information Implementation, should be included in the scope of the present invention.
Determining device 2 is according to input operation information, it is determined that the audio information to match.
Wherein, the audio information includes any information related to audio;Preferably, the audio information is included but not It is limited to:
1) sense of hearing audio information.
Wherein, the sense of hearing audio information includes any information related to the auditory effect of audio.Preferably, it is described to listen Buddhaghosa effect information includes but is not limited to:
A) cadence information of audio.
Wherein, the cadence information includes any information related to the rhythm of audio;Preferably, the cadence information bag Include but be not limited to rhythm corresponding to the combination of the rhythm corresponding to a note or multiple notes etc..
B) pattern information of audio.
Wherein, the pattern information is used to indicate the pattern corresponding to audio;Preferably, the pattern includes common sound Effect, classic audio, rock and roll audio, popular audio, jazz's audio, voice audio, EAX etc..
Preferably, a variety of preassigned patterns in input method be present;It is highly preferred that every kind of preassigned pattern be corresponding with it is at least one pre- Determine rhythm.For example, preassigned pattern includes EAX, the preassigned pattern corresponds to following predetermined cadence:Sound of the wind rhythm, underwater sound section Play, chirping of birds rhythm etc..
C) information volume.
Wherein, the information volume includes any information related to the volume of audio;Preferably, the information volume bag Include but be not limited to:The size of volume, the information related to the enhancing of volume, information related with the equilibrium of volume etc..
2) visual sound effect information.
Wherein, the visual sound effect information includes any information related to the visual effect of audio.Preferably, it is described to regard Buddhaghosa effect information includes but is not limited to:Animation corresponding to the note pattern that is presented, audio etc..
Preferably, input method includes a variety of predetermined visual sound effect information, such as predetermined note pattern, predetermined animation;More Preferably, the mapping between a variety of predetermined visual sound effect information and sense of hearing audio information is predefined in input method, for example, defeated Enter and mapping between a variety of predetermined note patterns and a variety of predetermined cadences is predefined in method.
It should be noted that above-mentioned audio information is only for example, rather than limitation of the present invention, those skilled in the art should It is understood that, any information related to audio, should be included in the range of audio information of the present invention.
Specifically, it is determined that device 2 is according to input operation information, it is determined that the implementation of the audio information to match include but It is not limited to:
1) list entries or user selection, with user input list entries of the input operation information including user's input Corresponding candidate item, determining device 2 is according to the list entries or candidate item, it is determined that the audio information to match.
Wherein it is determined that device 2 is according to the list entries or candidate item, it is determined that the implementation of the audio information to match Including but not limited to:
A) determining device 2 is directly according to the list entries or candidate item, it is determined that with the list entries or candidate item phase The audio information of matching.
For example, the list entries of user's input is " k ", it is determined that device 2 directly determines what is matched with the list entries Audio information is the cadence information corresponding to symbol " k ".
In another example candidate item that user selects, corresponding with the list entries " gaoxing " of user's input is " happiness ", Then tone of the determining device 2 according to corresponding to vocabulary " happiness ", it is determined that the audio information to match with the candidate item, audio letter Breath includes Heibei provincial opera ("-") and falling tone (" ˋ ") combine corresponding cadence information.
For another example candidate item that user selects, corresponding with the list entries " huanghe " of user's input is " the Yellow River ", Cadence information of the audio information that then determining device 2 determines to match with the candidate item corresponding to underwater sound rhythm.
B) in this implementation, the sound effect output unit of the present embodiment also includes being used for obtaining list entries or candidate item The device (hereinafter referred to as " the second acquisition device ", not shown) of contextual information, and determining device 2 further comprises being used for root According to the input operation information and the contextual information, it is determined that the device (hereinafter referred to as " first of the audio information to match Sub- determining device ", not shown).
Second acquisition device obtains list entries or the contextual information of candidate item.
Wherein, the contextual information is used to indicate the information adjacent with list entries or candidate item.Preferably, on described Context information includes but is not limited to:Text message before and after the insertion position of candidate item in the text is (before and after insertion position One or more vocabulary), before and after the input position of the list entries list entries (e.g., one before and after input position or Multiple symbols) etc..
For example, the insertion position of candidate item " happiness " in the text is in the last of text, and the vocabulary before the insertion position For " very ", then the contextual information of candidate item " happiness " is " very ".
In another example the former list entries in input method input frame is " gaxing ", symbol " a " of the user in the list entries The incoming symbol " o " between symbol " x ", the contextual information of then symbol " o " include " ga " and " xing ".
Wherein, the second acquisition device can use various ways to obtain list entries or the contextual information of candidate item.
For example, position (namely candidate item insertion position in the text of second acquisition device according to cursor in the text Put), determine the vocabulary before and after the position, and the contextual information using identified vocabulary as candidate item.
In another example position (namely current input sequence of second acquisition device according to cursor in the input frame of input method Input position), determine the symbol before and after the position, and the contextual information using identified symbol as list entries.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any implementation for obtaining list entries or the contextual information of candidate item, all should Within the scope of the present invention.
First sub- determining device is according to the input operation information and the contextual information, it is determined that the audio letter to match Breath.
For example, the candidate item of user's selection is " seat ", the contextual information of the candidate item is the insertion positioned at the candidate item Vocabulary " Aries " in front of position, then the audio information that the first sub- determining device determines to match are included corresponding to " Aries " Cadence information and animation.
As a kind of preferred scheme, the first sub- determining device further comprise being used for according to the input operation information and Context information, determine the emotional information of the user device (hereinafter referred to as " the second sub- determining device ", not shown) and For according to the emotional information, it is determined that device (hereinafter referred to as " the 3rd sub- determining device ", the figure of the audio information to match Do not show).
Second sub- determining device determines the emotional information of the user according to input operation information and contextual information.
Wherein, the emotional information includes the information of any mood for instruction user.Preferably, the emotional information There can be multiform expression;For example, the emotional information be used to indicating a kind of specific mood (as glad, sad, indignation, Suspect etc.);In another example the emotional information be used for indicate mood grade (as it is high, it is low);For another example the mood letter A mood numerical value after ceasing for digitlization.
Specifically, the second sub- determining device can be based on semantic analysis technology come according to input operation information and context letter Breath, determine the emotional information of the user.
For example, the candidate item of user's selection is " happiness ", the contextual information of the candidate item is inserting positioned at the candidate item Enter the vocabulary " very " in front of position, then the second sub- determining device determines that the mood grade of user is height based on semantic analysis.
In another example the candidate item of user's selection is " happiness ", the contextual information of the candidate item is positioned at the candidate item " very not " in front of insertion position, then the second sub- determining device determine the mood grade of user to be low based on semantic analysis.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to input operation information and contextual information, determine the mood of the user The implementation of information, should be included in the scope of the present invention.
3rd sub- determining device is according to emotional information, it is determined that the audio information to match.
For example, when the mood that the emotional information is used for instruction user is glad, the 3rd sub- determining device determines and should The sense of hearing audio information that emotional information matches is the cadence information corresponding to more cheerful and more light-hearted rhythm, and visual sound effect information is to laugh at Face animation.
Preferably, the corresponding relation being in a bad mood between information and audio information is predefined in input method, the 3rd son determines dress Putting can be according to emotional information and the corresponding relation, it is determined that the audio information to match.
For example, Fig. 3 is the schematic diagram of the emotional information and the corresponding relation of audio information of an example, when emotional information refers to When the mood for showing user is " happiness ", then the 3rd sub- determining device randomly chooses rhythm from the audio information corresponding to " happiness " Information rhythm2 and note pattern style1 is as the audio information to match.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to emotional information, it is determined that the implementation of the audio information to match, Should within the scope of the present invention.
2) input operation information includes input speed information corresponding to input operation, and determining device 2 further comprises being used for According to the input speed information, it is determined that (hereinafter referred to as " the 4th son determines dress to the device of the sense of hearing audio information to match Put ", not shown).
For example, when the speed indicated by input speed information exceedes threshold value value1, the 4th sub- determining device determines sound The pattern of effect is rock and roll audio, and a predetermined cadence is randomly choosed from multiple predetermined cadences corresponding to rock and roll audio;When Speed indicated by input speed information is less than value2 (value1>When value2), the 4th sub- determining device determines audio Pattern is classic audio, and a predetermined cadence is randomly choosed from multiple predetermined cadences corresponding to classic audio.
Preferably, the speed indicated by input speed information is bigger, and volume corresponding to sense of hearing audio information is bigger, input speed The speed spent indicated by information is smaller, and volume corresponding to sense of hearing audio information is smaller.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to input operation information, it is determined that the realization side of the audio information to match Formula, it should be included in the scope of the present invention.
Output device 3 exports the identified audio information to match.
Preferably, the audio information includes sense of hearing audio information and/or visual sound effect information, and output device 3 is further Including for playing the sense of hearing audio information, and/or, show device (hereinafter referred to as " the sub- output dress of the visual sound effect information Put ", not shown).Preferably, sub- output device shows the visual sound effect information in the input frame of input method.
For example, the audio information that determining device 2 determines includes the cadence information and note pattern of audio, sub- output device is broadcast The cadence information is put, and the note pattern is shown in the input frame of input method.
In another example the audio information that determining device 2 determines includes the cadence information of audio and the size of volume, sub- output dress Put according to the size of the volume to play the cadence information.
For another example the audio information that determining device 2 determines includes the animation corresponding to audio, sub- output device is in input method Input frame in show the animation.
Need to illustrate when, whenever user changes in the list entries that input method inputs (such as input new symbol or Stroke etc.), computer equipment exports corresponding audio information according to current list entries;So circulation, as user exists Continually entering in input method, computer equipment constantly export corresponding audio information.For example, user inputs in input method " k ", cadence information and note pattern corresponding to computer equipment out alphabet " k ";Then, user continues to input " a ", calculates Cadence information and note pattern corresponding to machine equipment out alphabet " a ";Then, user continues to input " i ", and computer equipment is defeated Go out the cadence information and note pattern corresponding to alphabetical " i ";By that analogy, until user is in the list entries that input method inputs “kaixin”;When user selects candidate item " happy " corresponding with the list entries, it is right that computer equipment plays " happy " institute The cadence information answered, and smiling face's animation is shown in the input frame of input method.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that the implementation of any output audio information, should be included in the scope of the present invention It is interior.
In the prior art, when user is inputted using input method, the list entries that input method inputs according only to user carries For candidate item, so that user is selected.The output effect of the program is extremely single, and input operation is performed particularly with long-time User for, be easier to make user to produce sense of fatigue and barren sense.
, can be according to user to input on the premise of basic input method function is realized according to the scheme of the present embodiment The input operation (input operation is not limited to the list entries of user's input) that method performs, exports the audio information to match, from And cause the output effect of input method compared with horn of plenty, sense of fatigue of the user in input can be mitigated, and increase input method enjoyment; In addition, the audio information of the present invention includes sense of hearing audio information and visual sound effect information, input operation can be performed in user During, bring the sense of hearing and visual complete new experience for user;Also, the present invention can be believed by determining the mood of user Breath, to determine the audio information to match, so that the involvement sense of enhancing user, and it is current effectively to adjust user Mood.
It should be noted that the device of the present invention for being used to export audio information in computer equipment can be by calculating The production firm of machine equipment or sales service business are attached to the computer equipment in advance, also can be by user voluntarily from other equipment (such as server) place is loaded into computer equipment.Those skilled in the art will be understood that any can be used in the realization present invention Function device, regardless of whether being loaded in computer equipment, be all contained in protection scope of the present invention.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, this hair Bright each device can using application specific integrated circuit (ASIC) or any other realized similar to hardware device.In one embodiment In, software program of the invention can realize steps described above or function by computing device.Similarly, it is of the invention Software program (including related data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory, Magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the present invention can employ hardware to realize, example Such as, coordinate as with processor so as to perform the circuit of each step or function.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (16)

1. a kind of method for being used to export audio information in computer equipment, wherein, this method includes:
The input operation performed according to user to input method, obtain input operation information;
According to the input operation information, it is determined that the audio information to match;
Export the audio information;
Wherein, the input operation information includes the list entries of user input, whenever user inputs newly in input method Symbol or stroke when make it that list entries changes, the computer equipment output is relative with the new symbol or stroke The audio information answered;
Wherein, the input operation information includes user's selection, corresponding with the list entries of user's input candidate item, described According to the input operation information, it is determined that match audio information the step of include:
According to tone corresponding to the selected candidate item, it is determined that the audio information to match with selected candidate item.
2. according to the method for claim 1, wherein, the audio information includes at least one of following:
- sense of hearing audio information;
- visual sound effect information.
3. according to the method for claim 2, wherein, the step of exporting the audio information, includes:
The sense of hearing audio information is played, and/or, show the visual sound effect information.
4. according to the method in any one of claims 1 to 3, wherein, the input operation information includes following at least one :
The list entries of-user input;
- user selection, corresponding with the list entries that user inputs candidate item;
The input speed information of-input operation.
5. according to the method for claim 4, wherein, the input operation information includes the list entries or the candidate , wherein, this method also includes:
Obtain the list entries or the contextual information of candidate item;
Wherein, according to the input operation information, it is determined that match audio information the step of include:
According to the input operation information and the contextual information, it is determined that the audio information to match.
6. the method according to claim 11, wherein, according to the input operation information and the contextual information, it is determined that The step of audio information to match, includes:
According to the input operation information and contextual information, the emotional information of the user is determined;
According to the emotional information, it is determined that the audio information to match.
7. according to the method for claim 4, the input operation information includes input speed corresponding to the input operation Information, according to the input operation information, it is determined that match audio information the step of include:
According to the input speed information, it is determined that the sense of hearing audio information to match.
8. according to the method for claim 7, wherein, the speed indicated by the input speed information is bigger, the sense of hearing Volume corresponding to audio information is bigger, and the speed indicated by the input speed information is smaller, and the sense of hearing audio information is corresponding Volume it is smaller.
9. a kind of device for being used to export audio information in computer equipment, wherein, the device includes:
For the input operation performed according to user to input method, the device of acquisition input operation information;
For according to the input operation information, it is determined that the device of the audio information to match;
For exporting the device of the audio information;
Wherein, the input operation information includes the list entries of user input, whenever user inputs newly in input method Symbol or stroke when make it that list entries changes, the computer equipment output is relative with the new symbol or stroke The audio information answered;
Wherein, the input operation information includes user's selection, corresponding with the list entries of user's input candidate item, is used for According to the input operation information, it is determined that the device of the audio information to match is used for:
According to tone corresponding to the selected candidate item, it is determined that the audio information to match with selected candidate item.
10. device according to claim 9, wherein, the audio information includes at least one of following:
- sense of hearing audio information;
- visual sound effect information.
11. device according to claim 10, wherein, the device for exporting the audio information includes:
For playing the sense of hearing audio information, and/or, show the device of the visual sound effect information.
12. the device according to any one of claim 9 to 11, wherein, the input operation information include it is following at least One:
The list entries of-user input;
- user selection, corresponding with the list entries that user inputs candidate item;
The input speed information of-input operation.
13. device according to claim 12, wherein, the input operation information includes the list entries or the time Option, wherein, the device also includes:
For the device for the contextual information for obtaining the list entries or candidate item;
Wherein, for according to the input operation information, it is determined that the device of the audio information to match includes:
For according to the input operation information and the contextual information, it is determined that the device of the audio information to match.
14. device according to claim 13, wherein, for according to the input operation information and context letter Breath, it is determined that the device of the audio information to match includes:
For according to the input operation information and contextual information, determining the device of the emotional information of the user;
For according to the emotional information, it is determined that the device of the audio information to match.
15. device according to claim 12, the input operation information includes input speed corresponding to the input operation Information is spent, for according to the input operation information, it is determined that the device of the audio information to match includes:
For according to the input speed information, it is determined that the device of the sense of hearing audio information to match.
16. device according to claim 15, wherein, the speed indicated by the input speed information is bigger, described to listen Volume corresponding to Buddhaghosa effect information is bigger, and the speed indicated by the input speed information is smaller, the sense of hearing audio information pair The volume answered is smaller.
CN201510134636.XA 2015-03-25 2015-03-25 A kind of method and apparatus for being used to export audio information in computer equipment Active CN104866091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510134636.XA CN104866091B (en) 2015-03-25 2015-03-25 A kind of method and apparatus for being used to export audio information in computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510134636.XA CN104866091B (en) 2015-03-25 2015-03-25 A kind of method and apparatus for being used to export audio information in computer equipment

Publications (2)

Publication Number Publication Date
CN104866091A CN104866091A (en) 2015-08-26
CN104866091B true CN104866091B (en) 2018-02-23

Family

ID=53911973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510134636.XA Active CN104866091B (en) 2015-03-25 2015-03-25 A kind of method and apparatus for being used to export audio information in computer equipment

Country Status (1)

Country Link
CN (1) CN104866091B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858099B (en) * 2018-08-20 2024-04-12 北京搜狗科技发展有限公司 Candidate word generation method and device
CN111507143B (en) * 2019-01-31 2023-06-02 北京字节跳动网络技术有限公司 Expression image effect generation method and device and electronic equipment
CN110706040B (en) * 2019-10-16 2023-05-05 柯优兔区块链研究(广州)中心(有限合伙) Information acquisition method and device
CN110853606A (en) * 2019-11-26 2020-02-28 Oppo广东移动通信有限公司 Sound effect configuration method and device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001175260A (en) * 1999-12-20 2001-06-29 Sharp Corp Sound information input processor
CN1491021A (en) * 2002-08-30 2004-04-21 雅马哈株式会社 Portable terminal device
CN101761860A (en) * 2008-11-21 2010-06-30 南通芯迎设计服务有限公司 USB typing speed indication lamp
CN102323919A (en) * 2011-08-12 2012-01-18 百度在线网络技术(北京)有限公司 Method for displaying input information based on user mood indication information and equipment
CN102541408A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for calling out matched music by using character input interface
CN103092969A (en) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 Method, client side and system for conducting streaming media retrieval to input method candidate item

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001175260A (en) * 1999-12-20 2001-06-29 Sharp Corp Sound information input processor
CN1491021A (en) * 2002-08-30 2004-04-21 雅马哈株式会社 Portable terminal device
CN101761860A (en) * 2008-11-21 2010-06-30 南通芯迎设计服务有限公司 USB typing speed indication lamp
CN102541408A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for calling out matched music by using character input interface
CN102323919A (en) * 2011-08-12 2012-01-18 百度在线网络技术(北京)有限公司 Method for displaying input information based on user mood indication information and equipment
CN103092969A (en) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 Method, client side and system for conducting streaming media retrieval to input method candidate item

Also Published As

Publication number Publication date
CN104866091A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104866468B (en) A kind of false customer's comment recognition methods of Chinese
CN108288468A (en) Audio recognition method and device
CN112533051B (en) Barrage information display method, barrage information display device, computer equipment and storage medium
US9064484B1 (en) Method of providing feedback on performance of karaoke song
CN106462640B (en) Contextual search of multimedia content
CN104866091B (en) A kind of method and apparatus for being used to export audio information in computer equipment
CN107818105A (en) The recommendation method and server of application program
CN104199898B (en) Acquisition methods and device, the method for pushing and device of a kind of attribute information
CN106796583A (en) System and method for recognizing and advising emoticon
CN103942328B (en) A kind of video retrieval method and video-unit
CN107155127A (en) The instruction of protuberance is provided in video content item
CN106202073A (en) Music recommends method and system
Ye et al. Interpreting the rhetoric of visual advertisements
CN109558500A (en) Multimedia sequence generation method, medium, device and calculating equipment
CN110110134A (en) A kind of generation method, system and the associated component of music recommendation information
CN107357777A (en) The method and apparatus for extracting label information
CN108345612A (en) A kind of question processing method and device, a kind of device for issue handling
CN110198482A (en) A kind of video emphasis bridge section mask method, terminal and storage medium
CN107885717A (en) A kind of keyword extracting method and device
CN105335383A (en) Input information processing method and device
CN104994000A (en) Method and device for dynamic presentation of image
US20140096089A1 (en) Electronic device including mind-map user interface and method for manipulating mind-map using the same
CN103942247B (en) The information providing method and device of multimedia resource
CN106984044A (en) Method and apparatus for starting default flow
US11800179B2 (en) Multiview video with one window based on another

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant