Summary of the invention
The embodiment of the invention provides a kind of input method and device, to realize utilizing canned data search, utilizes Search Results to replace input, thereby effectively utilizes canned data, has practiced thrift time cost.
The embodiment of the invention provides a kind of input method, comprising:
According to input area, select stored data base, according to the said stored data base of the information search of said input;
Search Results is shown;
Select arbitrary said Search Results to show at input area.
The embodiment of the invention provides a kind of input media, comprising:
Search module is used for according to input area, selects stored data base, according to the said stored data base of the information search of said input;
Display module is used for Search Results is shown;
Select module, be used to select arbitrary said Search Results to show at input area.
Therefore embodiment of the invention searching method can make things convenient for device and simply utilizes the various information of portable terminal storage inside; Information according to input is searched for; The result that utilization searches for out and replace the input; Thereby effectively utilize canned data, and effectively reduced input quantity, practiced thrift time cost.
Embodiment
Through accompanying drawing and embodiment, the technical scheme of the embodiment of the invention is done further detailed description below.
As shown in Figure 1, the process flow diagram for embodiment of the invention input method specifically may further comprise the steps:
Step 101, according to the information of importing at input area, search storage data;
The specific region that is used for importing can but to be not limited to be sender hurdle or network address input area, and that the information of input also comprises is a variety of, includes but not limited to literal, letter (phonetic alphabet or English alphabet), numeral, punctuation mark or the like; After the user imported these information, the terminal was according to these information, through certain algorithm, can but be not limited to search out in the medium storage data of network address from communication stored record, communications records and resource localizer the user and want the information imported; These searching methods include but not limited to search, association and prediction; Concrete searching algorithm can be according to different use scenes and usual practice as searching for generally or precise search;
Step 102 shows Search Results;
Search Results may be displayed on the region of search in the interface, and input area can be proceeded normal input; The information of input also may be displayed in the region of search in addition, for example is presented in the first trip of region of search;
Step 103 selects arbitrary Search Results to show at input area.
The user can be switched in input area and region of search; The Search Results that can from the region of search, search is chosen input area and is shown, when selecting input area, and input information; When selecting the region of search; Can select search result information, also can the search result information in the region of search be made amendment, choose input area then; When the information according to input did not retrieve as a result, the information of input can be come out with the specific process mark, such as but not limited to coming out with special color mark.
So just can make things convenient for and simply utilize the information of portable terminal storage inside, thereby reduce the input quantity of user's input.
When inputted search, can select stored data base according to input area, according to the said stored data base of information search of input, be illustrated in figure 2 as the input design sketch of embodiment of the invention input method, the information of importing the addressee with needs is example:
When the information in the input area input is numerical information and/or symbolic information; First digit information and/or symbolic information according to input searched for (for example but do not comprise search for generally and precise search) in communication stored record and/or communications records; If the contact person in address list or communications records itself comprises the numerical information or the symbolic information of input; The numerical information that perhaps comprises input in the contact phone will be come out to be presented at the region of search by search; If do not search needed information, then continue input second digit information and/or symbolic information, search in communication stored record and/or communications records according to first and second digit information and/or symbolic information then; By that analogy, the information that searches out being presented at the region of search supplies the user to select.
When the information in the input area input is Word message; First Word message according to input is searched for (for example but do not comprise search for generally and precise search) in communication stored record and/or communications records; If the contact person in address list or communications records itself comprises the Word message of input, will be come out to be presented at the region of search by search, if do not search needed information; Then continue second Word message of input; Search in communication stored record and/or communications records according to first and second Word message then, by that analogy, the information that searches out is presented at the region of search supplies the user to select; The corresponding phonetic alphabet of Word message that also can the contact person in address list or communications records be comprised itself input; Also can be searched out separately perhaps and come out to be presented at the region of search by search, supply the user to select with the contact person who comprises Word message.
In the time of should being phonetic alphabet information in the information of input area input together; First phonetic alphabet information according to input is searched for (for example but do not comprise search for generally and precise search) in communication stored record and/or communications records; If the contact person in address list or communications records itself comprises the phonetic alphabet information of input, will be come out to be presented at the region of search by search, if do not search needed information; Then continue second phonetic alphabet information of input; Search in communication stored record and/or communications records according to first and second Word message then, by that analogy, the information that searches out is presented at the region of search; Supply the user to select, can come out to supply the user to select with special formal notation; The phonetic alphabet information corresponding character that also can the contact person in address list or communications records be comprised itself input; Also can be searched out separately perhaps and come out to be presented at the region of search by search, supply the user to select with the contact person who comprises phonetic alphabet information.
Under ideal case, then being judged as at the input area input information is to need input telephone item, then search for phones clauses and subclauses in address list and message registration.And if in browser in the input information, then judgement needs the input network address, so in the historical record of uniform resource locator, browsing page or in the network address of user storage, the search website information; If perhaps the information of input is when being WWW, then being judged as needs the input network address, so in the network address of the historical record of uniform resource locator, browsing page or user storage, the search website information.Below be example with needs fan-in network address information:
When the information in the input area input is numerical information and/or symbolic information; According to first digit information and/or the symbolic information of input uniform resource locator (Uniform ResourceLocator in storage; URL) search in the network address in (for example but do not comprise search for generally and precise search); Can certainly be in the network address of the historical record of browsing page, the network address of user storage or the like; Will be come out to be presented at the region of search by search if in network address, comprise the numerical information of input or symbolic information; If do not search needed information, then continue input second digit information and/or symbolic information, search in the network address of the network address of the historical record of URL, browsing page or user storage according to first and second digit information and/or symbolic information then; By that analogy; The information that searches out is presented at the region of search, supplies the user to select, the symbol of input can include but not limited to it is all contents that can import such as English alphabet, punctuation mark.
When the information in the input area input is Word message; In the network address of first Word message in the URL of storage according to input; Search for (for example but do not comprise search for generally and precise search) in webpage of can certainly be in the historical record of browsing page, collecting in the webpage of user storage or the collection or the like,, will be come out to be presented at the region of search by search if comprise the Word message of input in the network address in URL; If do not search needed information; Then continue second Word message of input, search in the network address of the network address of the historical record of URL, browsing page or user storage according to first and second Word message then, by that analogy; The information that searches out is presented at the region of search, supplies the user to select; Phonetic alphabet that also can the Word message that comprise input in the network address in URL is corresponding also can be searched out separately perhaps and come out to be presented at the region of search with the network address that comprises Word message by search, supply the user to select.
In the time of should being phonetic alphabet information in the information of input area input together; In the network address of first phonetic alphabet information in the URL of storage according to input; Search for (for example but do not comprise search for generally and precise search) in webpage of can certainly be in the historical record of browsing page, collecting in the webpage of user storage or the collection or the like,, will be come out to be presented at the region of search by search if comprise the phonetic alphabet information of input in the network address in URL; If do not search needed information; Then continue second phonetic alphabet information of input, search in the network address of the network address of the historical record of URL, browsing page or user storage according to first and second phonetic alphabet information then, by that analogy; The information that searches out is presented at the region of search, supplies the user to select; Also can the phonetic alphabet information corresponding character that comprise input in the network address in URL also can be searched out separately perhaps and come out to be presented at the region of search with the contact person who comprises phonetic alphabet information by search, supply the user to select.
A kind of input media of the embodiment of the invention comprises: search module is used for the information that basis is imported at input area, search storage data; Display module is used for Search Results is shown; Select module, be used to select arbitrary said Search Results to show at input area.
Therefore embodiment of the invention searching method can make things convenient for device and simply utilizes the various information of portable terminal storage inside; Information according to input is searched for; The result that utilization searches for out and replace the input; Thereby effectively utilize canned data, and effectively reduced input quantity, practiced thrift time cost.
It should be noted last that; Above embodiment is only unrestricted in order to the technical scheme of the explanation embodiment of the invention; Although the embodiment of the invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement the technical scheme of the embodiment of the invention, and do not break away from the spirit and the scope of embodiment of the invention technical scheme.