CN110008416B - Website navigation method, device and input method system - Google Patents

Website navigation method, device and input method system Download PDF

Info

Publication number
CN110008416B
CN110008416B CN201910245671.7A CN201910245671A CN110008416B CN 110008416 B CN110008416 B CN 110008416B CN 201910245671 A CN201910245671 A CN 201910245671A CN 110008416 B CN110008416 B CN 110008416B
Authority
CN
China
Prior art keywords
input
user
current
information
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910245671.7A
Other languages
Chinese (zh)
Other versions
CN110008416A (en
Inventor
潘俊辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201910245671.7A priority Critical patent/CN110008416B/en
Publication of CN110008416A publication Critical patent/CN110008416A/en
Application granted granted Critical
Publication of CN110008416B publication Critical patent/CN110008416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a website navigation method, a website navigation device and an input method system, and relates to the technical field of computer information processing. The method comprises the following steps: responding to the touch operation of a user on the current keyboard key, and starting to count the touch duration of the current keyboard key; judging whether the touch pressing time of the current keyboard key exceeds a first preset time; when the touch duration of the current keyboard key exceeds a first preset duration, acquiring information of the current keyboard key and input information of a user, and determining a query word according to the information of the current keyboard key and the input information of the user; and acquiring a corresponding website according to the determined query words, and navigating according to the acquired website. According to the invention, by judging the time when the user touches the keys of the keyboard, the user can conveniently and accurately determine the query words without influencing the input experience in the process of inputting information at any time, so that the website navigation is carried out.

Description

Website navigation method, device and input method system
Technical Field
The invention relates to the technical field of computer information processing, in particular to a website navigation method, a website navigation device and an input method system.
Background
The character information input is used as the basic function of various computing devices, and great convenience is provided for the information input and processing of users; currently, people have also made some research on website navigation using an input method, that is, a way to obtain a candidate list of required websites in a search engine server, a website database server, or a local information database by using information displayed in an input method window as a query word when inputting information in an input box or a text document through the input method; specifically, please see the following technical solutions:
the first technical solution is disclosed in a patent with a publication number of CN104484366A, and comprises: receiving information input by a user on an input method interface; acquiring website information corresponding to the input information; displaying the website information for the user to select; and receiving a selection instruction of the user to the website.
The second technical solution is the technical solution disclosed in the patent with publication number CN101452453B, and includes: receiving input information of a user; searching in a word stock according to the received input information to obtain corresponding candidate items; and searching in a preset website database according to one or more of the candidate items, and matching to obtain one or more corresponding website information.
Technical solution three is a technical solution disclosed in patent publication No. CN101231636B, including: the input method system determines search keywords required by a user according to the input of the user; wherein the determination of the search keyword is realized by the following steps: receiving a coded character string input by a user, acquiring and displaying at least one input word determined by the user in an input method window, and determining the input word or words as a search keyword required by the user; or, receiving a coded character string input by a user, and determining a candidate word as a search keyword required by the user through user selection or default setting of an input method system; and the input method system generates a search command according to the search keyword and sends the search command to a search engine.
In the above prior art, when a user navigates a website through an input method, a default navigation key is usually triggered to activate a navigation function, and the system determines a query term and then navigates the website. The input method interface contains many input information (including candidate items), and the query words that the system can determine often do not meet the individual requirements of the user, for example, the user inputs "Baidu" (candidate items: 1. Baidu 2. Duty 3. Baidu 4.Baidu 5. whiteness 6. white reading) through the input method platform, the navigation result includes one hundred degrees (www.baidu.com), and uses one hundred degrees, one hundred degree net-disk, one hundred degree map, one hundred degree translation, one hundred degree post, etc., however, if the user wants to use ferry, one hundred reading, etc. as query words to obtain professional emotion consultation ferry net (http:// psyxin.com /), IT ferry net (tp:// www.itbaiduwang.com /), worship reading net (http:// orzbook.k.), the existing input method website navigation technology cannot conveniently meet the actual needs of the user to make individual selection of the query words, once the user selects the ferry, the input method can screen corresponding information, the input method cannot use the information on the screen as a query word, personalized requirements of different users cannot be met, and the use experience of the user is influenced.
Furthermore, in the process of inputting information by a user, when a website needs to be navigated, the user often inputs a query word that is needed to confirm himself instead of inputting the query word once, for example, the user wants to query where dad goes, the actual input process includes inputting dad and dad twice, respectively, and the prior art cannot process dad as a part of the query word navigated in the process of inputting information.
Therefore, how to accurately and quickly meet the real personalized requirements of each user when the website is navigated by the input method is a technical problem to be solved by technical personnel in the field at the present stage.
Disclosure of Invention
The present invention is directed to a website navigation method, device and input method system, which at least solve one of the above technical problems to the first extent. The invention can be used in the input process of all language characters, and can be used in the input method of directly inputting characters or inputting words through specific codes, etc. For convenience, the present invention is mainly explained by taking a Chinese input method and a Japanese input method as examples.
In order to achieve the above object, a first aspect of the present invention provides a website navigation method, which includes the following steps:
responding to the touch operation of a user on the current keyboard key, and starting to count the touch duration of the current keyboard key; judging whether the touch pressing time of the current keyboard key exceeds a first preset time; when the touch duration of the current keyboard key exceeds a first preset duration, acquiring input information of a user, and determining a query word according to the input information of the user; and acquiring a corresponding website according to the determined query words, and navigating according to the acquired website.
Preferably, the determining whether the touch duration of the current keyboard key exceeds a first preset duration includes:
comparing the touch duration of the current keyboard key with a first preset duration in real time, and stopping comparison after judging that the touch duration of the current keyboard key exceeds the first preset duration; or when the current keyboard key bounces, comparing the touch duration of the current keyboard key with a first preset duration.
Preferably, when the touch duration of the current keyboard key exceeds a first preset duration, the method further includes:
and acquiring the information of the current keyboard key.
Preferably, in the process of inputting information by a user, determining information, which is input by the user and is in a non-editing state by an editing state, as a primary processing input, and determining information, which is edited by the user and corresponds to a current keyboard key, as a current processing input, where the current processing input includes a coded text sequence input by the user, a converted text sequence in a candidate, and a converted text sequence that the user has confirmed to replace the corresponding coded text sequence, and the determining a query word according to the input information of the user includes: acquiring current processing input, and extracting a character sequence meeting the set requirement from the acquired current processing input as a first query word; or acquiring a character sequence meeting the setting requirement from the current processing input, and taking the acquired character sequence meeting the setting requirement as a first query word.
Preferably, in the process of inputting information by a user, determining information, which is input by the user and is in a non-editing state by an editing state, as a primary processing input, and determining information, which is edited by the user and corresponds to a current keyboard key, as a current primary processing input, where the current primary processing input includes a coded text sequence input by the user, a converted text sequence in a candidate item, a converted text sequence that the user has confirmed to replace a corresponding coded text sequence, and a corresponding relationship, the acquiring information of the current keyboard key and the input information of the user, and determining a query word according to the information of the current keyboard key and the input information of the user, includes:
acquiring the current processing input; determining a preset word-fetching rule according to the information of the current keyboard key, searching a character sequence which accords with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a part which is not searched and corresponds to the preset word-fetching rule to be a null value; taking the character sequences meeting the preset word-fetching rule as first query words, or combining all the character sequences meeting the preset word-fetching rule according to a corresponding sequence to be taken as first query words when a plurality of character sequences meeting the preset word-fetching rule exist;
alternatively, the first and second electrodes may be,
determining a preset word-fetching rule according to the information of the current keyboard key, searching and acquiring a character sequence which accords with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a null value of a part which is not searched and corresponds to the preset word-fetching rule; and taking the character sequences conforming to the preset word-fetching rule as first query words, or combining all the character sequences conforming to the preset word-fetching rule according to a corresponding sequence to be taken as the first query words when a plurality of character sequences conforming to the preset word-fetching rule exist.
Preferably, the method further comprises: in the process of inputting information by a user, recording a first moment when the user touches a key of a keyboard to input a first coded character and a second moment when the user touches the key of the keyboard to determine a primary processing input from an editing state to a non-editing state in each primary processing input in the editing process, and acquiring the primary processing input and correspondingly storing the primary processing input with the corresponding first moment and the corresponding second moment when the primary processing input is determined to be the non-editing state; taking the moment when a user touches a key of a keyboard to input a first coded character as a current first moment in the editing process of the current processing input, and taking the moment when the touch duration of the current keyboard key exceeds a first preset duration as a current second moment by the system;
the determining of the query term according to the input information of the user comprises the following steps: counting all the primary processing inputs meeting a preset relation with the current primary processing input according to all the stored primary processing inputs and the corresponding first time and second time; and splicing all the once-processed input obtained by statistics with the first query term according to the input sequence to determine the first query term as a second query term.
Preferably, the counting all the one-time processing inputs satisfying the preset relationship with the current one-time processing input comprises: counting all the primary processing inputs which do not contain the current primary processing input and have the time interval between the corresponding first time or second time and the current first time or current second time smaller than a second preset time; or sequentially calculating the time interval between the second time of the previous processing input and the first time of the next processing input, and counting all continuous processing inputs which do not contain the current processing input and have the time interval smaller than a third preset time length by taking the current processing input as a starting point according to a time reverse order mode.
Preferably, the method further comprises: acquiring input information which meets preset requirements in front of and/or behind an input position input by current processing;
the determining of the query term according to the input information of the user comprises the following steps: and splicing the input information meeting the preset requirement and the first query word according to the front and back sequence of the corresponding input position, and determining the input information as a third query word.
Preferably, the input information meeting the preset requirement includes: searching characteristic information forwards and/or backwards according to the input position processed at the current time; and taking the information between the characteristic information and the input position processed at the current time as the input information meeting the preset requirement.
Preferably, the acquiring a corresponding website according to the determined query term includes: acquiring a corresponding website from a website database according to the determined query word, wherein the mapping relation between the query word and the website is stored in the website database, and the website database is a local database or a database of a remote server;
or generating a query instruction according to the determined query word, sending the query instruction to a search engine server, and receiving the website returned by the search engine server, wherein the search engine server is a general search engine server or a server providing vertical search service.
Preferably, before the acquiring the corresponding website according to the determined query term, the method further includes: displaying a first preset number of navigation categories; receiving a navigation category selected by a user;
the acquiring of the corresponding website according to the determined query term includes: and acquiring a corresponding website according to the determined query words and the navigation category selected by the user.
Preferably, the method further comprises: and automatically updating the sequencing position of each navigation category at preset time intervals.
Preferably, the automatically updating the ranking position of each navigation category at preset time intervals includes: and counting the frequency of selecting each navigation category by the user in the preset time interval, sequencing each navigation category according to the counted frequency, and updating the sequencing position of each navigation category according to the sequencing result.
The second aspect of the present invention provides a website navigation device, comprising:
the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key; the judging module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned; the acquisition module is used for acquiring input information of a user; the determining module is used for determining the query word according to the input information of the user acquired by the acquiring module; and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
Preferably, the obtaining module further includes: and the first acquisition submodule is used for acquiring the information of the current keyboard key.
Preferably, in the process of inputting information by the user, the information which is input by the user and is determined to be in the non-editing state by the editing state is used as a primary processing input, the information edited by the user corresponding to the current keyboard key is used as a current processing input, the current processing input comprises the coded character sequence input by the user, the converted character sequence in the candidate item, and the converted character sequence which is confirmed by the user to replace the corresponding coded character sequence,
the acquisition module is used for acquiring the current processing input; the determining module is used for extracting a character sequence meeting the set requirement from the acquired current processing input as a first query word;
alternatively, the first and second electrodes may be,
the acquisition module is used for acquiring a character sequence meeting the set requirement from the current processing input; and the determining module is used for taking the acquired character sequence which meets the set requirement as a first query word.
Preferably, in the process of inputting information by the user, the information which is input by the user and is determined to be in the non-editing state by the editing state is used as a primary processing input, the information edited by the user corresponding to the current keyboard key is used as a current processing input, the current processing input comprises the coded character sequence input by the user, the converted character sequence in the candidate item, the converted character sequence which is confirmed by the user to replace the corresponding coded character sequence and the corresponding relation,
the acquisition module includes: the first obtaining submodule is used for obtaining the information of the current keyboard key;
the second acquisition submodule is used for acquiring the current processing input; the determining module is connected with the obtaining module and comprises: the first determining sub-module is used for determining a preset word-taking rule according to the information of the current keyboard key, searching a character sequence which accords with the preset word-taking rule in the current processing input according to the preset word-taking rule, and taking a null value of a part which is not searched and corresponds to the preset word-taking rule; a second determining sub-module, configured to use the text sequences that meet the preset word extraction rule as a first query word, or, when there are multiple text sequences that meet the preset word extraction rule, combine all the text sequences that meet the preset word extraction rule in a corresponding order to use the combined text sequences as the first query word;
alternatively, the first and second electrodes may be,
the acquisition module includes: the first obtaining submodule is used for obtaining the information of the current keyboard key; the second obtaining sub-module is used for matching a preset word-taking rule according to the information of the current keyboard key, searching and obtaining a character sequence which accords with the preset word-taking rule in the current processing input according to the preset word-taking rule, and taking a null value of the part which is not searched and corresponds to the preset word-taking rule; and the determining module is connected with the obtaining module and is used for taking the obtained character sequences meeting the preset word-taking rule as first query words, or when a plurality of character sequences meeting the preset word-taking rule are available, combining all the character sequences meeting the preset word-taking rule according to a corresponding sequence to be taken as the first query words.
Preferably, the method further comprises the following steps: the storage module is used for storing the input information of the user and the corresponding time information in the process of inputting the information by the user, and comprises the following steps: the storage submodule is used for recording a first moment when a user touches a key of a keyboard to input a first coded character in the editing process of each primary processing input and a second moment when the user touches the key of the keyboard to determine the corresponding primary processing input from an editing state to a non-editing state, and acquiring the corresponding primary processing input and correspondingly storing the corresponding primary processing input with the corresponding first moment and the corresponding second moment when each primary processing input is determined to be the non-editing state; taking the moment when a user touches a key of a keyboard to input a first coded character as a current first moment in the editing process of the current processing input, and taking the moment when the touch duration of the current keyboard key exceeds a first preset duration as a current second moment by the system; the statistic submodule is used for counting all the primary processing inputs meeting the preset relation with the current primary processing input according to all the stored primary processing inputs and the corresponding first time and second time; and the determining module is used for splicing all the once-processed input obtained by statistics with the first query word according to the input sequence and determining the first query word as a second query word.
Preferably, the statistics submodule is specifically configured to: counting all the primary processing inputs which do not contain the current primary processing input and have the time interval between the corresponding first time or second time and the current first time or current second time smaller than a second preset time; or sequentially calculating the time interval between the second time of the previous processing input and the first time of the next processing input, and counting all continuous processing inputs which do not contain the current processing input and have the time interval smaller than a third preset time length by taking the current processing input as a starting point according to a time reverse order mode.
Preferably, the method further comprises the following steps: the acquisition module is used for acquiring input information which meets the preset requirement in front of and/or behind the input position input by the current processing; the determining module is used for splicing the input information meeting the preset requirement and the first query word according to the front and back sequence of the corresponding input position, and determining the input information as a third query word.
Preferably, the acquisition module is specifically configured to: searching characteristic information forwards and/or backwards according to the input position processed at the current time; and taking the information between the characteristic information and the input position processed at the current time as the input information meeting the preset requirement.
In addition, to achieve the above object, a third aspect of the present invention provides an input method-based website navigation system, including: the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key; the judging module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned; the acquisition module is connected with the input method system and used for acquiring the information of the current keyboard key and the input information of a user when the touch pressing time of the current keyboard key exceeds a first preset time; the determining module is connected with the acquiring module and used for determining the query word according to the information of the current keyboard key and the input information of the user acquired by the acquiring module; and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
Further, to achieve the above object, a fourth aspect of the present invention provides an input method system comprising: an input method system, including input interface module, word conversion module, display module and thesaurus, its characterized in that still includes: the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key; the breaking module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned; the determining module is used for determining the query words according to the information of the current keyboard keys and the input information of the user; and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
In the technical scheme of the invention, the touch duration of the current keyboard key touched by the user is judged, the query word is determined according to the information of the current keyboard key and the information input by the user, and then the website navigation is carried out according to the query word, so that the input process of the user is not interfered on the first aspect in the process; in the second aspect, the accuracy of determining the query words is improved; in the third aspect, the trigger keys for website navigation are arranged on the keys familiar to each user for inputting information, most users can realize blind typing, the website navigation can be carried out without clicking a mouse or touching a certain shortcut key, the website desired by the user is not required to be selected on a densely covered page by opening a browser conventionally, but only a certain key is pressed for a long time, and the convenience of website navigation is improved; in the fourth aspect, the website navigation is more targeted and the navigation accuracy is improved by establishing the personalized navigation category table and updating the table.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart of a website navigation method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another website navigation method according to an embodiment of the present invention;
FIG. 3a is a flowchart of a method for determining query terms according to an embodiment of the present invention;
FIG. 3b is a flowchart of another method for determining query terms according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for saving a one-time process input according to an embodiment of the present invention;
FIG. 5 is a flow chart of another method for determining query terms provided by embodiments of the present invention;
FIG. 6 is a flow chart of another method for determining query terms provided by embodiments of the present invention;
FIG. 7 is a flow chart of another method for determining query terms provided by embodiments of the present invention;
fig. 8 is a flowchart of a method for navigating a website according to a query term according to an embodiment of the present invention;
FIG. 9a is a schematic diagram illustrating a display for determining query terms according to an embodiment of the present invention;
FIG. 9b is a schematic diagram illustrating a display of a website obtained according to the query term determined in FIG. 9a according to an embodiment of the present invention;
FIG. 10 is a flowchart of a method for building a website database according to an embodiment of the present invention;
FIG. 11a is a schematic view of a user inputting information in an input method interface;
FIG. 11b is a schematic diagram illustrating a display after determining a query term according to an embodiment of the present invention;
FIG. 11c is a diagram illustrating a display of a website list obtained after selecting the website navigation category according to FIG. 11 b;
FIG. 12a is a block diagram of a website navigation device according to an embodiment of the present invention;
FIG. 12b is a block diagram of the acquisition module and the determination module of FIG. 12a according to an embodiment of the present invention;
FIG. 12c is a block diagram of the acquisition module and the determination module of FIG. 12a and FIG. 12b according to an embodiment of the present invention;
FIG. 13a is a block diagram of another exemplary website navigation device according to the present invention;
FIG. 13b is a block diagram of a storage module matching the one shown in FIG. 13a according to an embodiment of the present invention;
FIG. 14 is a block diagram of another exemplary website navigation device according to the present invention;
fig. 15 is a block diagram illustrating a structure of an input method system according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a schematic flow chart of a website navigation method according to an embodiment of the present invention is shown, where the website navigation method includes the following steps:
step S11, responding to the touch operation of the current keyboard key by the user, and starting to count the touch duration of the current keyboard key;
step S12, judging whether the touch duration of the current keyboard key exceeds a first preset duration, if so, executing step S13, otherwise, continuing to execute step S12;
it is easy to know that when the current key bounces, namely the touch operation is finished, the counting of the touch duration of the current keyboard key is finished.
Specifically, the signal generated in response to the touch operation of the current keyboard key by the user is a signal generated at the moment when the current keyboard key is touched, which can be understood and determined by those skilled in the art. And when a certain key is detected to be pressed, the key is taken as the current keyboard key. The method is used for the user to input information, and can also comprise the step of judging whether the current keyboard key is a key needing to count the time length before counting the touch time length of the current keyboard key, for example, in a Chinese pinyin input method, if the current keyboard key is an a-z character key, a 0-9 numeric symbol key, a space key, an enter key, a TAB key and the like, the corresponding touch time length can be counted, if the current keyboard key is a F1-F12 key, a backspace key, an Esc key, 4 direction keys, a key for turning pages and the like, the time length is not counted, namely navigation is not carried out through the keys. The first preset time period can be set by the system or can be set by the user in a setting panel provided by an input method. In the invention, the mouse can be used for replacing the function of the corresponding key, and when the mouse points to a certain character sequence, the mouse is endowed with the function of the corresponding touched key.
In step S12, determining whether the touch duration of the current keyboard key exceeds a first preset duration, where the touch duration of the current keyboard key is compared with the first preset duration in real time after the current keyboard key is detected to be touched, and the comparison is not performed until the current keyboard key is bounced after the determination that the duration of the current keyboard key exceeds the first preset duration; or, the touching duration of the current keyboard key may be compared with the first preset duration when the current keyboard key pops up (counting of the touching duration is finished), that is, the precondition for performing step S13 is two, one is that the touching duration of the current keyboard key exceeds the first preset duration, the other is that the current keyboard key pops up, or it may be determined whether the touching duration exceeds the first preset duration first, and then it is determined whether the current keyboard key pops up, and when both of the two conditions are satisfied, step S13 may be performed.
If the user inputs information normally, the time for touching and pressing a single keyboard key is very short and does not exceed 30 milliseconds; if the user wants to perform website navigation, the time for touching the keyboard key is longer, and the first preset time duration can be set to be 300 milliseconds, so that the system can easily distinguish whether the real intention of the user is to perform website navigation. The corresponding method for counting the time length is the prior art in the field, and is not described herein again.
Step S13, acquiring input information of a user, and determining a query word according to the input information of the user;
in the process of inputting information by a user, the conversion process of corresponding information is carried out according to a set rule, the coded character sequence input by the user can be automatically converted into one or more converted character sequences and displayed in the candidate items, the converted character sequences in the candidate items can replace the corresponding coded character sequences one by one after being selected and confirmed by the user, and common words corresponding to the corresponding coded character sequences are always displayed in the first candidate items, so that the common words in the first candidate items can be set as query words, the coded character sequences can be set as query words, or the converted character sequences selected and confirmed by the user are allowed to be set as query words. In the input process, the words in other candidate items can be selected, but the words are not common words, and the user often cannot obtain the desired result if the user navigates by taking the common words as the query words.
The input information of the user in this embodiment is information that is determined as a non-editing state by an editing state while being input by the user, and is input as a processing input, and information edited by the user corresponding to a current keyboard key is input as a current processing input. The acquiring process may be acquiring the current processing input, or acquiring a text sequence meeting the setting requirement from the current processing input. In order to improve user experience, the existing input method often displays corresponding input information in a determined state on a screen when a user confirms a last converted character sequence corresponding to a coded character sequence, so that the user cannot conveniently operate the input method when an unusual word in candidate items is really needed to be used as a query word. By the invention, when the system sets the converted character sequence confirmed by the user as the query word, the user can select the key by pressing the candidate item for a long time when confirming the last converted character sequence, and the converted character sequence obtained by final conversion is used as the query word.
For example, the system sets that "the converted text sequence of the corresponding coded text sequence has been replaced" as the query word, the user inputs "the fluent diqihaokanma", after one selection, it is confirmed that "the fluent earth" replaces "the fluent diqiu", at this time, the third item in the candidate items is "good-looking Do", at this time, when the user touches the button "3" for longer than a first preset time, it can be determined that "the fluent earth is good-looking Do" is the query word.
For another example, the system sets the first candidate as the query word, the user inputs "fluent diqiu", and then touches the enter key or touches the button "u" during the input process for a time period longer than a first preset time period, so that the first candidate "wandering earth" can be determined as the query word.
In fact, it is feasible to obtain any information from the current input information of the user as a query word, but only in order to facilitate the user to quickly obtain the most desired information under most circumstances, only a few preferred setting modes are recommended above. In this embodiment, the query term is determined in the same mode regardless of which key is pressed for a long time by the user.
And step S14, acquiring a corresponding website according to the determined query words, and navigating according to the acquired website.
The specific implementation of this step will be described in the following examples.
As shown in fig. 2, a schematic flow chart of another website navigation method according to an embodiment of the present invention is further optimized based on the embodiment shown in fig. 1, and includes the following steps:
step S21, responding to the touch operation of the current keyboard key by the user, and starting to count the touch duration of the current keyboard key;
step S22, judging whether the touch duration of the current keyboard key exceeds a first preset duration, if so, executing step S23, otherwise, continuing to execute step S22;
steps S21 and S22 in this embodiment are similar to steps S11 and S12 in the embodiment of fig. 1, and are not repeated here.
Step S23, acquiring information of current keyboard keys and input information of a user, and determining query words according to the information of the current keyboard keys and the input information of the user;
compared with the step S13 in the foregoing embodiment, in the step S23 in this embodiment, information of the current keyboard key touched by the user is obtained, and the state of the information currently input by the user can be accurately known through the current keyboard key, so that a corresponding rule can be matched according to the information of the current keyboard key, and when the user touches the current keyboard key to initiate website navigation, a query word for the currently input state can be obtained instead of a general query word, so that the user experience can be well improved. The information of the current keypad key can be represented by the letter/character represented by the key or ASCII code.
In the process of inputting information by a user, the information which is input by the user and is determined to be in a non-editing state by an editing state is taken as primary processing input, the information edited by the user corresponding to the current keyboard key is taken as the current primary processing input, and the current primary processing input comprises a coded character sequence input by the user, a converted character sequence in a candidate item, a converted character sequence confirmed by the user to replace the corresponding coded character sequence and a corresponding relation.
As shown in fig. 3a, a flowchart of a method for determining a query term provided in an embodiment of the present invention is a flowchart, where the obtaining information of a current keyboard key and input information of a user, and determining the query term according to the information of the current keyboard key and the input information of the user includes:
step 301, acquiring information of current keyboard keys and current processing input;
step 302, determining a preset word-fetching rule according to the information of the current keyboard key, searching a character sequence which accords with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a null value of a part which is not searched and corresponds to the preset word-fetching rule;
step 303, using the character sequences meeting the preset word-fetching rule as a first query word, or, when there are a plurality of character sequences meeting the preset word-fetching rule, combining all the character sequences meeting the preset word-fetching rule in a corresponding order to serve as the first query word.
Specifically, after the information of the current keyboard key is obtained, the word extraction rule matched with the corresponding key can be known. The preset word-fetching rule is a rule that after a user touches and presses a current keyboard key, the system extracts which character sequences in the current processing input as query words according to the information of the current keyboard key, and for the current processing input in the same display state, the user touches and presses different keys to obtain different query words, so that the query words obtained by the user are richer. Because keyboard keys on user computing equipment (such as a PC or a mobile phone) are particularly rich, different word-taking rules can be set for each keyboard key respectively, and the word-taking rules of a plurality of keyboard keys with the same function can also be set to be consistent, so that the user touches and presses the keyboard keys naturally, and the word-taking rules can be set by a system or the user. For example, in the chinese pinyin input method, the coded character keys (such as 26 letter keys), the numeric keys (candidate selection), the space key, and the enter key represent different input function types, respectively, and the functions in the input process are different, and different parts of the input information of the user correspond to the current keyboard keys, so that the corresponding word-fetching rule can be set, and when necessary, the character sequences of each part conforming to the word-fetching rule are fetched.
Because the query word needs to be acquired from the current processing input, when the information operated by the user is converted from an editing state to a non-editing state, the related information can be continuously kept in the cache of the system until the user acquires the query word, or when the user is determined to need to determine the query word, the input information is not converted into the non-editing state according to the general information input flow of the input method, but is continuously displayed.
Referring to fig. 3b, in another embodiment according to the present invention, in step S23, the acquiring information of the current keyboard key and the input information of the user, and determining the query term according to the information of the current keyboard key and the input information of the user includes:
step 301, acquiring information of current keyboard keys;
step 302, determining a preset word-fetching rule according to the information of the current keyboard key, searching and acquiring a character sequence according with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a null value from the part which is not searched and corresponds to the preset word-fetching rule;
step 303, using the character sequences meeting the preset word-fetching rule as a first query word, or, when there are a plurality of character sequences meeting the preset word-fetching rule, combining all the character sequences meeting the preset word-fetching rule in a corresponding order to serve as the first query word.
There may be many preset word-taking rules, and the following are simple examples, but the following rules are not intended to limit the present invention:
the method I comprises the steps of replacing a converted character sequence of the coded character sequence or the replaced coded character sequence, and/or the coded character sequence or the converted character sequence corresponding to the first candidate item, and/or the coded character sequence which is not replaced by the converted character sequence except the coded character sequence corresponding to the first candidate item.
For example, a user inputs information by using a Chinese pinyin input method, a preset word-taking rule corresponding to a key "3" is that "a converted character sequence of a replaced coded character sequence and a converted character sequence corresponding to a first candidate item", after the user inputs "lilangingdiqiu", the candidate items display "1", "Liulang 2", "Liulang 3", "Liulang 4", "Liulang 5", "Du 6", "Liulang", and if the user touches the current keyboard key "3" for more than a first preset duration, the input method replaces "lilaing" with "Liulang" while the user touches the "3" key, and displays "1", "Earth 2", "Low sphere 3", "Diqu 4", "Earth 5", "Earth 6 low", and at this time, the "Liulang Earth" is taken as a first query word; if the user touches and presses the current keyboard key 3 for more than a first preset time, the input method does not replace 'flowing wave' for 'flowing wave' at the first moment when the user touches and presses the key 3 until the first preset time is exceeded, and at the moment, the 'flowing wave' is taken as a first query word.
For another example, the preset word-taking rule corresponding to the key "u" is "the converted text sequence corresponding to the first candidate item", and when the user inputs "liulangdiqiu" and touches and presses the "u" key for a time period exceeding the first preset time period, "1" wandering earth 2, liulang 3, wandering 4, liulang 5, dur 6, liu ", is displayed in the candidate item, and at this time," wandering earth "is used as the first query word.
For another example, the preset word-taking rule corresponding to the enter key is "a coded word sequence other than the coded word sequence corresponding to the first candidate item in the un-replaced coded word sequence", and after the user inputs "lilangiqu", the candidate items display "1. liu lang 2. liulang 3. wandering 4. liu lang 5. liu 6. liu", and the user touches the enter key for more than a first preset time period, and takes "diqiu" as the first query word.
For another example, when the user uses the japanese input method, the preset word-taking rule corresponding to the key "h" is "the converted character sequence corresponding to the first candidate item", the user touches the "o" key to display the automatically converted and replaced character sequence "お" in the coded character sequence editing area, if the user continues to touch the key "h" for a preset duration, the information displayed in the editing area is "お h", and at this time, "お" is used as the first query word.
The user can set one or more of the character sequences under the rule corresponding to a certain key, and the corresponding result is also obvious and is not listed.
And the second mode is that the converted character sequence which is converted from the coded character sequence and replaces the corresponding coded character sequence or the corresponding coded character sequence except the converted character sequence replacing the corresponding coded character sequence when the user touches the current keyboard key or the converted character sequence corresponding to the converted character sequence replaces the converted character sequence or the coded character sequence in the coded character sequence event when the user touches the current keyboard key, and/or the coded character sequence which is not replaced except the coded character sequence input when the user touches the current keyboard key or the coded character input when the user touches the current keyboard key.
In the preset word-taking rule, "the conversion character sequence of the corresponding coding character sequence is replaced when a user touches a current keyboard key" means that the conversion character sequence in the candidate item corresponding to the current keyboard key is obtained when the conversion character sequence is matched with the key with the candidate item selection function, and when the conversion character sequence is matched with other non-candidate item selection keys, because the conversion character sequence is not replaced by the conversion character sequence when the corresponding keyboard key is touched, a null value can only be obtained even if the conversion character sequence is matched; the meaning of the coding character sequence except the coding character sequence input when the user touches the current keyboard key in the coding character sequence which is not replaced lies in obtaining the coding character sequence of the coding input area, if the coding character sequence is matched with the coding character sequence input key for use, the coding character input when the user touches the current keyboard key is removed, if the coding character sequence is matched with the candidate item selection key for use, because the coding character sequence is not input according to the candidate item selection key when the user touches the corresponding keyboard key, the whole coding character sequence which is not replaced is obtained.
For example, the preset word-taking rule of the key "3" corresponds to "the conversion word sequence of the corresponding coding word sequence is replaced when the user touches the current keyboard key", if "1. liu lang 2. liulang 3. liulang 4. liulang 5. liu 6. liu" is displayed in the candidate item after the user inputs "lldq", the user touches the current keyboard key "3" for exceeding a first preset time period, "liulang dq" is displayed in the coding input area, "1. dike 2. low ball 3. earth 4. earth 5. earth 6. low" is displayed in the candidate item, at this time, "liulang" is used as the first query word, if "1. liulang 2. liulang 3. liulang 4. liulang 5. liu 6. liu" is displayed in the candidate item after the user inputs "lldq", the user touches the current keyboard "3" for exceeding the first preset time period, "lldq" is still displayed in the coding input area, "1. liulang lang 4. liulang lang 4. liulang 5. liu lang 6. liu" is displayed in the coding input area, the corresponding relation between the current keyboard key and the candidate item is known according to the current processing input, at this time, "wandering" is taken as the first query word, and in this case, another explanation of the rule is that "conversion character sequence in the candidate item corresponding to the current keyboard key" is taken as the query word.
If the user inputs a code word sequence except the code word sequence input when the user touches the current keyboard key and the code word sequence input when the user touches the current keyboard key in the un-replaced code word sequence, displaying the wandering dqi in the editing area after the user inputs the code word sequence, continuously pressing the u key by the user at the moment, displaying the wandering dqiu in the editing area, and taking the dqiu as a first query word; if the edit region displays "wandering dqi" after the user input is selected, the user continues to press the "u" key for a long time, the edit region still displays "wandering dqi" when the query term is determined, but the input method will input "u" when the current keyboard key bounces, and then "dqiu" is taken as the first query term.
For another example, the preset word-taking rule is "a converted word sequence converted from a coded word sequence and replacing the converted word sequence except for the converted word sequence replacing the corresponding coded word sequence when the user touches the current keyboard key", and the meaning of the word-taking rule is to obtain the converted word sequence which the user has selected to confirm, if the current keyboard key touched by the user is a candidate selection key, the converted word sequence in the corresponding candidate is removed from the converted word sequence which the user has confirmed even though the corresponding coded word sequence has been replaced, if the coded word sequence input key is matched with the rule, a null value is removed, for example, the key "3" is matched with the rule, the "wandering candidate dqiu" is displayed in the editing area after the user input is selected, the "1. enemy 2. low ball 3. earth 4. 5. 6. low earth), at this time, the user presses the "3" key for a long time, and whether "dqiu" is replaced by "earth" in the process of pressing the "3" key for a long time or not, the "wandering" is used as the first query word, for example, the key "u" is matched with the rule, the "wandering dqi" is displayed in the editing area after the user input is selected, the user continues to press the "u" key for a long time at this time, and whether "u" is input into the editing area before the query word is determined in the process of pressing for a long time or not, and the "wandering" is used as the first query word.
For another example, the preset word-fetching rule corresponding to the enter key is "a coded character sequence input when the user touches the current keyboard key", and since the enter key is not used for inputting the coded character sequence, this rule cannot be used for determining an effective query word when matched with the enter key, and a null value is obtained.
For another example, when the user uses the japanese input method, the preset word-fetching rule corresponding to the key "h" is "the encoded text sequence input when the user touches the current keyboard key", the user touches the "o" key to display the automatically converted and replaced text sequence "お" in the encoded text sequence editing area, if the user continues to touch the key "h" for a preset duration, the information displayed in the editing area is "お h", and at this time "h" is used as the first query word.
When the query word needs to be determined, if the current processing input of the user is in an editing state, or is already in a state determined as a non-editing state by the editing state but stored in the setting storage area, the corresponding current processing input can be obtained. The user can set one or more of the character sequences under the rule corresponding to a certain key, and the corresponding result is also obvious, which is not described herein again. By analogy, the process of determining the query word in other language input methods is similar to the method of the Chinese pinyin input method, and is not repeated here.
Referring to fig. 4, a schematic flowchart of a process for saving a one-time processing input (input information of a user) according to an embodiment of the present invention is provided, where the determining a query term includes the following steps:
step 401: recording a first moment when a user touches a key of a keyboard to input a first coded character in the editing process of each one-time processing input, and a second moment when the user touches the key of the keyboard to determine the one-time processing input from an editing state to a non-editing state;
step 402, when the primary processing input is determined to be in a non-editing state, acquiring the primary processing input and correspondingly storing the primary processing input with the corresponding first time and the second time;
step 403, regarding the time when the user touches the keys of the keyboard to input the first coded character in the editing process of the current processing input as the current first time, and regarding the time when the system judges that the touch duration of the current keys of the keyboard exceeds the first preset duration as the current second time.
Because the input habit of the user is often determined by inputting in multiple times rather than editing and processing a long sentence at the same time, a plurality of character sequences input recently by the user can be sequentially stored so as to be acquired when the user needs to determine the query word, and further form a whole with the information currently processed and edited by the user as the query word. Specifically, in the process of inputting information by a user, whether the information input by touching and pressing a certain key by the user is the beginning or the end of one processing input is detected in real time, if so, the corresponding time is recorded, or the corresponding touch and pressing time is recorded when the user touches and presses the key of the keyboard each time, and then according to the edited content confirmed by the user, the most previous time value and the last time value of the character sequence corresponding to the edited content confirmed by touching and pressing are searched and recorded as the corresponding first time and the second time. The step of saving can also have a mode trigger switch, or the function of saving the information input by the user by the switch is determined according to whether the user carries out website navigation within a recent period of time, so that the resource consumption of electronic equipment and systems can be saved.
Further, in this embodiment, the method further includes: and deleting the first time, the second time and the corresponding processing input which are saved before the current time meets the fourth preset time at intervals of a fifth preset time so as to release the storage space. The fifth preset time period is longer than the fourth preset time period, for example, the fourth preset time period may be 1 minute, and the fifth preset time period may be 3 minutes.
Accordingly, as shown in fig. 5, another method for determining a query term provided in the embodiment of the present invention includes the following steps:
step 501, counting all the primary processing inputs excluding the current primary processing input, wherein the time interval between the corresponding first time or second time and the current first time or current second time is less than a second preset time length;
and 502, splicing all the once-processed input obtained by statistics with the first query word according to the input sequence, and determining the first query word as a second query word.
Generally, the number of words of a query word input by a user is limited, the total time for the query word input by the user is short, and the user browses for a while after querying corresponding information, so that a time interval is generated between the query word and the query word, so that the query word is obtained by counting input information in a set time period before the user inputs current information and splicing the input information with the current information input by the user, the accuracy rate of determining the query word can be improved, and the operation of the user is facilitated. In this step, the determined query term is called a second query term in order to distinguish the query term determined by the user through the current processing input, not to explain the sequence, or even to navigate by the first query term and the second query term at the same time.
The statistics in this embodiment may be performed when the touch duration of the current keyboard key exceeds a first preset duration, or may be performed in real time to reduce the waiting time for the user to determine the query word. Real-time statistics, wherein timing may be started at a corresponding set time point of each one-time processing input, and if a command for determining a query word is not received within a set second preset time period, the corresponding one-time processing input may be deleted from the stored information; the real-time statistics may also be performed by counting all the processing inputs stored before the statistics of the corresponding set time point of each processing input, counting all the processing inputs within the second preset time period, and deleting the processing inputs and the corresponding time information thereof, which are not within the second preset time period, from the stored information. The second preset time length can be set automatically in practical application as required, the system can also count the time length used by the user for inputting the query word for many times, obvious larger numerical values are removed, and then the maximum value of the residual numerical values is used as the second preset time length.
For example, the second preset duration is 5 seconds, the user inputs "china", "my", "mobile phone is" hua is brand ", the hua is brand" is the current processing input, the correspondingly stored first time includes 13 hours 15 minutes 20 seconds, 13 hours 15 minutes 25 seconds, 13 hours 15 minutes 27 seconds, 13 hours 15 minutes 32 seconds, the current second time corresponding to "hua is brand" is 13 hours 15 minutes 30 seconds, the interval between the first time of all the processing inputs and the current second time is counted, and the query word "my" mobile phone is "is the hua is brand" after being integrated with the current processing input according to the obtained "my" mobile phone is ". According to the invention, other times can also be counted, similarly to the method, which is not illustrated here.
Correspondingly, as shown in fig. 6, another method for determining a query term provided in the embodiment of the present invention includes the following steps:
step 601, sequentially calculating a time interval between a second time of a previous processing input and a first time of a next processing input, and counting all continuous processing inputs, which do not include the current processing input, of which the time interval is smaller than a third preset time length by taking the current processing input as a starting point according to a time reverse manner.
And step 602, splicing all the once-processed input obtained through statistics with the first query term according to the input sequence, and determining the first query term as a second query term.
Considering that a user can input a query word after segmenting the query word into a plurality of phrases, the input time interval between any two adjacent phrases is very small; in this embodiment, the time interval between two adjacent primary processing inputs is sequentially calculated to determine the continuity of the user input, so as to determine whether the multiple primary processing inputs are different parts of a query word input by the user, thereby relatively conforming to the input habit of the user and improving the accuracy of determining the query word. In this step, the determined query term is called a third query term in order to distinguish the determined query term from the query term input by the user through the current processing, not to explain the sequence, or even to navigate by the first query term, the second query term, and the third query term at the same time.
The statistics in this embodiment may be performed when the touch duration of the current keyboard key exceeds a first preset duration, or may be performed in real time to reduce the waiting time for the user to determine the query word. The real-time statistics may be a time interval between second time instants of the real-time adjacent previous processing inputs, and if the time interval is greater than a third preset time duration, the previous processing input may be deleted from the stored information. The third preset duration can be set by the user in practical application according to needs, or the system can count the time interval between the second time of the previous processing input of the user input information and the first time of the next processing input of the user input information, remove obviously larger time intervals according to the distribution condition among a plurality of corresponding intervals, classify the average value of the time intervals of the continuous input information of the user and the average value of the time intervals of the obvious discontinuity of the input information, and perform adaptive recommendation setting by taking the two data as the reference.
For example, the third preset duration is 1.5 seconds, the query word (the first query word) determined in the current processing input is "hua is a brand", the multiple first processing inputs stored in reverse order of time are "mobile phone is", "my" and "china", the time intervals between the second time of any adjacent previous processing input and the first time of the next processing input are 1.2 seconds, 1.4 seconds and 2 seconds in sequence, the continuous time interval smaller than 1.5 seconds is 1.2 seconds and 1.4 seconds, the stored first processing input obtained through statistics is "mobile phone number" and "my", and after being integrated with the first query word in sequence, the query word (the second query word) is "my mobile phone is hua is a brand".
As shown in fig. 7, in another method for determining a query term according to the present invention, the method includes the following steps:
step 701: acquiring input information which meets preset requirements in front of and/or behind an input position input by current processing;
the collection can be real-time collection, and can also be collection when the touch duration of the current keyboard key exceeds a first preset duration. Specifically, when the current processing input is in an editing state, the first forward feature information closest to the first cursor may be determined from the current position of the first cursor forward, and the first backward feature information closest to the first cursor may be determined from the current position of the first cursor backward, and the input information between the forward feature information and the backward feature information is used as the input information that meets the preset requirements before and after the current first cursor; the characteristic information may include punctuation marks, a preset number of spaces, and the like; such as commas, semicolons, periods, two or more spaces, etc.
For example, the information that the user has determined to be displayed on the screen is "travel". Beijing weather. I intend ", the first cursor is located between the beijing and the weather, and input information meeting preset requirements before and after the cursor is respectively 'beijing' and 'weather'.
Step 702: and splicing the input information meeting the preset requirement and the first query word according to the front and back sequence of the corresponding input position, and determining the input information as a third query word.
Specifically, the input information between the forward feature information and the current first cursor, the one-time processing input corresponding to the current keyboard key, and the input information between the first cursor and the backward feature information are sequentially spliced to obtain a third query word. That is, the user may add the first query word in the one-time processing input entered by the user after or in the middle of the existing one-time word as the third query word. If the current keyboard key is touched to ensure that the current processing input is determined on the screen, the statistics can be started at the corresponding head and tail positions.
For example, the on-screen information is "travel. Beijing weather. I intend, the first query word determined by the current processing input corresponding to the current keyboard key is 'future one week', and the first cursor is positioned after the space and before the weather, the 'weather of Beijing future one week' is used as the query word (the third query word). Other languages or input methods are similar to the method for determining the query word according to the embodiment, and will not be described in detail here.
Step S24: and acquiring a corresponding website according to the determined query words, and navigating according to the acquired website.
As shown in fig. 8, in one embodiment of the present invention, the following methods are included:
step 801, acquiring a corresponding website from a local website database, a server-side website database or a search engine according to the determined query word;
specifically, the corresponding relationship between the query term and the website address of the website may be stored in the local website database or the server-side website database in advance. The local website database can be a common database, which is convenient for a user to search and can not cause the system of the input method to be graceful. The local database can set the corresponding relation between the query words and the websites by the user, can store the corresponding relation between the query words commonly used by the user and the websites locally in the using process of the user, and can synchronize the corresponding website database to the user account, so that the user can conveniently use the most commonly used query words to find the websites wanted by the user when the user uses input methods to navigate the websites at different clients. And generating a query instruction according to the determined query word, sending the query instruction to a search engine server, and receiving the website returned by the search engine server. The query instruction comprises the url address of the query word and is sent to a search engine, and the input method queries related website information according to the query word, feeds the website information back to the input method client and provides the website information for the user. The user query instruction can be received by a general search engine for searching all contents on the internet, such as Google, or by a vertical search engine specially used for searching contents of a certain category on the internet, such as Tianmao shopping.
Step 802, the input method directly calls the browser to open the acquired website, or sequences the acquired website information, pops up the frame to display and receives a selection instruction of the user, and then calls the browser to open the acquired website.
When one piece of received website information is received, the input method platform can directly call a browser to open the website through a background, when a plurality of pieces of website information are received, the corresponding website list is opened through the input method popup window, and the popup window can be connected with the input method candidate bar into a whole or can be independently established. The website information may include one or more items of website name titles, website icons, link addresses, information summaries, and the like. When a plurality of websites are corresponded, the websites can be ranked, adjusted and displayed to the user according to the frequency of clicking each website by the user on the internet collected by the server or the use frequency of the current user. And when the click or the shortcut operation of the user is received, calling the browser to open the website selected by the user, so that the user is navigated to the required website. The user can select a certain website through a check button behind the website so that the system can directly open the website in future inquiry.
For example, the user uses "t" or "panning" as a query word, and obtains the query word directly from a local website database or a server website database, or obtains "www.taobao.com" in the shopping category of the database, at this time, website information of the panning web can be displayed in an input method candidate bar or displayed in a pop-up window, the user enters the panning website through a mouse click or a shortcut key, or the panning website can be opened directly by invoking a browser when the panning website is obtained.
As shown in fig. 9a and 9b, a user touches the letter key "t" at any input focus in a Chinese input mode, and at this time, after the time for touching the "t" key exceeds a first preset time, the "t" is used as a query word, and the system directly obtains a website of a Taobao network from a website database in a mode without selecting a corresponding navigation category, and a popup frame is displayed beside an input method window, or certainly, a browser can be directly called to open the Taobao network.
For another example, after the user inputs "jiuzg", a button is touched and pressed to determine that "jizhuigou" in the candidate items is the query word under a preset word fetching rule, a search engine server is used for directly obtaining a series of return results under a default webpage query category or under a corresponding travel category, at the moment, a browser is called to directly open a first website or open a webpage to display a corresponding search result list, or corresponding website information is displayed in a popup window in an input method candidate bar, and the user enters a related website or outputs the related website to an input area through mouse clicking or shortcut keys.
The method can also comprise recording the selection information of the user on the related websites to adjust the ranking of the websites in the website database, and can also comprise connecting the server end at regular time and receiving the data of the server end to update the local website database or the website database stored by the server end.
As shown in fig. 10, based on any of the above embodiments, in an embodiment of the present invention, the method further includes:
and constructing a website database containing the corresponding relation between the query words and the websites. The website address database can be constructed in the following way:
specifically, the website navigation method may be a manually added website database, a website database collected by a server, or a website database provided by any third party, as long as a website corresponding to the query word can be provided for the user to implement website navigation, where the size, form, data structure, and the like of the database are not particularly specified, and an automated website navigation website establishment method is described below.
1001, collecting attribute information of each website;
step 1002, extracting the feature words in the attribute information as query words, and establishing a mapping relation between the extracted query words and the websites of the corresponding websites to obtain a first database;
step 1003, optimizing the first database to obtain a website database for navigation; and storing the website database to a local place or a server.
Specifically, information such as the name, website abstract, icon and the like of each website is acquired in advance through various servers such as a search engine and the like, and according to query logs of each website, search engine statistical data or website access historical data provided by a related party, information such as the hot click rate of each website, the number of times of searching and entering the website through each query word and the like is counted; dividing the collected website names, website domain names, full spellings, initial consonant simple spellings and the like corresponding to the websites into a plurality of characteristic words serving as query words, and establishing mapping between the query words and the websites of the corresponding websites to obtain a first database; it should be noted that, in the first database, one query term maps at least one web address, and one web address may map a plurality of query terms.
For example, www.qq.com, for the Tencent network, performing segmentation to obtain query terms such as "Teng, message, network, Tencent, message network, Tencent network, t, tx, xw, txw, tengxunwang, tengx, tengxw, q, qq", and the like, and the query terms all establish a mapping relation with the Tencent network; wherein, the query word "t" can also have a mapping relation with websites such as Skyline, Taobao, Tengxin, potato, and the like.
Counting the navigation times of accessing different websites by website navigation through the same query word in a first database, sequencing the corresponding websites according to the counted navigation times to obtain a second preset number of websites with high navigation times, and taking the mapping relation between the query word and the websites with high navigation times as a second database;
considering that the number of websites mapped by one query word in the first database is too large, the navigation times of accessing each website by performing website navigation through the same query word when a user group uses an input method system to perform website navigation can be counted to obtain the websites frequently navigated by the user through the query word, and the mapping relation between the query word and the commonly navigated websites is used as the second database to remove the mapping relation between the query word and the websites which are not frequently used by people.
Considering some query terms with excessive website mapping in the second database, the navigation times of the user for website navigation to enter the same website through different query terms can be counted, so that the corresponding query terms are sequenced to obtain the commonly used query terms of the user for a specific website, and the mapping relation between the commonly used query terms and the website is used as the final website database for website navigation.
Based on the above embodiment, in an embodiment of the present invention, before determining the website, the method further includes: displaying a first preset number of navigation categories; receiving a navigation category selected by a user; and searching a corresponding website in the navigation category selected by the user according to the query word.
In this embodiment, the navigation categories may be common categories set by the system, or a fourth preset number of navigation categories set by the user; the fourth preset number can be set according to requirements in practical application. For example, after the user can use the mouse, the shortcut key and the determined query word, if the user does not bounce the current keyboard key, the system automatically skips between navigation categories and accompanies with the prompt information, and when the user bounces the corresponding key, the corresponding website is queried with the corresponding navigation category being pointed. The web address can be searched in the local database under the corresponding category according to the query word, or the web address can be searched in the corresponding category by sending a query instruction to a web address server or a search engine server according to the query word.
As shown in fig. 11a to 11c, after the user inputs "sdmb" and presses the space bar for a long time, the determined query word is the preference "four-large-name catch" in the candidate items, the navigation category displayed by the popup after the determination of the query word includes web pages, videos and encyclopedias, and the user can select the video category to perform search navigation to obtain the website list result.
In one embodiment of the invention, the method further comprises: and updating the sequencing position of each navigation category at preset time intervals.
Specifically, the frequency of selecting each navigation category by the user within a preset time interval can be counted, the corresponding navigation categories are sorted according to the counted frequency, and the sorting position of each navigation category in the personalized navigation category table is updated according to the sorting result. Therefore, according to the personal data of each user, the corresponding personalized navigation category table is updated in a targeted manner, so that the website is accurately and conveniently provided for the user to navigate in the follow-up process.
For example, if the currently displayed navigation categories are "web page", "video", "music", and "encyclopedia", and the frequency of selecting each navigation category by the user within 6 minutes is 2 times, 3 times, 19 times, and 10 times in this order, the display order of the corresponding navigation categories is updated to "music", "encyclopedia", "video", and "web page".
In one embodiment of the present invention, the method may further comprise: receiving and storing query words set by a user and corresponding website information; when the query word determined according to the information of the current keyboard key and the input information of the user is the query word set by the user, the website information corresponding to the query word set by the user is displayed in front, or the website corresponding to the query word is directly opened.
Therefore, the speed (usually 10-30 milliseconds) of touching the keyboard key by the user during normal input is considered to be faster than the speed (usually more than 300 milliseconds) of touching the keyboard key when the website navigation is required; in the above embodiments, the website navigation is performed by obtaining the touch duration of the user touching the current keyboard key, and determining the query word according to the information of the current keyboard key and the input information of the user, in the process, on the first hand, the input process of the user is not interfered; in the second aspect, the accuracy of determining the query words is improved; in the third aspect, the trigger keys for website navigation are arranged on keys familiar to users, such as a coded character sequence input key, a number selection key, a space key, a enter key and the like, most of users can realize blind typing, website navigation can be performed without clicking a mouse or touching a certain specific shortcut key, a browser is not required to be opened conventionally to select a website wanted on a densely covered page, and only a certain key is pressed for a long time, so that the convenience of website navigation is improved; in the fourth aspect, the website navigation is more targeted and the navigation accuracy is improved by establishing the personalized navigation category table and updating the table.
The above is a website navigation method provided in the embodiments of the present invention, and the present invention also provides a website navigation apparatus corresponding to the above website navigation method, for implementing the above website navigation method, so that the content corresponding to the method part may refer to the detailed description of the above method embodiments, and will not be described in detail later. It is understood that the apparatus provided by the present invention may include a unit or a module capable of executing each step in the above method examples, and the unit or the module may be implemented by hardware, software or a combination of hardware and software, and the present invention is not limited thereto. The following is described in detail with reference to fig. 12, 13, and 14.
Specifically, as shown in fig. 12, which is a schematic block diagram of a website navigation device according to an embodiment of the present invention, the website navigation device includes:
the timing module 1201 is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key;
a judging module 1202, configured to judge whether the touch duration counted by the timing module 1201 exceeds a first preset duration, if so, notify the obtaining module, and otherwise, return to the continuous judgment;
an obtaining module 1203, configured to obtain input information of a user;
a determining module 1204, configured to determine a query term according to the input information of the user acquired by the acquiring module 1203;
a navigation module 1205, configured to obtain a corresponding website according to the query word determined by the determination module 1204, and perform navigation according to the obtained website;
the local website database or server 1206 is used for storing the mapping relationship between the query word and the website, receiving a query instruction sent by the navigation module 1205, and feeding a website query result back to the navigation module 1205;
the updating module 1207 is configured to connect to the server, and receive data from the server at regular time to update the local website database or the website database stored in the server 1205.
In an embodiment of the present invention, the category determining module 1208 may further include a display module for displaying a first preset number of navigation categories on the user; the navigation category selected by the user is received and fed back to the navigation module 1205. The category determination module specifically includes an update submodule 12081 and a provide submodule 12082, where each submodule specifically functions as follows,
the updating submodule 12081 is configured to record the number of times that the user selects each navigation category, obtain the frequency of selecting each navigation category, and update the ranking position of the navigation category according to the frequency;
a sub-module 12082 is provided for providing navigation categories to the user for selection by the user.
The timing module 1201 specifically includes a response submodule 12011 and a duration statistics submodule 12012, and specifically functions as follows:
the response submodule 12011 is configured to respond to the touch operation of the keyboard key, notify the duration counting submodule to start counting the duration when the current keyboard key is touched, and notify the duration counting submodule to end counting the duration when the touch operation of the current keyboard key is finished.
And the duration counting submodule 12012 is configured to count a duration for the user to touch the current keyboard key.
In an embodiment of the present invention, the determining module 1202 is specifically configured to:
and comparing the touch duration of the current keyboard key with a first preset duration in real time, and stopping comparison after judging that the touch duration of the current keyboard key exceeds the first preset duration.
In another embodiment of the present invention, the determining module 1202 is specifically configured to:
and comparing the touch duration of the current keyboard key with a first preset duration when the touch duration of the current keyboard key is counted.
As shown in fig. 12a, in another embodiment of the present invention, the obtaining module 1203 is configured to obtain a current processing input, or obtain a text sequence meeting a setting requirement from the current processing input;
the determining module 1204 is configured to extract a text sequence meeting the setting requirement from the current processing input acquired by the acquiring module as a first query word, or use the text sequence meeting the setting requirement acquired by the acquiring module as a first query.
As shown in fig. 12b, in another embodiment of the present invention, the obtaining module 1203 specifically includes a first obtaining submodule 12031 and a second obtaining submodule 12032, which specifically functions as follows:
the first obtaining submodule 12031 is configured to obtain information of the current keyboard key when the determining module 1202 determines that the touch duration of the current keyboard key exceeds a first preset duration;
a second obtaining submodule 12032, configured to obtain a current processing input when the determining module 1202 determines that the touch duration of the current keyboard key exceeds a first preset duration;
the determining module 1204 specifically includes a first determining submodule 12041, a second determining submodule 12042, and the first determining submodule specifically functions as follows:
the first determining submodule 12041 is configured to determine a preset word fetching rule according to information of a current keyboard key, search a text sequence conforming to the preset word fetching rule in current processing input according to the preset word fetching rule, and fetch a null value from a part corresponding to the preset word fetching rule, where the part is not searched;
the second determining submodule 12042 is configured to use the text sequences meeting the preset word fetching rule as a first query word, or, when there are multiple text sequences meeting the preset word fetching rule, combine all the text sequences meeting the preset word fetching rule in a corresponding order to use the first query word.
As shown in fig. 12c, in another embodiment of the present invention, the obtaining module 1203 specifically includes a first obtaining submodule 12031 and a second obtaining submodule 12032, which specifically functions as follows:
the first obtaining submodule 12031 is configured to obtain information of the current keyboard key when the determining module 1202 determines that the touch duration of the current keyboard key exceeds a first preset duration;
the second obtaining sub-module 12032 is configured to match a preset word fetching rule with information of a current keyboard key, search and obtain a text sequence according with the preset word fetching rule in current processing input according to the preset word fetching rule, and fetch a null value from a part corresponding to the preset word fetching rule, where the part is not searched;
the determining module 1204 is connected to the obtaining module, and is configured to use the text sequences meeting the preset word fetching rule obtained by the obtaining module as the first query word, or, when there are multiple text sequences meeting the preset word fetching rule, combine all text sequences meeting the preset word fetching rule in a corresponding order as the first query word.
In one embodiment of the present invention, a navigation module 1205, specifically for,
searching a corresponding website in a local website database according to the query word; and the mapping relation between the query words and the website information is stored in the website database.
In another embodiment of the present invention, a navigation module 1205, specifically for,
searching a corresponding website in a server-side website database according to the query word; and the mapping relation between the query words and the website information is stored in the website database.
In another embodiment of the present invention, a navigation module 1205, specifically for,
generating a query instruction according to the query word, sending the query instruction to a search engine server, and receiving a website returned by the search engine server; the search engine server is a general search engine server or a server providing a vertical web site content search service.
In one embodiment of the present invention, as shown in fig. 13, the website navigation device includes:
a storage module 1308, configured to record, in a process of inputting information by a user, a first time when the user touches a key of the keyboard to input a first encoded text in an editing process of each processing input, and a second time when the user touches the key of the keyboard to determine that the processing input is in a non-editing state from the editing state, and when the processing input is determined to be in the non-editing state, obtain the processing input and store the processing input corresponding to the first time and the second time; and taking the moment when the user touches the keys of the keyboard to input the first coded character as the current first moment in the editing process of the current processing input, and taking the moment when the touch duration of the current keyboard keys exceeds the first preset duration as the current second moment by the system.
The saving module 1308 specifically includes a timing sub-module 13081, a saving sub-module 13082, and a statistics sub-module 13083, where each sub-module specifically functions as follows:
a timing submodule 13081 for recording a first time when the user touches and presses the first keyboard key to input information during the editing process of each one-time processing input, and a second time when the user touches and presses the last keyboard key to determine each one-time processing input as a non-editing state from the editing state;
a saving sub-module 13082, configured to, when each primary processing input is determined to be in a non-editing state, obtain a corresponding primary processing input and save the corresponding primary processing input in correspondence with the corresponding first time and the corresponding second time;
the statistic submodule 13083 is configured to count all the primary processing inputs that satisfy the preset relationship with the current primary processing input and are stored in the storage submodule 13082, and send the counted processing inputs to the determining module.
In fig. 13, the determining module 1304 is configured to splice all the primary processing inputs that satisfy the preset relationship with the current primary processing input in the storing module 1308 and the first query term according to the input sequence, and determine that the primary processing input is the second query term.
The timing module 1301, the judging module 1302, the obtaining module 1303, the determining module 1304, the navigation module 1305, the local website database or server 1306, the updating module 1307, and the category determining module 1309 in fig. 13 are respectively the same as the timing module 1201, the judging module 1202, the obtaining module 1203, the determining module 1204, the navigation module 1205, the local website database or server 1206, the updating module 1207, and the category determining module 1208 in fig. 12.
In one embodiment of the present invention, as shown in fig. 14, the website navigation device includes:
the acquisition module 1408 is specifically configured to, after receiving the information of the determination module 1402, acquire input information that is in front of and/or behind the input position input by the current processing and meets a preset requirement, and send the input information to the determination module;
a determining module 1404, configured to splice the input information acquired by the acquiring module 1408 and the corresponding input position of the first query term in a front-back order, and determine that the input information is a third query term;
timing module 1401, judging module 1402, first acquiring submodule 14031, second acquiring submodule 14032, initial determining submodule 14041, navigation module 1405, local website database or server 1406, updating module 1407 and category determining module 1408 in fig. 14 are respectively the same as timing module 1201, judging module 1202, first acquiring submodule 12031, second acquiring submodule 12032, initial determining submodule 12041, navigation module 1205, local website database or server 1206, updating module 1207 and category determining module 1208 in fig. 12.
The website navigation device provided by the embodiment of the invention has the same inventive concept and the same beneficial effects as the website navigation method provided by the previous embodiment of the invention, and because of limited space, the functional modules of the device can refer to the corresponding description in the method, and are not described one by one here.
As shown in fig. 15, an embodiment of the present invention further provides an input method system, including: input interface module, word conversion module, display module and thesaurus still include:
the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key; the judging module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned; the determining module is used for determining the query words according to the information of the current keyboard keys and the input information of the user; and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
It should be noted that the input interface module, the word stock, the word conversion module, the display module, and other components in the input method system, which are well known to those skilled in the art, are not described in detail in this embodiment.
In addition, the invention provides a website navigation system based on an input method, which comprises the following steps: the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key; the judging module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned; the acquisition module is connected with the input method system and used for acquiring the information of the current keyboard key and the input information of a user when the touch pressing time of the current keyboard key exceeds a first preset time; the determining module is connected with the acquiring module and used for determining the query word according to the information of the current keyboard key and the input information of the user acquired by the acquiring module; and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
According to the equipment and the system provided by the invention, the touch duration of the current keyboard key touched by the user can be obtained, and the query word is determined to carry out website navigation according to the information of the current keyboard key and the input information of the user; in the second aspect, the accuracy of determining the query words is improved; in the third aspect, the trigger keys for website navigation are arranged on keys familiar to users, such as a coded character sequence input key, a number selection key, a space key, a enter key and the like, most of users can realize blind typing, website navigation can be performed without clicking a mouse or touching a certain specific shortcut key, a browser is not required to be opened conventionally to select a website wanted on a densely covered page, and only a certain key is pressed for a long time, so that the convenience of website navigation is improved; in the fourth aspect, the website navigation is more targeted and the navigation accuracy is improved by establishing the personalized navigation category table and updating the table.
It should be noted that, in the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (18)

1. A method for website navigation is characterized by comprising the following steps:
in the process that a user inputs information through the keyboard keys, responding to the touch and press operation of the user on the current keyboard keys, and starting to count the touch and press duration of the current keyboard keys;
judging whether the touch pressing time of the current keyboard key exceeds a first preset time;
when the touch duration of the current keyboard key exceeds a first preset duration, acquiring input information of a user, and determining a query word according to the input information of the user;
acquiring a corresponding website according to the determined query words, and navigating according to the acquired website;
in the process of inputting information by a user, determining information in which an editing state is determined to be a non-editing state while inputting information by the user as primary processing input, and determining information edited by the user corresponding to a current keyboard key as current primary processing input, where the current primary processing input includes a coded character sequence input by the user, a converted character sequence in a candidate item, and a converted character sequence in which the user has confirmed to replace a corresponding coded character sequence, and the obtaining of the input information by the user and the determining of a query word according to the input information by the user include:
acquiring current processing input, and extracting a character sequence meeting the set requirement from the acquired current processing input as a first query word;
alternatively, the first and second electrodes may be,
and acquiring a character sequence meeting the setting requirement from the current processing input, and taking the acquired character sequence meeting the setting requirement as a first query word.
2. The method of claim 1, wherein in the process of inputting information by a user, the current processing input further includes a coded text sequence input by the user, a converted text sequence in a candidate, a converted text sequence that the user has confirmed to replace the corresponding coded text sequence, and a corresponding relationship, the touching and pressing duration of the current keyboard key exceeds a first preset duration, further includes obtaining information of the current keyboard key, the obtaining the current processing input, and extracting a text sequence meeting a setting requirement from the obtained current processing input as a first query word, including:
acquiring the current processing input; determining a preset word-fetching rule according to the information of the current keyboard key, searching a character sequence which accords with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a part which is not searched and corresponds to the preset word-fetching rule to be a null value; taking the character sequences meeting the preset word-fetching rule as first query words, or combining all the character sequences meeting the preset word-fetching rule according to a corresponding sequence to be taken as first query words when a plurality of character sequences meeting the preset word-fetching rule exist;
the acquiring of the character sequence meeting the setting requirement from the current processing input, and using the acquired character sequence meeting the setting requirement as a first query term, includes:
determining a preset word-fetching rule according to the information of the current keyboard key, searching and acquiring a character sequence which accords with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a null value of a part which is not searched and corresponds to the preset word-fetching rule; and taking the character sequences conforming to the preset word-fetching rule as first query words, or combining all the character sequences conforming to the preset word-fetching rule according to a corresponding sequence to be taken as the first query words when a plurality of character sequences conforming to the preset word-fetching rule exist.
3. The method according to claim 1 or 2, characterized in that the method further comprises: in the process of inputting information by a user, recording a first moment when the user touches a key of a keyboard to input a first coded character and a second moment when the user touches the key of the keyboard to determine a primary processing input from an editing state to a non-editing state in each primary processing input in the editing process, and acquiring the primary processing input and correspondingly storing the primary processing input with the corresponding first moment and the corresponding second moment when the primary processing input is determined to be the non-editing state; taking the moment when a user touches a key of a keyboard to input a first coded character as a current first moment in the editing process of the current processing input, and taking the moment when the touch duration of the current keyboard key exceeds a first preset duration as a current second moment by the system;
the determining of the query term according to the input information of the user comprises the following steps:
counting all the primary processing inputs meeting a preset relation with the current primary processing input according to all the stored primary processing inputs and the corresponding first time and second time;
and splicing all the once-processed input obtained by statistics with the first query term according to the input sequence to determine the first query term as a second query term.
4. The method of claim 3, wherein counting all of the one-time processing inputs that satisfy a predetermined relationship with the current one-time processing input comprises:
counting all the primary processing inputs which do not contain the current primary processing input and have the time interval between the corresponding first time or second time and the current first time or current second time smaller than a second preset time;
alternatively, the first and second electrodes may be,
and sequentially calculating the time interval between the second time of the previous processing input and the first time of the next processing input, and counting all continuous processing inputs which do not contain the current processing input and have the time interval smaller than a third preset time length by taking the current processing input as a starting point according to a time reverse order mode.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring input information which meets preset requirements in front of and/or behind an input position input by current processing;
the determining of the query term according to the input information of the user comprises the following steps:
and splicing the input information meeting the preset requirement and the first query word according to the front and back sequence of the corresponding input position, and determining the input information as a third query word.
6. The method according to claim 5, wherein the input information meeting the preset requirement comprises:
searching characteristic information forwards and/or backwards according to the input position processed at the current time; and taking the information between the characteristic information and the input position processed at the current time as the input information meeting the preset requirement.
7. The method according to any one of claims 1, 2, 4 and 6, wherein the obtaining the corresponding website address according to the determined query term comprises:
acquiring a corresponding website from a website database according to the determined query word, wherein the mapping relation between the query word and the website is stored in the website database, and the website database is a local database or a database of a remote server;
alternatively, the first and second electrodes may be,
generating a query instruction according to the determined query word, sending the query instruction to a search engine server, and receiving a website returned by the search engine server, wherein the search engine server is a general search engine server or a server providing vertical search service.
8. The method according to any one of claims 1, 2, 4, and 6, wherein before the obtaining the corresponding web address according to the determined query term, the method further comprises:
displaying a first preset number of navigation categories;
receiving a navigation category selected by a user;
the acquiring of the corresponding website according to the determined query term includes:
and acquiring a corresponding website according to the determined query words and the navigation category selected by the user.
9. The method of claim 8, further comprising:
and automatically updating the sequencing position of each navigation category at preset time intervals.
10. The method of claim 9, wherein automatically updating the ranking position of each navigation category at preset time intervals comprises:
and counting the frequency of selecting each navigation category by the user in the preset time interval, sequencing each navigation category according to the counted frequency, and updating the sequencing position of each navigation category according to the sequencing result.
11. A website navigation device, comprising:
the timing module is used for responding to the touch and press operation of a user on the current keyboard key in the process that the user inputs information through the keyboard key and starting to count the touch and press duration of the current keyboard key;
the judging module is used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned;
the acquisition module is used for acquiring input information of a user;
the determining module is used for determining the query word according to the input information of the user acquired by the acquiring module;
the navigation module is used for acquiring a corresponding website according to the query word determined by the determination module and navigating according to the acquired website;
wherein, in the process of inputting information by a user, the information which is input by the user and is determined to be in a non-editing state by an editing state is taken as a primary processing input, the information edited by the user corresponding to the current keyboard key is taken as the current processing input, the current processing input comprises a coded character sequence input by the user, a conversion character sequence in a candidate item, and a conversion character sequence which is confirmed by the user to replace the corresponding coded character sequence,
the acquisition module is specifically used for acquiring the current processing input; the determining module is specifically used for extracting a character sequence meeting the setting requirement from the acquired current processing input as a first query word;
alternatively, the first and second electrodes may be,
the acquisition module is specifically used for acquiring a character sequence meeting the set requirement from the current processing input; the determining module is specifically configured to use the acquired text sequence meeting the setting requirement as a first query term.
12. The apparatus of claim 11, wherein during the process of inputting information by the user, the current processing input further comprises the encoded text sequence inputted by the user, the converted text sequence in the candidate, the converted text sequence that the user has confirmed to replace the corresponding encoded text sequence, and the corresponding relationship,
the acquisition module includes: the first obtaining submodule is used for obtaining the information of the current keyboard key; the second acquisition submodule is used for acquiring the current processing input;
the determining module is connected with the obtaining module and comprises: the first determining sub-module is used for determining a preset word-fetching rule according to the information of the current keyboard key, searching a character sequence which accords with the preset word-fetching rule in the current processing input according to the preset word-fetching rule, and fetching a part which is not searched and corresponds to the preset word-fetching rule to be empty; a second determining sub-module, configured to use the text sequences that meet the preset word extraction rule as a first query word, or, when there are multiple text sequences that meet the preset word extraction rule, combine all text sequences that meet the preset word extraction rule in a corresponding order to use the combined text sequences as the first query word;
alternatively, the first and second electrodes may be,
the acquisition module includes: the first obtaining submodule is used for obtaining the information of the current keyboard key; the second obtaining sub-module is used for determining a preset word-taking rule according to the information of the current keyboard key, searching and obtaining a character sequence which accords with the preset word-taking rule in the current processing input according to the preset word-taking rule, and taking a null value of the part which is not searched and corresponds to the preset word-taking rule;
the determining module is connected with the obtaining module and is used for taking the character sequences which are obtained by the obtaining module and accord with the preset word-taking rule as first query words, or when a plurality of character sequences which accord with the preset word-taking rule exist, combining all the character sequences which accord with the preset word-taking rule according to a corresponding sequence to be taken as the first query words.
13. The apparatus of claim 11 or 12, further comprising: the storage module is used for storing the input information of the user and the corresponding time information in the process of inputting the information by the user, and comprises the following steps:
the storage submodule is used for recording a first moment when a user touches a keyboard key to input a first coded character and a second moment when the user touches the keyboard key to determine a primary processing input as a non-editing state in the editing process of each primary processing input in the information input process of the user, and acquiring the primary processing input and correspondingly storing the primary processing input with the corresponding first moment and the corresponding second moment when the primary processing input is determined as the non-editing state; taking the moment when a user touches a key of a keyboard to input a first coded character as a current first moment in the editing process of the current processing input, and taking the moment when the touch duration of the current keyboard key exceeds a first preset duration as a current second moment by the system;
the statistic submodule is used for counting all the primary processing inputs meeting the preset relation with the current primary processing input according to all the stored primary processing inputs and the corresponding first time and second time;
and the determining module is used for splicing all the once-processed input obtained by statistics with the first query word according to the input sequence and determining the first query word as a second query word.
14. The apparatus of claim 13, wherein the statistics submodule is specifically configured to:
counting all the primary processing inputs which do not contain the current primary processing input and have the time interval between the corresponding first time or second time and the current first time or the current second time being less than a second preset time;
alternatively, the first and second electrodes may be,
and sequentially calculating the time interval between the second time of the previous processing input and the first time of the next processing input, and counting all continuous processing inputs which do not contain the current processing input and have the time interval smaller than a third preset time length by taking the current processing input as a starting point according to a time reverse order mode.
15. The apparatus of claim 11 or 12, further comprising:
the acquisition module is used for acquiring input information which meets the preset requirement in front of and/or behind the input position input by the current processing;
the determining module is used for splicing the input information meeting the preset requirement and the first query word according to the front and back sequence of the corresponding input position, and determining the input information as a third query word.
16. The apparatus of claim 15, wherein the acquisition module is specifically configured to:
searching characteristic information forwards and/or backwards according to the input position processed at the current time; and taking the information between the characteristic information and the input position processed at the current time as the input information meeting the preset requirement.
17. A website navigation system based on an input method is characterized by comprising the following steps:
the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key; the judging module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned;
the acquisition module is connected with the input method system and used for acquiring the information of the current keyboard key and the input information of a user when the touch pressing time of the current keyboard key exceeds a first preset time;
the determining module is connected with the acquiring module and used for determining the query word according to the information of the current keyboard key and the input information of the user acquired by the acquiring module;
and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
18. An input method system, including input interface module, word conversion module, display module and thesaurus, its characterized in that still includes:
the timing module is used for responding to the touch operation of a user on the current keyboard key and starting to count the touch duration of the current keyboard key;
the judging module is connected with the timing module and used for judging whether the touch pressing time length of the current keyboard key exceeds a first preset time length, if so, the obtaining module is informed, and if not, the continuous judgment is returned;
the determining module is used for determining the query words according to the information of the current keyboard keys and the input information of the user;
and the navigation module is used for acquiring a corresponding website according to the query words determined by the determination module and navigating according to the acquired website.
CN201910245671.7A 2019-03-28 2019-03-28 Website navigation method, device and input method system Active CN110008416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910245671.7A CN110008416B (en) 2019-03-28 2019-03-28 Website navigation method, device and input method system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910245671.7A CN110008416B (en) 2019-03-28 2019-03-28 Website navigation method, device and input method system

Publications (2)

Publication Number Publication Date
CN110008416A CN110008416A (en) 2019-07-12
CN110008416B true CN110008416B (en) 2022-04-29

Family

ID=67168669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910245671.7A Active CN110008416B (en) 2019-03-28 2019-03-28 Website navigation method, device and input method system

Country Status (1)

Country Link
CN (1) CN110008416B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345927A (en) * 2008-08-25 2009-01-14 深圳华为通信技术有限公司 Information sending method and user terminal
CN101996049A (en) * 2010-11-24 2011-03-30 广州市久邦数码科技有限公司 Virtual keyboard input method applied to embedded touch screen equipment
CN102999250A (en) * 2012-10-20 2013-03-27 魏新成 Website navigation method by moving mouse pointer to access and display navigation page
CN103336836A (en) * 2013-07-12 2013-10-02 贝壳网际(北京)安全技术有限公司 Page search method and page search device
CN105426717A (en) * 2015-11-11 2016-03-23 广东欧珀移动通信有限公司 Interface display method and apparatus
CN106814964A (en) * 2016-12-19 2017-06-09 广东小天才科技有限公司 A kind of method and content search device that content search is carried out in mobile terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100365549C (en) * 2000-11-17 2008-01-30 英华达股份有限公司 Intelligent dictionary input method
CN1499347A (en) * 2002-11-06 2004-05-26 谭永诗 Chinese character input method by using mouse
CN101452453B (en) * 2007-11-29 2016-02-17 北京搜狗科技发展有限公司 A kind of method of input method Web side navigation and a kind of input method system
US20120166526A1 (en) * 2010-12-27 2012-06-28 Amit Ashok Ambardekar Request forwarding and result aggregating systems, methods and computer readable media
CN102222082A (en) * 2011-04-24 2011-10-19 魏新成 Method for browser search navigation via right mouse button and middle mouse button
US20150302103A1 (en) * 2012-05-17 2015-10-22 Leo Jeremias Computer system and methods for chat enabled online search
CN103177081A (en) * 2013-02-16 2013-06-26 魏新成 Search result web page displayed through searching browser after left key word selecting mouse is hovered
CN104142991A (en) * 2014-07-29 2014-11-12 北京奇虎科技有限公司 Search method, search client and electronic equipment
CN105786976A (en) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 Mobile terminal and application search method thereof
CN107832330B (en) * 2017-09-27 2021-06-15 华为技术有限公司 Searching method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345927A (en) * 2008-08-25 2009-01-14 深圳华为通信技术有限公司 Information sending method and user terminal
CN101996049A (en) * 2010-11-24 2011-03-30 广州市久邦数码科技有限公司 Virtual keyboard input method applied to embedded touch screen equipment
CN102999250A (en) * 2012-10-20 2013-03-27 魏新成 Website navigation method by moving mouse pointer to access and display navigation page
CN103336836A (en) * 2013-07-12 2013-10-02 贝壳网际(北京)安全技术有限公司 Page search method and page search device
CN105426717A (en) * 2015-11-11 2016-03-23 广东欧珀移动通信有限公司 Interface display method and apparatus
CN106814964A (en) * 2016-12-19 2017-06-09 广东小天才科技有限公司 A kind of method and content search device that content search is carried out in mobile terminal

Also Published As

Publication number Publication date
CN110008416A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN109800352B (en) Method, system and terminal device for pushing information based on clipboard
US8745051B2 (en) Resource locator suggestions from input character sequence
US7840579B2 (en) Mobile device retrieval and navigation
TWI418999B (en) Predictive information retrieval
CN100409241C (en) Information searching method and system based on searching engine
US20030146939A1 (en) Methods and apparatus for mouse-over preview of contextually relevant information
US8589417B2 (en) Inquiry-oriented user input apparatus and method
CN105872213A (en) Information displaying method and electronic device
CN106708905B (en) Video content searching method and device
CN102314439A (en) Input method combined with application interface and equipment
CN108763579A (en) Search for content recommendation method, device, terminal device and storage medium
WO2009152469A1 (en) Systems and methods for classifying search queries
CN112269475A (en) Character display method and device and electronic equipment
CN112631437A (en) Information recommendation method and device and electronic equipment
CN103888799B (en) Control method and control device
CN105988704B (en) Efficient touch screen text input system and method
CN110008416B (en) Website navigation method, device and input method system
CN111666417A (en) Method and device for generating synonyms, electronic equipment and readable storage medium
CN113127653B (en) Information display method and device
CN115292462A (en) Character generation method and device, mobile terminal, readable storage medium and chip
CN114595391A (en) Data processing method and device based on information search and electronic equipment
CN113743102A (en) Method and device for recognizing characters and electronic equipment
CN103324625A (en) Method for inserting network resource and communication terminal thereof
CN112181167A (en) Input method candidate word processing method and electronic equipment
CN110737817A (en) Information processing method and device of browser, intelligent device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
OL01 Intention to license declared
OL01 Intention to license declared