A kind of statement matching method, storage medium and terminal deviceTechnical field
The present invention relates to natural language processing technique field, in particular to a kind of statement matching method, storage medium and endEnd equipment.
Background technique
Statement matching technology has become one of core technology of natural language processing, and in multiple business systemsIn play key player, for example, voice assistant, hearing test and chat robots etc..Existing method is usually input textOriginally multiple words are resolved into, and each word is matched with matched text respectively, then count all words and matched textMatch condition finally obtains matching result according to match condition.But existing word match mode can not catch well it is defeatedEnter the uncertainty of sentence, such as to jump sentence, leakage defeated and wrong defeated, causes statement matching accuracy low.
Thus the prior art could be improved and improve.
Summary of the invention
In view of the deficiencies of the prior art, the invention aims to provide a kind of statement matching method, storage medium and endEnd equipment.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of statement matching method comprising:
Acquisition input text and matched text, and syntactic analysis is carried out to input text and matched text, it determines corresponding to defeatedEnter the word library of text and the statement library corresponding to matched text;
Word in word library is successively matched with the statement library according to input sequence, and records the match information of each word,In, the match information includes interference number;
When interfering number to reach preset times, stop matching and recording quilt in the word of matching for removing noise word and statement librarySentence is hit to generate matching library;
Word library and statement library are updated according to matching library, and repeat by updated word library word and update afterStatement library carry out the step of matching until word library and/or matching library are sky;
All matching libraries that matching generates are obtained, and generate matching result according to all matching libraries are got.
The statement matching method, wherein it is described by word in word library according to input sequence successively with the statement library intoRow matching, and record the match information of each word, wherein the match information includes that interference number specifically includes:
The first word is matched with statement library according to the input sequence that word library includes word;
If the first word hits statement library, the sentence that the first word is hit is denoted as hit sentence for the first time and is denoted as interference number0;
Second word is matched with statement library, judges whether second word is noise word;
When second word is noise word, match directly with statement library by the interference number cumulative one, and by third wordReach preset times to interference number.
The statement matching method, wherein it is described to match the second word with statement library, whether judge second wordIt is specifically included for noise word:
Second word is matched with statement library, and obtains the hit label of second word;
It is marked according to the hit and determines the corresponding second hit sentence of the second word, and the second for hitting sentence for described secondIt sets and is compared with the first position of the first hit sentence;
When the second position is less than first position, determine that second word is noise word.
The statement matching method, wherein it is described to match the second word with statement library, whether judge second wordFor noise word further include:
When the second position is greater than first position, whether detection the first hit sentence, which matches, is finished;
It is finished if not matching, determines that second word is noise word.
The statement matching method, wherein it is described when interfering number to reach preset times, stop matching and records removingSentence is hit in the word of matching and statement library of noise word to specifically include to generate matching library:
When interfering number to reach preset times, the matching of stop-word repertorie and statement library, and whether first to judge to be hit sentenceSentence locating for noise word;
When prior to sentence locating for noise word, then and extract matched word, be hit sentence and be hit institute before sentenceThere is sentence;
The noise word that word includes will have been matched to go to have matched word divided by update, and matched word, quilt according to updatedAll sentences generate matching libraries before hitting sentence and being hit sentence.
The statement matching method, wherein it is described when interfering number to reach preset times, stop matching and records removingSentence is hit in the word of matching and statement library of noise word to generate matching library further include:
When not prior to sentence locating for noise word, the rate that is hit for being hit sentence is compared with preset threshold;
If being less than or equal to preset threshold;The noise word that word includes will have then been matched to go to have matched word divided by update, and according toThe updated word that matched generates matching library;
If more than preset threshold, then it will match the noise word that word includes and gone to have matched word divided by update, and according to updateThe rear word of matching, be hit sentence and be hit sentence before all sentences generate matching libraries.
The statement matching method, wherein it is described that word library and statement library are updated according to matching library, and repeatWord and updated statement library in updated word library is subjected to the step of matching until word library and/or matching library areSky specifically includes:
Extract the word of matching that the matching library includes and hit sentence, and by matching word described in the word libraryLanguage is deleted and deletes the hit sentence in the statement library, to be updated to the word library and statement library;
It repeats match up to all word match are complete by word and the updated statement library in updated word library.
The statement matching method, wherein all matching libraries for obtaining matching and generating, and according to getting allMatching result is generated with library specifically:
The matching result of each matching library is determined respectively, and input text and matched text are generated according to the matching result of each matching libraryMatching result.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program,One or more of programs can be executed by one or more processor, to realize as above any statement matching sideStep in method.
A kind of terminal device comprising: processor, memory and communication bus;Being stored on the memory can be by instituteState the computer-readable program of processor execution;
The communication bus realizes the connection communication between processor and memory;
The processor realizes the step in as above any statement matching method when executing the computer-readable program.
The utility model has the advantages that compared with prior art, the present invention provides a kind of statement matching method, storage medium and terminals to setStandby, the method will input text and be divided into several each words according to grammer and matched text is divided into several sentences;It will inputThe word for including of text is successively matched with the sentence that matched text includes according to input sequence, and records each word correspondingWith information;When the number for the noise word that match information includes is greater than preset threshold, stops matching and generate matching library;It is obtainingIt will be matched word repeated matching process until until word library and/or matching library are sky, finally according to matching after matching libraryObtained all matching libraries obtain matching result, can be defeated to avoid jump sentence, leakage in this way by the comparison of noise word and matching libraryAnd wrong defeated phenomenon, improve matched accuracy.
Detailed description of the invention
Fig. 1 is the flow chart of statement matching method preferred embodiment provided by the invention.
Fig. 2 is the flow chart of step S20 in statement matching method preferred embodiment provided by the invention.
Fig. 3 is the structure principle chart of terminal device preferred embodiment provided by the invention.
Specific embodiment
The present invention provides a kind of statement matching method, storage medium and terminal device, to make the purpose of the present invention, technical sideCase and effect are clearer, clear, and the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated thatDescribed herein specific examples are only used to explain the present invention, is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " oneIt is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the inventionDiction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or additionOther one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim memberPart is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also beIntermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrangeDiction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology artLanguage and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should alsoUnderstand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior artThe consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as hereTo explain.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the preferred embodiment of statement matching method provided by the invention.The methodInclude:
S10, input text and matched text are obtained, and syntactic analysis is carried out to input text and matched text, determined and correspond toIn the word library of input text and corresponding to the statement library of matched text.
Specifically, the input text is that the user that receives inputs text and generates, and in the input textWord according to reception sequence sort.Each word inputted in text is sorted from front to back according to user's input, that is to say, thatBehind the word that the word first inputted inputs after coming.For example, the word for receiving user's input is I love you, then according to eachThe I that is ordered as of word is first, and love is second, and you is third position.
The matched text is the benchmark text for verifying the input text, and the input text is user according to instituteIt states matched text and generates.For example, terminal device plays the matched text with speech form, user listens to the voice and broadcastsReport and the content listened to be input to terminal device in the form of described in input text.In addition, the matched text can also rootIt is obtained from matched text database according to input text preset.For example, by a large amount of text in the matched text databaseThis composition, and the text in the matched text database is can to express the sentence completely to look like.And input text can be withText Flag is carried, when receiving input text, its is corresponding in matched text database lookup according to the Text FlagText, and using the text found as the corresponding matched text of the input text.Certainly, the described matched text databaseIn be made of a large amount of text, and the text in the matched text database is can to express the sentence completely to look like.
In the present embodiment simultaneously, described pair of input text progress syntactic analysis refers to as unit of word to input textIt is divided, the input text is divided into multiple words.For example, input text is I love you, then will input textOriginally I, love, you are divided into, and divides obtained each word and is ranked up according to its corresponding input sequence, i.e. I is the first word,Love is the second word, and you is third word.In addition, when receiving input text, it can be determined that the class of languages of the input textType determines its corresponding division methods according to the sound-type, and is drawn according to determining division methods to input textPoint, to improve the accuracy divided.For example, being to divide position to draw input text with space when language form is EnglishPoint;When language form is Chinese, using byte as the criteria for classifying, every two byte is divided into a word.
Described to matched text progress grammer is divided as unit of sentence respectively, the matched text is divided moreA sentence, this also may determine that sentence belonging to each input word, avoid jumping defeated or input sequence mistake problem.In this implementationIn example, matched text divide being specifically as follows with sentence for unit: obtaining the punctuation mark that matched text carries, root respectivelyMatched text is divided into several sentences according to the punctuation mark got.For example, matched text is I love you.You loveme.We are couple.So extracting the sentence includes three fullstops, thus according to three fullstops that the matching is literaryOriginally 3 sentences, respectively I love you are divided into;You love me;And We are couple, and each sentence is according to itWhat the position in matched text was ranked up, i.e. I love you is the first sentence;You love me is the second sentence, WeAre couple is third sentence.
The word library is made of each word that input text divides, what the statement library was divided by matched textEach sentence composition.In addition, each word carries input number in the word library, the input number is by each word according to input sequenceWhat sequence obtained.Each sentence carries matching number in the statement library, and the matching number is according to each sentence in matched textPosition determine.Meanwhile each word that each sentence includes in the statement library carries matching identification, the matching identification exists according to wordThe matching of position and the sentence in its corresponding sentence, which is numbered, to be generated.For example, matched text is I love you.YouLove me.We are couple, wherein the matching identification that the matching number of I love you is the I in 1, I love youIt is 1.1.
S20, word in word library is successively matched with the statement library according to input sequence, and records the matching of each wordInformation, wherein the match information includes interference number.
Specifically, the input sequence is the input sequence of each word in the input text.That is, by word libraryThe sequence for the input number that each word is carried according to it is successively matched with statement library, and each record is matched to obtainMatch information.The match information may include matching process occur noise word, interference number, interference position, hit label,Hit sentence and matching word for the first time.In addition, the sequence that each word in word library is numbered according to the input that it is carriedIt successively carries out matching with statement library first to match the first word with statement library, and records the first matching letter of the first wordBreath, and judge whether the interference number of the first match information carrying reaches preset times, if not preset times significantly, by secondIt is secondary to be matched with statement library, and believed according to the matching that the first match information and the hit information of the second word generate the second wordWhether breath, then the interference number for judging that the second match information carries reach preset times, if not up to default time, by third word withStatement library match stops matching when interference number reaches preset times, and according to the corresponding matching of the matched word of stoppingInformation generates matching library.
Illustratively, as shown in Fig. 2, it is described by word in word library according to input sequence successively with the statement library carry outMatch, and the match information for recording each word specifically includes:
S21, the first word is matched with statement library according to the input sequence that word library includes word;
If S22, the first word hit statement library, the sentence that the first word is hit is denoted as hit sentence for the first time and number will be interferedIt is denoted as 0;
S23, the second word is matched with statement library, judges whether second word is noise word;
S24, when second word is noise word, by the interference number cumulative one, and by third word and statement library progressWith until interference number reaches preset times.
Specifically, the first word hit statement library refers to that statement library storage includes the sentence of first word, and willThe matching number of sentence comprising the first time hits sentence the most for the first time.Meanwhile there may be packets in the statement libraryMultiple sentences containing first word, then matching, which is numbered most preceding sentence as first time, hits sentence.For example, the first wordThe first sentence and third sentence in statement library are hit, then the first sentence is to hit sentence for the first time.In addition, working as the first word notStatement library is hit, then stops this matching.That is, the first time hit sentence is that this matches in all words firstThe sentence of the word hit of input.
In the present embodiment simultaneously, described to match the second word with statement library, judge whether second word is dryWord is disturbed to specifically include:
Second word is matched with statement library, and obtains the hit label of second word;
It is marked according to the hit and determines the corresponding second hit sentence of the second word, and the second for hitting sentence for described secondIt sets and is compared with the first position of the first hit sentence;
When the second position is less than first position, determine that second word is noise word;
When the second position is greater than first position, whether detection the first hit sentence, which matches, is finished;
It is finished if not matching, determines that second word is noise word.
Specifically, the second hit sentence refers to the sentence of the second word hit, certainly when the second word miss, directlyIt connects and judges second word for noise word.After the hit of the second word, the hit label of the second word hit is obtained, according to the hitThe match information of label and the first word judges whether second word is noise word.Wherein, when the second word corresponding secondThe matching number of sentence is hit less than the matching number of the first hit sentence, then the second word is noise word;When the second hit sentenceMatching number be equal to the matching number of the first hit sentence, then judge whether the hit of the second word marks corresponding matching identificationBefore the corresponding matching identification of the first word, if it is judge the second word for noise word;When the matching of the second hit sentenceNumber is greater than the matching number of the first hit sentence, then judge that first hits whether sentence matches and finish, if not matching and finishingDetermine the second word for noise word.In addition, after determining the second word for interference time, by the interference of the corresponding configuration information of the second word timeNumber plus one, i.e. the corresponding interference number of the second word be 1, and so on until occur carrying noise word number reach preset timesUntil.
S30, when interfere number reach preset times when, stop match simultaneously record remove noise word the word of matching and languageSentence is hit sentence in library to generate matching library.
Specifically, the interference number for stopping matching the corresponding match information carrying of the word referred to when in word library reachesTo preset times, then stop the matching for coming word thereafter.The matching library include matched word and match statement withAnd come its all sentence before match statement, wherein the matched word does not include noise word.That is, instituteHave and removes noise word in the word for executed overmatching to obtain matched word.Correspondingly, described when interference number reaches pre-If when number, stopping matching and recording the word of matching for removing noise word and being hit sentence in statement library to generate matching libraryIt specifically includes:
When interfering number to reach preset times, the matching of stop-word repertorie and statement library, and whether first to judge to be hit sentenceSentence locating for noise word;
When prior to sentence locating for noise word, then and extract matched word, be hit sentence and be hit institute before sentenceThere is sentence;
The noise word that word includes will have been matched to go to have matched word divided by update, and matched word, quilt according to updatedAll sentences generate matching libraries before hitting sentence and being hit sentence.
Specifically, the sentence that is hit is numbered prior to the matching for being hit sentence that sentence locating for the noise word refers toMatching less than sentence locating for noise word is numbered.In addition, the preset times are 2, then two noise words of storage.Correspondingly,The sentence that is hit is prior to sentence locating for the noise word.Further, it is also possible to store not prior to sentence locating for noise wordThe case where.Correspondingly, it is described when interfering number to reach preset times, stop matching and recording the matching word for removing noise wordSentence is hit in language and statement library to generate matching library further include:
When not prior to sentence locating for noise word, the rate that is hit for being hit sentence is compared with preset threshold;
If being less than or equal to preset threshold;The noise word that word includes will have then been matched to go to have matched word divided by update, and according toThe updated word that matched generates matching library;
If more than preset threshold, then it will match the noise word that word includes and gone to have matched word divided by update, and according to updateThe rear word of matching, be hit sentence and be hit sentence before all sentences generate matching libraries.
Specifically, when prior to sentence locating for noise word, do not need to calculate it is described be hit sentence be hit rate,In, the rate that is hit refers to the ratio for being hit each number of word that sentence is hit Yu the quantity for being hit all words of sentenceValue.That is, correspondence is hit sentence, obtain it includes all words quantity, and extract its number for being hit word;RootDetermine it to must also be hit rate according to the number and quantity.In addition, carrying out screening according to the rate that is hit as removal quiltHit rate is to reach preset threshold.Specifically it can be hit sentence to extract in each matching library, and sentence will be hitRate is hit to be compared with preset threshold;The rate that is hit that selection is hit sentence is hit sentence greater than preset threshold,If the noise word that word includes will have been matched to go to have matched word divided by updating, and word is matched according to updated, has been orderedIt middle sentence and is hit all sentences before sentence and generates matching libraries;If being less than or equal to preset threshold, the noise word is determinedTo be that mistake is defeated with matching word, only deleted described from word library with matching word.
S40, word library and statement library are updated according to matching library, and repeated the word in updated word libraryThe step of matching is carried out until word library and/or matching library are sky with updated statement library.
Specifically, the more neologism library refer to by word library with the word in matching library relative to word delete, instituteIt states update statement library and refers to that all sentences before being hit sentence and being hit sentence are deleted.After the repetition will updateStatement library in the execution of word and updated statement library match and refers to repeating step S20-S40 up to institute in word libraryThere is word matching to finish.Illustratively, described that word library and statement library are updated according to matching library, and repeat after updatingWord library in word and updated statement library carry out the step of matching until word library and/or matching library are empty specific packetIt includes: extracting the word of matching that the matching library includes and hit sentence, and by matching word described in the word libraryLanguage is deleted and deletes the hit sentence in the statement library, to be updated weight to the word library and statement libraryThe multiple word by updated word library match until word library and/or matching library are sky with updated statement library.
S50, all matching libraries that matching generates are obtained, and generates matching result according to all matching libraries are got.
Specifically, described to refer to respectively analyzing the information in each matching library according to matching library, and according to analysisMatching result is obtained, in the matching result for summarizing all matching libraries to obtain the matching result of input text and matched text.PhaseIt answers, all matching libraries for obtaining matching and generating, and generates matching result according to all matching libraries are got specifically: pointThe matching result of each matching library is not determined, and the matching of input text and matched text is generated according to the matching result of each matching libraryAs a result.
In addition, the statement matching method provided in order to further illustrate the present invention, adds below with reference to two specific embodimentsWith explanation.
Embodiment one
With matched text for " I love you. You love me. We are couple. ", input text is the present embodimentFor " I You are couple. ".The statement matching method includes:
H1, syntactic analysis is carried out to obtain word library and statement library to matched text and input this document;Wherein, the word libraryFor 1, I, 2, You, 3, are and 4, couple, the statement library is 1, I love you;2,You love me;3,We arecouple。
H2, the first word I is matched with statement library, to obtain the corresponding match information of the first word, wherein match informationAre as follows: hit sentence is 1 for the first time;Hit label: I(1.1);It has matched: I;Interference number: 0;Disturb word: empty;Interfere positionIt sets: empty;
H3, the second word You is matched with statement library, to obtain the corresponding match information of the second word, wherein match informationAre as follows: hit sentence is 1 for the first time;Hit label: I(1.1), you (1.3), You (2.1);It has matched: I, You;Interfere number:0;Disturb word: empty;Interference position: empty;
H4, third word are is matched with statement library, to obtain the corresponding match information of third word, wherein match informationAre as follows: hit sentence is 1 for the first time;Hit label: I(1.1), you (1.3), You (2.1);It has matched: I You;Interfere number:1(has jumped to the 3rd);Noise word: are;Interference position: 3;
H5, the 4th word couple is matched with statement library, to obtain the corresponding match information of the 4th word, wherein matching letterBreath are as follows: hit sentence is 1 for the first time;Hit label: I(1.1), you (1.3), You (2.1);It has matched: I You;Interference timeNumber: 2(has jumped to the 3rd);Noise word: are couple;Interference position: 3;
H6, interference number reach pre-determined number, stop this matching;
H7, compare the rate that is hit for being hit sentence, and determine that first is to be hit sentence according to the rate that is hit;
Whether H8, judgement are matched position prior to interference position;
H9, position is matched prior to interference position, determine first corresponding matching result, wherein the matching result is positiveIt is really defeated to write: I;Size write error: You;Miss input: love;
H10, from word library delete matching word and from statement library delete be hit sentence and its before all sentences withTo updated word library and statement library, wherein updated word library includes 1, are, 2, couple2;Sentence after updateLibrary includes 2, You love me and 3.We are couple;
H11, the second word are is matched with statement library, to obtain the corresponding match information of the first word, wherein match informationAre as follows: hit sentence is 3 for the first time;Hit label: are (3.2);It has matched: are;
H12, the second word couple is matched with statement library, to obtain the corresponding match information of the second word, wherein matching letterBreath are as follows: hit sentence is 3 for the first time;Hit label: are (3.2), couple (3.3);It has matched: are, couple;InterferenceNumber: 0;Noise word: empty;Interference position: empty;
H14, input are sky, compare the rate that is hit for being hit sentence, and determine third sentence according to the rate that is hit to be orderedMiddle sentence;
H15, position is matched prior to interference position, determine the corresponding matching result of third sentence, wherein the matching result is positiveIt is really defeated to write: are couple;Miss input: We;
H16, the final matching results for inputting text and matched text are determined according to each matching result of determination, wherein final result isIt is correctly defeated to write: I are couple;Size write error: You;Miss input: love; You love me; We.
Embodiment two
With matched text for " I love you. You love me. We are couple. ", input text is the present embodimentFor " We I love you. ".The statement matching method includes:
M1, syntactic analysis is carried out to obtain word library and statement library to matched text and input this document;Wherein, the word libraryFor 1, We, 2, I, 3, love and 4, you, the statement library is 1, I love you;2,You love me;3,We arecouple。
M2, the first word We is matched with statement library, to obtain the corresponding match information of the first word, wherein matching letterBreath are as follows: hit sentence is 3 for the first time;Hit label: We(3.1);It has matched: We;Interference number: 0;Disturb word: empty;InterferencePosition: empty;
M3, the second word I is matched with statement library, to obtain the corresponding match information of the second word, wherein match information are as follows:Hit sentence is 3 for the first time;Hit label: We(3.1);It has matched: We;Interference number: 1;Disturb word: I;Interference position:1;
M4, third word love is matched with statement library, to obtain the corresponding match information of third word, wherein match informationAre as follows: hit sentence is 3 for the first time;Hit label: We(3.1);It has matched: We;Interference number: 2;Noise word: I LOVE;InterferencePosition: 1, (2.2);
M6, interference number reach pre-determined number, stop this matching;
M7, compare the rate that is hit for being hit sentence, and determine that third sentence is to be hit sentence according to the rate that is hit;
Whether M8, judgement are matched position prior to interference position;
M9, position is matched not prior to interference position and matching rate is one third, determine that the corresponding matching result of third sentence isSentence is jumped, and exports matching result and is;Mistake input: we;
M10, it inputs and from statement library from word library deletion error to obtain updated word library, wherein updatedWord library includes 1, I, 2, love, 3, you;2;Statement library includes 1, I love you after update;2,You love me;And3.We are couple;
M11, the first word I is matched with statement library, to obtain the corresponding match information of the first word, wherein match information are as follows:Hit sentence is 1 for the first time;Hit label: I (1.1);It has matched: I;
M12, the second word love is matched with statement library, to obtain the corresponding match information of the second word, wherein match informationAre as follows: hit sentence is 1 for the first time;Hit label: I (1.1), love (1.2), love (2.2);It has matched: I, love;InterferenceNumber: 0;Noise word: empty;Interference position: empty;
M13, third word you is matched with statement library, to obtain the corresponding match information of third word, wherein match informationAre as follows: hit sentence is 1 for the first time;Hit label: I (1.1), love (1.2), you (1.3), love (2.2);It has matched: Ilove you;Interference number: 0;Noise word: empty;Interference position: empty;
M14, input are sky, compare the rate that is hit for being hit sentence, and determine first according to the rate that is hit to be orderedMiddle sentence;
M15, position is matched prior to interference position, determine the corresponding matching result of third sentence, wherein the matching result is positiveIt is really defeated to write: I love you;
M16, the final matching results for inputting text and matched text are determined according to each matching result of determination, wherein final result isIt is correctly defeated to write: I love you;Miss input: You love me. We are couple;Mistake inputs We.
The present invention also provides a kind of terminal devices, as shown in Figure 3 comprising at least one processor (processor)20;Display screen 21;And memory (memory) 22, can also include communication interface (Communications Interface)23 and bus 24.Wherein, processor 20, display screen 21, memory 22 and communication interface 23 can be completed mutually by bus 24Between communication.Display screen 21 is set as preset user in display initial setting mode and guides interface.Communication interface 23 can passDefeated information.Processor 20 can call the logical order in memory 22, to execute the method in above-described embodiment.
In addition, the logical order in above-mentioned memory 22 can be realized and as only by way of SFU software functional unitVertical product when selling or using, can store in a computer readable storage medium.
Memory 22 is used as a kind of computer readable storage medium, and it is executable to may be configured as storage software program, computerProgram, such as the corresponding program instruction of method or module in the embodiment of the present disclosure.Processor 30 is stored in memory by operationSoftware program, instruction or module in 22, thereby executing functional application and data processing, i.e. side in realization above-described embodimentMethod.
Memory 22 may include storing program area and storage data area, wherein storing program area can storage program area, extremelyApplication program needed for a few function;Storage data area, which can be stored, uses created data etc. according to terminal device.ThisOutside, memory 22 may include high-speed random access memory, can also include nonvolatile memory.For example, USB flash disk, movementHard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,RAM), a variety of media that can store program code such as magnetic or disk, are also possible to transitory memory medium.
In addition, a plurality of instruction processing unit in above-mentioned storage medium and mobile terminal loads and the detailed process executed existsIt has been described in detail in the above method, has just no longer stated one by one herein.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;AlthoughPresent invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be usedTo modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit andRange.