CN110308800A - Switching method, device, system and the storage medium of input mode - Google Patents

Switching method, device, system and the storage medium of input mode Download PDF

Info

Publication number
CN110308800A
CN110308800A CN201910550920.3A CN201910550920A CN110308800A CN 110308800 A CN110308800 A CN 110308800A CN 201910550920 A CN201910550920 A CN 201910550920A CN 110308800 A CN110308800 A CN 110308800A
Authority
CN
China
Prior art keywords
mode
input mode
environmental
data
input
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.)
Granted
Application number
CN201910550920.3A
Other languages
Chinese (zh)
Other versions
CN110308800B (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 CN201910550920.3A priority Critical patent/CN110308800B/en
Publication of CN110308800A publication Critical patent/CN110308800A/en
Application granted granted Critical
Publication of CN110308800B publication Critical patent/CN110308800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides switching method, device, system and the storage medium of a kind of input mode, this method comprises: obtaining the environmental data of current scene;According to the environmental data, the environmental pattern of current scene is determined;Wherein, different environmental patterns corresponds to different input modes;According to the environmental pattern, switch current input mode.The present invention can automatically switch the input mode to match with scene according to current scene, reduce the operating procedure of user, so that the switching of input mode is more efficient, user experience is good.

Description

Switching method, device, system and the storage medium of input mode
Technical field
The present invention relates to technical field of data processing more particularly to a kind of switching method of input mode, device, system and Storage medium.
Background technique
With the development of terminal technology, more and more terminals can support a variety of different input modes, as voice is defeated Enter mode, keyboard entry method, handwriting input mode etc..
Currently, generally can first call the input mode of default when terminal calls input mode.At this point, if user needs Using other input modes, then need to be switched to other input modes in a manual manner.
But in practical applications, the input mode of default can not be applicable in all scenes, the hair of the scene locating for the user When changing, user needs continually to switch input mode, to guarantee easily input experience, operates relatively complicated, user's body It tests bad.
Summary of the invention
The present invention provides switching method, device, system and the storage medium of a kind of input mode, can be according to current scene Automatically switch the input mode to match with scene, reduces the operating procedure of user, so that the switching of input mode is more efficient, User experience is good.
In a first aspect, the present invention provides a kind of switching method of input mode, comprising:
Obtain the environmental data of current scene;
According to the environmental data, the environmental pattern of current scene is determined;Wherein, different environmental patterns corresponds to different Input mode;
According to the environmental pattern, switch current input mode.
In a kind of possible design, the environmental data for obtaining current scene, comprising:
Obtain gyro data and microphone data;Wherein, the gyro data is used to characterize the journey of jolting of current scene Degree;The microphone data is used to characterize the noisy degree of current scene.
In a kind of possible design, according to the environmental data, the environmental pattern of current scene is determined, comprising:
The environmental pattern of current scene is determined according to gyro data and microphone data;The environmental pattern includes: first Mode, second mode, the third mode, fourth mode.
In a kind of possible design,
The first mode refers to: the numerical value of the gyro data is greater than first threshold, and point of the microphone data Shellfish is less than second threshold;
The second mode refers to: the numerical value of the gyro data is greater than first threshold, and point of the microphone data Shellfish is not less than second threshold;
The third mode refers to: the numerical value of the gyro data is not more than first threshold, and the decibel of the microphone Less than second threshold;
The fourth mode refers to: the numerical value of the gyro data is not more than first threshold, and the decibel of the microphone Not less than second threshold.
In a kind of possible design, according to the environmental pattern, switch current input mode, comprising:
If the environmental pattern of current scene is first mode, switching current input mode is voice input mode;
If the environmental pattern of current scene is second mode or the third mode, keep current input mode constant;
If the environmental pattern of current scene is fourth mode, switching current input mode is handwriting input mode, or Keyboard entry method.
In a kind of possible design, further includes:
According to the environmental pattern of current scene, display is used with the matched recommendation of the current scene on input mode interface Language.
In a kind of possible design, further includes:
User is received for the confirmation operation for recommending term, and institute is shown in input frame according to the confirmation operation State recommendation term.
Second aspect, the present invention provide a kind of switching device of input mode, comprising:
Module is obtained, for obtaining the environmental data of current scene;
Determining module, for determining the environmental pattern of current scene according to the environmental data;Wherein, different environment Mode corresponds to different input modes;
Switching module, for switching current input mode according to the environmental pattern.
In a kind of possible design, the acquisition module is specifically used for:
Obtain gyro data and microphone data;Wherein, the gyro data is used to characterize the journey of jolting of current scene Degree;The microphone data is used to characterize the noisy degree of current scene.
In a kind of possible design, the determining module is specifically used for:
The environmental pattern of current scene is determined according to gyro data and microphone data;The environmental pattern includes: first Mode, second mode, the third mode, fourth mode.
In a kind of possible design, the first mode refers to: the numerical value of the gyro data is greater than first threshold, And the decibel of the microphone data is less than second threshold;
The second mode refers to: the numerical value of the gyro data is greater than first threshold, and point of the microphone data Shellfish is not less than second threshold;
The third mode refers to: the numerical value of the gyro data is not more than first threshold, and the decibel of the microphone Less than second threshold;
The fourth mode refers to: the numerical value of the gyro data is not more than first threshold, and the decibel of the microphone Not less than second threshold;
In a kind of possible design, the switching module is specifically used for:
If the environmental pattern of current scene is first mode, switching current input mode is voice input mode;
If the environmental pattern of current scene is second mode or the third mode, keep current input mode constant;
If the environmental pattern of current scene is fourth mode, switching current input mode is handwriting input mode, or Keyboard entry method.
In a kind of possible design, further includes:
Display module, for the environmental pattern according to current scene, display works as front court with described on input mode interface The matched recommendation term of scape.
In a kind of possible design, the display module is also used to:
User is received for the confirmation operation for recommending term, and institute is shown in input frame according to the confirmation operation State recommendation term.
The third aspect, the present invention provide a kind of switching system of input mode, comprising: processor and memory;Memory In be stored with the executable instruction of the processor;Wherein, the processor is configured to next via the executable instruction is executed Execute the switching method of the input mode as described in any one of first aspect.
Fourth aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the program The switching method of input mode described in any one of first aspect is realized when being executed by processor.
5th aspect, the embodiment of the present invention provide a kind of program product, and described program product includes: computer program, institute It states computer program to be stored in readable storage medium storing program for executing, at least one processor of server can be from the readable storage medium storing program for executing The computer program is read, at least one described processor executes the computer program and server is made to execute first aspect In any input mode switching method.
Switching method, device, system and the storage medium of a kind of input mode provided by the invention work as front court by obtaining The environmental data of scape;According to the environmental data, the environmental pattern of current scene is determined;Wherein, different environmental patterns is corresponding Different input modes;According to the environmental pattern, switch current input mode.The present invention can be automatic according to current scene The input mode that switching matches with scene, reduces the operating procedure of user, so that the switching of input mode is more efficient, user It experiences good.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic illustration of an application scenarios of the invention;
Fig. 2 is the flow chart of the switching method for the input mode that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the switching method of input mode provided by Embodiment 2 of the present invention;
Fig. 4 is the structural schematic diagram of the switching device for the input mode that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram of the switching device for the input mode that the embodiment of the present invention four provides;
Fig. 6 is the structural schematic diagram of the switching system for the input mode that the embodiment of the present invention five provides.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
With the development of terminal technology, more and more terminals can support a variety of different input modes, as voice is defeated Enter mode, keyboard entry method, handwriting input mode etc..Currently, generally can first be called silent when terminal calls input mode The input mode recognized.At this point, if user needs to need to be switched to other inputs in a manual manner using other input modes Mode.But in practical applications, the input mode of default can not be applicable in all scenes.For example, when user is in motion process In, it needs in terminal input message, if default uses handwriting input mode or keyboard entry method, user is needed to stop fortune It inputs, causes inconvenience to the user after dynamic.And in this scenario, more appropriate input mode is voice input, and user can be Input can be completed in motion process, user experience is good.When the scene locating for the user changes, user needs continually to cut Input mode is changed, to guarantee easily input experience, operation is relatively complicated, and user experience is bad.
In view of the above technical problems, switching method, device, system and the storage that the present invention provides a kind of input mode are situated between Matter can automatically switch the input mode to match with scene according to current scene, reduce the operating procedure of user, so that input The switching of mode is more efficient, and user experience is good.Fig. 1 is the schematic illustration of an application scenarios of the invention, as shown in Figure 1, mesh Before, the input mode of terminal specifically includes that voice input mode, keyboard entry method, handwriting input mode.In practical application In, the input mode of default can not be applicable in all scenes.For example, working as user during the motion, needs to input in terminal and believe When breath, if default use handwriting input mode or keyboard entry method, need user stop movement after input, caused to user It is inconvenient.And in this scenario, more appropriate input mode is voice input, and user can be completed defeated during the motion Enter, user experience is good.The essential environmental factors of influence voice input quality and efficiency is the noisy degree of environment, in ambient noise It interferes in biggish situation, often will affect the quality and efficiency of voice input.And influence keyboard input and handwriting input matter The essential environmental factors of amount and efficiency is environment consistent level, when more jolting, often will affect key or hand extraneous The accuracy write, to influence keyboard input and handwriting input quality and efficiency.Therefore, can by the gyroscope of terminal and Speech ciphering equipment obtains gyro data and microphone data.Gyro data is used to characterize the degree of jolting of current scene;Microphone number According to the noisy degree for characterizing current scene.Then, different environmental patterns corresponds to different input modes, can be according to ring Border data determine the environmental pattern of current scene.The environment of current scene can be determined according to gyro data and microphone data Mode.First threshold is set up to the numerical value of gyro data, the decibel of microphone sets up second threshold, according to gyro data Whether the decibel of numerical value and microphone is more than threshold value, and first mode, second mode, the third mode, four kinds of fourth mode is respectively set Mode.Wherein, first mode refers to: the numerical value of gyro data is greater than first threshold, and the decibel of microphone data is less than second Threshold value.The corresponding scene of first mode may be that user runs or moves in gymnasium, and motion process causes terminal at this time Jolt and affect writing or keyboard input, and indoor quietly environment does not influence the input of voice.Second mode refers to: top The numerical value of spiral shell instrument data is greater than first threshold, and the decibel of microphone data is not less than second threshold.The corresponding scene of second mode It may be user than under relatively rugged environment, such as user, in discotheque disco dancing, environment at this time will affect any input The input quality and efficiency of method.The third mode refers to: the numerical value of gyro data is not more than first threshold, and the decibel of microphone is small In second threshold.The corresponding scene of the third mode may be user in more quiet gentle environment, such as user is in books Shop study, environment at this time will not influence the input quality and efficiency of any input method.Fourth mode refers to: gyroscope number According to numerical value be not more than first threshold, and the decibel of microphone be not less than second threshold.The corresponding scene of fourth mode may be use Family is bought vegetables in the place of clamour, such as user in food market, and the clamour of environment can not influence the input of voice at this time, and to writing Or the influence very little of keyboard input.Finally, current input mode can also be switched according to environmental pattern.If current scene Environmental pattern be first mode, then switch current input mode be voice input mode;If the environmental pattern of current scene is Second mode or the third mode then keep current input mode constant;If the environmental pattern of current scene is fourth mode, Switching current input mode is handwriting input mode or keyboard entry method.At the same time it can also according to the environment of current scene Mode, display and the matched recommendation term of current scene on input mode interface.For example, display is " present on input interface Inconvenience returns your message after a while " recommendation term.Different recommendation terms can be matched according to different environmental patterns.Example Such as, it in first mode or second mode, is matched with and recommends term " now inconvenient, return after a while your message ", and in third When mode or fourth mode, no recommendation term.User can also be with the corresponding recommendation term of manual setting environmental pattern.For example, with Manual setting first mode corresponding recommendation term in family is " running check card in, reply you later, thanks ".
It should be noted that the method for the present embodiment, can be applied to the terminal for the application for being loaded with input method, such as hand Machine, tablet computer etc. also can be applied to other handheld terminals.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is the flow chart of the switching method for the input mode that the embodiment of the present invention one provides, as shown in Fig. 2, this implementation Example in method may include:
S101, the environmental data for obtaining current scene.
In the present embodiment, with the development of terminal technology, more and more terminals can support a variety of different input sides Formula, such as voice input mode, keyboard entry method, handwriting input mode.Currently, when terminal calls input mode, one As can first call the input mode of default.At this point, if user needs to need to cut in a manual manner using other input modes It is changed to other input modes.But in practical applications, the input mode of default can not be applicable in all scenes.For example, when using Family during the motion, is needed in terminal input message, if default uses handwriting input mode or keyboard entry method, is needed Want user stop movement after input, cause inconvenience to the user.And in this scenario, more appropriate input mode is that voice is defeated Enter, input can be completed in user during the motion, and user experience is good.When the scene locating for the user changes, use Family needs continually to switch input mode, and to guarantee easily input experience, operation is relatively complicated, and user experience is bad.For Above-mentioned technical problem, method provided by the invention can automatically switch the input mode to match with scene according to current scene, The operating procedure for reducing user, so that the switching of input mode is more efficient.Therefore, the environment of current scene available first Data.It should be noted that the method for the present embodiment, the terminal for the application for being loaded with input method can be applied to, such as mobile phone, Tablet computer etc. also can be applied to other handheld terminals.The present embodiment, which takes the mobile phone as an example, to be illustrated.
Optionally, the environmental data of current scene is obtained, comprising: obtain gyro data and microphone data;Wherein, gyro Instrument data are used to characterize the degree of jolting of current scene;Microphone data is used to characterize the noisy degree of current scene.
Specifically, currently, the input mode of terminal specifically includes that voice input mode, keyboard entry method, handwriting input Mode.The essential environmental factors of influence voice input quality and efficiency is the noisy degree of environment, larger in extraneous noise jamming In the case where, it often will affect the quality and efficiency of voice input.And influence keyboard input and handwriting input quality and efficiency Essential environmental factors be environment consistent level, extraneous when more jolting, often will affect key or hand-written accurate Degree, to influence keyboard input and handwriting input quality and efficiency.Therefore, the gyroscope and speech ciphering equipment of terminal can be passed through Obtain gyro data and microphone data.Gyro data is used to characterize the degree of jolting of current scene;Microphone data is used for table Levy the noisy degree of current scene.
S102, according to environmental data, determine the environmental pattern of current scene.Wherein, different environmental patterns is corresponding different Input mode.
In the present embodiment, different environmental patterns corresponds to different input modes, can be determined current according to environmental data The environmental pattern of scene.
Optionally, the environmental pattern of current scene is determined according to gyro data and microphone data;Environmental pattern includes: One mode, second mode, the third mode, fourth mode.Optionally, first mode refers to: the numerical value of gyro data is greater than the One threshold value, and the decibel of microphone data is less than second threshold;Second mode refers to: the numerical value of gyro data is greater than the first threshold Value, and the decibel of microphone data is not less than second threshold;The third mode refers to: the numerical value of gyro data is not more than the first threshold Value, and the decibel of microphone is less than second threshold;Fourth mode refers to: the numerical value of gyro data is not more than first threshold, and talks about The decibel of cylinder is not less than second threshold.
Specifically, the environmental pattern of current scene can be determined according to gyro data and microphone data.To gyroscope number According to numerical value set up first threshold, the decibel of microphone sets up second threshold, according to point of the numerical value of gyro data and microphone Whether shellfish is more than threshold value, and four kinds of first mode, second mode, the third mode, fourth mode modes are respectively set.Wherein, first Mode refers to: the numerical value of gyro data is greater than first threshold, and the decibel of microphone data is less than second threshold.First mode pair The scene answered may be that user runs or moves in gymnasium, and motion process causes jolting for terminal and affects writing at this time Or keyboard input, and indoor quietly environment does not influence the input of voice.Second mode refers to: the numerical value of gyro data is big In first threshold, and the decibel of microphone data is not less than second threshold.The corresponding scene of second mode may be that user is comparing Under rugged environment, such as user, in discotheque disco dancing, environment at this time will affect the input quality and effect of any input method Rate.The third mode refers to: the numerical value of gyro data is not more than first threshold, and the decibel of microphone is less than second threshold.Third The corresponding scene of mode may be user in more quiet gentle environment, such as user learns in library, ring at this time Border will not influence the input quality and efficiency of any input method.Fourth mode refers to: the numerical value of gyro data is not more than First threshold, and the decibel of microphone is not less than second threshold.The corresponding scene of fourth mode may be user in the place of clamour, Such as user buys vegetables in food market, the clamour of environment can not influence the input of voice at this time, and writing or keyboard are inputted Influence very little.
S103, according to environmental pattern, switch current input mode.
In the present embodiment, current input mode can be switched according to environmental pattern.If the environmental pattern of current scene is First mode, then switching current input mode is voice input mode;If the environmental pattern of current scene be second mode or The third mode then keeps current input mode constant;If the environmental pattern of current scene is fourth mode, switch current input Mode is handwriting input mode or keyboard entry method.
Specifically, when using voice input mode, user generally only needs to pin voice enter key, passes through the side spoken Formula input information, that is, need to open one's mouth based on, start supplemented by.And it is inputted using handwriting input mode or keyboard entry method When, user needs to input information by key or hand-written mode in terminal, and eyes needs look in input process Whether screen is correct with confirmation message input, that is, needs to start and move based on eye.Therefore, the noisy degree opponent of environment and eyes Influence it is smaller, and being affected for mouth.And jolt degree opponent and the eyes of environment are affected, and for mouth It influences smaller.Therefore, if the environmental pattern of current scene is first mode, i.e., environment is to jolt larger, when environment quiet, is then cut Changing current input mode is voice input mode, can obtain better user experience.If the environmental pattern of current scene is the Four modes, i.e. environment are smaller to jolt, and when environment is noisy, then switching current input mode is handwriting input mode or keyboard Input mode can obtain better user experience.If the environmental pattern of current scene be second mode, i.e., environment be jolt compared with Greatly, environment is noisy, and the input effect of any input mode is all undesirable at this time, then keeps current input mode constant.If The environmental pattern of current scene is the third mode, i.e., environment is to jolt larger, and environment is noisy, at this time any input mode Input effect is all highly desirable, then keeps current input mode constant.
The present embodiment, by the environmental data for obtaining current scene;According to environmental data, the environment mould of current scene is determined Formula;Wherein, different environmental patterns corresponds to different input modes;According to environmental pattern, switch current input mode.This hair It is bright the input mode to match with scene to be automatically switched according to current scene, the operating procedure of user is reduced, so that input The switching of mode is more efficient, and user experience is good.
Fig. 3 is the flow chart of the switching method of input mode provided by Embodiment 2 of the present invention, as shown in figure 3, this implementation Example in method may include:
S201, the environmental data for obtaining current scene;
S202, according to environmental data, determine the environmental pattern of current scene;Wherein, different environmental patterns is corresponding different Input mode;
S203, according to environmental pattern, switch current input mode.
In the present embodiment, step S201~step S203 specific implementation process and technical principle are shown in Figure 2 Associated description in method in step S101~step S103, details are not described herein again.
S204, the environmental pattern according to current scene, display and the matched recommendation of current scene on input mode interface Term.
In the present embodiment, it can also be shown on input mode interface according to the environmental pattern of current scene and work as front court The matched recommendation term of scape.For example, on input interface display " now inconvenient, return after a while your message " recommendation term. Different recommendation terms can be matched according to different environmental patterns.For example, being matched with and pushing away in first mode or second mode Term " now inconvenient, return after a while your message " is recommended, and in the third mode or fourth mode, no recommendation term.User It can be with the corresponding recommendation term of manual setting environmental pattern.For example, the corresponding recommendation term of user's manual setting first mode is " running check card in, reply you later, thanks ".
Optionally, user can also be received for the confirmation operation for recommending term, and according to confirmation operation in input frame Term is recommended in display.
Specifically, user can be in the terminal by the operation such as click, and confirmation is inputted using recommendation term, and defeated Enter to show recommendation term in frame.Such as user is in chat software, can click display " during running checks card, reply you later, Thanks " recommend term, term will be recommended to be sent to other side.To realize the operating procedure for reducing user, so that input is efficient Efficiently, user experience is promoted.
The present embodiment, by the environmental data for obtaining current scene;According to environmental data, the environment mould of current scene is determined Formula;Wherein, different environmental patterns corresponds to different input modes;According to environmental pattern, switch current input mode.This hair It is bright the input mode to match with scene to be automatically switched according to current scene, the operating procedure of user is reduced, so that input The switching of mode is more efficient, and user experience is good.
In addition, the present embodiment can also be shown and current according to the environmental pattern of current scene on input mode interface The recommendation term of scene matching.Then, user is also received for the confirmation operation of recommendation term, and is being inputted according to confirmation operation Term is recommended in display in frame.To realize the operating procedure for reducing user, so that input is more efficient, user experience is promoted.
Fig. 4 is the structural schematic diagram of the switching device for the input mode that the embodiment of the present invention three provides, as shown in figure 4, this The switching device of input mode in embodiment may include:
Module 31 is obtained, for obtaining the environmental data of current scene;
Determining module 32, for determining the environmental pattern of current scene according to environmental data;Wherein, different environment mould Formula corresponds to different input modes;
Switching module 33, for switching current input mode according to environmental pattern 31.
In a kind of possible design, module is obtained, is specifically used for:
Obtain gyro data and microphone data;Wherein, gyro data is used to characterize the degree of jolting of current scene;Words Cylinder data are used to characterize the noisy degree of current scene.
In a kind of possible design, determining module 32 is specifically used for:
The environmental pattern of current scene is determined according to gyro data and microphone data;Environmental pattern include: first mode, Second mode, the third mode, fourth mode.
In a kind of possible design, first mode refers to: the numerical value of gyro data is greater than first threshold, and microphone number According to decibel be less than second threshold;
Second mode refers to: the numerical value of gyro data is greater than first threshold, and the decibel of microphone data is not less than second Threshold value;
The third mode refers to: the numerical value of gyro data is not more than first threshold, and the decibel of microphone is less than second threshold;
Fourth mode refers to: the numerical value of gyro data is not more than first threshold, and the decibel of microphone is not less than the second threshold Value;
In a kind of possible design, switching module 33 is specifically used for:
If the environmental pattern of current scene is first mode, switching current input mode is voice input mode;
If the environmental pattern of current scene is second mode or the third mode, keep current input mode constant;
If the environmental pattern of current scene is fourth mode, switching current input mode is handwriting input mode, or Keyboard entry method.
The switching device of the input mode of the present embodiment can execute the technical solution in method shown in Fig. 2, specific real Associated description in existing process and technical principle method shown in Figure 2, details are not described herein again.
The present embodiment, by the environmental data for obtaining current scene;According to environmental data, the environment mould of current scene is determined Formula;Wherein, different environmental patterns corresponds to different input modes;According to environmental pattern, switch current input mode.This hair It is bright the input mode to match with scene to be automatically switched according to current scene, the operating procedure of user is reduced, so that input The switching of mode is more efficient, and user experience is good.
Fig. 5 is the structural schematic diagram of the switching device for the input mode that the embodiment of the present invention four provides, as shown in figure 5, this On the basis of the switching device of the input mode of embodiment device shown in Fig. 4, can also include:
Display module 34, for the environmental pattern according to current scene, display and current scene on input mode interface Matched recommendation term.
In a kind of possible design, display module 34 is also used to:
User is received for the confirmation operation for recommending term, and is shown in input frame according to confirmation operation and recommends term.
The switching device of the input mode of the present embodiment can execute the technical solution in method shown in Fig. 2, Fig. 3, tool Body realizes the associated description of process and technical principle referring to fig. 2, in method shown in Fig. 3, and details are not described herein again.
The present embodiment, by the environmental data for obtaining current scene;According to environmental data, the environment mould of current scene is determined Formula;Wherein, different environmental patterns corresponds to different input modes;According to environmental pattern, switch current input mode.This hair It is bright the input mode to match with scene to be automatically switched according to current scene, the operating procedure of user is reduced, so that input The switching of mode is more efficient, and user experience is good.
In addition, the present embodiment can also be shown and current according to the environmental pattern of current scene on input mode interface The recommendation term of scene matching.Then, user is also received for the confirmation operation of recommendation term, and is being inputted according to confirmation operation Term is recommended in display in frame.To realize the operating procedure for reducing user, so that input is efficient, user experience is promoted.
Fig. 6 is the structural schematic diagram of the switching system for the input mode that the embodiment of the present invention five provides, as shown in fig. 6, this The switching system 40 of the input mode of embodiment may include: processor 41 and memory 42.
Memory 42, for storing program;Memory 42 may include volatile memory (English: volatile Memory), for example, random access memory (English: random-access memory, abbreviation: RAM), such as static random-access Memory (English: static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random-access Memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviation: DDR SDRAM) etc.;Memory also may include nonvolatile memory (English: non-volatile memory), such as fastly Flash memory (English: flash memory).Memory 42 is used to store computer program (the application journey as realized the above method Sequence, functional module etc.), computer instruction etc., above-mentioned computer program, computer instruction etc. can with partitioned storage at one or In multiple memories 42.And above-mentioned computer program, computer instruction, data etc. can be called with device 41 processed.
Above-mentioned computer program, computer instruction etc. can be with partitioned storages in one or more memories 42.And Above-mentioned computer program, computer refer to according to etc. can be called with device 41 processed.
Processor 41, for executing the computer program of the storage of memory 42, to realize method that above-described embodiment is related to In each step.
It specifically may refer to the associated description in previous methods embodiment.
Processor 41 and memory 42 can be absolute construction, be also possible to the integrated morphology integrated.Work as processing When device 41 and memory 42 are absolute construction, memory 42, processor 41 can be of coupled connections by bus 43.
The present embodiment, by the environmental data for obtaining current scene;According to environmental data, the environment mould of current scene is determined Formula;Wherein, different environmental patterns corresponds to different input modes;According to environmental pattern, switch current input mode.This hair It is bright the input mode to match with scene to be automatically switched according to current scene, the operating procedure of user is reduced, so that input The switching of mode is more efficient, and user experience is good.
The switching system of the input mode of the present embodiment can execute the technical solution in method shown in Fig. 2, Fig. 3, tool Body realizes the associated description of process and technical principle referring to fig. 2, in method shown in Fig. 3, and details are not described herein again.
In addition, the embodiment of the present application also provides a kind of computer readable storage medium, deposited in computer readable storage medium Computer executed instructions are contained, when at least one processor of user equipment executes the computer executed instructions, user equipment Execute above-mentioned various possible methods.
The present embodiment, by the environmental data for obtaining current scene;According to environmental data, the environment mould of current scene is determined Formula;Wherein, different environmental patterns corresponds to different input modes;According to environmental pattern, switch current input mode.This hair It is bright the input mode to match with scene to be automatically switched according to current scene, the operating procedure of user is reduced, so that input The switching of mode is more efficient, and user experience is good.
Wherein, computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient for From a place to any medium of another place transmission computer program.Storage medium can be general or specialized computer Any usable medium that can be accessed.A kind of illustrative storage medium is coupled to processor, to enable a processor to from this Read information, and information can be written to the storage medium.Certainly, storage medium is also possible to the composition portion of processor Point.Pocessor and storage media can be located in ASIC.In addition, the ASIC can be located in user equipment.Certainly, processor and Storage medium can also be used as discrete assembly and be present in communication equipment.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or part of or all technical features are carried out etc. With replacement;And these modifications or substitutions, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution Range.

Claims (10)

1. a kind of switching method of input mode characterized by comprising
Obtain the environmental data of current scene;
According to the environmental data, the environmental pattern of current scene is determined;Wherein, different environmental patterns corresponds to different inputs Mode;
According to the environmental pattern, switch current input mode.
2. the method according to claim 1, wherein the environmental data for obtaining current scene, comprising:
Obtain gyro data and microphone data;Wherein, the gyro data is used to characterize the degree of jolting of current scene;Institute Microphone data is stated for characterizing the noisy degree of current scene.
3. according to the method described in claim 2, it is characterized in that, determining the environment of current scene according to the environmental data Mode, comprising:
The environmental pattern of current scene is determined according to gyro data and microphone data;The environmental pattern include: first mode, Second mode, the third mode, fourth mode.
4. according to the method described in claim 3, it is characterized in that,
The first mode refers to: the numerical value of the gyro data is greater than first threshold, and the decibel of the microphone data is small In second threshold;
The second mode refers to: the numerical value of the gyro data is greater than first threshold, and the decibel of the microphone data is not Less than second threshold;
The third mode refers to: the numerical value of the gyro data is not more than first threshold, and the decibel of the microphone is less than Second threshold;
The fourth mode refers to: the numerical value of the gyro data is not more than first threshold, and the decibel of the microphone is not small In second threshold.
5. according to the method described in claim 3, it is characterized in that, switch current input mode according to the environmental pattern, Include:
If the environmental pattern of current scene is first mode, switching current input mode is voice input mode;
If the environmental pattern of current scene is second mode or the third mode, keep current input mode constant;
If the environmental pattern of current scene is fourth mode, switching current input mode is handwriting input mode or keyboard Input mode.
6. method according to any one of claims 1-5, which is characterized in that further include:
According to the environmental pattern of current scene, display and the matched recommendation term of the current scene on input mode interface.
7. according to the method described in claim 6, it is characterized by further comprising:
User is received for the confirmation operation for recommending term, and push away described in showing in input frame according to the confirmation operation Recommend term.
8. a kind of switching device of input mode characterized by comprising
Module is obtained, for obtaining the environmental data of current scene;
Determining module, for determining the environmental pattern of current scene according to the environmental data;Wherein, different environmental pattern Corresponding different input mode;
Switching module, for switching current input mode according to the environmental pattern.
9. a kind of switching system of input mode characterized by comprising processor and memory;It is stored in memory State the executable instruction of processor;Wherein, the processor is configured to want via executing the executable instruction and carry out perform claim Seek the switching method of the described in any item input modes of 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The switching method of the described in any item input modes of claim 1-7 is realized when execution.
CN201910550920.3A 2019-06-24 2019-06-24 Input mode switching method, device, system and storage medium Active CN110308800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910550920.3A CN110308800B (en) 2019-06-24 2019-06-24 Input mode switching method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910550920.3A CN110308800B (en) 2019-06-24 2019-06-24 Input mode switching method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN110308800A true CN110308800A (en) 2019-10-08
CN110308800B CN110308800B (en) 2023-11-10

Family

ID=68076371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910550920.3A Active CN110308800B (en) 2019-06-24 2019-06-24 Input mode switching method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN110308800B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736711A (en) * 2020-05-22 2020-10-02 北京百度网讯科技有限公司 Message input method, device, equipment and computer storage medium
CN111897477A (en) * 2020-08-04 2020-11-06 上海传英信息技术有限公司 Mobile terminal control method, mobile terminal and storage medium
CN117251095A (en) * 2023-09-12 2023-12-19 深圳市驿格科技有限公司 Data input method and system for PDA

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06131108A (en) * 1992-10-20 1994-05-13 Csk Corp Information input device
WO1999060465A1 (en) * 1998-05-20 1999-11-25 Fonix Corporation Apparatus and method for processing handwritten and hand-drawn input and speech input
US6438523B1 (en) * 1998-05-20 2002-08-20 John A. Oberteuffer Processing handwritten and hand-drawn input and speech input
CN101002455A (en) * 2004-06-04 2007-07-18 B·F·加萨比安 System to enhance data entry in mobile and fixed environment
CN102207816A (en) * 2010-07-16 2011-10-05 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
US20120139831A1 (en) * 2009-08-10 2012-06-07 Zte Corporation Method and apparatus for switching input methods of a mobile terminal
CN102792764A (en) * 2010-02-10 2012-11-21 惠普发展公司,有限责任合伙企业 Mobile device having plurality of input modes
CN104135564A (en) * 2014-07-14 2014-11-05 掌赢信息科技(上海)有限公司 A switching method, a displaying interface and a switching device for multimode input of an instant messaging program
CN105589642A (en) * 2014-10-29 2016-05-18 深圳富泰宏精密工业有限公司 Input method automatic switching system and method of handheld electronic device
CN106155293A (en) * 2015-04-16 2016-11-23 北京智谷睿拓技术服务有限公司 Exchange method, interactive device and subscriber equipment
CN106375810A (en) * 2016-08-31 2017-02-01 深圳Tcl数字技术有限公司 Input method automatic switching method and system for smart television
CN106874057A (en) * 2017-04-11 2017-06-20 惠州学院 A kind of information input method and its equipment
CN107300986A (en) * 2017-06-30 2017-10-27 联想(北京)有限公司 Input method switching method and device
CN107357444A (en) * 2017-07-18 2017-11-17 赵宇航 A kind of input pattern intelligent switch method and device based on usage scenario
CN107580251A (en) * 2017-09-15 2018-01-12 孙凤兰 The adaptively selected system of information input mode
CN107754316A (en) * 2017-11-10 2018-03-06 维沃移动通信有限公司 A kind of information interchange processing method and mobile terminal
CN107831994A (en) * 2017-11-28 2018-03-23 珠海市魅族科技有限公司 Input method enables method and device, computer installation and readable storage medium storing program for executing
CN108197243A (en) * 2017-12-29 2018-06-22 北京奇虎科技有限公司 Method and device is recommended in a kind of input association based on user identity
CN108563965A (en) * 2018-03-29 2018-09-21 广东欧珀移动通信有限公司 Character input method and device, computer readable storage medium, terminal
CN108762876A (en) * 2018-05-31 2018-11-06 努比亚技术有限公司 A kind of input method switching method, mobile terminal and computer storage media
CN109529344A (en) * 2019-01-10 2019-03-29 珠海天燕科技有限公司 Input method and device in game process

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06131108A (en) * 1992-10-20 1994-05-13 Csk Corp Information input device
WO1999060465A1 (en) * 1998-05-20 1999-11-25 Fonix Corporation Apparatus and method for processing handwritten and hand-drawn input and speech input
US6438523B1 (en) * 1998-05-20 2002-08-20 John A. Oberteuffer Processing handwritten and hand-drawn input and speech input
CN101002455A (en) * 2004-06-04 2007-07-18 B·F·加萨比安 System to enhance data entry in mobile and fixed environment
US20120139831A1 (en) * 2009-08-10 2012-06-07 Zte Corporation Method and apparatus for switching input methods of a mobile terminal
CN102792764A (en) * 2010-02-10 2012-11-21 惠普发展公司,有限责任合伙企业 Mobile device having plurality of input modes
CN102207816A (en) * 2010-07-16 2011-10-05 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
CN104135564A (en) * 2014-07-14 2014-11-05 掌赢信息科技(上海)有限公司 A switching method, a displaying interface and a switching device for multimode input of an instant messaging program
CN105589642A (en) * 2014-10-29 2016-05-18 深圳富泰宏精密工业有限公司 Input method automatic switching system and method of handheld electronic device
CN106155293A (en) * 2015-04-16 2016-11-23 北京智谷睿拓技术服务有限公司 Exchange method, interactive device and subscriber equipment
CN106375810A (en) * 2016-08-31 2017-02-01 深圳Tcl数字技术有限公司 Input method automatic switching method and system for smart television
CN106874057A (en) * 2017-04-11 2017-06-20 惠州学院 A kind of information input method and its equipment
CN107300986A (en) * 2017-06-30 2017-10-27 联想(北京)有限公司 Input method switching method and device
CN107357444A (en) * 2017-07-18 2017-11-17 赵宇航 A kind of input pattern intelligent switch method and device based on usage scenario
CN107580251A (en) * 2017-09-15 2018-01-12 孙凤兰 The adaptively selected system of information input mode
CN107754316A (en) * 2017-11-10 2018-03-06 维沃移动通信有限公司 A kind of information interchange processing method and mobile terminal
CN107831994A (en) * 2017-11-28 2018-03-23 珠海市魅族科技有限公司 Input method enables method and device, computer installation and readable storage medium storing program for executing
CN108197243A (en) * 2017-12-29 2018-06-22 北京奇虎科技有限公司 Method and device is recommended in a kind of input association based on user identity
CN108563965A (en) * 2018-03-29 2018-09-21 广东欧珀移动通信有限公司 Character input method and device, computer readable storage medium, terminal
CN108762876A (en) * 2018-05-31 2018-11-06 努比亚技术有限公司 A kind of input method switching method, mobile terminal and computer storage media
CN109529344A (en) * 2019-01-10 2019-03-29 珠海天燕科技有限公司 Input method and device in game process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹帮琴;徐向阳: "用Visual Foxpro自定义类实现中英文输入法自动切换", 洛阳工业高等专科学校学报, pages 32 - 34 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736711A (en) * 2020-05-22 2020-10-02 北京百度网讯科技有限公司 Message input method, device, equipment and computer storage medium
CN111897477A (en) * 2020-08-04 2020-11-06 上海传英信息技术有限公司 Mobile terminal control method, mobile terminal and storage medium
CN117251095A (en) * 2023-09-12 2023-12-19 深圳市驿格科技有限公司 Data input method and system for PDA
CN117251095B (en) * 2023-09-12 2024-05-17 深圳市驿格科技有限公司 Data input method and system for PDA

Also Published As

Publication number Publication date
CN110308800B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
KR102437944B1 (en) Voice wake-up method and device
CN110308800A (en) Switching method, device, system and the storage medium of input mode
CN104951335B (en) The processing method and processing device of application program installation kit
CN108780646A (en) Intermediate scoring for the detection of modified key phrase and refusal loopback
US10984793B2 (en) Voice interaction method and device
KR20190046631A (en) System and method for natural language processing
CN110956956A (en) Voice recognition method and device based on policy rules
US20200026977A1 (en) Electronic apparatus and control method thereof
CN110174942B (en) Eye movement synthesis method and device
US11468892B2 (en) Electronic apparatus and method for controlling electronic apparatus
CN112735407B (en) Dialogue processing method and device
CN111742311A (en) Intelligent assistant method
CN111028828A (en) Voice interaction method based on screen drawing, screen drawing and storage medium
CN115545002A (en) Method, device, storage medium and equipment for model training and business processing
CN108831444A (en) Semantic resources training method and system for voice dialogue platform
US12008988B2 (en) Electronic apparatus and controlling method thereof
CN113641894A (en) Information recommendation method and device
CN108984628A (en) Content description generates the loss value-acquiring method and device of model
US20230342602A1 (en) Electronic device and method for controlling same
CN108595141A (en) Pronunciation inputting method and device, computer installation and computer readable storage medium
CN112966577A (en) Method and device for model training and information providing
CN115019781A (en) Conversation service execution method, device, storage medium and electronic equipment
CN113076262B (en) Webpage automatic testing method and device
CN110472223A (en) A kind of input configuration method, device and electronic equipment
CN110443746B (en) Picture processing method and device based on generation countermeasure network and electronic equipment

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