WO2008122243A1 - Procédé et système permettant d'appeler rapidement une commande de programme et système destiné à un procédé d'entrée - Google Patents

Procédé et système permettant d'appeler rapidement une commande de programme et système destiné à un procédé d'entrée Download PDF

Info

Publication number
WO2008122243A1
WO2008122243A1 PCT/CN2008/070678 CN2008070678W WO2008122243A1 WO 2008122243 A1 WO2008122243 A1 WO 2008122243A1 CN 2008070678 W CN2008070678 W CN 2008070678W WO 2008122243 A1 WO2008122243 A1 WO 2008122243A1
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
information
candidate
user
mapping table
Prior art date
Application number
PCT/CN2008/070678
Other languages
English (en)
French (fr)
Inventor
Lei Yang
Original Assignee
Beijing Sogou Technology Development Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co., Ltd. filed Critical Beijing Sogou Technology Development Co., Ltd.
Publication of WO2008122243A1 publication Critical patent/WO2008122243A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the invention relates to a method, a system and an input method system for quickly calling a program instruction.
  • the application is submitted to the Chinese Patent Office on April 10, 2007, and the application number is 200710095847.2.
  • the invention name is "a method and system for quickly calling a program instruction.
  • the priority of the Chinese Patent Application which is incorporated herein by reference.
  • the present invention relates to the field of computer data processing technologies, and in particular, to a method and system for quickly invoking computer program instructions, and a method for taking into account character input and fast call program instructions, and an input method system.
  • Computer program instructions are: Executable objects that are used to implement a particular purpose or perform specific data processing functions in a particular computer operating system environment.
  • the computer program instructions include system instructions that the operating system has or function instructions that the application has, and can be expressed in the form of an executable program, a code set, or a script.
  • Windows calculator program calc.exe ⁇ segment is used to adjust the computer speaker volume code
  • a JavaScript script used to inform the browser to open the specified page
  • start the subscript input application command in the word processing program Wait start the subscript input application command in the word processing program Wait.
  • the instruction call information may include an instruction name or an instruction parameter or the like, such as a file name of an executable program file in Windows, or a URL or the like. For example, type calc in the operating system command line and press Enter to start the calculator program calc.exe.
  • This method can achieve higher efficiency, but has the following drawbacks:
  • the user needs to start the command line first (can be implemented by menu, shortcut keys, etc.). If the user is typing text, the operation of starting the command line often interferes with the user. Normal thinking.
  • the user needs to know the exact instruction call information. For a large number of computer program instructions, although there is a certain relationship between the instruction call information and the specific instruction, it will inevitably bring a heavy memory burden to the user.
  • Soft shortcuts It is usually implemented by function keys or combination keys on a standard keyboard. For example, press the F3 function key or the Win-F key combination on the Windows desktop to start the file retrieval function.
  • the semantic relationship between the key and the function implemented by the called instruction is very weak. In this case, it is very difficult for the user to remember a large number of shortcut key positions.
  • Hard shortcuts Adding dedicated buttons in addition to the standard keys, some keyboards are currently available on the market, and special keys for launching browsers and email programs have been added. However, hard shortcuts require hardware support and cannot be universal; at the same time, limited to the keyboard size, there are not many hard shortcuts for users to use. Only a few extremely common instructions in the operating system, such as sending and receiving emails, and launching an Internet browser, are supported by some hardware vendors.
  • the technical problem to be solved by the present invention is to provide a method and system for quickly calling a program instruction, which can quickly and easily call a program instruction required by a user.
  • Another object of the present invention is to provide a method for taking into account character input and quick call of program instructions, and an input method system that takes into consideration the function of calling instructions, which can be simple and convenient without affecting user input efficiency and experience. Quickly call the program instructions required by the user.
  • a method for quickly calling a program instruction including: receiving an encoded character string input by a user; in a preset mapping table, according to the encoded string Or the content query trigger condition after the encoded string conversion; if there is a record matching the match, the startup instruction triggers the interface, and displays related information; receives the trigger information of the user, and obtains corresponding instruction call information; The information is sent to the corresponding instruction interface to implement the call of the corresponding program instruction.
  • the preset mapping table stores a correspondence between the trigger condition and the instruction call information.
  • the preset mapping table stores a correspondence between a trigger condition and an intermediate command; the intermediate command is associated with the required instruction call information; and the corresponding instruction call information is obtained by the following steps: according to the matching situation, Corresponding intermediate command; parsing the intermediate command according to the preset rule, and obtaining corresponding instruction call information.
  • the method embodiment may further include: determining a calling parameter from the remaining characters that are matched in the preset mapping table by the encoded character string or the transformed content; the obtained instruction calling information includes The calling parameter.
  • the transform may be: decoding the encoded string into a Pinyin syllable; or converting the encoded string into a candidate word.
  • the related information may be annotation information of a program instruction to be called.
  • the match can be an exact match or a fuzzy match.
  • the method embodiment may further include: recording, by the user, frequency information of calling the program instruction; and sorting, by the calling frequency information, the plurality of matching records in the preset mapping table; Determine the order of the relevant information presented.
  • a quick call system for program instructions is also disclosed, Includes:
  • An interface unit configured to receive a coded string input by a user
  • a matching query unit configured to query, in the preset mapping table, a trigger condition according to the encoded character string or the content transformed by the encoded string;
  • a related information presentation unit configured to: when a record matching the match exists in the preset mapping table, start an instruction triggering interface, and display related information;
  • an obtaining unit configured to: when receiving the trigger information of the user, obtain corresponding instruction call information; and send a unit, configured to send the instruction call information to the corresponding instruction interface, to implement a call of the corresponding program instruction.
  • the preset mapping table stores a correspondence between the trigger condition and the instruction invocation information, and the obtaining unit obtains corresponding instruction invocation information by matching the query.
  • the preset mapping table stores a correspondence between a trigger condition and an intermediate command; the intermediate command is associated with the required instruction call information; and the obtaining unit may include: an intermediate command acquiring subunit, According to the matching situation, the corresponding intermediate command is obtained; the parsing subunit is configured to parse the intermediate command according to the preset rule, and obtain corresponding instruction invocation information.
  • the system embodiment may further include: a parameter determining unit, configured to determine a calling parameter from the encoded character string or a remaining character of the transformed content in the preset mapping table, and transmit the parameter To the obtaining unit; the obtained call instruction information includes the calling parameter.
  • a parameter determining unit configured to determine a calling parameter from the encoded character string or a remaining character of the transformed content in the preset mapping table, and transmit the parameter To the obtaining unit; the obtained call instruction information includes the calling parameter.
  • the content transformed by the encoded character string may be: a Pinyin syllable string, or a candidate word.
  • the system embodiment may further include: an instruction frequency modulation unit, configured to record a calling frequency information of the user to the program instruction; and, according to the calling frequency information, multiple matching matches in the preset mapping table.
  • the records are sorted; the sorting results are used to determine the order in which the related information is presented.
  • a method for balancing character input and fast call program instructions including: receiving an encoded character string input by a user; converting the encoded character string into a candidate according to a preset rule And, in a preset mapping table, querying a trigger condition according to the encoded character string or the content transformed by the encoded string; presenting the candidate; and, when there is a matching match in the preset mapping table
  • the start command triggers the interface and displays relevant information
  • Receiving the first trigger information of the user obtaining the corresponding instruction call information, and sending the instruction call information to the corresponding instruction interface to implement the calling of the corresponding program instruction; if receiving the second trigger information of the user, determining the user The candidate is on the screen output.
  • the process of transforming the encoded character string is incorporated in the process of converting the encoded character string into a candidate.
  • the process of converting the encoded character string into the candidate includes: converting the encoded character string input by the user into the decoded content; and converting the decoded content into a candidate; Decode the content.
  • the content after the encoded character string conversion is a candidate.
  • the preset mapping table stores a correspondence between the trigger condition and the instruction call information.
  • the preset mapping table stores a correspondence between a trigger condition and an intermediate command; the intermediate command is associated with the required instruction call information; and the corresponding instruction call information is obtained by the following steps: according to the matching situation, Corresponding intermediate command; parsing the intermediate command according to the preset rule, and obtaining corresponding instruction call information.
  • the method embodiment may further include: determining a calling parameter from the remaining characters that are matched in the preset mapping table by the encoded character string or the transformed content; the obtained instruction calling information includes The calling parameter.
  • the related information is annotation information of a program instruction to be called.
  • the related information is presented in a manner of being displayed independently of the candidate; or, the related information is added to the candidate.
  • an additional method is to add a hyperlink to the candidate, and the hyperlink anchor text includes the related information.
  • the method embodiment may further include: receiving result information of the invoked program instruction, and presenting as a candidate; receiving the user's selection information, and outputting the selected result information to the screen.
  • An embodiment of the present invention also discloses an input method system, including:
  • a code receiving module configured to receive a coded string input by a user
  • a candidate conversion module configured to convert the encoded string into a candidate according to a preset rule
  • a matching query module configured to convert, according to the encoded string or the encoded string, in a preset mapping table Post-content query trigger condition
  • the start command triggers the interface and displays relevant information
  • the instruction calling module is configured to: when receiving the first trigger information of the user, obtain the corresponding instruction call information, and send the instruction call information to the corresponding instruction interface to implement the calling of the corresponding program instruction; the upper screen output module is used for When the second trigger information of the user is received, the candidate determined by the user is output on the screen.
  • the candidate conversion module may include: a coding conversion submodule, configured to convert a coded string input by the user into decoded content; and a decoding submodule, configured to convert the decoded content into a candidate; the coding The content after the string conversion is the decoded content.
  • the content converted by the encoded character string is a candidate.
  • the preset mapping table stores a correspondence between the trigger condition and the instruction invocation information.
  • the preset mapping table stores a correspondence between a trigger condition and an intermediate command; the intermediate command is associated with the required instruction call information; and the instruction calling module may include: an intermediate command acquisition submodule, For the matching situation of the ⁇ data, the corresponding intermediate command is obtained; the parsing sub-module is configured to parse the intermediate command according to the preset rule, and obtain corresponding instruction calling information.
  • the system embodiment may further include: a parameter determining module, configured to determine a calling parameter from the remaining characters that are matched in the preset mapping table by the encoded character string or the transformed content, and Sent to the instruction calling module; the obtained instruction calling information includes the calling parameter.
  • a parameter determining module configured to determine a calling parameter from the remaining characters that are matched in the preset mapping table by the encoded character string or the transformed content, and Sent to the instruction calling module; the obtained instruction calling information includes the calling parameter.
  • the related information may be displayed in a manner of: displaying independently of the candidate; or adding the related information to the candidate.
  • the additional manner may be to add a hyperlink to the candidate, and the hyperlink anchor text includes the related information.
  • an input method system including:
  • a code receiving module configured to receive a coded string input by a user
  • a candidate conversion module configured to convert the encoded string into a candidate according to a preset rule
  • a presentation module configured to display the candidate
  • An output module configured to: when the trigger information of the user is received, transmit the candidate determined by the user to the matching query module;
  • a matching query module configured to query a trigger condition according to the candidate character determined by the user in the preset mapping table
  • An upper screen module configured to: when there is no matching record in the preset mapping table, Optional screen output;
  • the instruction calling module is configured to obtain corresponding instruction calling information when there is a matching matching record in the preset mapping table, and send the instruction calling information to the corresponding instruction interface to implement the calling of the corresponding program instruction.
  • the efficiency of calling program instructions is high.
  • the technical solution disclosed in the present application is based on keyboard input, it is not necessary to find an instruction entry in the screen, and the problem of inefficientness of the positioning means based on the graphical interface such as menus, buttons, icons, etc. can be avoided.
  • the disclosure disclosed in the present application file The technical solution can simultaneously support operating system instructions and application instructions, thereby unifying the entry of computer program instructions and improving the efficiency of instruction calls.
  • the technical solution disclosed in the application file can change the encoded character string input by the user and then match, that is, the user can use the familiar language to make an instruction call, thereby reducing the memory burden of the user.
  • the present invention The encoding string conversion process can adopt the conversion method of the common input method, so as to meet the flexible input of the user in various input modes (for example, for Chinese, various users such as simple spelling, double spelling, full spelling, and fuzzy sounding can be used.
  • the familiar input method for example, for Chinese, various users such as simple spelling, double spelling, full spelling, and fuzzy sounding can be used.
  • the familiar input method for example, for Chinese, various users such as simple spelling, double spelling, full spelling, and fuzzy sounding can be used.
  • the familiar input method for example, for Chinese, various users such as simple spelling, double spelling, full spelling, and fuzzy sounding can be used.
  • the familiar input method for example, for Chinese, various users such as simple spelling, double spelling, full spelling, and fuzzy sounding can be used.
  • an intermediate command is set, and only the correspondence between the character and the intermediate command is stored in the preset mapping table, and when the user triggers, the final calculation is performed according to the preset rule.
  • the instruction calls the information, thereby avoiding directly storing the instruction call information with a large amount of bytes in the mapping table, reducing the storage capacity of the mapping table, and improving the matching query efficiency.
  • FIG. 1 is a flow chart showing the steps of a method 1 for quickly calling a program instruction of the present invention
  • Embodiment 2 is a flow chart showing the steps of Embodiment 2 of the method for quickly calling a program instruction of the present invention
  • 3 is a structural diagram of a system embodiment of the quick call procedure instruction of the present invention
  • FIG. 4 is a flow chart showing the steps of a method for balancing character input and fast call program instructions of the present invention
  • FIG. 5 is a schematic structural diagram of an embodiment of an input method system having a command invocation function according to the present invention
  • FIG. 6 is a flow chart showing an embodiment of an embodiment of performing a mapping table matching query by using a code string direct matching manner
  • FIG. 7 is a flow chart showing the steps of an embodiment of performing a mapping table matching query after converting an encoded character string input by a user into an input content
  • Figure 8 is a flow chart showing the steps of an embodiment of performing a mapping match query after converting the input encoded code string of the user from the input method to the candidate;
  • Figure 9 is a flow chart showing the steps of another embodiment similar to Figure 8.
  • Figure 10 is a flow chart showing the steps of an embodiment of performing a mapping table matching query using characters selected by the user on the candidate screen.
  • FIG. 1 a flow chart of the steps of the method 1 for quickly calling a program instruction of the present invention is shown, which specifically includes the following steps:
  • Step 101 Receive an encoded character string input by a user; for example, in general, the user can complete the input of the encoded character string through a computer peripheral such as a keyboard;
  • Step 102 Match, in the preset mapping table, the encoded character string or the transformed content of the encoded string;
  • the matching may be to trigger a trigger condition according to the keyword.
  • the transformed content may be a character such as a letter or a Chinese character, or may be a pinyin, such as a syllable such as [ji].
  • the present invention does not need to limit the specific rules of the transformation, and the transformed content may also be Japanese, Korean, Japanese hiragana, katakana, and the like.
  • Step 103 If there is a record matching the match, the startup instruction triggers the interface, and displays related information; the related information may be annotation information of the program instruction to be called;
  • Step 104 Receive trigger information of the user, and obtain corresponding instruction call information.
  • Step 105 Send the instruction call information to a corresponding instruction interface to implement a call of the corresponding program instruction.
  • Embodiment 1 Through the whole process of Embodiment 1 above, it can be seen that: matching is performed; the encoded string input by the user may be first transformed, and then the transformed character (for example, Pinyin, English, Chinese, Japanese, Korean, etc.) may be used.
  • the matching is performed in the preset mapping table; therefore, when the present invention is applied, the user can adopt various familiar language input modes, thereby satisfying the needs of various users and reducing the memory burden of these users.
  • step 103 supports exact matching, and also supports fuzzy matching, and step 103 can also display various information related to the invoked instruction to the user according to the matching result, so the user does not need to memorize the specific
  • the content of the instruction only needs to memorize the approximate instruction name, or the function or the key information of the instruction to be called.
  • the related information can be selected, thereby further reducing the memory burden of the user and improving. The speed and convenience of the user invoking program instructions.
  • mapping table in step 102 is described below by taking the startup system command - calculator program as an example:
  • mapping table When directly matching with an encoded string, the mapping table may have the following structure:
  • the relevant information " ⁇ Calculator>>” is presented to the user based on the matching result in the mapping table. Further, preferably, when the user moves the mouse to the option, the words “starting the calculator tool” are displayed to further explain the function of the instruction to the user. The user judges whether it is the instruction that needs to be called according to the relevant information, and if so, gives a trigger message to complete the call of the required program instruction.
  • the mapping table may have the following structure: Trigger condition (syllable) related information
  • mapping table may have the following structure:
  • the user enters the encoded string "jsq” or “jisuanqi", it is converted into a "calculator” according to the preset transformation rule, and then the relevant information is presented to the user based on the matching result in the mapping table. ⁇ Calculator>>”. Further, preferably, when the user moves the mouse to the option, the words "starting the calculator tool” are displayed, and the function of the instruction is further explained to the user. The user judges whether it is the instruction that needs to be called according to the relevant information, and if so, gives a trigger message to complete the call of the desired program instruction. If fuzzy matching is used, even if the transformed character is "calculated”, the related information " ⁇ calculator>>” can be presented to the user, thereby further improving the user's convenience of use.
  • the use of each user can be better compatible.
  • Habits for example, the user can input by means of full spelling, simple spelling, double spelling, fuzzy sounding, and five strokes, etc.
  • the convenience of the present invention is increased.
  • those skilled in the art can only refer to the example of pinyin input as needed.
  • the three mapping table styles mentioned above are merely examples, and those skilled in the art can set various suitable mapping tables as needed; and the three mapping tables mentioned above can be used separately. It can also be used in combination; or, in a mapping table, the trigger condition includes three cases: letters, syllables, and Chinese characters, that is, different instructions may use different trigger condition types.
  • the matching can be performed in the mapping table by "jsq”, “[ji][suan][qi]” and “calculator” respectively, so as to obtain an appropriate matching result;
  • the trigger condition used by the "Startup Calculator” system command is in the form of Chinese characters, and the use of letters or syllables cannot obtain the correct matching result.
  • the trigger condition may be set to "Sohu”, “Sohu Homepage”, “Open Sohu”, and the like.
  • Embodiment 1 The following describes the program instructions and corresponding instruction call information involved in Embodiment 1 through several specific examples:
  • the mapping table can adopt the following structure:
  • the corresponding instruction call information is sent to the corresponding program interface to implement the call of the program instruction.
  • the program instructions in the present invention may include, but are not limited to, the following, and the following examples are only taken as an example of the Windows operating system, and other operating systems may refer to them.
  • the file path of the executable program is passed as a parameter mainly by calling a system API (for example, ShellExecute or CreateProcess).
  • a system API for example, ShellExecute or CreateProcess.
  • files in some directories do not have to write full paths. For example, if you execute "calc.exe” (calculator utility), you can send the instruction call information " calc.exe " to the ShellExecute function.
  • Some files are associated with an application and can be considered “executable.” For example, the doc document is not executable when the Word word processing software is not installed.
  • the system will establish the relationship between the .doc file and the executable file word.exe, so executing the .doc file is equivalent to executing word.exe and passing the .doc file path to the executable file.
  • it also includes opening mp3 files to play music, PDF files, and more. For example, send “D: ⁇ document w ⁇ a.doc” to the system API; you can also send “word.exe” and its parameter “D: ⁇ document w ⁇ a.doc" to the system API. Can be used to specify an open program for the target file.
  • Network functions such as searching, opening the home page of a site, etc.
  • the browser can pass the browser and pass the corresponding URL constructed according to the search engine requirements as a parameter to the browser.
  • the URL "www.sogou.com” is sent to the system API, and the system determines that the web page is opened by a browser according to the registration process.
  • the customized search client can be a standalone application or can be used in conjunction with the present invention.
  • the customized search client may additionally launch a browser to display the browsing result; or create another window to display the browsing result; and display the browsing result in an existing window (in the window displaying relevant information).
  • the instruction to call the current application can be implemented by button simulation. For example, in the word application, you can simulate Ctrl-+ to switch to the superscript font and send the simulated keyboard message to the application's message handler.
  • the Windows window is based on messages, and you can control the behavior of the window by sending messages, such as show/hide, move, resize, set the window title, and more. For example, sending a WM SHOW message to a message handler can hide the current window of the application.
  • the system API receives user instructions and parameters (selected or specified copy-and-paste content, for example, a picture), and then places the picture on the clipboard.
  • the instruction call for the current application can also be implemented through the API inside the application, although it will bring some development difficulties.
  • FIG. 2 a flow chart of the steps of the method 2 of the method for quickly calling the program of the present invention is shown, which specifically includes the following steps:
  • Step 201 Receive an encoded character string input by a user.
  • Step 202 In the preset mapping table, query a trigger condition according to the encoded character string or the content converted by the encoded string; the preset mapping table stores a correspondence between a trigger condition and an intermediate command; The intermediate command is associated with the required instruction call information;
  • Step 203 If there is a record matching the match, the startup instruction triggers the interface, and displays related information;
  • Step 204 Receive trigger information of the user, and obtain a corresponding intermediate command according to the matching situation.
  • Step 205 Parse the intermediate command according to the preset rule, obtain a corresponding instruction call letter step 206, and send the instruction call information to the corresponding
  • the instruction interface implements the call of the corresponding program instruction.
  • Embodiment 2 is similar to the core concept of Embodiment 1, so the same and similarities will not be described in detail, and the main differences between the two will be described in detail below.
  • the mapping table in the first embodiment stores the correspondence between the characters and the instruction invocation information, so that the required instruction invocation information can be directly obtained through the matching query.
  • the mapping table in Embodiment 2 may store a correspondence between a character and an intermediate command; the intermediate command is associated with the required instruction call information; and then, after receiving the trigger information of the user, the preset interpretation is performed. Rules (for example, a certain scripting language), the intermediate command can be parsed to obtain the required instruction call information.
  • the method further includes: determining, by using the encoded character string or a character whose transformed character is matched in the preset mapping table, a calling parameter; The call parameters are included in the instruction call information.
  • the trigger condition is "search”
  • the user enters the encoded string "sousuoyinyue” and converts to “search music”
  • the remaining character "music” is added as a call parameter to the standard instruction call information.
  • sent to the corresponding interface thus implementing the program instruction call with parameters. For example, construct a URL retrieved by the search engine, which contains the parameter "music”, which is sent to the preset search engine server.
  • the acquisition of the calling parameters is not limited to the above one, and the above manner is mainly applicable to the case where the user inputs the parameters.
  • Those skilled in the art can also obtain other types of calling parameters by using other well-known methods, for example, the path of the query file is used as a calling parameter, or the corresponding URL is constructed as a calling parameter according to the requirements of the search engine.
  • Embodiment 1 and Embodiment 2 may further include: recording call frequency information of the user to the program instruction; and sorting, by the call frequency information, a plurality of matching records in the preset mapping table; The sorting result is used to determine the order in which the related information is presented. When there are multiple matching results, how to sort the output is a problem to be considered.
  • the present invention can also adjust the order of presentation of related information that matches the matching by recording the frequency of use of the user.
  • FIG. 3 there is shown a block diagram of a system for quickly invoking program instructions, which may include the following elements:
  • the matching query unit 302 is configured to query a trigger condition according to the encoded character string or the content converted by the encoded string in a preset mapping table; the transformation may be set by the watershed technician according to requirements, for example, , converted to pinyin or converted to Chinese characters, or Japanese, Korean, Japanese hiragana, katakana, and so on.
  • the related information presentation unit 303 is configured to: when the matching mapping table has a record matching the matching, start the instruction triggering interface, and display related information; the related information may be annotation information of the program instruction to be called;
  • the obtaining unit 304 is configured to: when receiving the trigger information of the user, obtain a corresponding instruction call sending unit 305, configured to send the instruction calling information to the corresponding instruction interface, to implement the corresponding process The invocation of the instruction.
  • the obtaining unit obtains corresponding instruction invocation information by matching the query.
  • the acquiring unit may include the following subunits: an intermediate command acquirer a unit, configured to obtain a corresponding intermediate command according to the matching situation; and, a parsing subunit, configured to parse the intermediate command according to a preset rule to obtain a corresponding instruction calling information.
  • the system shown in FIG. 3 may further include: a parameter determining unit 306, configured to determine a calling parameter from the remaining characters of the encoded character string or the transformed character in the preset mapping table, and Transfer to the obtaining unit 304; the obtained call instruction information includes the calling parameter.
  • a parameter determining unit 306 configured to determine a calling parameter from the remaining characters of the encoded character string or the transformed character in the preset mapping table, and Transfer to the obtaining unit 304; the obtained call instruction information includes the calling parameter.
  • the system shown in FIG. 3 may further include: an instruction frequency modulation unit 307, configured to record a calling frequency information of the user to the program instruction; and, according to the calling frequency information, matching the plurality of matching mapping tables The records are sorted; the sorting results are used to determine the order in which the related information is presented.
  • an instruction frequency modulation unit 307 configured to record a calling frequency information of the user to the program instruction; and, according to the calling frequency information, matching the plurality of matching mapping tables The records are sorted; the sorting results are used to determine the order in which the related information is presented.
  • Fig. 3 The system shown in Fig. 3 is substantially the same as the core concept of the foregoing embodiment, so that the unrelated parts can be referred to the aforementioned related parts, and will not be described in detail herein.
  • FIG. 4 there is shown a method for balancing character input and fast call program instructions, and the main improvement of the method and the foregoing embodiment is that the calling method and the input method according to the present invention are combined due to
  • the present invention includes the steps of receiving a user inputting an encoded character string, and may also include a process of transforming the encoded character string, and the input method also includes the two processes, thereby reducing the occupation of system computing resources and storage resources, and The user's usage habits, the embodiment shown in Figure 4 combines the two.
  • the embodiment shown in FIG. 4 may include the following steps:
  • Step 401 Receive a coded string input by a user.
  • Step 402 Convert the encoded string into a candidate according to a preset rule; and, in a preset mapping table, query a trigger condition according to the encoded string or the content transformed by the encoded string;
  • Step 403 Display the candidate; and, when there is a matching match in the preset mapping table
  • the startup instruction triggers the interface and presents related information;
  • the related information may be annotation information of the program instruction to be called;
  • Step 404 If the first trigger information of the user is received, obtain corresponding instruction call information, and send the instruction call information to the corresponding instruction interface to implement a call of the corresponding program instruction;
  • Step 405 If the second trigger information of the user is received, the candidate determined by the user is output on the screen.
  • the process of transforming the encoded character string is incorporated in the process of converting the encoded character string into a candidate.
  • the input method and the present invention are combined in a simple superposition manner.
  • some preset rules can directly convert the encoded string into candidates, for example, five strokes input; some preset rules require a slightly complicated conversion process: converting the encoded string input by the user into decoded content (for example, Pinyin syllables), and then convert the decoded content into candidates; for example, various Pinyin input rules. Therefore, according to the conversion rules of different input methods, the transformed characters used for matching in the mapping table may be: decoded content (for example, Pinyin syllable), or candidate, and the like. For the actual application, how to select the transformed character can be set by a person skilled in the art according to the actual needs and the preset mapping table, and the present invention does not need to be limited thereto.
  • the input method itself has a candidate window to display each candidate word or candidate symbol for the user to select; therefore, the related information may also be displayed in the candidate window; of course, the related information may also be in another Show in the window.
  • the presentation in the prior art, generally takes the form of presentation (pointing to the user's vision), but it is foreseeable that audio presentations directed to the user's hearing are also entirely feasible.
  • the related information may be displayed in a manner different from the candidate. For example, if there are five candidates for the general input method, the related information may be displayed as the sixth item; if the related information is multiple It can also be displayed as a plurality of candidates other than the above five candidates.
  • the manner of displaying the related information may also be: adding the related information to the candidate.
  • a preferred additional way is to add a hyperlink to the candidate; or, add a label or the like.
  • the preset mapping table stores a correspondence between characters and the instruction invocation information.
  • the preset mapping table may also store a correspondence between characters and intermediate commands;
  • the command is associated with the required instruction call information; then the corresponding instruction call information is obtained by the following steps: According to the matching situation, the corresponding intermediate command is obtained; the intermediate command is parsed according to the preset rule, and the corresponding instruction call information is obtained.
  • the embodiment shown in FIG. 4 may further include: determining, from the encoded character string or a remaining character of the transformed character in the preset mapping table, a calling parameter; the obtained instruction calling information includes The calling parameter.
  • the user search client may be added in the input method with the instruction call function, or the search client may be bound to the Input.
  • the search client may additionally launch a browser to display the browsing result; or display the result of the network search directly in the candidate window.
  • the returned results may include "Sohu Homepage” and "Sohu Finance”.
  • the strings such as "Sohu Homepage” and "Sohu Finance” are added to the candidates for display.
  • the screen output can also be directly transferred to "Sohu Homepage” or "Sohu Finance” for browsing.
  • these are more extensions of the input method combined with the search client, and the invention is not limited thereto.
  • the input method is combined with the device that invokes the instruction
  • other functions added by the input method can still be regarded as external programs for the call of the program instruction. instruction. Therefore, additional functions for the input method or calls for functions other than transformations and presentations are also within the scope of the calling of the program instructions of the present invention.
  • the trigger condition in the preset mapping table is "jisuan*", and the following characters are call parameters, and the specific instructions are used to complete an addition operation.
  • the instruction call information "jisuan” and its parameter "3+2" are sent to the addition instruction execution module of the input method (the instruction call information is defined by the execution module), and The result "5" after execution can be displayed in the candidate window, and the user can also select and directly output the screen.
  • the preset trigger condition is "send*", "*" indicates a certain character as an instruction parameter; when the user inputs "send hello”, then Send the instruction call message "send” and its parameter “hello” to the instant messaging module of the input method, and the latter can complete the instant messaging function.
  • the instruction call information "send” is defined by the instant messaging module, and is merely an example.
  • the trigger condition can be "quanjiao” or “full-angle”
  • the related information option displayed can be "switch to the input method full-angle state”
  • the specific message or the specific interface it depends on the specific implementation of the input method.
  • FIG. 5 a schematic structural diagram of an input method system is shown, which specifically includes the following components: a code receiving module 501, configured to receive a coded string input by a user;
  • a candidate conversion module 502 configured to convert the encoded string into a candidate according to a preset rule
  • the matching query module 503 is configured to: in the preset mapping table, query a trigger condition according to the encoded string or the content transformed by the encoded string;
  • a presentation module 504 configured to display the candidate; and, when there is a matching record in the preset mapping table, the startup instruction triggers the interface, and displays related information;
  • the instruction calling module 505 is configured to: when receiving the first trigger information of the user, obtain corresponding instruction call information, and send the instruction call information to the corresponding instruction interface to implement a call of the corresponding program instruction;
  • the upper screen output module 506 is configured to output a candidate determined by the user to the screen when receiving the second trigger information of the user.
  • the candidate conversion module 502 can directly convert the encoded string input by the user into a candidate, or a relatively complicated conversion process.
  • the candidate conversion module 502 may include: a code conversion sub-module for converting a coded string input by a user into decoded content (eg, a Pinyin syllable); a decoding sub-module, for The decoded content is converted into a candidate.
  • the content after the conversion of the encoded string is the decoded content; the content after the conversion of the encoded string may also be a candidate or the like.
  • the preset mapping table may store a corresponding relationship between the character and the instruction invocation information, and the instruction invoking module 505 may obtain the corresponding instruction invocation information directly through the matching query.
  • the preset mapping table may also store a correspondence between a character and an intermediate command; the intermediate command is associated with the required instruction call information; then the instruction invoking module 505 may include: The command acquisition sub-module is configured to obtain a corresponding intermediate command according to the matching situation; and the parsing sub-module is configured to parse the intermediate command according to the preset rule, and obtain corresponding instruction invocation information.
  • embodiment shown in FIG. 5 may further include:
  • the parameter determining module 507 is configured to determine, from the encoded character string or the remaining characters in the preset mapping table, the calling parameter, and send the parameter to the instruction calling module; the obtained instruction calling information
  • the call parameters are included in it.
  • the related information is displayed in a manner of: displaying independently of the candidate; or adding the related information to the candidate.
  • the additional manner is to add a hyperlink or a label to the candidate.
  • 6 to 10 are more specific structural examples of several embodiments of the present invention, and the Chinese Pinyin input method is mainly taken as an example.
  • the mapping table matching query is performed by directly matching the encoded string.
  • the embodiment shown in FIG. 6 includes: a code receiving module 601 for receiving user input information, a code conversion module 602 for converting a code into decoded content, a normal decoding module for converting the decoded content into a candidate 603.
  • An option presentation module 604 for displaying candidate and instruction related information, a text on-screen module 605 for outputting the character determined by the user, and an instruction for directly performing matching query by using the encoded string in the mapping table.
  • the query module 606 and the instruction call module 610 for obtaining the instruction call information and transmitting to the corresponding instruction interface.
  • the instruction query module 606 is connected to the code receiving module 601, obtains the coded character string input by the user, and is connected to the option presentation module 604, and transmits the instruction related information that needs to be presented to the option display module 604.
  • the instruction invocation module 610 is coupled to the option presentation module 604.
  • the code receiving module 601 receives the keyboard input of the user and obtains an encoded character string. Due to the limitation of hardware input devices such as keyboards, the input code received at this time can only be a symbol already on the keyboard such as letters and numbers.
  • the code receiving module 601 passes the code string input by the user to the command query module 606 to find a corresponding trigger command. If there is a matching record, the relevant information that needs to be presented is passed to the option presentation module 604.
  • the code receiving module 601 passes the encoded character string input by the user to the code conversion module 602 for input.
  • the input method decodes and obtains the decoded content. For example, for the Chinese input method, a sequence of Pinyin syllables that may match is obtained.
  • the code conversion module 602 passes the decoded content to the normal decoding module 603 to obtain a normal input method option; and further passes it to the option presentation module 604.
  • the option presentation module 604 presents options (including text candidates and instruction candidates) to the user on the screen, the instruction candidates presenting information about the instructions.
  • the option presentation module 604 passes it to the text on-screen module 605 as a normal input. If the user selects a command candidate, the notification instruction call module 610 obtains the instruction call information and sends it to the corresponding interface.
  • the corresponding instruction call information may also be obtained by the option presentation module 604, and then sent to the instruction invoking module 610, which is sent to the corresponding interface.
  • the corresponding intermediate command may be obtained by the option presentation module 604, and then passed to the instruction calling module 610, where the required instruction call information is obtained and sent to the corresponding interface.
  • the mapping table matching query is performed.
  • the embodiment shown in FIG. 7 is substantially similar to the embodiment shown in FIG. 6, and further includes: a code receiving module 701, a code conversion module 702, a normal decoding module 703, an option presentation module 704, a text on-screen module 705, and an instruction.
  • the instruction query module 706 is connected to the code conversion module 702, and obtains the decoded content converted by the code conversion module 702 to the encoded character string input by the user, and searches for a corresponding trigger instruction according to the decoded content;
  • the instruction query module 706 is also coupled to the option presentation module 704 to communicate instruction related information that needs to be presented to the option presentation module 704.
  • the main difference from the example of FIG. 6 and FIG. 7 is that, in this example, after the input encoded string of the user is converted into a candidate, the mapping table matching query is performed, and the adoption is independent of the candidate. Ways to show relevant information.
  • the embodiment shown in FIG. 8 is substantially similar to the embodiment shown in FIG. 6, and further includes: a code receiving module 801, a code conversion module 802, a normal decoding module 803, an option presentation module 804, a text on-screen module 805, and an instruction.
  • the instruction query module 806 is connected to the normal decoding module 803. Obtaining a candidate obtained by converting the encoded character string input by the user by the normal decoding module 803, and searching for a corresponding triggering instruction according to the candidate; the instruction querying module 806 is further connected to the option presentation module 804, and the instruction to be presented is The related information is passed to the option presentation module 804.
  • the input method candidate is transmitted from the normal decoding module 803 to the option presentation module 804, and the instruction related information is transmitted from the instruction query module 806 to the option presentation module 804, it is preferably independent of Ways other than candidates show relevant information.
  • the mapping table matching query is performed, and a hyperlink is added to the candidate.
  • the way to display related information ie, changing the way in which input method candidates are displayed).
  • the embodiment shown in Figure 9 is substantially similar to the embodiment shown in Figure 8, and also includes: a code receiving module
  • the instruction query module 906 is connected to the normal decoding module 903, and obtains a candidate obtained by converting the encoded character string input by the user by the normal decoding module 903, and searches for a corresponding trigger instruction according to the candidate; the instruction query module 906 Also connected to the option presentation module 904, the instruction related information that needs to be presented is transmitted to the option presentation module 904.
  • the normal decoding module 903 After the normal decoding module 903 obtains the normal input method candidate, it is not sent to the option presentation module 904, but only to the instruction query module 906. Therefore, in the embodiment shown in FIG. 9, the independent display manner may be adopted, or related information may be additionally displayed on the candidate, because the instruction query module 906 can transmit the normal input method candidate and the instruction option to the option display together. Module 904.
  • the manner in which the related information is displayed by adding a hyperlink or an annotation to the input method candidate that satisfies the partial condition may be adopted, that is, the instruction query module 906 performs normal input method.
  • the candidate is changed to the option presentation module 904.
  • the user can also notify the instruction calling module 910 to complete the corresponding instruction by using other predefined operations, such as a mouse click, a right mouse button menu, a shortcut key, and the like. For example, by clicking on the option with a hyperlink, you can initiate a call to the corresponding command for that option.
  • other predefined operations such as a mouse click, a right mouse button menu, a shortcut key, and the like. For example, by clicking on the option with a hyperlink, you can initiate a call to the corresponding command for that option.
  • this example uses the user selection candidate.
  • the characters outputted by the screen are matched to perform the mapping table matching query; since the process selected by the user is for the candidate, the embodiment may not need to display related information.
  • the embodiment shown in Figure 10 can include the following components:
  • a code receiving module 1001 configured to receive a coded string input by a user
  • a candidate conversion module 1002 configured to convert the encoded string into a candidate according to a preset rule
  • the output module 1004 is configured to: when receiving the trigger information of the user, send the candidate determined by the user to the matching query module 1005;
  • the matching query module 1005 is configured to perform matching in the preset mapping table by using candidate characters determined by the user;
  • the upper screen module 1007 is configured to output the candidate screen when there is no matching record in the preset mapping table
  • the instruction invoking module 1006 is configured to obtain corresponding instruction invocation information when there is a matching matching record in the preset mapping table, and send the instruction invoking information to the corresponding instruction interface to implement the calling of the corresponding program instruction.
  • the process from receiving the input of the user input to the determination of the candidate by the user is basically the same as the normal input method, but the determined candidate needs to be transmitted to the matching query module 1005 for completing the matching query and implementing the calling of the corresponding program instruction. If there is no matching record, the candidate is output on the screen. Input methods, Japanese Korean, and the like can be applied to the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

一种快速调用程序指令的方法、 系统及一种输入法系统 本申请要求于 2007 年 4 月 10 日提交中国专利局、 申请号为 200710095847.2、 发明名称为"一种快速调用程序指令的方法、 系统及一种输 入法系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机数据处理技术领域,特别是涉及一种快速调用计算机程 序指令的方法、 系统, 以及一种兼顾字符输入和快速调用程序指令的方法和一 种输入法系统。
背景技术
计算机程序指令是指: 在特定的计算机操作系统环境下, 用于实现特定目 的或者完成特定数据处理功能的可执行对象。计算机程序指令包括操作系统具 有的系统指令或者应用程序具有的功能指令等 , 其表现形式可以是可执行程 序、 代码集合或者脚本等等。 例如: Windows自带的计算器程序 calc.exe; ― 段用来调整计算机音箱音量的代码; 一段 JavaScript脚本, 用于通知浏览器打 开指定页面; 在文字处理程序中启动上下标输入的应用程序指令等。
当前技术下, 用户调用这些计算机程序指令, 用于完成指定操作或者功能 的时候, 一般可以采用如下的几种方式:
( 1 )菜单、 按钮或者图标模式
通常都是在图形界面(或者字符模拟的图形界面)上, 通过鼠标点选实现
(鼠标拖放应当视为一种衍生的图标操作)。 当然也可以支持键盘, 但需要通 过方向键、 Tab键等首先定位命令入口 (对应的菜单项、 按钮或者图标) 。 也 就是说,用户在操作过程中需要首先找到相应命令入口(菜单项、按钮、 图标) 在屏幕中的位置, 然后通过鼠标或者键盘 (方向键)将光标(鼠标箭头)移动 到操作对象上并进行操作 (鼠标双击或者按回车键)。 例如, Windows任务栏 中"开始"菜单提供了大多数常用程序的启动入口。 又如, 通过双击 Windows 桌面上图标来启动对应的程序。
虽然该方法直观易用,但是由于它是基于图形界面的定位而实现的, 用户 必须移动视线找到对应命令入口在屏幕中的位置 (通常还需要窗口的切换) , 即使对于熟练用户也很难获得高效率; 例如, 如果用户正在输入文字, 思路就 会被打断。 另外, 由于图形显示区域有限, 复杂功能通常需要逐级确认(如多 层菜单) , 进一步降低了使用效率, 例如, Word软件中的很多功能图标, 一 般用户都难以找到。
( 2 )命令行模式
在这种模式下, 用户在指定的输入框中输入指令调用信息, 系统查找相匹 配的指令并运行。 所述指令调用信息可以包括指令名称或者指令参数等, 如, 在 Windows中的可执行程序文件的文件名, 或者, URL等等。 举例来说, 在 操作系统命令行中键入 calc然后回车便可以启动计算器程序 calc.exe。
该方式可以获得较高的效率,但存在以下的缺陷: 用户需要首先启动命令 行(可以通过菜单、 快捷键等方式实现), 如果用户正在输入文字, 启动命令 行这一操作往往会干扰用户的正常思路。其次, 用户需要知悉准确的指令调用 信息,对于数量众多的计算机程序指令而言, 虽然指令调用信息和具体指令之 间具有一定的联系 , 但是必然会给用户带来沉重的记忆负担。
( 3 )快捷键模式
该方式是指通过指定的按键或者按键组合来调用程序指令, 可以提高效 率。 为了不干扰正常的键盘输入, 快捷键一般需要避开常用按键(组合)。 一 般可以有两种情况:
软快捷键。 一般通过标准键盘上的功能键或者组合键实现。 例如在 Windows桌面上按 F3功能键或者 Win— F组合键启动文件检索功能。对于通过 功能键或者组合键实现的快捷键,键位与被调用指令所实现的功能之间的语义 联系非常弱。 在这种情况下, 用户要记住大量快捷键键位是非常困难的。
硬快捷键。 在标准键之外增加专用按键, 目前市场上可以看到一些键盘, 专门增加了用于启动浏览器、 电子邮件程序的特殊键位。 但是, 硬快捷键需要 硬件支持, 无法做到通用; 同时限于键盘尺寸, 不可能有太多硬快捷键供用户 使用。 操作系统中只有少数极其常用的指令, 例如收发电子邮件、 启动因特网 浏览器等功能才会得到部分硬件商的支持。
综上所述, 迫切需要本领域技术人员解决的一个技术问题是: 如何能够创 造性的提出一种简单方便的快速调用计算机程序指令的方法,在不增加用户记 忆负担和操作步骤的情况下快速调用计算机程序指令, 实现指定功能。
发明内容
本发明所要解决的技术问题是提供一种快速调用程序指令的方法和系统, 能够简单方便的快速调用用户所需的程序指令。
本发明的另一个目的在于,提供一种兼顾字符输入和快速调用程序指令的 方法, 以及一种兼顾指令调用功能的输入法系统, 能够在不影响用户输入效率 和体验的情况下, 简单方便的快速调用用户所需的程序指令。
为了解决上述问题, 一方面, 根据本发明的实施例, 公开了一种快速调用 程序指令的方法, 包括: 接收用户输入的编码字符串; 在预置的映射表中, 根 据所述编码字符串或者所述编码字符串变换后的内容查询触发条件;如果存在 符合匹配的记录, 则启动指令触发接口, 并展现相关信息; 接收用户的触发信 息, 获得相应的指令调用信息; 发送所述指令调用信息至相应指令接口, 实现 相应程序指令的调用。
其中 ,所述预置的映射表中存储有触发条件与所述指令调用信息的对应关 系。 或者, 所述预置的映射表中存储有触发条件与中间命令的对应关系; 所述 中间命令与所需的指令调用信息相关联;通过以下步骤获得相应的指令调用信 息: 根据匹配情况, 得到相应的中间命令; 根据预置规则对该中间命令进行解 析, 得到相应的指令调用信息。
优选的, 所述的方法实施例还可以包括: 从所述编码字符串或其变换内容 在所述预置映射表中匹配后的剩余字符中,确定调用参数; 所获得的指令调用 信息中包含所述调用参数。
其中, 所述变换可以为: 将所述编码字符串解码为拼音音节; 或者, 将所 述编码字符串转换为候选字词。
进一步, 所述相关信息可以为所需调用的程序指令的注释信息。所述匹配 可以为精确匹配或者模糊匹配。
优选的, 所述的方法实施例还可以包括: 记录用户对程序指令的调用频率 信息;根据该调用频率信息对所述预置的映射表中多个符合匹配的记录进行排 序; 该排序结果用于确定所展现的相关信息的顺序。
根据本发明的另一个实施例,还公开了一种程序指令的快速调用系统, 包 括:
接口单元, 用于接收用户输入的编码字符串;
匹配查询单元, 用于在预置的映射表中,根据所述编码字符串或者所述编 码字符串变换后的内容查询触发条件;
相关信息展现单元, 用于当所述预置的映射表中存在符合匹配的记录时, 启动指令触发接口, 并展现相关信息;
获取单元, 用于当接收到用户的触发信息时, 获得相应的指令调用信息; 发送单元, 用于发送所述指令调用信息至相应指令接口, 实现相应程序指 令的调用。
其中,所述预置的映射表中存储有触发条件与所述指令调用信息的对应关 系, 所述获取单元通过匹配查询获得相应的指令调用信息。 或者, 所述预置的 映射表中存储有触发条件与中间命令的对应关系;所述中间命令与所需的指令 调用信息相关联; 则所述获取单元可以包括: 中间命令获取子单元, 用于根据 匹配情况, 得到相应的中间命令; 解析子单元, 用于根据预置规则对该中间命 令进行解析, 得到相应的指令调用信息。
优选的, 所述的系统实施例还可以包括: 参数确定单元, 用于从所述编码 字符串或其变换内容在所述预置映射表中匹配后的剩余字符中, 确定调用参 数, 并传送至所述获取单元; 所获得的指令调用信息中包含该调用参数。
进一步, 所述编码字符串变换后的内容可以为: 拼音音节串, 或者候选字 词。
优选的, 所述的系统实施例还可以包括: 指令调频单元, 用于记录用户对 程序指令的调用频率信息; 以及,根据该调用频率信息对所述预置的映射表中 多个符合匹配的记录进行排序; 该排序结果用于确定所展现的相关信息的顺 序。
根据本发明的另一实施例,还公开了一种兼顾字符输入和快速调用程序指 令的方法, 包括: 接收用户输入的编码字符串; 根据预置规则, 将所述编码字 符串转换为候选项; 以及, 在预置的映射表中, 根据所述编码字符串或者所述 编码字符串变换后的内容查询触发条件; 展现所述候选项; 以及, 当在预置的 映射表中存在符合匹配的记录时, 启动指令触发接口, 并展现相关信息; 如果 接收到用户的第一触发信息, 则获得相应的指令调用信息, 并发送所述指令调 用信息至相应指令接口, 实现相应程序指令的调用; 如果接收到用户的第二触 发信息, 则将用户确定的候选项上屏输出。
优选的,所述对编码字符串进行变换的过程合并在将所述编码字符串转换 为候选项的过程中。
进一步, 所述将编码字符串转换为候选项的过程包括: 将用户输入的编码 字符串转换为解码内容; 以及, 将所述解码内容转换为候选项; 所述编码字符 串变换后的内容为解码内容。 或者, 所述编码字符串变换后的内容为候选项。
其中 ,所述预置的映射表中存储有触发条件与所述指令调用信息的对应关 系。 或者, 所述预置的映射表中存储有触发条件与中间命令的对应关系; 所述 中间命令与所需的指令调用信息相关联;通过以下步骤获得相应的指令调用信 息: 根据匹配情况, 得到相应的中间命令; 根据预置规则对该中间命令进行解 析, 得到相应的指令调用信息。
优选的, 所述的方法实施例还可以包括: 从所述编码字符串或其变换内容 在所述预置映射表中匹配后的剩余字符中,确定调用参数; 所获得的指令调用 信息中包含所述调用参数。
优选的, 所述相关信息为所需调用的程序指令的注释信息。
优选的,所述相关信息的展现方式为:独立于候选项之外进行展现;或者, 在候选项上附加所述相关信息。进一步, 所附加方式为在所述候选项上增加超 链接, 超链接锚文本包括所述相关信息。
优选的, 所述的方法实施例还可以包括:接收所述被调用的程序指令的结 果信息, 并作为候选项展现; 接收用户的选择信息, 并将所选择的结果信息上 屏输出。
本发明的实施例还公开了一种输入法系统, 包括:
编码接收模块, 用于接收用户输入的编码字符串;
候选项转换模块, 用于根据预置规则, 将所述编码字符串转换为候选项; 匹配查询模块, 用于在预置的映射表中,根据所述编码字符串或者所述编 码字符串变换后的内容查询触发条件;
展现模块, 用于展现所述候选项; 以及, 当在预置的映射表中存在符合匹 配的记录时, 启动指令触发接口, 并展现相关信息;
指令调用模块, 用于当接收到用户的第一触发信息时,获得相应的指令调 用信息,并发送所述指令调用信息至相应指令接口 ,实现相应程序指令的调用; 上屏输出模块, 用于当接收到用户的第二触发信息时,将用户确定的候选 项上屏输出。
优选的, 所述候选项转换模块可以包括: 编码转换子模块, 用于将用户输 入的编码字符串转换为解码内容; 解码子模块, 用于将所述解码内容转换为候 选项; 所述编码字符串变换后的内容为解码内容。
优选的, 所述编码字符串变换后的内容为候选项。
优选的,所述预置的映射表中存储有触发条件与所述指令调用信息的对应 关系。 或者, 所述预置的映射表中存储有触发条件与中间命令的对应关系; 所 述中间命令与所需的指令调用信息相关联; 则所述指令调用模块可以包括: 中 间命令获取子模块, 用于^^据匹配情况, 得到相应的中间命令; 解析子模块, 用于根据预置规则对该中间命令进行解析, 得到相应的指令调用信息。
优选的, 所述的系统实施例还可以包括: 参数确定模块, 用于从所述编码 字符串或变换后的内容在所述预置映射表中匹配后的剩余字符中,确定调用参 数, 并发送至指令调用模块; 所获得的指令调用信息中包含所述调用参数。
进一步, 所述相关信息的展现方式可以为: 独立于候选项之外进行展现; 或者, 在候选项上附加所述相关信息。 其中, 所附加方式可以为在所述候选项 上增加超链接, 超链接锚文本包括所述相关信息。
根据本发明的另一实施例, 还公开了一种输入法系统, 包括:
编码接收模块, 用于接收用户输入的编码字符串;
候选项转换模块, 用于根据预置规则, 将所述编码字符串转换为候选项; 展现模块, 用于展现所述候选项;
输出模块, 用于当接收到用户的触发信息时,将用户确定的候选项传送至 匹配查询模块;
匹配查询模块, 用于在预置的映射表中,根据用户所确定的候选项字符查 询触发条件;
上屏模块, 用于当在预置的映射表中不存在符合匹配的记录时,将所述候 选项上屏输出;
指令调用模块, 用于当在预置的映射表中存在符合匹配的记录时,获得相 应的指令调用信息, 并发送所述指令调用信息至相应指令接口, 实现相应程序 指令的调用。
与现有技术相比, 本申请文件所公开的技术方案具有以下优点:
( 1 )调用程序指令的效率高。 首先, 由于本申请文件所公开的技术方案 基于键盘输入, 不必在屏幕中寻找指令入口, 可以避免菜单、 按钮、 图标等基 于图形界面的定位手段效率低下的问题; 其次,本申请文件所公开的技术方案 可以同时支持操作系统指令和应用程序指令,从而统一了计算机程序指令的入 口, 提高了指令调用的效率。
( 2 ) 简单方便。 首先, 本申请文件所公开的技术方案可以将用户输入的 编码字符串变换后再进行匹配, 即用户可以采用其熟悉的语言进行指令调用 , 从而降低用户的记忆负担; 其次,本发明所述的编码字符串变换过程可以采用 普通输入法的转换方式, 从而满足用户各种输入方式下的灵活输入(例如, 对 于中文而言, 可以采用简拼、 双拼、 全拼以及模糊音等多种用户熟悉的输入方 式); 再者, 本申请文件所公开的技术方案还可以采用模糊匹配, 以及展现相 关信息,从而解决了用户输入信息不准确或者记忆不准确的问题,提供足够的 容错度和提示信息, 方便使用。
( 3 )与输入法系统结合, 节约系统资源。 由于输入法需要将用户输入的 键盘信息进行转换,而本发明的指令调用也需要进行字符变换,所以,优选的, 在本发明的一个实施例中,将指令调用所需的字符变换过程合并在普通输入法 的候选项转换过程中, 从而避免了重复计算, 节约了系统资源。
( 4 )在本发明的另一优选实施例中, 设置了中间命令, 在预置的映射表 中仅仅存储字符与中间命令的对应关系, 而当用户触发时, 才根据预置规则计 算得到最终的指令调用信息,从而避免了在映射表中直接存储字节量较大的指 令调用信息, 降低了映射表的存储容量, 提高了匹配查询效率。
附图说明
图 1是本发明快速调用程序指令的方法实施例 1的步骤流程图;
图 2是本发明快速调用程序指令的方法实施例 2的步骤流程图; 图 3是本发明快速调用程序指令的系统实施例的结构图;
图 4是本发明一种兼顾字符输入和快速调用程序指令的方法实施例的步 骤流程图;
图 5是本发明一种兼有指令调用功能的输入法系统实施例的结构示意图; 图 6是采用编码字符串直接匹配的方式进行映射表匹配查询的实施例的 步骤流程图;
图 7是将用户输入的编码字符串由输入法变换为解码内容后,进行映射表 匹配查询的实施例的步骤流程图;
图 8是将用户的输入的编码字符串由输入法变换为候选项之后 ,进行映射 表匹配查询的实施例的步骤流程图;
图 9是与图 8类似的另一实施例的步骤流程图;
图 10是采用用户选择候选项上屏输出的字符, 进行映射表匹配查询的实 施例的步骤流程图。
具体实施方式
为使本发明的上述目的、特征和优点能够更加明显易懂, 下面结合附图和 具体实施方式对本发明作进一步详细的说明。
参照图 1 ,示出了本发明快速调用程序指令的方法实施例 1的步骤流程图, 具体包括以下步骤:
步骤 101、 接收用户输入的编码字符串; 例如, 一般的, 用户可以通过键 盘等计算机外设完成编码字符串的输入;
步骤 102、 在预置的映射表中, 匹配所述编码字符串或者所述编码字符串 变换后的内容;
所述匹配可以为根据该关键字查询触发条件。所述变换后的内容可以为字 母、 汉字等字符, 也可为拼音, 例如 [ji]这样的音节等等。 当然, 本发明并不 需要对变换的具体规则进行限定, 变换后的内容还可以为日文, 韩文, 日文的 平假名、 片假名等等。
步骤 103、 如果存在符合匹配的记录, 则启动指令触发接口, 并展现相关 信息; 所述相关信息可以为所需调用的程序指令的注释信息;
步骤 104、 接收用户的触发信息, 获得相应的指令调用信息; 步骤 105、 发送所述指令调用信息至相应指令接口, 实现相应程序指令的 调用。
通过上述实施例 1的整个过程中, 可以看出: 中进行匹配; 也可以先对用户输入的编码字符串进行变换,再采用变换后的字 符(例如, 拼音、英文、 中文、 日文或者韩文等)在预置的映射表中进行匹配; 因此, 应用本发明时, 用户可以采用其熟悉的各种语言输入方式, 从而可以满 足各种用户的需要, 降低这些用户的记忆负担。
其次, 步骤 103中的"匹配"支持精确匹配, 也支持模糊匹配, 并且, 步骤 103还可以根据匹配结果向用户展现与所调用的指令相关的各种信息, 因此, 用户不需要记忆精确的具体指令内容, 只需记忆大致的指令名称、或者功能或 者所需调用的指令的关键信息即可,模糊匹配后还可以通过所展现的相关信息 进行选择,从而进一步大大降低了用户的记忆负担,提高了用户调用程序指令 的速度和便利度。
下面以启动系统指令 -计算器程序为例, 对步骤 102 中的映射表进行说 明:
( 1 ) 当直接采用编码字符串进行匹配时, 所述的映射表可以采用如下结 构:
Figure imgf000011_0001
如果用户输入了编码字符串 "jsq", 则根据在映射表中的匹配结果,向用户 展现相关信息 "<<计算器>>"。 进一步, 优选的, 还可以当用户将鼠标移动到 该选项上时,展现"启动计算器工具"等字样,向用户进一步解释该指令的功能。 用户根据相关信息判断是否为自己所需调用的指令,如果是,则给出触发消息, 即可完成对所需程序指令的调用。
( 2 ) 当采用编码字符串变换后的内容进行匹配时, 如果变换后的内容为 拼音音节, 则所述的映射表可以采用如下结构: 触发条件 (音节) 展现的相关信息
«计算器》
Di] [suan][qi]
或者, 启动计算器工具
如果用户输入了编码字符串" jsq"或者" jisuanqi" , 则根据预置的变换规则 (与现有的拼音输入过程相似,故不再详述),将其变换为音节" [ji][suan][qi]", 然后根据其在映射表中的匹配结果, 向用户展现相关信息 "<<计算器>>"。 进 一步, 优选的, 还可以当用户将鼠标移动到该选项上时, 展现"启动计算器工 具"等字样, 向用户进一步解释该指令的功能。 用户根据相关信息判断是否为 自己所需调用的指令, 如果是, 则给出触发消息, 即可完成对所需程序指令的 调用。
( 3 ) 当采用编码字符串变换后的内容进行匹配时, 如果变换后的内容为 汉字, 则所述的映射表可以采用如下结构:
Figure imgf000012_0001
如果用户输入了编码字符串 "jsq"或者" jisuanqi" , 则根据预置的变换规则 , 将其变换为"计算器", 然后根据其在映射表中的匹配结果, 向用户展现相关信 息" <<计算器>>"。 进一步, 优选的, 还可以当用户将鼠标移动到该选项上时, 展现"启动计算器工具"等字样, 向用户进一步解释该指令的功能。 用户根据相 关信息判断是否为自己所需调用的指令, 如果是, 则给出触发消息, 即可完成 对所需程序指令的调用。 如果采用模糊匹配, 则即使变换后的字符为"计算", 也可以向用户展现相关信息 "<<计算器>>", 进一步提高用户的使用便利性。
对于上述(2 )和(3 )两种情况而言, 由于可以根据预置的变换规则, 将 用户输入的不同的编码字符串变换为统一的触发条件,所以可以更好的兼容各 个用户的使用习惯(例如, 用户可以通过全拼、 简拼、 双拼、 模糊音以及五笔 等等方式输入), 增加本发明的便利性。 当然, 本领域技术人员可以根据需要 式仅仅是针对拼音输入的举例而已。 进一步, 需要说明的是, 上面举出的三种映射表样式仅仅为举例而已, 本 领域技术人员可以根据需要设置各种合适的映射表; 并且,上面举出的三种映 射表可以单独使用, 也可以组合使用; 或者, 在一张映射表中, 触发条件包括 了三种情况: 字母、音节、汉字, 即不同的指令可能采用不同的触发条件类型。
例如, 当用户输入" jsq"时, 可以以 "jsq"、 "[ji][suan][qi]"和"计算器"分别在 映射表中进行匹配, 从而得到恰当的匹配结果; 以避免当"启动计算器"这个系 统指令使用的触发条件是汉字形式,而采用字母或者音节形式则无法获取正确 的匹配结果的情况发生。
需要着重说明的是,对于本发明而言, 不同的应用场合或者不同的技术人 员, 针对同一被调用的程序指令, 可以设置不同的触发条件。 例如, 针对调用 完成打开搜狐主页这样的功能的程序指令, 则可以设定触发条件为"搜狐"、也 可以为 "搜狐主页"、 也可以为"打开搜狐"等等。
下面通过几个具体的例子对实施例 1 中涉及的程序指令及相应的指令调 用信息进行说明:
假设预置的映射表中存储有字符与指令调用信息的对应关系,则直接通过 匹配查询就可以获得相应的指令调用信息,例如,映射表可以采用如下的结构:
Figure imgf000013_0001
根据匹配结果,将相应的指令调用信息发送至相应的程序接口即可实现程 序指令的调用。
本发明所涉及的程序指令可以包括但不限于以下几种,并且以下的举例仅 以 windows操作系统为例进行说明, 其他操作系统可以参照。
A、 启动某个程序。
主要通过调用系统 API (例如, ShellExecute或者 CreateProcess ), 将可执 行程序的文件路径作为参数传递。 当然, 某些目录(如系统目录)中的文件可 以不必写全路径。 例如执行" calc.exe" (计算器实用工具), 则可以将指令调用 信息" calc.exe"发送至 ShellExecute函数即可。 某些文件与应用程序关联, 可视为 "可执行"。 例如. doc文档, 当没有安装 Word字处理软件的时候是不可执行的。但是安装 word字处理软件后, 系统会 建立. doc文档与可执行文件 word.exe的关联关系,因此执行. doc文档等同于执 行 word.exe并将. doc文件路径传递给该可执行文件。类似的,还包括打开 mp3 文件播放音乐、 PDF 文件等等。 例如, 将" D:\document w\ a.doc"发送至系统 API 即可; 也可以将" word.exe"及其参数" D:\document w\ a.doc"发送至系统 API, 该方式可以用于指定目标文件的打开程序。
B、 网络功能, 例如搜索, 打开某个站点的主页等。
可以通过启动浏览器的方式, 并将根据搜索引擎要求构造出的相应 URL 作为参数传递给浏览器。 例如, 将 URL"www.sogou.com"发送至系统 API即 可, 系统才 据注册程序确定由某个浏览器打开该网页。 当然, 也可以指定特定 浏览器, 而将 URL作为参数进行传递。
也可以启动定制的搜索客户端 ,并将待检索的关键词作为参数交给定制的 搜索客户端。对于该应用方式,具体的信息格式可以由特定的客户端预先定制 即可。所述定制的搜索客户端可以为一个独立的应用程序,也可以与本发明结 合使用。所述定制的搜索客户端可以另外启动浏览器显示浏览结果; 也可以另 创建一个窗口显示浏览结果; 还可以在现有窗口中 (展现相关信息的窗口中) 显示浏览结果。 这些都是搜索客户端的具体功能, 所以在此就不详述了。
C、 当前应用程序的指令(即启用本发明时所在的当前应用程序的相关指 令)
调用当前应用程序的指令, 可以通过按键模拟实现。 例如, 在 word应用 程序中, 可以模拟 Ctrl— +来切换到上标字体, 将模拟键盘消息发送至该应用程 序的消息处理函数即可实现。
Windows 窗口基于消息, 可以通过发送消息的办法完成对窗口行为的控 制, 比如显示 /隐藏, 移动, 改变大小, 设置窗口标题等等。 例如, 发送 WM SHOW消息到消息处理函数即可实现将应用程序的当前窗口隐藏。
对于复制粘贴等操作, 还可以直接通过调用剪贴板实现。 例如, 系统 API 接收用户指令以及参数(选择或者指定的复制粘贴内容, 例如, 一幅图片), 然后将该图片放到剪贴板。 当然, 对于当前应用程序的指令调用, 也可以通过应用程序内部的 API 实现, 虽然会带来一些开发上的困难。
D、 直接通过操作系统 API实现操作系统功能
例如, 发送指令调用信息至系统 API, 以实现音量调节, 或者实现关机、 休眠、 待机等。
参照图 2,示出了本发明快速调用程序指令的方法实施例 2的步骤流程图 , 具体包括以下步骤:
步骤 201、 接收用户输入的编码字符串;
步骤 202、 在预置的映射表中, 根据所述编码字符串或者所述编码字符串 变换后的内容查询触发条件;所述预置的映射表中存储有触发条件与中间命令 的对应关系; 所述中间命令与所需的指令调用信息相关联;
步骤 203、 如果存在符合匹配的记录, 则启动指令触发接口, 并展现相关 信息;
步骤 204、 接收用户的触发信息, 根据匹配情况, 得到相应的中间命令; 步骤 205、 根据预置规则对该中间命令进行解析, 得到相应的指令调用信 步骤 206、 发送所述指令调用信息至相应指令接口, 实现相应程序指令的 调用。
实施例 2与实施例 1的核心构思相似, 所以相同及相似之处就不再详述, 下面对二者的主要区别加以详述。
实施例 1中的映射表中存储有字符与所述指令调用信息的对应关系,所以 可以通过匹配查询直接获得所需的指令调用信息。而实施例 2中的映射表可以 存储有字符与中间命令的对应关系;所述中间命令与所需的指令调用信息相关 联; 然后, 当接收到用户的触发信息之后, 再通过预置的解释规则 (例如, 一 定的脚本语言), 对该中间命令进行解析即可获得所需的指令调用信息。
由于直接存储指令调用信息会导致映射表过量占用系统存储资源,而实施 例 2将一些指令调用信息的共有部分或者复杂的部分通过解析过程获得,从而 减少映射表所占用的系统存储资源。 例如: 中间命令为 $RUN calc.exe, 则指令 调用信息为" calc.exe", 此处可以不写明路径, 缺省到系统目录中查找即可。 需要指出的是,上述的实施例 1和实施例 2都还可以包括: 从所述编码字 符串或其变换字符在所述预置映射表中匹配后的剩余字符中, 确定调用参数; 所获得的指令调用信息中包含所述调用参数。 例如, 如果触发条件为"搜索", 当用户输入了编码字符串" sousuoyinyue"时, 变换为"搜索音乐", 则将匹配后 剩余的字符"音乐"作为调用参数附加在标准的指令调用信息中,发送至相应接 口 ,从而实现带参数的程序指令调用。例如,构造出一个搜索引擎检索的 URL, 其中包含了参数"音乐", 这个信息 送给预置的搜索引擎服务器即可。
对于调用参数的获取, 并不仅仅限于上述一种方式,上述方式主要适用于 用户输入参数的情况。本领域技术人员也可以采用其他公知的方式获取其他类 型的调用参数, 例如, 查询文件的路径作为调用参数, 或者, 根据搜索引擎要 求构造出相应的 URL作为调用参数。
进一步,上述的实施例 1和实施例 2都还可以包括: 记录用户对程序指令 的调用频率信息;根据该调用频率信息对所述预置的映射表中多个符合匹配的 记录进行排序; 该排序结果用于确定所展现的相关信息的顺序。在匹配结果具 有多个时,如何排序输出是一个需要考虑的问题,本发明还可以通过记录用户 的使用频率 , 对多个符合匹配的相关信息展现顺序进行调整。
参照图 3 , 示出了一种程序指令的快速调用系统的结构框图 , 该系统可以 包括以下单元:
用于接收用户输入的编码字符串的接口单元 301;
匹配查询单元 302, 用于在预置的映射表中, 根据所述编码字符串或者所 述编码字符串变换后的内容查询触发条件;所述变换可以由本流域技术人员根 据需要自行设定, 例如, 变换为拼音或者变换为汉字、 或者日文、 韩文、 日文 的平假名、 片假名等等。
相关信息展现单元 303 , 用于当所述预置的映射表中存在符合匹配的记录 时, 启动指令触发接口, 并展现相关信息; 所述相关信息可以为所需调用的程 序指令的注释信息;
获取单元 304, 用于当接收到用户的触发信息时, 获得相应的指令调用信 发送单元 305, 用于发送所述指令调用信息至相应指令接口, 实现相应程 序指令的调用。
如果所述预置的映射表中存储有字符与所述指令调用信息的对应关系,则 所述获取单元通过匹配查询获得相应的指令调用信息。
如果所述预置的映射表中存储有字符与中间命令的对应关系,其中, 所述 中间命令与所需的指令调用信息相关联; 则所述获取单元可以包括以下子单 元: 中间命令获取子单元, 用于根据匹配情况, 得到相应的中间命令; 以及, 解析子单元, 用于根据预置规则对该中间命令进行解析,得到相应的指令调用 信息。
优选的, 图 3所示的系统还可以包括: 参数确定单元 306, 用于从所述编 码字符串或其变换字符在所述预置映射表中匹配后的剩余字符中,确定调用参 数, 并传送至所述获取单元 304; 所获得的指令调用信息中包含该调用参数。
优选的, 图 3所示的系统还可以包括: 指令调频单元 307, 用于记录用户 对程序指令的调用频率信息; 以及,根据该调用频率信息对所述预置的映射表 中多个符合匹配的记录进行排序;该排序结果用于确定所展现的相关信息的顺 序。
图 3所示的系统与前述实施例的核心构思基本相同, 所以, 未伴尽之处可 以参见前述相关部分, 在此不再详述。
参照图 4, 示出了一种兼顾字符输入和快速调用程序指令的方法, 该方法 与前述实施例的主要改进之处在于,将本发明所述的调用方法与输入法二者结 合起来, 由于本发明包括接收用户输入编码字符串的步骤,也可以包括对该编 码字符串进行变换的过程, 而输入法也包括这两个过程, 因此, 为了降低对系 统计算资源和存储资源的占用, 以及用户的使用习惯, 图 4示出的实施例将二 者有机结合起来。
具体的 , 图 4所示的实施例可以包括以下步骤:
步骤 401、 接收用户输入的编码字符串;
步骤 402、 根据预置规则, 将所述编码字符串转换为候选项; 以及, 在预 置的映射表中,根据所述编码字符串或者所述编码字符串变换后的内容查询触 发条件;
步骤 403、 展现所述候选项; 以及, 当在预置的映射表中存在符合匹配的 记录时, 启动指令触发接口, 并展现相关信息; 所述相关信息可以为所需调用 的程序指令的注释信息;
步骤 404、如果接收到用户的第一触发信息,则获得相应的指令调用信息, 并发送所述指令调用信息至相应指令接口 , 实现相应程序指令的调用;
步骤 405、 如果接收到用户的第二触发信息, 则将用户确定的候选项上屏 输出。
优选的,所述对编码字符串进行变换的过程合并在将所述编码字符串转换 为候选项的过程中。 当然,输入法与本发明二者仅仅采用简单叠加的方式进行 组合也是可行的。
步骤 402中, 有的预置规则可以直接将编码字符串转换为候选项, 例如, 五笔输入; 有的预置规则, 则需要稍复杂的转换过程: 将用户输入的编码字符 串转换为解码内容(例如, 拼音音节), 然后将所述解码内容转换为候选项; 例如各种拼音输入规则。 因此, 根据不同的输入法的转换规则, 用于在映射表 中匹配的变换后字符分别可以为: 解码内容(例如, 拼音音节)、 或者候选项 等等。对于实际应用中如何选择变换后的字符,可以由本领域技术人员根据实 际需要和预置的映射表进行设定即可, 在此本发明并不需要对此加以限定。
由于输入法自身具有候选项窗口对各个候选字词或者候选符号进行展现, 供用户选择; 因此, 所述相关信息也可以在候选项窗口中进行展现; 当然, 所 述相关信息也可以在另外的窗口中进行展现。所述展现,现有技术中一般采用 展示的形式(指向用户的视觉), 但是可以预见的是, 指向用户听觉的音频展 现也完全是可行的。
所述相关信息的展现方式可以为: 独立于候选项之外进行展现, 例如, 一 般输入法的候选项为 5个, 则所述相关信息可以作为第 6项进行展现; 如果相 关信息为多个, 也可以作为前述 5个候选项之外的其他多个候选项进行展现。
所述相关信息的展现方式也可以为: 在候选项上附加所述相关信息。优选 的附加方式为在所述候选项上增加超链接; 或者, 增加标注等等。
优选的, 所述预置的映射表中存储有字符与所述指令调用信息的对应关 系。
所述预置的映射表中也可以存储有字符与中间命令的对应关系;所述中间 命令与所需的指令调用信息相关联; 则通过以下步骤获得相应的指令调用信 息: 根据匹配情况, 得到相应的中间命令; 根据预置规则对该中间命令进行解 析, 得到相应的指令调用信息。
进一步, 图 4所示的实施例还可以包括: 从所述编码字符串或其变换字符 在所述预置映射表中匹配后的剩余字符中,确定调用参数; 所获得的指令调用 信息中包含所述调用参数。
优选的,对于图 4所示的实施例而言, 为了提高用户网络搜索指令调用的 方便性,可以在带有指令调用功能的输入法中加入用户搜索客户端,或者绑定 搜索客户端与该输入法。 所述搜索客户端可以另外启动浏览器显示浏览结果; 也可以直接在候选项窗口中显示网络搜索的结果。 例如检索"搜狐", 返回的结 果可能包括"搜狐主页"和"搜狐财经"等网站; 将"搜狐主页"和"搜狐财经"等字 符串加入候选项进行展示, 用户选择后可以根据需要将检索结果上屏输出,也 可以直接转到 "搜狐主页"或者"搜狐财经"进行浏览。 当然, 这些更多的是输入 法与搜索客户端结合后的拓展, 在此本发明无需加以限制。
优选的,对于图 4所示的实施例而言, 虽然将输入法与调用指令的装置进 行了结合, 但是输入法附加的其他功能, 对于程序指令的调用而言, 仍可以认 为是外部程序的指令。 因此, 对于输入法的附加功能或者除了变换、展示之外 的功能的调用, 也属于本发明程序指令的调用范畴之内。
例如,如果输入法内部功能还包括加法计算指令,预置的映射表中的触发 条件为 "jisuan*", 之后的字符为调用参数, 具体指令用于完成一个加法运算。 假设用户输入 "jisuan3+2", 则将指令调用信息 "jisuan"及其参数" 3+2"发送至输 入法的加法指令执行模块(该指令调用信息是由该执行模块自行定义的), 并 可以将执行后的结果 "5" 展现在候选窗口中, 用户还可以选择后直接上屏输 出。
再例如,如果输入法系统还附加有即时通讯功能, 则假设预置的触发条件 为"发送 *", "*"表示一定的字符, 作为指令参数; 当用户输入"发送你好"时, 则将指令调用信息"发送"及其参数"你好"发送至输入法的即时通讯模块, 由后 者完成即时通讯功能即可。其中的指令调用信息 "发送 "由该即时通讯模块自行 定义即可, 在此仅仅是举例而已。 如果对于输入法内部接口或者数据结构的调用, 例如全半角切换、 中英文 切换等, 触发条件可以为" quanjiao"或者"全角", 展示的相关信息选项可以为 "切换到输入法全角状态", 则发送相应消息至输入法内部接口即可, 至于具体 消息或者具体的接口 , 则需要视输入法的具体实现而定。
上述对图 4的描述中未伴尽之处, 可以参见前述的相关部分。
参照图 5 , 示出了一种输入法系统的结构示意图, 具体包括以下部件: 编码接收模块 501 , 用于接收用户输入的编码字符串;
候选项转换模块 502, 用于根据预置规则, 将所述编码字符串转换为候选 项;
匹配查询模块 503, 用于在预置的映射表中, 根据所述编码字符串或者所 述编码字符串变换后的内容查询触发条件;
展现模块 504, 用于展现所述候选项; 以及, 当在预置的映射表中存在符 合匹配的记录时, 启动指令触发接口, 并展现相关信息;
指令调用模块 505 , 用于当接收到用户的第一触发信息时, 获得相应的指 令调用信息, 并发送所述指令调用信息至相应指令接口, 实现相应程序指令的 调用;
上屏输出模块 506, 用于当接收到用户的第二触发信息时, 将用户确定的 候选项上屏输出。
所述候选项转换模块 502 可以直接将用户输入的编码字符串转换为候选 项, 也可以采用较为复杂的转换过程。 例如, 对于拼音而言, 所述候选项转换 模块 502就可以包括: 编码转换子模块, 用于将用户输入的编码字符串转换为 解码内容(例如, 拼音音节); 解码子模块, 用于将所述解码内容转换为候选 项。
根据实际需要以及输入法的转换过程,所述编码字符串变换后的内容为解 码内容; 所述编码字符串变换后的内容也可以为候选项等。
所述预置的映射表中可以存储有字符与所述指令调用信息的对应关系,则 所述指令调用模块 505可以直接通过匹配查询获得相应的指令调用信息。
所述预置的映射表中也可以存储有字符与中间命令的对应关系;所述中间 命令与所需的指令调用信息相关联; 则所述指令调用模块 505可以包括: 中间 命令获取子模块, 用于根据匹配情况, 得到相应的中间命令; 解析子模块, 用 于根据预置规则对该中间命令进行解析, 得到相应的指令调用信息。
进一步, 图 5所示的实施例还可以包括:
参数确定模块 507, 用于从所述编码字符串或变换后的内容在所述预置映 射表中匹配后的剩余字符中, 确定调用参数, 并发送至指令调用模块; 所获得 的指令调用信息中包含所述调用参数。
其中, 所述相关信息的展现方式为: 独立于候选项之外进行展现; 或者, 在候选项上附加所述相关信息。优选的, 所附加方式为在所述候选项上增加超 链接或者标注等等。
参照图 6-图 10, 是对本发明几种实施例更为具体的结构例图, 主要以中 文拼音输入法为例进行介绍。
参照图 6, 是采用编码字符串直接匹配的方式进行映射表匹配查询的。 图 6所示的实施例包括: 用于接收用户输入信息的编码接收模块 601、 用 于将编码转换为解码内容的编码转换模块 602、 用于将所述解码内容转换为候 选项的正常解码模块 603、 用于展示候选项和指令相关信息的选项展现模块 604、 用于将用户确定的字符输出的文字上屏模块 605; 以及, 用于在映射表 中采用编码字符串直接进行匹配查询的指令查询模块 606和用于获得指令调 用信息并发送至相应指令接口的指令调用模块 610。
所述指令查询模块 606与编码接收模块 601相连,获取用户输入的编码字 符串, 并与选项展现模块 604相连,将需要展现的指令相关信息传送至选项展 现模块 604。 所述指令调用模块 610与选项展现模块 604相连。
下面对采用上述模块完成具体的指令调用流程进行说明:
编码接收模块 601接收用户的键盘输入,得到编码字符串。 由于受键盘等 硬件输入设备的限制,此时接收到输入编码通常只能是字母、数字等键盘上已 有的符号。
编码接收模块 601将用户输入的编码字符串交给指令查询模块 606, 查找 对应的触发指令。如果存在匹配记录, 则将需要展现的相关信息交给选项展现 模块 604。
编码接收模块 601将用户输入的编码字符串交给编码转换模块 602进行输 入法解码, 得到解码内容。 例如, 对于中文输入法, 得到可能匹配的拼音音节 序列。
编码转换模块 602将解码内容交给正常解码模块 603, 得到正常的输入法 候选项; 并进一步交给选项展现模块 604。
选项展现模块 604将选项(包括文本候选项以及指令候选项)在屏幕上呈 现给用户, 所述指令候选项展现的是指令的相关信息。
如果用户选择了正常候选项, 选项展现模块 604 将其交给文字上屏模块 605 , 作为正常输入。 如果用户选择了指令候选项, 则通知指令调用模块 610 获 ^目应的指令调用信息, 并发送至相应接口。
需要说明的是, 如果用户选择了指令候选项, 也可以由选项展现模块 604 获取相应的指令调用信息,然后交给指令调用模块 610,由其发送至相应接口。 或者,也可以由选项展现模块 604获取相应的中间命令, 然后交给指令调用模 块 610, 由其获取所需的指令调用信息, 并发送至相应接口。
参照图 7, 与图 6示例的主要区别在于, 本例是将用户输入的编码字符串 变换为解码内容后, 进行映射表匹配查询的。
图 7所示的实施例与图 6所示的实施例基本相似,也包括: 编码接收模块 701、 编码转换模块 702、 正常解码模块 703、 选项展现模块 704、 文字上屏模 块 705; 以及, 指令查询模块 706和指令调用模块 710。
其具体区别主要在于: 所述指令查询模块 706与编码转换模块 702相连, 获取由编码转换模块 702对用户输入的编码字符串进行转换后的解码内容,并 依据解码内容查找对应的触发指令;所述指令查询模块 706还与选项展现模块 704相连, 将需要展现的指令相关信息传送至选项展现模块 704。
参照图 8, 与图 6和图 7示例的主要区别在于, 本例是将用户的输入的编 码字符串变换为候选项之后, 进行映射表匹配查询的, 并且, 是采用独立于候 选项之外的方式展现相关信息的。
图 8所示的实施例与图 6所示的实施例基本相似,也包括: 编码接收模块 801、 编码转换模块 802、 正常解码模块 803、 选项展现模块 804、 文字上屏模 块 805; 以及, 指令查询模块 806和指令调用模块 810。
其具体区别主要在于: 所述指令查询模块 806与正常解码模块 803相连, 获取由正常解码模块 803对用户输入的编码字符串进行转换后得到的候选项, 并依据候选项查找对应的触发指令;所述指令查询模块 806还与选项展现模块 804相连, 将需要展现的指令相关信息传送至选项展现模块 804。
在图 8所示的实施例中,由于输入法候选项由正常解码模块 803传送给选 项展现模块 804, 而指令相关信息则由指令查询模块 806传送给选项展现模块 804 , 所以优选是采用独立于候选项之外的方式展现相关信息的。
参照图 9, 与图 8示例的主要区别在于, 本例是将用户的输入的编码字符 串变换为候选项之后, 进行映射表匹配查询的, 并且, 是在所述候选项上增加 超链接的方式进行相关信息的展现的 (即改变了输入法候选项的展现方式)。
图 9所示的实施例与图 8所示的实施例基本相似,也包括: 编码接收模块
901、 编码转换模块 902、 正常解码模块 903、 选项展现模块 904、 文字上屏模 块 905; 以及, 指令查询模块 906和指令调用模块 910。
所述指令查询模块 906与正常解码模块 903相连, 获取由正常解码模块 903对用户输入的编码字符串进行转换后得到的候选项 , 并依据候选项查找对 应的触发指令; 所述指令查询模块 906还与选项展现模块 904相连,将需要展 现的指令相关信息传送至选项展现模块 904。
其具体区别主要在于: 正常解码模块 903得到正常的输入法候选项之后, 不发送给选项展现模块 904, 而仅仅传送至指令查询模块 906。 所以, 在图 9 所示的实施例中,可以采用独立展示方式,也可以在候选项上附加展示相关信 息,因为指令查询模块 906可以将正常的输入法候选项和指令选项一同传送至 选项展现模块 904。
优选的,在图 9所示的实施例中,可以采用在满足部分条件的输入法候选 项上增加超链接或标注的方式进行相关信息的展现的方式, 即指令查询模块 906对正常的输入法候选项改变后传送至选项展现模块 904。
用户除了可以正常选择这些输入法候选项进行上屏输出夕卜,也可以通过预 定义的其他操作, 例如鼠标点击、 鼠标右键菜单、 快捷键等, 通知指令调用模 块 910完成相应指令的调用。 比如, 通过鼠标点击带超链接的选项, 可以启动 对该选项相应指令的调用。
参照图 10, 与前述示例的主要区别在于, 本例是采用用户选择候选项准 备上屏输出的字符,进行映射表匹配查询的; 由于用户选择的过程是针对候选 项的, 所以该实施例可以不需要展现相关信息。
图 10所示的实施例可以包括以下部件:
编码接收模块 1001 , 用于接收用户输入的编码字符串;
候选项转换模块 1002, 用于根据预置规则, 将所述编码字符串转换为候 选项;
展现模块 1003 , 用于展现所述候选项;
输出模块 1004, 用于当接收到用户的触发信息时, 将用户确定的候选项 传送至匹配查询模块 1005;
匹配查询模块 1005 , 用于在预置的映射表中, 采用用户所确定的候选项 字符进行匹配;
上屏模块 1007, 用于当在预置的映射表中不存在符合匹配的记录时, 将 所述候选项上屏输出;
指令调用模块 1006, 用于当在预置的映射表中存在符合匹配的记录时, 获得相应的指令调用信息, 并发送所述指令调用信息至相应指令接口, 实现相 应程序指令的调用。
即从接收用户输入的编码到用户确定候选项的过程都与普通输入法基本 一致, 但是确定后的候选项需要传送给匹配查询模块 1005 , 用于完成匹配查 询和实现相应程序指令的调用。 如果没有相符记录, 则将该候选项上屏输出。 输入法, 日文韩文等输入法都可以适用于本发明。
以上对本发明所提供的一种快速调用计算机程序指令的方法、 系统, 以及 一种兼顾字符输入和快速调用程序指令的方法、一种输入法系统,进行了详细 施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本领域 的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改 变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种快速调用程序指令的方法, 其特征在于, 包括:
接收用户输入的编码字符串;
在预置的映射表中,根据所述编码字符串或者所述编码字符串变换后的内 容查询触发条件;
如果存在符合匹配的记录, 则启动指令触发接口, 并展现相关信息; 接收用户的触发信息, 获得相应的指令调用信息;
发送所述指令调用信息至相应指令接口 , 实现相应程序指令的调用。
2、 如权利要求 1所述的方法, 其特征在于, 所述预置的映射表中存储有 触发条件与所述指令调用信息的对应关系。
3、 如权利要求 1所述的方法, 其特征在于,
所述预置的映射表中存储有触发条件与中间命令的对应关系;所述中间命 令与所需的指令调用信息相关联;
通过以下步骤获得相应的指令调用信息:根据匹配情况,得到相应的中间 命令; 根据预置规则对该中间命令进行解析, 得到相应的指令调用信息。
4、 如权利要求 1、 2或 3所述的方法, 其特征在于, 还包括:
从所述编码字符串或其变换内容在所述预置映射表中匹配后的剩余字符 中, 确定调用参数;
所获得的指令调用信息中包含所述调用参数。
5、 如权利要求 1所述的方法, 其特征在于, 所述变换为:
将所述编码字符串解码为拼音音节;
或者, 将所述编码字符串转换为候选字词。
6、 如权利要求 1所述的方法, 其特征在于, 所述相关信息包括所需调用 的程序指令的注释信息。
7、 如权利要求 1所述的方法, 其特征在于, 所述匹配包括精确匹配或者 模糊匹配。
8、 如权利要求 1所述的方法, 其特征在于, 还包括:
记录用户对程序指令的调用频率信息;
根据该调用频率信息对所述预置的映射表中多个符合匹配的记录进行排 序; 该排序结果用于确定所展现的相关信息的顺序。
9、 一种程序指令的快速调用系统, 其特征在于, 包括:
接口单元, 用于接收用户输入的编码字符串;
匹配查询单元, 用于在预置的映射表中,根据所述编码字符串或者所述编 码字符串变换后的内容查询触发条件;
相关信息展现单元, 用于当所述预置的映射表中存在符合匹配的记录时, 启动指令触发接口, 并展现相关信息;
获取单元, 用于当接收到用户的触发信息时, 获得相应的指令调用信息; 发送单元, 用于发送所述指令调用信息至相应指令接口, 实现相应程序指 令的调用。
10、 如权利要求 9所述的系统, 其特征在于, 所述预置的映射表中存储有 触发条件与所述指令调用信息的对应关系 ,所述获取单元通过匹配查询获得相 应的指令调用信息。
11、 如权利要求 9所述的系统, 其特征在于,
所述预置的映射表中存储有触发条件与中间命令的对应关系;所述中间命 令与所需的指令调用信息相关联;
所述获取单元进一步包括:
中间命令获取子单元, 用于根据匹配情况, 得到相应的中间命令; 解析子单元, 用于根据预置规则对该中间命令进行解析,得到相应的指令 调用信息。
12、 如权利要求 9、 10或 11所述的系统, 其特征在于, 还包括: 参数确定单元,用于从所述编码字符串或其变换内容在所述预置映射表中 匹配后的剩余字符中, 确定调用参数, 并传送至所述获取单元; 所获得的指令 调用信息中包含该调用参数。
13、 如权利要求 9所述的系统, 其特征在于, 所述编码字符串变换后的内 容包括: 拼音音节串, 或者候选字词。
14、 如权利要求 9所述的系统, 其特征在于, 还包括:
指令调频单元, 用于记录用户对程序指令的调用频率信息; 以及, 根据该 调用频率信息对所述预置的映射表中多个符合匹配的记录进行排序;该排序结 果用于确定所展现的相关信息的顺序。
15、 一种兼顾字符输入和快速调用程序指令的方法, 其特征在于, 包括: 接收用户输入的编码字符串;
根据预置规则, 将所述编码字符串转换为候选项; 以及, 在预置的映射表 中, 根据所述编码字符串或者所述编码字符串变换后的内容查询触发条件; 展现所述候选项; 以及, 当在预置的映射表中存在符合匹配的记录时, 启 动指令触发接口, 并展现相关信息;
如果接收到用户的第一触发信息, 则获得相应的指令调用信息, 并发送所 述指令调用信息至相应指令接口 , 实现相应程序指令的调用;
如果接收到用户的第二触发信息, 则将用户确定的候选项上屏输出。
16、 如权利要求 15所述的方法, 其特征在于, 所述对编码字符串进行变 换的过程合并在将所述编码字符串转换为候选项的过程中。
17、 如权利要求 16所述的方法, 其特征在于,
所述将编码字符串转换为候选项的过程包括:将用户输入的编码字符串转 换为解码内容; 以及, 将所述解码内容转换为候选项;
所述编码字符串变换后的内容为解码内容。
18、 如权利要求 16所述的方法, 其特征在于, 所述编码字符串变换后的 内容为候选项。
19、 如权利要求 15所述的方法, 其特征在于, 所述预置的映射表中存储 有触发条件与所述指令调用信息的对应关系。
20、 如权利要求 15所述的方法, 其特征在于,
所述预置的映射表中存储有触发条件与中间命令的对应关系;所述中间命 令与所需的指令调用信息相关联;
通过以下步骤获得相应的指令调用信息:根据匹配情况,得到相应的中间 命令; 根据预置规则对该中间命令进行解析, 得到相应的指令调用信息。
21、 如权利要求 15、 19或 20所述的方法, 其特征在于, 还包括: 从所述编码字符串或其变换内容在所述预置映射表中匹配后的剩余字符 中, 确定调用参数;
所获得的指令调用信息中包含所述调用参数。
22、 如权利要求 15所述的方法, 其特征在于, 所述相关信息包括所需调 用的程序指令的注释信息。
23、 如权利要求 15所述的方法, 其特征在于, 所述相关信息的展现方式 包括: 独立于候选项之外进行展现; 或者, 在候选项上附加所述相关信息。
24、 如权利要求 23所述的方法, 其特征在于, 所附加方式为在所述候选 项上增加超链接, 超链接锚文本包括所述相关信息。
25、 如权利要求 15所述的方法, 其特征在于, 还包括:
接收所述被调用的程序指令的结果信息, 并作为候选项展现;
接收用户的选择信息 , 并将所选择的结果信息上屏输出。
26、 一种输入法系统, 其特征在于, 包括:
编码接收模块, 用于接收用户输入的编码字符串;
候选项转换模块, 用于根据预置规则, 将所述编码字符串转换为候选项; 匹配查询模块, 用于在预置的映射表中,根据所述编码字符串或者所述编 码字符串变换后的内容查询触发条件;
展现模块, 用于展现所述候选项; 以及, 当在预置的映射表中存在符合匹 配的记录时, 启动指令触发接口, 并展现相关信息;
指令调用模块, 用于当接收到用户的第一触发信息时,获得相应的指令调 用信息,并发送所述指令调用信息至相应指令接口 ,实现相应程序指令的调用; 上屏输出模块, 用于当接收到用户的第二触发信息时,将用户确定的候选 项上屏输出。
27、 如权利要求 26所述的系统, 其特征在于, 所述候选项转换模块进一 步包括:
编码转换子模块, 用于将用户输入的编码字符串转换为解码内容; 解码子模块, 用于将所述解码内容转换为候选项;
所述编码字符串变换后的内容为解码内容。
28、 如权利要求 26所述的方法, 其特征在于, 所述编码字符串变换后的 内容为候选项。
29、 如权利要求 26所述的方法, 其特征在于, 所述预置的映射表中存储 有触发条件与所述指令调用信息的对应关系。
30、 如权利要求 26所述的方法, 其特征在于,
所述预置的映射表中存储有触发条件与中间命令的对应关系;所述中间命 令与所需的指令调用信息相关联;
所述指令调用模块进一步包括:
中间命令获取子模块, 用于^^据匹配情况, 得到相应的中间命令; 解析子模块, 用于根据预置规则对该中间命令进行解析,得到相应的指令 调用信息。
31、 如权利要求 26、 29或 30所述的方法, 其特征在于, 还包括: 参数确定模块,用于从所述编码字符串或变换后的内容在所述预置映射表 中匹配后的剩余字符中, 确定调用参数, 并发送至指令调用模块; 所获得的指 令调用信息中包含所述调用参数。
32、 如权利要求 26所述的方法, 其特征在于, 所述相关信息的展现方式 包括: 独立于候选项之外进行展现; 或者, 在候选项上附加所述相关信息。
33、 如权利要求 32所述的方法, 其特征在于, 所附加方式为在所述候选 项上增加超链接, 超链接锚文本包括所述相关信息。
34、 一种输入法系统, 其特征在于, 包括:
编码接收模块, 用于接收用户输入的编码字符串;
候选项转换模块, 用于根据预置规则, 将所述编码字符串转换为候选项; 展现模块, 用于展现所述候选项;
输出模块, 用于当接收到用户的触发信息时,将用户确定的候选项传送至 匹配查询模块;
匹配查询模块, 用于在预置的映射表中,根据用户所确定的候选项字符查 询触发条件;
上屏模块, 用于当在预置的映射表中不存在符合匹配的记录时,将所述候 选项上屏输出;
指令调用模块, 用于当在预置的映射表中存在符合匹配的记录时,获得相 应的指令调用信息, 并发送所述指令调用信息至相应指令接口, 实现相应程序 指令的调用。
PCT/CN2008/070678 2007-04-10 2008-04-07 Procédé et système permettant d'appeler rapidement une commande de programme et système destiné à un procédé d'entrée WO2008122243A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100958472A CN101286118B (zh) 2007-04-10 2007-04-10 一种快速调用程序指令的方法、系统
CN200710095847.2 2007-04-10

Publications (1)

Publication Number Publication Date
WO2008122243A1 true WO2008122243A1 (fr) 2008-10-16

Family

ID=39830496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070678 WO2008122243A1 (fr) 2007-04-10 2008-04-07 Procédé et système permettant d'appeler rapidement une commande de programme et système destiné à un procédé d'entrée

Country Status (2)

Country Link
CN (1) CN101286118B (zh)
WO (1) WO2008122243A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566769A (zh) * 2010-12-13 2012-07-11 腾讯科技(深圳)有限公司 汉字输入方法及系统
WO2014154088A1 (en) * 2013-03-29 2014-10-02 International Business Machines Corporation Adjusting information prompting in input method
CN112783337A (zh) * 2020-12-31 2021-05-11 科大讯飞股份有限公司 输入法候选项的排序方法及相关模型的训练方法
CN113400296A (zh) * 2020-03-16 2021-09-17 阿里巴巴集团控股有限公司 安装控制方法、装置、物品及终端设备

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101565768B1 (ko) 2008-12-23 2015-11-06 삼성전자주식회사 휴대단말의 잠금 모드 해제 방법 및 장치
CN102033858A (zh) * 2009-09-30 2011-04-27 北大方正集团有限公司 一种排版输出公式的方法及系统
CN102043617A (zh) * 2009-10-12 2011-05-04 北大方正集团有限公司 排版软件的内容对象操作方法和系统
CN101667099B (zh) * 2009-10-16 2016-04-06 神形互联有限公司 一种连笔键盘文字输入的方法和设备
CN101882007A (zh) * 2010-06-13 2010-11-10 北京搜狗科技发展有限公司 一种基于输入界面进行信息输入和执行的方法、装置
CN102567433A (zh) * 2010-12-07 2012-07-11 中国电信股份有限公司 基于输入法的处理方法、装置和移动终端
CN102081511B (zh) * 2010-12-08 2012-10-03 广东威创视讯科技股份有限公司 一种实现操作结果重现的方法及装置
CN102622099A (zh) * 2011-01-25 2012-08-01 新浪网技术(中国)有限公司 一种嵌入app应用程序的输入法系统及相应方法
CN103164122B (zh) 2011-12-08 2015-10-28 中兴通讯股份有限公司 一种调用通讯录内容的方法及装置
CN103248551A (zh) * 2012-02-03 2013-08-14 腾讯科技(深圳)有限公司 一种信息呈现方法及系统
CN106933666B (zh) * 2012-02-15 2021-04-13 联想(北京)有限公司 一种调用信息输入程序的方法及一种电子设备
CN102722395B (zh) * 2012-06-11 2015-09-23 上海华勤通讯技术有限公司 移动终端及其应用程序的启动方法
CN102830915A (zh) * 2012-08-02 2012-12-19 聚熵信息技术(上海)有限公司 语义输入控制系统及其方法
CN103853544A (zh) * 2012-12-07 2014-06-11 华为技术有限公司 生成超链接的方法、装置和终端
CN104375845A (zh) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 一种启动应用程序的方法、装置及终端
CN103473073A (zh) * 2013-09-25 2013-12-25 张新杰 一种快速调出指令调用接口的方法和系统
CN103995830B (zh) * 2014-04-17 2017-09-29 广东欧珀移动通信有限公司 基于输入法的快速切换应用程序的方法及其移动终端
CN105279200A (zh) * 2014-07-24 2016-01-27 中兴通讯股份有限公司 复用电子设备调节按键的方法及装置
CN104216750A (zh) * 2014-09-18 2014-12-17 深圳市中兴移动通信有限公司 一种移动终端及其快捷启动应用的方法和装置
CN104965701B (zh) * 2015-06-12 2018-01-16 北京奇虎科技有限公司 获取应用信息的方法及装置
CN105183180B (zh) * 2015-07-17 2018-04-20 百度在线网络技术(北京)有限公司 一种辅助用户使用输入法应用的方法和设备
CN105824555B (zh) * 2016-01-14 2019-08-20 维沃移动通信有限公司 一种通过虚拟键盘实现单手操作的方法及电子设备
CN106951213A (zh) * 2017-03-27 2017-07-14 杭州迪普科技股份有限公司 一种命令解析方法及装置
CN108803892B (zh) * 2017-05-04 2024-03-22 北京搜狗科技发展有限公司 一种在输入法中调用第三方应用程序的方法和装置
CN113534973A (zh) * 2020-04-16 2021-10-22 北京搜狗科技发展有限公司 输入方法、装置和用于输入的装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573757A (zh) * 2003-06-06 2005-02-02 微软公司 自动任务生成器的方法和系统
CN1845069A (zh) * 2006-05-19 2006-10-11 清华大学 一种网络环境下根据用户需求生成软件服务的方法
CN1920754A (zh) * 2006-09-05 2007-02-28 北京搜狗科技发展有限公司 一种向应用程序输入艺术字/图形的方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100424703C (zh) * 2006-08-23 2008-10-08 北京搜狗科技发展有限公司 获取新编码字符串的方法及输入法系统、词库生成装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573757A (zh) * 2003-06-06 2005-02-02 微软公司 自动任务生成器的方法和系统
CN1845069A (zh) * 2006-05-19 2006-10-11 清华大学 一种网络环境下根据用户需求生成软件服务的方法
CN1920754A (zh) * 2006-09-05 2007-02-28 北京搜狗科技发展有限公司 一种向应用程序输入艺术字/图形的方法及系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566769A (zh) * 2010-12-13 2012-07-11 腾讯科技(深圳)有限公司 汉字输入方法及系统
WO2014154088A1 (en) * 2013-03-29 2014-10-02 International Business Machines Corporation Adjusting information prompting in input method
CN113400296A (zh) * 2020-03-16 2021-09-17 阿里巴巴集团控股有限公司 安装控制方法、装置、物品及终端设备
CN112783337A (zh) * 2020-12-31 2021-05-11 科大讯飞股份有限公司 输入法候选项的排序方法及相关模型的训练方法
CN112783337B (zh) * 2020-12-31 2024-04-12 科大讯飞股份有限公司 输入法候选项的排序方法及相关模型的训练方法

Also Published As

Publication number Publication date
CN101286118B (zh) 2012-04-18
CN101286118A (zh) 2008-10-15

Similar Documents

Publication Publication Date Title
WO2008122243A1 (fr) Procédé et système permettant d&#39;appeler rapidement une commande de programme et système destiné à un procédé d&#39;entrée
JP5921527B2 (ja) インプットメソッドエディタのための拡張フレームワーク
RU2436146C2 (ru) Гибкий перевод отображения
US8122424B2 (en) Automatic natural language translation during information transfer
US8031943B2 (en) Automatic natural language translation of embedded text regions in images during information transfer
JP4091398B2 (ja) アプリケーションプログラムの状態に基づく自動的なソフトウェア入力パネル選択
AU2014327147B2 (en) Quick tasks for on-screen keyboards
US10122839B1 (en) Techniques for enhancing content on a mobile device
KR102310648B1 (ko) 상황 정보 탐색 및 내비게이션 기법
US11853689B1 (en) Computer-implemented presentation of synonyms based on syntactic dependency
JP2021099887A (ja) 音声認識によるページ操作方法、装置、機器、媒体及びプログラム
WO2003079188A1 (fr) Procede de fonctionnement d&#39;un objet logiciel au moyen d&#39;une langue naturelle et programme correspondant
KR20000049575A (ko) 마우스를 이용한 키입력 방법 및 장치
JP5468576B2 (ja) 翻訳装置、翻訳方法及び翻訳プログラム
JP2023154640A (ja) 処理装置、処理方法及び処理プログラム
KR20100119735A (ko) 자동 입출력 인터페이스를 갖춘 번역기

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08715410

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08715410

Country of ref document: EP

Kind code of ref document: A1