CN106383740A - Method for system switching and terminal - Google Patents
Method for system switching and terminal Download PDFInfo
- Publication number
- CN106383740A CN106383740A CN201610819534.6A CN201610819534A CN106383740A CN 106383740 A CN106383740 A CN 106383740A CN 201610819534 A CN201610819534 A CN 201610819534A CN 106383740 A CN106383740 A CN 106383740A
- Authority
- CN
- China
- Prior art keywords
- keyword
- terminal
- operating system
- word
- acoustic information
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a method for system switching. The method includes: acquiring an audio message; according to the audio message, judging whether a voice sample is recognized or not; if the voice sample is recognized, converting the voice sample to characters; according to key words pre-stored in a terminal, calculating the times of the prestored key words found in the characters; if the times of the key words found exceed a preset threshold value, judging whether the key words are key words corresponding to the operating system currently used by the terminal; if the key words are not the key words corresponding to the operating system currently used by the terminal, switching the current operating system to another operating system corresponding to the key words. The operating system switching mode provided by the invention, by calculating the audio messages of a user, achieves flexible system switching, and has the advantages of high intellectuality and convenience.
Description
Technical field
The present invention relates to electronic technology field, more particularly, to a kind of system switching method and terminal.
Background technology
With terminal using increasingly extensive, people can run several operation systems using terminal.At present, with user
In-depth to the differentiation of terminal requirements, and the safety problem that terminal becomes increasingly conspicuous, the terminal of multiple operating system is in city
Show up prominently on, but how this designs the switching mode between multiple operating system on earth, the conjunction of switching mode design does not conform to
Reason, is directly connected to the experience of user.Therefore, how to realize easily operating system switching method, become raising terminal operation
The convenience technical problem urgently to be resolved hurrily with safety of system switching.
Content of the invention
The embodiment of the present invention provides a kind of system switching method and terminal, and the acoustic information that can pass through counting user is flexible
System of realizing switches, and intelligent height is easy to use.
In a first aspect, embodiments providing a kind of system switching method, the method includes:
Obtain acoustic information;
According to described acoustic information, judge whether to recognize speech samples;
If recognizing speech samples, described speech samples are converted to word;
The number of times of described keyword in the described word of keyword statistics according to prestoring in terminal;
If the number of times that described keyword occurs exceedes default threshold value, judge whether described keyword is that described terminal is worked as
The corresponding keyword of operating system of front use;
If described keyword is not for the corresponding keyword of the currently used operating system of described terminal, by current operation system
System switches to another operating system corresponding with described keyword.
On the other hand, embodiments provide a kind of terminal, this terminal includes:
First acquisition unit, for obtaining acoustic information;
First judging unit, for according to described acoustic information, judging whether to recognize speech samples;
Converting unit, if for recognizing speech samples, described speech samples is converted to word;
, for the secondary of described keyword according to the described word of keyword statistics prestoring in terminal in first statistic unit
Number;
Second judging unit, if the number of times occurring for described keyword exceedes default threshold value, judges described key
Whether word is the corresponding keyword of the currently used operating system of described terminal;
First switch unit, if be not for the corresponding pass of the currently used operating system of described terminal for described keyword
Key word, current operation system is switched to another operating system corresponding with described keyword;
The embodiment of the present invention is passed through to obtain acoustic information;According to described acoustic information, judge whether to recognize speech samples;
If recognizing speech samples, described speech samples are converted to word;Described word is counted according to the keyword prestoring in terminal
The number of times of described keyword occurs;If the number of times that described keyword occurs exceedes default threshold value, judge that described keyword is
The corresponding keyword of the no operating system currently used for described terminal;If described keyword is not currently used for described terminal
The corresponding keyword of operating system, current operation system is switched to another operating system corresponding with described keyword,
System can flexibly be realized by the acoustic information of counting user to switch, intelligent height, easy to use.
Brief description
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of system switching method that the embodiment of the present invention one provides.
Fig. 2 is a kind of another schematic flow sheet of system switching method that the embodiment of the present invention one provides.
Fig. 3 is a kind of another schematic flow sheet of system switching method that the embodiment of the present invention one provides.
Fig. 4 is a kind of schematic flow sheet of system switching method that the embodiment of the present invention two provides.
Fig. 5 is a kind of schematic flow sheet of system switching method that the embodiment of the present invention three provides.
Fig. 6 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.
Fig. 7 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention.
Fig. 8 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention.
Fig. 9 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention.
Figure 10 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention.
Figure 11 is a kind of structure composition schematic diagram of another embodiment of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work
Example, broadly falls into the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " inclusion " and "comprising" indicate
The presence of described feature, entirety, step, operation, element and/or assembly, but it is not precluded from one or more of the other feature, whole
Body, step, operation, the presence of element, assembly and/or its set or interpolation.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Hereafter clearly indicate other situations, otherwise " one " of singulative, " one " and " being somebody's turn to do " are intended to including plural form.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, IOS mobile phone,
Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile
Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned
Terminal.
Refer to Fig. 1, be a kind of schematic flow sheet of system switching method provided in an embodiment of the present invention.The method includes
Step S101~S105.
S101, obtains acoustic information.
Specifically, in embodiments of the present invention, user, in using terminal, is preinstalled with multiple operation systems in advance in terminal
For user, switching under different scenes or different use environment uses each operating system to system, in different use scenes or
Under different use environments, it is different to be switched to during different operating system access right, or different operating system according to residing not
The type of the application program in same its system of use scene is different, for example, in working environment, it is possible to use some record works
Make the office software of data, or can be with the office software of usage record customer information, and in non-working environment, to office ring
Office software under border is hidden, in order to avoid revealing work data or customer information.Alternatively, when carrying out system switching,
Acoustic information can be obtained by the receiver in terminal, described acoustic information can be that the user of using terminal normally chats
Information or user pass through communication session information of terminal and another terminal etc..
More specifically, with reference to Fig. 2, it is the sub-process schematic diagram of step S101.As illustrated, step S101 includes step
S1011~S1012.
S1011, if acoustic information is detected, starts timing.
In embodiments of the present invention, terminal arranges timing acquisition function, when acoustic information is detected, start terminal
On receiver obtaining acoustic information, and start timing.
S1012, if timing time reaches Preset Time, obtains described acoustic information and timing time is zeroed.
In embodiments of the present invention, described Preset Time can be 1 minute, can be 2 minutes or other are default
Time, described Preset Time can also be the time of user's self-defining;After terminal gets acoustic information in Preset Time,
The timing zero of terminal, resumes waiting for obtaining new acoustic information.
S102, according to described acoustic information, judges whether to recognize speech samples.
Specifically, in embodiments of the present invention, speech samples are the sound at least including human word, because practical application
In, the acoustic information acquired in receiver in possible terminal is not include the sound of word it is also possible to both comprise character portion
Divide the sound again comprising non-legible part, for example, one section of acoustic information may be one section of noise, more for example, this acoustic information
Front half section is to be the sound comprising word the noise second half section;It is thus desirable to being identified to the acoustic information acquired in receiver, more
Specifically, described acoustic information can be parsed by speech recognition technology and obtain this speech samples.
S103, if recognizing speech samples, described speech samples is converted to word.
Specifically, in embodiments of the present invention, according to different speech samples, can there are different words, but because institute
The word recognizing in speech samples is also one section of sound, therefore, also needs for text-to-speech therein to be converted to word, its
In, the specific word quantity being converted to is not construed as limiting.
S104, according to the keyword prestoring in terminal, counts the number of times that described keyword in described word.
Specifically, with reference to Fig. 3, it is the sub-process schematic diagram of step S104.As illustrated, step S104 includes step S201
~S203.
S201, arranges keyword database in described terminal, and described keyword database includes at least one keyword.
Specifically, in embodiments of the present invention, keyword database is the necessary ingredient of the present invention, wherein stores
One or more keyword, each keyword can be that the difference that can show that residing for user of user's self-defining uses
Scene or the preset keyword of different use environment, it should be noted that in there are the terminal of multiple operating systems, different
The different keyword databases of the corresponding storage of operating system, for example, the preset keyword in working environment can be " work
Work ", " meeting ", " progress ", " working ", " company " etc., the preset keyword under non-working environment, during such as home environment
Can be " cooking ", " sleep ", " coming off duty ", " having a bath ", " family " etc.;Described default keyword can also be that terminal is going out
Multiple even substantial amounts of keywords have been prestored during factory.
S202, described word is mated with described keyword.
Specifically, in embodiments of the present invention, described word is mated with the keyword prestoring, the keyword prestoring
Can include showing the difference residing for user use the stronger keyword of degree under scene or different use environment it is also possible to
Use the relatively mild keyword of degree under scene or different use environment including the difference showing residing for user, need explanation
It is that described word is not construed as limiting by the quantity of described keyword match, described word can include multiple keywords, each is crucial
Between word can identical it is also possible to differ.
S203, if described word is consistent with described keyword match, the number of times of statistical match.
Specifically, in embodiments of the present invention, if described word is consistent with the coupling of the keyword prestoring, need to
The number of times joined is counted, and specific statistical can be to count corresponding in a certain word the secondary of described keyword
Count it should be appreciated that we can divide matching degree to the number of times being counted, if the matching times of statistics are one time,
Then matching degree is minimum, and result is not carry out operating system handover operation;If the matching times of statistics be twice or twice with
When upper, then matching degree highest, result is by operating system handover operation.
S105, if the number of times that described keyword occurs exceedes default threshold value, judges whether described keyword is described
The corresponding keyword of the currently used operating system of terminal.
Specifically, in embodiments of the present invention, in the terminal that there are multiple operating systems, different operating system pair
Different keyword databases should be stored, the type of the operating system that the acoustic information acquired in terminal is currently run with terminal is no
Close, i.e. tube terminal currently runs what kind of operating system, terminal can obtain acoustic information all the time, therefore, when being mated
Keyword when being the currently used corresponding keyword of operating system, be also currently used operation system after switching over
System, therefore can not switch over.
S106, if described keyword is not for the corresponding keyword of the currently used operating system of described terminal, will be current
Operating system switches to another operating system corresponding with described keyword.
Specifically, in the embodiment of the present invention, different keyword databases are stored because different operating system is corresponding, when
When described keyword is not for the currently used operating system of described terminal corresponding keyword, by operating system current for terminal
It is switched to another operating system corresponding with keyword, it should be noted that the quantity of the keyword prestoring or species are not
It is limited, keyword described in the acoustic information acquired in terminal can be one or more, and the species of keyword is permissible
It is one or more, described default threshold value can be once, twice or other, in addition, number of times can also be by user
Oneself definition, for example, if default threshold value is one time, if the matching times counting on are one time, matching degree is minimum,
Result is not carry out operating system handover operation;If the matching times of statistics are twice or twice above, matching degree
Highest, result is by operating system handover operation.
As seen from the above, the embodiment of the present invention is passed through to obtain acoustic information, carries out voice according to acquired acoustic information
Word in specimen discerning and converting speech sample, using prestoring of occurring of the keyword described word of statistics prestoring in terminal
The number of times of keyword, thus realize the automatic switchover of operating system according to the result being counted.This switching mode can be passed through
The acoustic information of counting user is flexibly realized system and is switched, and intelligent height is easy to use.
Fig. 4 is a kind of schematic flow diagram of system switching method that another embodiment of the present invention provides.As shown in figure 4, should
Method includes step S301~S307.Step S101~106 phase in wherein step S302~S307 and the embodiment of the present invention one
With here is not repeating.
S301, pre-installs at least two operating systems in described terminal, and described operating system at least includes publicly-owned operation system
System and secret operating system.
Specifically, described terminal pre-installs at least two operating systems, and described operating system at least includes publicly-owned behaviour
Make system and secret operating system, in embodiments of the present invention, publicly-owned operating system here refers to make under non-working environment
Operating system, secret operating system here refers to the operating system using under working environment, certainly, in terminal
Other operating systems can be pre-installed, and pre-install the different use scene of different operating system correspondences.
S302, obtains acoustic information.
S303, according to described acoustic information, judges whether to recognize speech samples.
S304, if recognizing speech samples, described speech samples is converted to word.
S305, the number of times of described keyword in the described word of keyword statistics according to prestoring in terminal.
S306, if the number of times that described keyword occurs exceedes default threshold value, judges whether described keyword is described
The corresponding keyword of the currently used operating system of terminal.
S307, if described keyword is not for the corresponding keyword of the currently used operating system of described terminal, will be current
Operating system switches to another operating system corresponding with described keyword.
As seen from the above, the embodiment of the present invention pre-installs at least two operating systems, and the type of operating system in terminal
Difference, so just can realize the automatic switchover between operating system in terminal.
Fig. 5 is a kind of schematic flow diagram of system switching method that third embodiment of the invention provides.As shown in figure 5,
The method comprising the steps of S401~S407.Wherein, step S101 in step S401~S405 and the embodiment of the present invention one~
S105 is identical, will not be described here.
S401, obtains acoustic information.
S402, according to described acoustic information, judges whether to recognize speech samples.
S403, if recognizing speech samples, described speech samples is converted to word.
S404, the number of times of described keyword in the described word of keyword statistics according to prestoring in terminal.
S405, if the number of times that described keyword occurs exceedes default threshold value, judges whether described keyword is described
The corresponding keyword of the currently used operating system of terminal.
S406, if to judge described keyword be not for the currently used operating system of described terminal corresponding keyword,
According to the time period pre-setting, judge the current time of described keyword occurs whether within the described time period.
Specifically, in embodiments of the present invention, except by judging that a certain keyword is not the currently used operation of terminal
Outside the corresponding keyword of system, also pre-set the time period, it is different that the described time period pre-setting is arranged on described terminal
In operating system, when the described time period pre-setting can be two time periods of setting or user's self-defining
Between section, wherein, the type of time period can include working time section and non-working time section, for example, under non-working environment use
Operating system be correspondingly arranged non-working time section, under working environment use operating system be correspondingly arranged working time section,
Again for example, working time section can be 8:00am~5:30pm, non-working time section is remaining time in addition to working time section;
When matching described keyword in described word, terminal records current time, matches described key in described word
Real-time time during word, judges this time corresponding time period pre-setting, thus being determined according to the time period pre-setting
Operating system corresponding with the time period.
If so, current operation system is switched to another behaviour corresponding with described keyword and described time period by S407
Make system.
Specifically, in embodiments of the present invention, get under non-working environment under working environment because being not excluded for terminal
Acoustic information, be also not excluded for the acoustic information that terminal gets under working environment under non-working environment, so except passing through
Described keyword is identified and judges outside the corresponding operating system of described keyword, increases the judgement of time period, for example, obtains
To acoustic information during non-working environment, by the word described in keyword match prestoring, and judge that described keyword correspondence is non-
Operating system under working environment, but match the time period corresponding to real-time time during described keyword in described word
For working time section, and when time period corresponding operating system is the operating system using under working environment, terminal will not occur
Handover operation;Acoustic information only when such as getting working environment, by the word described in keyword match prestoring, and
Judge the operating system under the corresponding working environment of described keyword, but match real-time during described keyword in described word
Time period corresponding to time is working time section, and time period corresponding operating system is the operation system using under working environment
During system, terminal carries out operating system handover operation.
As seen from the above, the embodiment of the present invention is not for the currently used operation system of described terminal judging described keyword
When system is corresponding crucial, determine whether the time period occurring corresponding to the current time of described keyword, thus will currently grasp
It is switched to described keyword and time period corresponding another operating system as system, by increasing sentencing of the time period pre-setting
Disconnected, it is possible to achieve current operation system is accurately switched to another operating system.
As shown in fig. 6, corresponding to a kind of above-mentioned system switching method, the embodiment of the present invention also proposes a kind of terminal, this terminal
100 include, first acquisition unit 10, the first judging unit 20, converting unit 30, the first statistic unit 40, the second judging unit
50th, the first switch unit 60.
Wherein first acquisition unit 10, for obtaining acoustic information.Specifically, in embodiments of the present invention, user makes
When using terminal, multiple operating systems are preinstalled with terminal so that user is in different scenes or different use environment incision in advance
Change using each operating system, under different use scenes or different use environment, be switched to and use during different operating system
Authority is different, or different operating system is according to the type of the application program in residing different its system of use scene not
With, for example, in working environment, it is possible to use the office software of some writing task data, or can be with usage record client
The office software of information, and in non-working environment, the office software under working environment is hidden, in order to avoid revealing work money
Material or customer information.Alternatively, when carrying out system switching, acoustic information can be obtained by the receiver in terminal, institute
State the normal chat message of user that acoustic information can be using terminal or user passes through terminal and another terminal
Communication session information etc..
First judging unit 20, for according to described acoustic information, judging whether to recognize speech samples.Specifically, exist
In the embodiment of the present invention, speech samples are the sound at least including human word, because in practical application, listening in possible terminal
Acoustic information acquired in cylinder is not include the sound of word it is also possible to not only having comprised word segment but also having comprised non-legible part
Sound, for example, one section of acoustic information may be one section of noise, more for example, this acoustic information front half section is the noise second half section
It is the sound comprising word;It is thus desirable to being identified to the acoustic information acquired in receiver, more specifically, voice can be passed through
Technology of identification parses described acoustic information and obtains this speech samples.
Converting unit 30, if for recognizing speech samples, described speech samples is converted to word.Specifically, at this
In inventive embodiments, according to different speech samples, can there are different words, but because the literary composition in recognized speech samples
Word is also one section of sound, therefore, also needs for word sound therein to be converted to word, wherein, be converted to is specific
Word quantity is not construed as limiting.
, for described keyword according to the described word of keyword statistics prestoring in terminal in first statistic unit 40
Number of times.
Second judging unit 50, if the number of times occurring for described keyword exceedes default threshold value, judges described pass
Whether key word is the corresponding keyword of the currently used operating system of described terminal.Specifically, in embodiments of the present invention, depositing
In the terminal having multiple operating systems, different operating system is corresponding to store different keyword databases, acquired in terminal
The current operating system run of acoustic information and terminal type unrelated, i.e. tube terminal currently runs what kind of behaviour
Make system, terminal can obtain acoustic information all the time, therefore, correspond to when the keyword being mated is currently used operating system
Keyword when, be also currently used operating system after switching over, therefore can not switch over.
First switch unit 60, if be not corresponding for the currently used operating system of described terminal for described keyword
Keyword, current operation system is switched to another operating system corresponding with described keyword.Specifically, the present invention is implemented
In example, due to the different keyword database of the corresponding storage of different operating system, when described keyword is not for described terminal
During the corresponding keyword of currently used operating system, operating system current for terminal is switched to corresponding with keyword another
One operating system, it should be noted that the quantity of the keyword prestoring or species are not limited, the sound acquired in terminal
Keyword described in information can be one or more, and the species of keyword can be one or more, described default
Threshold value can be once, twice or other, in addition, number of times can also be defined by user oneself, for example, if default threshold value
During for one time, if the matching times counting on are one time, matching degree is minimum, and result is not carry out operating system switching behaviour
Make;If the matching times of statistics are twice or twice above, matching degree highest, result is by operating system switching
Operation.
As seen from the above, the terminal described in the embodiment of the present invention is passed through to obtain acoustic information, according to acquired sound letter
Breath carries out the word in speech samples identification and converting speech sample, counts described word using the keyword prestoring in terminal and goes out
The number of times of the existing keyword prestoring, thus realize the automatic switchover of operating system according to the result being counted.This switching side
Formula can flexibly be realized system by the acoustic information of counting user and switch, and intelligent height is easy to use.
Further, as shown in fig. 7, described first statistic unit 40, also include:Arranging unit 401, matching unit 402,
Second statistic unit 403.
Wherein, arranging unit 401, for arranging keyword database, described keyword database includes at least one pass
Key word.Specifically, in embodiments of the present invention, keyword database is the necessary ingredient of the present invention, wherein stores one
Individual or multiple keywords, each keyword can be that the difference that can show that residing for user of user's self-defining uses field
Scape or the preset keyword of different use environment, it should be noted that in there are the terminal of multiple operating systems, different
The different keyword databases of the corresponding storage of operating system, for example, the preset keyword in working environment can be " work ",
" meeting ", " progress ", " working ", " company " etc., under non-working environment, preset keyword during such as home environment is permissible
It is " cooking ", " sleep ", " coming off duty ", " having a bath ", " family " etc.;Described default keyword can also be terminal when dispatching from the factory
Multiple even substantial amounts of keywords are prestored.
Matching unit 402, for being mated described word with described keyword.Specifically, in the embodiment of the present invention
In, described word is mated with the keyword prestoring, the keyword prestoring can include showing that the difference residing for user makes
With the stronger keyword of degree under scene or different use environment it is also possible to include showing that the difference residing for user uses field
The relatively mild keyword of degree under scape or different use environment, it should be noted that described word is by described keyword match
Quantity be not construed as limiting, described word can include multiple keywords, between each keyword can identical it is also possible to not phase
With.
Second statistic unit 403, if consistent with described keyword match for described word, the number of times of statistical match.Tool
Body, in embodiments of the present invention, if described word is consistent with the coupling of the keyword prestoring, need the number of times of coupling is entered
Row statistics, specific statistical can be count a certain word in corresponding occur described keyword number of times it should be understood that
, we can divide matching degree to the number of times being counted, if the matching times of statistics are one time, matching degree is
Low, result is not carry out operating system handover operation;If the matching times of statistics are twice or twice above, mate journey
Degree highest, result is by operating system handover operation.
Further, as shown in figure 8, described terminal 100, also include:Preassembled unit 70, for pre-installing in described terminal
At least two operating systems, described operating system at least includes publicly-owned operating system and secret operating system.Specifically, described
At least two operating systems are pre-installed on terminal, and described operating system at least include publicly-owned operating system and secret operating system,
In embodiments of the present invention, publicly-owned operating system here refers to the operating system using under non-working environment, private here
Close operating system refers to the operating system using under working environment, certainly, terminal can also pre-install other operating systems,
And pre-install the different use scene of different operating system correspondences.
Further, as shown in figure 9, described terminal 100, also include:3rd judging unit 80, the second switch unit 90.
Wherein, the 3rd judging unit 80, if for judging that described keyword is not for the currently used operation of described terminal
During the corresponding keyword of system, according to the time period pre-setting, judge the current time of described keyword occurs whether in institute
State in the time period.Specifically, in embodiments of the present invention, except by judging that a certain keyword is not the currently used behaviour of terminal
Make outside the corresponding keyword of system, also pre-set the time period, it is different that the described time period pre-setting is arranged on described terminal
Operating system in, the described time period pre-setting can be setting two time periods or user's self-defining
Time period, wherein, the type of time period can include working time section and non-working time section, for example, makes under non-working environment
Operating system is correspondingly arranged non-working time section, and the operating system using under working environment is correspondingly arranged the working time
Section, more for example, working time section can be 8:00am~5:30pm, when non-working time section is remaining in addition to working time section
Between;When matching described keyword in described word, terminal records current time, matches described pass in described word
Real-time time during key word, judges this time corresponding time period pre-setting, thus true according to the time period pre-setting
Fixed operating system corresponding with the time period.
If so, second switch unit 90, for switching to current operation system and described keyword and described time period
Corresponding another operating system.Specifically, in embodiments of the present invention, get under working environment because being not excluded for terminal
Acoustic information under non-working environment, is also not excluded for the acoustic information that terminal gets under working environment under non-working environment,
So in addition to being identified by described keyword and judging the corresponding operating system of described keyword, increasing sentencing of time period
Disconnected, for example, get acoustic information during non-working environment, by the word described in keyword match prestoring, and judge described
Operating system under the corresponding non-working environment of keyword, but match real-time time institute during described keyword in described word
The corresponding time period is working time section, and when time period corresponding operating system is the operating system using under working environment,
Terminal will not switch operation;Acoustic information only when such as getting working environment, by the keyword prestoring
Join described word, and judge the operating system under the corresponding working environment of described keyword, but match described in described word
The time period corresponding to real-time time during keyword is working time section, and time period corresponding operating system is working environment
During the operating system of lower use, terminal carries out operating system handover operation.
Further, as shown in Figure 10, described first acquisition unit 10, also includes:Timing unit 101, second obtains single
Unit 102.
Wherein timing unit 101, if for acoustic information is detected, start timing.In embodiments of the present invention, in terminal
Upper setting timing acquisition function, when acoustic information is detected, starts receiver in terminal obtaining acoustic information, and starts to count
When.
Second acquisition unit 102, if reaching Preset Time for timing time, obtains described acoustic information and by during timing
Between be zeroed.In embodiments of the present invention, described Preset Time can be 1 minute, can be 2 minutes or other are default
Time, described Preset Time can also be the time of user's self-defining;After terminal gets acoustic information in Preset Time,
The timing zero of terminal, resumes waiting for obtaining new acoustic information.
Figure 11 is the structure composition schematic diagram of another embodiment of terminal of the present invention.As shown in figure 9, it may include:Defeated
Enter device 99, output device 88, R-T unit 77, memorizer 66 and processor 55, wherein:
Described input equipment 99, for receiving the input data of outside access control device.In implementing, the present invention is real
Apply the input equipment 99 described in example may include keyboard, mouse, light device of electrical input, acoustic input device, touch input equipment,
Scanner etc..
Described output device 88, for the output data of external output access control device.In implementing, the present invention is real
Apply the output device 88 described in example and may include display, speaker, printer etc..
Described R-T unit 77, for sending data or from other equipment reception number by communication link to other equipment
According to.In implementing, the R-T unit 77 of the embodiment of the present invention may include the transceiving devices such as radio-frequency antenna.
Described memorizer 66, for the routine data with various functions for the storage.In the embodiment of the present invention, memorizer 66 is deposited
The data of storage includes the routine data that can call and run.In implementing, the memorizer 66 of the embodiment of the present invention can be to be
System memorizer, such as, volatile (such as RAM), non-volatile (such as ROM, flash memory etc.), or both combinations.Tool
During body is realized, the memorizer 66 of the embodiment of the present invention can also be the external memory storage outside system, such as, disk, CD, magnetic
Band etc..
Described processor 55, for calling the routine data of storage in described memorizer 66, and executes following operation:
Obtain acoustic information;According to described acoustic information, judge whether to recognize speech samples;If recognizing voice sample
This, described speech samples are converted to word;Described keyword in the described word of keyword statistics according to prestoring in terminal
Number of times;If the number of times that described keyword occurs exceedes default threshold value, judge whether described keyword is that described terminal is worked as
The corresponding keyword of operating system of front use;If described keyword is not to correspond to for the currently used operating system of described terminal
Keyword, current operation system is switched to another operating system corresponding with described keyword.
Further, described processor 55 also executes following operation:
Keyword database is set in described terminal, and described keyword database includes at least one keyword;By institute
State word to be mated with described keyword;If described word is consistent with described keyword match, the number of times of statistical match.
Further, described processor 55 also executes following operation:
At least two operating systems are pre-installed on described terminal, described operating system at least includes publicly-owned operating system and private
Close operating system.
Further, described processor 55 also executes following operation:
If to judge described keyword be not for the currently used operating system of described terminal corresponding keyword, according to pre-
The time period first arranging, judge the current time of described keyword occurs whether within the described time period;If so, by current operation
System switches to another operating system corresponding with described keyword and described time period
Further, described processor 55 also executes following operation:
If acoustic information is detected, start timing;If timing time reaches Preset Time, the described acoustic information of acquisition simultaneously will
Timing time is zeroed.
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, special IC) realizing.
Step in present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible
Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replace
Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
The protection domain requiring is defined.
Claims (10)
1. a kind of system switching method is it is characterised in that methods described includes:
Obtain acoustic information;
According to described acoustic information, judge whether to recognize speech samples;
If recognizing speech samples, described speech samples are converted to word;
The number of times of described keyword in the described word of keyword statistics according to prestoring in terminal;
If the number of times that described keyword occurs exceedes default threshold value, judge whether described keyword is that described terminal currently makes
The corresponding keyword of operating system;
If described keyword is not for the corresponding keyword of the currently used operating system of described terminal, current operation system is cut
It is changed to another operating system corresponding with described keyword.
2. the method for claim 1 is it is characterised in that described go out according to the keyword described word of statistics that prestores in terminal
The number of times of existing described keyword, specifically includes:
Keyword database is set in described terminal, and described keyword database includes at least one keyword;
Described word is mated with described keyword;
If described word is consistent with described keyword match, the number of times of statistical match.
3. the method for claim 1 is it is characterised in that before described acquisition voice messaging, methods described also includes:
At least two operating systems are pre-installed on described terminal, described operating system at least includes publicly-owned operating system and secret behaviour
Make system.
If 4. the method for claim 1 is not it is characterised in that described keyword is for the currently used behaviour of described terminal
Make the corresponding keyword of system, before current operation system is switched to another operating system corresponding with described keyword,
Also include;
If to judge described keyword be not for the currently used operating system of described terminal corresponding keyword, according to setting in advance
The time period put, judge the current time of described keyword occurs whether within the described time period;
If so, current operation system is switched to another operating system corresponding with described keyword and described time period.
5. the method for claim 1 is it is characterised in that described acquisition acoustic information specifically includes:
If acoustic information is detected, start timing;
If timing time reaches Preset Time, obtain described acoustic information and timing time is zeroed.
6. a kind of terminal is it is characterised in that described terminal includes:
First acquisition unit, for obtaining acoustic information;
First judging unit, for according to described acoustic information, judging whether to recognize speech samples;
Converting unit, if for recognizing speech samples, described speech samples is converted to word;
, for the number of times of described keyword according to the described word of keyword statistics prestoring in terminal in first statistic unit;
Second judging unit, if the number of times occurring for described keyword exceedes default threshold value, judges that described keyword is
The corresponding keyword of the no operating system currently used for described terminal;
First switch unit, if be not for the corresponding key of the currently used operating system of described terminal for described keyword
Word, current operation system is switched to another operating system corresponding with described keyword.
7. terminal as claimed in claim 6, it is characterised in that described first statistic unit, also includes:
Arranging unit, for arranging keyword database, described keyword database includes at least one keyword;
Matching unit, for being mated described word with described keyword;
Second statistic unit, if consistent with described keyword match for described word, the number of times of statistical match.
8. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
Preassembled unit, for pre-installing at least two operating systems in described terminal, described operating system at least includes publicly-owned behaviour
Make system and secret operating system.
9. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
3rd judging unit, if for judging that described keyword is not for the corresponding pass of the currently used operating system of described terminal
During key word, according to the time period pre-setting, judge the current time of described keyword occurs whether within the described time period;
Second switch unit, corresponding with described keyword and described time period for if so, switching to current operation system
Another operating system.
10. terminal as claimed in claim 6, it is characterised in that described first acquisition unit, also includes:
Timing unit, if for acoustic information is detected, start timing;
Second acquisition unit, if reaching Preset Time for timing time, obtaining described acoustic information and timing time is zeroed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610819534.6A CN106383740A (en) | 2016-09-12 | 2016-09-12 | Method for system switching and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610819534.6A CN106383740A (en) | 2016-09-12 | 2016-09-12 | Method for system switching and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106383740A true CN106383740A (en) | 2017-02-08 |
Family
ID=57936505
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610819534.6A Withdrawn CN106383740A (en) | 2016-09-12 | 2016-09-12 | Method for system switching and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106383740A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106997761A (en) * | 2017-04-20 | 2017-08-01 | 滁州职业技术学院 | The method and mobile terminal of a kind of secret protection |
| CN110675872A (en) * | 2019-09-27 | 2020-01-10 | 青岛海信电器股份有限公司 | Voice interaction method based on multi-system display equipment and multi-system display equipment |
| CN113129886A (en) * | 2019-12-31 | 2021-07-16 | 深圳市茁壮网络股份有限公司 | Switching method and system of voice recognition function |
| CN115080226A (en) * | 2022-03-30 | 2022-09-20 | Oppo广东移动通信有限公司 | Method, device, electronic equipment and storage medium for executing service |
| CN119271034A (en) * | 2020-12-19 | 2025-01-07 | Oppo广东移动通信有限公司 | System control method, device, wearable device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110071832A1 (en) * | 2009-09-24 | 2011-03-24 | Casio Computer Co., Ltd. | Image display device, method, and program |
| US20130187951A1 (en) * | 2012-01-19 | 2013-07-25 | Kabushiki Kaisha Toshiba | Augmented reality apparatus and method |
| CN104660817A (en) * | 2015-02-13 | 2015-05-27 | 广东欧珀移动通信有限公司 | Method and device for switching working modes |
| CN105653358A (en) * | 2014-11-14 | 2016-06-08 | 南京酷派软件技术有限公司 | Method and device for switching operation system and terminal |
| CN105824930A (en) * | 2016-03-17 | 2016-08-03 | 深圳市金立通信设备有限公司 | Voice message processing method and terminal |
-
2016
- 2016-09-12 CN CN201610819534.6A patent/CN106383740A/en not_active Withdrawn
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110071832A1 (en) * | 2009-09-24 | 2011-03-24 | Casio Computer Co., Ltd. | Image display device, method, and program |
| US20130187951A1 (en) * | 2012-01-19 | 2013-07-25 | Kabushiki Kaisha Toshiba | Augmented reality apparatus and method |
| CN105653358A (en) * | 2014-11-14 | 2016-06-08 | 南京酷派软件技术有限公司 | Method and device for switching operation system and terminal |
| CN104660817A (en) * | 2015-02-13 | 2015-05-27 | 广东欧珀移动通信有限公司 | Method and device for switching working modes |
| CN105824930A (en) * | 2016-03-17 | 2016-08-03 | 深圳市金立通信设备有限公司 | Voice message processing method and terminal |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106997761A (en) * | 2017-04-20 | 2017-08-01 | 滁州职业技术学院 | The method and mobile terminal of a kind of secret protection |
| CN110675872A (en) * | 2019-09-27 | 2020-01-10 | 青岛海信电器股份有限公司 | Voice interaction method based on multi-system display equipment and multi-system display equipment |
| CN110675872B (en) * | 2019-09-27 | 2023-09-01 | 海信视像科技股份有限公司 | Voice interaction method based on multi-system display equipment and multi-system display equipment |
| CN113129886A (en) * | 2019-12-31 | 2021-07-16 | 深圳市茁壮网络股份有限公司 | Switching method and system of voice recognition function |
| CN119271034A (en) * | 2020-12-19 | 2025-01-07 | Oppo广东移动通信有限公司 | System control method, device, wearable device and storage medium |
| CN115080226A (en) * | 2022-03-30 | 2022-09-20 | Oppo广东移动通信有限公司 | Method, device, electronic equipment and storage medium for executing service |
| CN115080226B (en) * | 2022-03-30 | 2025-02-14 | 零束科技有限公司 | Method, device, electronic device and storage medium for executing service |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106383740A (en) | Method for system switching and terminal | |
| US6327346B1 (en) | Method and apparatus for setting user communication parameters based on voice identification of users | |
| US6839410B2 (en) | Method and apparatus for setting user communication parameters based on voice identification of users | |
| CN104506702B (en) | A kind of volume adjusting method | |
| KR20040071467A (en) | Context-based telecommunication method and mobile telecommunication system therefor | |
| CN103943110A (en) | Control method, device and electronic equipment | |
| WO2015098347A1 (en) | List generating device, list distribution device, received call processing device and program | |
| CN103095557A (en) | Instant messaging information voice output method and system | |
| US20120072519A1 (en) | Device For Preventing Erroneous E-Mail Transmission | |
| CN104933826B (en) | Method and system based on the wearable device protection security of the lives and property | |
| CN105120063A (en) | Volume prompting method of input voice and electronic device | |
| CN108990065A (en) | Pseudo-base station monitoring method, device and mobile terminal | |
| CN104038613A (en) | Method and apparatus for information security management | |
| CN106658513A (en) | Safety detection method of wireless network, terminal and server | |
| CN101702801A (en) | Short message monitoring method and system | |
| CN106850969A (en) | Method, device and server that alarm clock information is interacted | |
| CN106303077A (en) | Working mode of mobile terminal method to set up and device | |
| CN106210321A (en) | A kind of task monitoring and managing method and terminal | |
| CN115482831A (en) | Method and device for preventing leakage of user privacy, voice equipment, storage medium | |
| CN104811548A (en) | Terminal | |
| EP1727127A1 (en) | Telephone with voice changer and control method and control program for the telephone | |
| CN106375584A (en) | Voice signal control method and device | |
| CN106412294A (en) | Alarm clock setting method, alarm clock control system and alarm clock system | |
| CN103491231A (en) | Method and system for barring calls based on time and locations | |
| CN105915709A (en) | Communication connection establishing method and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170208 |