Information processing method and device

By detecting the trigger posture of the operation body and entering the appropriate mode to correct the input content, the problem of the input content not matching the expected output caused by finger position offset is solved, and the accuracy and operation experience of the output are improved.

CN119088230APending Publication Date: 2024-12-06LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411216465.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When the operation body triggers the input device, the finger position offset makes it difficult to associate the input content with the expected output, affecting the operation experience.

Method used

By detecting whether the triggering posture of the operation body meets the target conditions, enters the deviation correction mode or the non-correction mode, and corrects the input content to match the expected output.

Benefits of technology

Improves the fault tolerance of the trigger posture of the operating body, ensures the accuracy of output and operation experience, and reduces the impact of finger position offset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088230A_ABST
    Figure CN119088230A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an information processing method and device. The information processing method comprises the steps that first input is obtained; the first input is a character string generated by triggering at least two input keys of input equipment by an operation body; if it is detected that the triggering posture of the operation body meets a target condition based on the first input, second output is determined in a first mode; the second output is different from the first output, the first output is output corresponding to the first input in a second mode, and the second mode is different from the first mode; the target condition represents that a triggering gesture corresponding to the triggering posture deviates relative to a triggering gesture corresponding to second input, and the output, corresponding to the second input in the second mode, of the second input is matched with the second output; and executing a first target operation based on the second output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the field of information technology, and in particular to an information processing method and device. Background Art

[0002] When the operating body triggers the input key of the input device to generate a character string, if the trigger gesture corresponding to the trigger posture is offset, it is difficult to obtain the expected output based on the current input of the operating body, and further it is impossible to perform subsequent operations based on the output, affecting the operating experience. Summary of the invention

[0003] In view of this, the embodiments of the present application at least provide an information processing method and device.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides an information processing method, including:

[0006] Obtaining a first input; the first input is a character string generated by at least two input keys of an input device triggered by an operating body;

[0007] If it is detected based on the first input that the triggering gesture of the operating body meets the target condition, a second output is determined in the first mode; the second output is different from the first output, the first output is the output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition indicates that the triggering gesture corresponding to the triggering gesture is offset relative to the triggering gesture of the second input in the second mode, and the output of the second input in the second mode is the second output;

[0008] A first target operation is performed based on the second output.

[0009] The present application provides an information processing device, including:

[0010] An acquisition module, used to acquire a first input; the first input is a character string generated by at least two input keys of an input device triggered by an operating body;

[0011] A determination module, configured to determine a second output in the first mode if a triggering gesture of the operating body detected based on the first input satisfies a target condition; the second output is different from the first output, the first output is an output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition indicates that a triggering gesture corresponding to the triggering gesture is offset relative to a triggering gesture of the second input in the second mode, and the output of the second input in the second mode is the second output;

[0012] An execution module is used to execute the first target operation based on the second output.

[0013] An embodiment of the present application provides an electronic device, including an input device and a controller;

[0014] An input device, used to obtain a first input; the first input is a character string generated by at least two input keys of the input device triggered by an operating body;

[0015] A controller, used for determining a second output in a first mode if a trigger gesture of an operating body is detected to meet a target condition based on a first input; the second output is different from the first output, the first output is the output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition characterizes that a trigger gesture corresponding to the trigger gesture is offset relative to a trigger gesture corresponding to the second input, and the output corresponding to the second input in the second mode matches the second output; and executing the first target operation based on the second output.

[0016] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor can execute the computer program to implement the above-mentioned information processing method.

[0017] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to implement the above-mentioned information processing method.

[0018] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing the above-mentioned information processing method.

[0019] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, some or all of the steps in the above-mentioned information processing method are implemented.

[0020] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1A A schematic diagram of the relative positions of keys in a keyboard;

[0022] Figure 1B A diagram showing the relative positions of keys on a keyboard Figure 2 ;

[0023] Figure 1C A schematic diagram of an implementation flow of an information processing method provided in an embodiment of the present application;

[0024] Figure 1DA schematic diagram 1 of a target input path in a target coordinate system provided in an embodiment of the present application;

[0025] Figure 1E A schematic diagram of a target input path in a target coordinate system provided in an embodiment of the present application Figure 2 ;

[0026] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0027] Figure 3 A schematic diagram of an implementation process of an information processing method provided in an embodiment of the present application Figure 2 ;

[0028] Figure 4 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0029] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0031] In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application. It should also be noted that, for ease of description, only the parts related to the relevant application are shown in the accompanying drawings.

[0032] As people become more proficient in using the keyboard, they will not look at the keyboard when inputting content, but input based on their memory of the relative positions of the keys on the keyboard, that is, "touch typing". In the "touch typing" mode, the user needs to determine an expected position on the keyboard and use this expected position as the benchmark for the relative positions of the keys. However, if the position where the user places their fingers at the start of input deviates from the expected position, the content typed "blindly" by the fingers based on the current position will become unrecognizable. Put another way, the user needs to input according to the fixed expected positions on the keyboard.

[0033] Exemplarily, as Figure 1A shown, in the key layout of the keyboard 10, the position 1 corresponding to the key where the letter "A" is located, the position 2 corresponding to the key where the letter "S" is located, the position 3 corresponding to the key where the letter "D" is located, the position 4 corresponding to the key where the letter "F" is located, the position 5 corresponding to the key where the letter "J" is located, the position 6 corresponding to the key where the letter "K" is located, the position 7 corresponding to the key where the letter "L" is located, and the position 8 corresponding to the keys where the symbols ":" and ";" are located are fixed expected positions. In implementation, the user of the keyboard 10 can place the little finger, ring finger, middle finger, and index finger of the left hand at positions 1, 2, 3, and 4 respectively; and can place the index finger, middle finger, ring finger, and little finger of the right hand at positions 5, 6, 7, and 8 respectively. Based on the above fixed expected positions, when the user of the keyboard 10 wants to output the character "我" (Chinese character for "I"), by first triggering the key where the upper-right letter "W" closest to position 1 is located, and then triggering the key where the upper-right letter "O" closest to position 6 is located, the input of the string "wo" can be completed. Since the pinyin of "我" is "wo" and there is an association between "wo" and "我", the user can accurately obtain the expected output. Therefore, when the position where the user places their fingers is the fixed expected position, the user can get the expected output by "touch typing".

[0034] As Figure 1BAs shown, the position where the user's finger is placed is offset based on the fixed expected position. In the key layout of keyboard 10, position 2 corresponding to the key where the letter "S" is located, position 3 corresponding to the key where the letter "D" is located, position 4 corresponding to the key where the letter "F" is located, position 9 corresponding to the key where the letter "G" is located, position 6 corresponding to the key where the letter "K" is located, position 7 corresponding to the key where the letter "L" is located, position 8 corresponding to the keys where the symbol ":" and the symbol ";" are located, and position 11 corresponding to the keys where the symbol '"' and the symbol "'" are the expected positions after the offset. During implementation, the user of keyboard 10 can place the little finger, ring finger, middle finger and index finger of the left hand at position 2, position 3, position 4 and position 5 respectively. Set 9; the index finger, middle finger, ring finger and little finger of the right hand can be placed at position 6, position 7, position 8 and position 11 respectively. Based on the expected position after the above offset, when the user of keyboard 10 wants to output the character "I" by "blind typing", the key of the upper right letter "E" closest to position 2 will be triggered first, and then the key of the upper right letter "P" closest to position 7 will be triggered to complete the input of the character string "ep". Since the pinyin of "I" is "wo", based on the fact that there is no association between "ep" and "I", the user cannot get the expected output. Therefore, when the position where the user's fingers are placed is offset based on the fixed expected position, the user cannot get the expected output by "blind typing".

[0035] An input method editor with error correction function can solve problems such as keyboard users missing input, inputting in the wrong order, and repeated input. For example, when a user wants to output the word "today", when entering the corresponding pinyin string "jintian", the second character "i" may be omitted, and the string "jntian" may be entered; or the order of the sixth character "n" and the seventh character "a" in the string may be reversed, and the string "jintina" may be entered; or the second character "i" may be entered twice in a row, and the string "jiintian" may be entered, which are input errors that are not much different from the correct input. The input method editor can determine the expected output corresponding to the user's expected accurate input through fuzzy recognition.

[0036] One implementation method is to perform error correction through fuzzy recognition, when the position of the user's finger during input is not offset based on the fixed expected position. If the position of the user's finger during input is different from the fixed expected position, the user's current input area will deviate from the fixed input area, making it difficult to identify input errors. For example, when the user wants to output the word "today", when inputting the corresponding pinyin string "jintian", the finger placement positions of both hands are offset to the right by one key position, and the input pinyin string will become "komyosm". Since there is no association between "komyosm" and "today", the user's expected output cannot be obtained through fuzzy recognition.

[0037] In summary, when the position where the user's finger is placed deviates from the fixed expected position, it will make it difficult to associate the input content with the correct output content.

[0038] On this basis, an embodiment of the present application provides an information processing method that can be executed by an electronic device or an input device.

[0039] The electronic device may include, but is not limited to, one or more of a server, a laptop, a tablet computer, a desktop computer, a mobile device (e.g., a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, a portable gaming device) and other devices with data processing capabilities. The server may be an independent server or a server cluster consisting of multiple servers. In implementation, the server may include, but is not limited to, at least one of a physical server, a virtual machine, a cloud server, etc.

[0040] The input device may include, but is not limited to, a mechanical keyboard, a capacitive keyboard, a membrane keyboard, a virtual keyboard (eg, a screen keyboard, a projection keyboard), and one or more of the devices that complete character input by an operator triggering an input key of the input device.

[0041] like Figure 1C As shown, the information processing method includes the following steps S101 to S103:

[0042] Step S101, obtaining a first input; the first input is a character string generated by an operating body triggering at least two input keys of an input device.

[0043] Here, the operating body may be an operator of the input device.

[0044] The input key may be a key used to implement an input function among keys of an input device, for example, it may include but is not limited to at least one of keys corresponding to letters, keys corresponding to numbers, keys corresponding to symbols, and the like.

[0045] In some implementations, the key layout of the input device is different, and the number and relative positions of the input keys are different.

[0046] For example, the virtual keyboard obtained by projection may be an input device including 87 input keys.

[0047] As another example, a mechanical keyboard may be an input device including 104 input keys.

[0048] The first input may include, but is not limited to, a string of letters, a string of symbols, a string of letters and symbols, and the like.

[0049] For example, the first input may be a character string “eptf” consisting of the letter “e”, the letter “p”, the letter “t”, and the letter “f” in sequence.

[0050] For another example, the first input may be a character string “,roupi” consisting of the symbol “,”, the letter “r”, the letter “o”, the letter “u”, the letter “p” and the letter “I”.

[0051] Step S102: if the trigger gesture of the operating body detected based on the first input satisfies the target condition, a second output is determined in the first mode; the second output is different from the first output, the first output is the output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition characterizes that the trigger gesture corresponding to the trigger gesture is offset relative to the trigger gesture of the second input in the second mode, and the output of the second input in the second mode is the second output.

[0052] In this embodiment, the first mode is a correction mode, which can correct characters input under offset conditions to characters correctly input without offset. In the first mode, the final output may be an output corresponding to a string obtained after adjusting the string input by the operator. The second mode is a non-correction mode, in which the final output may be an output corresponding to the string input by the operator.

[0053] In some implementations, the first mode and the second mode may be modes of an input device, modes of an electronic device, or modes of an input application such as an input method editor.

[0054] The triggering posture of the operating body meeting the target condition can indicate that the position of the finger of the operating body when performing input is offset relative to the fixed expected position. If the electronic device enters the first mode, it means that the first input is offset compared with the expected input. That is, the electronic device will output in the first mode only when the first input is offset.

[0055] The second input may be an expected input corresponding to the first input, and may include, but is not limited to, a string composed of letters, a string composed of symbols, and a string composed of letters and symbols, etc.

[0056] In some embodiments, the first output and the second output may include characters and / or strings.

[0057] For example, when the first input is the string "komyosm", the first output may be the string "komyosm" itself.

[0058] For another example, when the first input is the string "hao", the second output may be the character "好" corresponding to the Chinese word and / or the string "hao" itself.

[0059] The triggering gesture can characterize whether the position where the finger is placed when the operating body triggers the input button has shifted relative to a fixed expected position.

[0060] The triggering gesture can characterize the relative position and order of the input buttons triggered by the operating body.

[0061] Exemplarily, in combination with Figure 1A and Figure 1B , at the start of the input, the position where the finger of the operating body is placed shifts. When the first input is the string "mofr", the triggering gesture of the operating body corresponding to the first input can be to first trigger the button corresponding to the letter "M", then trigger the button corresponding to the letter "O", then trigger the button corresponding to the letter "F", and finally trigger the button corresponding to the letter "R". The expected input of the operating body is an input that is shifted one button position to the left as a whole. At this time, the first mode, that is, the deviation correction mode, is entered. Under the processing of this mode, the final output is the string "nide" and / or the string corresponding to the Chinese word "你的".

[0062] In some embodiments, when the triggering gesture of the operating body meets the target conditions, after determining the second input corresponding to the first input, the second output can be further confirmed based on multiple alternative outputs in the second mode.

[0063] For example, when the operating body omits the third character during input, the first input is the string "koyosm" with a shift and some characters omitted, the corresponding second input is the string "jitian" of the omitted characters without a shift, and the outputs corresponding to the second input can be the string "jitian", the string "jintian", the Chinese word "几天" corresponding to the string "jitian", and / or the Chinese word "今天" corresponding to the string "jintian".

[0064] In some embodiments, when the triggering gesture of the operating body meets the target condition, the input device may determine a second input corresponding to the first input, so that the electronic device can determine an output character corresponding to the second input.

[0065] For example, the processing module in the keyboard may first determine the second input corresponding to the first input and transfer the second input to the system layer of the electronic device for processing to obtain a second output, so that the application layer of the electronic device can perform subsequent operations based on the second output.

[0066] Step S103: Perform a first target operation based on the second output.

[0067] Here, the first target operation may include, but is not limited to, at least one of displaying the second output, announcing the second output, executing an instruction composed of the second output, outputting the second output to other electronic devices, etc.

[0068] For example, the first input is the string "jsp". When the string "jsp" is displayed in the input bar of the input method editor, the second output "好" (good) and "hao" corresponding to the second input "hao" may be displayed in the candidate bar of the input method editor.

[0069] Another example is that the first input is the string "lsodjofsdsp". After the operating body of the electronic device inputs "lsodjofsdsp" in the instruction bar of the control interface of the sweeping robot, the electronic device can offset "lsodjofsdsp" to obtain the string "kaishidasao" as the second input, and send a work instruction to the sweeping robot according to the second output "开始打扫" (start cleaning) corresponding to "kaishidasao".

[0070] In the embodiments of the present application, a first input is obtained; the first input is a string generated by at least two input keys of the input device triggered by the operating body; if it is detected based on the first input that the triggering gesture of the operating body meets the target condition, a second output is determined in the first mode; the second output is different from the first output, the first output is the output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition indicates that the triggering gesture corresponding to the triggering gesture is offset relative to the triggering gesture of the second input in the second mode, and the output of the second input in the second mode is the second output; a first target operation is performed based on the second output. In this way, when the triggering gesture used when the operating body triggers the generation of the first input is offset relative to the triggering gesture of the second input in the second mode, the second output desired by the user can also be obtained, improving the fault tolerance of the triggering gesture of the operating body, thereby making the determined second output more accurate, and further improving the accuracy of performing the first target operation based on the second output.

[0071] It can be understood that when the operating body triggers an input key of an input device to generate a string, in the case where the triggering gesture corresponding to the triggering posture is offset, an expected input with an unchanged triggering gesture corresponding to the current input can be determined, and subsequent operations can be performed according to the output corresponding to the expected input, thereby reducing the impact caused by the offset of the triggering gesture.

[0072] In some embodiments, the number of characters of the second input determined under the condition of meeting the target condition is the same as the number of characters of the first input, and each character of the second input is different from each character in the corresponding order of the first input.

[0073] It can be understood that the triggering gesture of the first input is offset relative to the triggering gesture of the second input, the position of each character of the first input is offset relative to the position of the corresponding character in the second input, and the number of key triggers corresponding to the first input and the second input can be the same. Therefore, the number of characters of the second input is the same as the number of characters of the first input, and each character of the second input is different from each character in the corresponding order of the first input.

[0074] In some embodiments, the information processing method may further include the following steps S111 to step S112:

[0075] Step S111: Determine a first alternative output corresponding to the string of the first input.

[0076] Here, the first alternative output may include characters and / or strings having an associated relationship with the lexical composition of the string of the first input.

[0077] For example, when the first input is the string "ai", the first alternative output may be the character "爱" and / or the string "AI".

[0078] Step S112: If there is no first alternative output, but there is a second alternative output with the same target input path as the first input, determine that the triggering posture of the operating body meets the target condition.

[0079] Here, the second alternative output may include characters and / or strings having an associated relationship with the lexical composition of the alternative string. The alternative string may be a string with the same input path as the target input path of the first input.

[0080] The input path may be a path determined based on the input key positions corresponding to the input string.

[0081] The target input path may include the input path of the first input determined based on the input key positions corresponding to the characters in the first input.

[0082] In some embodiments, after obtaining the positional relationship between the input keys corresponding to every two characters in the first input, the target input path corresponding to the first input can be determined.

[0083] For example, when the operating body inputs through the keyboard 10, the finger placement position is as Figure 1B shown. When the first input is the string "jsp", first trigger the input key corresponding to the first character "j"; then trigger the input key corresponding to the second character "s" obtained by translating the input key corresponding to "j" 5 input keys to the left; then trigger the first input key in the upper right adjacent to the input key obtained by translating the input key corresponding to "s" 7 input keys to the right, that is, the input key corresponding to the third character "p". The target input path is: trigger the input key corresponding to the first character; trigger the input key corresponding to the second character obtained by translating the input key corresponding to the first character 5 input keys to the left; trigger the first input key in the upper right adjacent to the input key obtained by translating the input key corresponding to the second character 7 input keys to the right as the input key corresponding to the third character.

[0084] When the operating body inputs through the keyboard 10 and the finger placement position is as Figure 1A shown, when inputting the string "hao", first trigger the input key corresponding to the first character "h"; then trigger the input key corresponding to the second character "a" obtained by translating the input key corresponding to "h" 5 input keys to the left; then trigger the first input key in the upper right adjacent to the input key obtained by translating the input key corresponding to "a" 7 input keys to the right, that is, the input key corresponding to the third character "o". The input path of the string "hao" is the same as the target input path of the string "jsp".

[0085] The output corresponding to the string "hao" can include but is not limited to characters such as "好", "郝", "号", etc. Since the input paths of the string "hao" and the string "jsp" are the same, "好", "郝", "号", etc. can be used as the second alternative outputs. And, when the string "jsp" is a pinyin string, there is no Chinese word directly corresponding to "jsp", so it can be determined that the triggering gesture of the operating body meets the target conditions.

[0086] The determination of the second output described in step S102 above may include the following step S113:

[0087] Step S113: Determine the second alternative output as the second output.

[0088] Here, by determining the second candidate output as the second output, when the first input has no corresponding candidate output, the output of the first input can be obtained based on the input associated with the first input.

[0089] In some implementations, at least one second candidate output may be selected from a plurality of second candidate outputs as the second output.

[0090] In the embodiment of the present application, a first alternative output corresponding to the string of the first input is determined; if the first alternative output does not exist, but a second alternative output consistent with the target input path of the first input exists, it is determined that the trigger posture of the operating body meets the target condition; the second alternative output is determined as the second output. In this way, on the one hand, based on whether there is a first alternative output corresponding to the first input, the accuracy of judging whether the trigger posture of the operating body meets the target condition can be increased; on the other hand, the second alternative output consistent with the target input path of the first input is determined as the second output, which can further improve the accuracy of determining the output corresponding to the first input when the trigger posture of the operating body meets the target condition.

[0091] In some embodiments, if there is no first candidate output, the information processing method may further include the following steps S121 to S123:

[0092] Step S121: determine the position of the input key corresponding to the first character in the first input as the target origin of the target coordinate system.

[0093] Here, the target coordinate system may be a coordinate system used to obtain the input path, and the target origin may be the origin of the target coordinate system.

[0094] Exemplarily, the coordinates of the target origin may be expressed as (0,0).

[0095] Step S122: establishing a target coordinate system based on the target origin and the input key layout of the input device.

[0096] For example, Figure 1D As shown, when the character string "jintian" is input on the keyboard 10, the position of the input key where the letter "J" is located can be determined as the target origin of the target coordinate system, and the coordinates of the target origin can be expressed as (0,0); the straight line corresponding to the row of input keys where the letter "J" is located can be used as the x-axis 12 of the target coordinate system, and the right side of the letter "J" is the positive direction of the x-axis 12; the position of the input key where the first letter "I" adjacent to the letter "J" is located and the straight line corresponding to the position of the input key where the letter "J" is located can be used as the y-axis 13 of the target coordinate system, and the top of the letter "J" is the positive direction of the y-axis 13, and the unit length is the length of an input key.

[0097] For example, Figure 1E As shown, when the character string "komyosm" is input on the keyboard 10, the position of the input key where the letter "K" is located can be determined as the target origin of the target coordinate system, and the coordinates of the target origin can be expressed as (0,0); the straight line corresponding to the row of input keys where the letter "K" is located can be used as the x-axis 14 of the target coordinate system, and the right side of the letter "K" is the positive direction of the x-axis 14; the position of the input key where the first letter "O" adjacent to the letter "K" is located and the straight line corresponding to the position of the input key where the letter "K" is located can be used as the y-axis 15 of the target coordinate system, and the top of the letter "K" is the positive direction of the y-axis 15, and the unit length is the length of an input key.

[0098] Step S123: determining a target input path based on the position information of each input key corresponding to each character in the first input in the target coordinate system and the triggering sequence of each input key.

[0099] Exemplarily, the input key triggering order of the character string "jintian" is: trigger the input key corresponding to the character "j"; trigger the input key corresponding to the character "i"; trigger the input key corresponding to the character "n"; trigger the input key corresponding to the character "t"; trigger the input key corresponding to the character "i"; trigger the input key corresponding to the character "a"; trigger the input key corresponding to the character "n".

[0100] based on Figure 1D In the target coordinate system, the input path of the string "jintian" can be expressed as [(0,0),(0,1),(0,-1),(-3,1),(0,1),(-6,0),(0,-1)].

[0101] Exemplarily, the input key triggering order of the character string "komyosm" is: trigger the input key corresponding to the character "k"; trigger the input key corresponding to the character "o"; trigger the input key corresponding to the character "m"; trigger the input key corresponding to the character "y"; trigger the input key corresponding to the character "o"; trigger the input key corresponding to the character "s"; trigger the input key corresponding to the character "m".

[0102] based on Figure 1E In the target coordinate system, the input path of the string "komyosm" can be expressed as [(0,0),(0,1),(0,-1),(-3,1),(0,1),(-6,0),(0,-1)], which is the same as the input path of the string "jintian".

[0103] In some implementations, the operation of the operator from the start input to the end input can be regarded as one input. In implementation, the operation of the operator triggering a space key or an enter key or the like can be used as confirmation information for the end of the input.

[0104] In the embodiment of the present application, the position of the input key corresponding to the first character in the first input is determined as the target origin of the target coordinate system; based on the target origin and the input key layout of the input device, the target coordinate system is established; based on the position information of each input key corresponding to each character in the first input in the target coordinate system and the triggering order of each input key, the target input path is determined. In this way, on the one hand, the restrictions of the characters of the first input on matching the corresponding output of the first input can be reduced, and from the perspective of the input path, the impact of the trigger gesture offset of the first input can be reduced; on the other hand, because the target coordinate system is determined based on the input key layout of the input device, the information processing method provided in the embodiment of the present application is applicable to input devices with any key layout, which expands the scope of use of the method.

[0105] It is understandable that by determining the output corresponding to the first input based on the target input path, the operator can perform "blind typing" and obtain accurate output when the finger position is offset from the expected position as a whole. In addition, since individual character input errors will not result in matching output characters that are significantly different from the path, matching output characters based on the input path can also solve the problem of incorrect output caused by incorrect input such as missing or repeated input characters.

[0106] In some embodiments, the number of the second candidate outputs is multiple, and the above step S113 may include the following steps S131:

[0107] Step S131, determining a second output from multiple second alternative outputs based on a third output corresponding to a third input; the third input is generated by the operating body triggering at least one input key of the input device before obtaining the first input, and the third input is the same as or different from the first input.

[0108] Here, the third input may include an input obtained at a historical moment before the first input is obtained. For example, the third input may include at least one of an input corresponding to an output adjacent to the input position of the first input, an input corresponding to an output in the same display interface as the input position of the first input, an input having the same character string as the first input at a historical moment, and the like.

[0109] In some implementations, the third input may be a character and / or a string.

[0110] For example, the third input may be a character string obtained at a historical moment and identical to the first input.

[0111] For another example, the third input may be an input character corresponding to a single character corresponding to the first input context.

[0112] The third output may be an actual output corresponding to the third input, and may include characters and / or character strings.

[0113] In the embodiment of the present application, the second output is determined from a plurality of second candidate outputs based on a third output corresponding to a third input; the third input is generated by the operating body triggering at least one input key of the input device before obtaining the first input, and the third input is the same as or different from the first input. In this way, the accuracy of the second output can be improved based on the third output corresponding to the third input, and the accuracy of selecting the expected output of the operating body from a plurality of second candidate outputs can be further improved.

[0114] In some embodiments, if the third input is the same as the first input, the information processing method may further include the following steps S141:

[0115] Step S141: After first determining the third output corresponding to the third input, store the third input and the third output in a target information database.

[0116] Here, in the case where the third input is the same as the first input, the third output corresponding to the third input can be used as the third output corresponding to the first input.

[0117] The target information database may be a database storing at least one input string and an output string corresponding to the input string, and may be a local database or a cloud database.

[0118] For example, the target information library may be a frequently used word library of the input method editor user.

[0119] The above step S131 may further include the following steps S142 to S143:

[0120] Step S142: Obtain, from the target information library, a third output corresponding to a third input that is the same as the first input.

[0121] Step S143: Determine a second candidate output that is the same as the third output from the plurality of second candidate outputs as the second output.

[0122] Here, the third output is the output corresponding to the third input that is the same as the first input, so the probability that the third output is the expected output of the first input is relatively high. By using the second alternative output that is the same as the third output as the second output, the probability that the second output is the expected output can be increased.

[0123] In the embodiment of the present application, after the third output corresponding to the third input is determined for the first time, the third input and the third output are stored in the target information library; the third output corresponding to the third input identical to the first input is obtained from the target information library; the second candidate output identical to the third output is determined from multiple second candidate outputs as the second output. In this way, by establishing an information library to store the input and the actual output corresponding to the input, when performing subsequent information processing, on the one hand, the processing efficiency of duplicate information can be improved; on the other hand, the accuracy of the second output can be improved.

[0124] In some embodiments, after obtaining the first input in the above step S101, the information processing method may further include the following step S151:

[0125] Step S151, calling the target model to execute the step of determining the second output based on the first input; the target model can infer the second output corresponding to the first input in the first mode based on the key layout of the input device and the historical input and output of the operating body.

[0126] Here, the target model may be a model that can complete the conversion from the first input to the second output.

[0127] In some implementations, different button layouts may correspond to different target models.

[0128] In some embodiments, the words in the input method editor's vocabulary or the user's commonly used words under the keyboard layout of the input device, as well as the input path corresponding to the words under the keyboard layout, can be used as a data set for training an initial model. After the initial model training is completed, a target model is obtained so that calling the target model can execute the step of determining the second output based on the first input.

[0129] During implementation, when the input device connected to the same electronic device is replaced, the current latest target model can be obtained based on the keyboard layout of the input device currently connected to the electronic device, based on the vocabulary in the input method editor vocabulary library or the user's frequently used vocabulary, and the input path corresponding to the vocabulary under the keyboard layout of the currently connected input device, so as to complete the real-time update of the target model without affecting the user's operating experience.

[0130] The historical input in the historical input and output of the operation body may include a character string input at a historical moment of the operation body, and the historical output may include an actual output corresponding to the character string input at a historical moment of the operation body.

[0131] Exemplarily, an initial model can be established, and a data set consisting of words and input paths corresponding to the words under the key layout of the current input device can be generated; the input path corresponding to the words is used as input, and the corresponding words are used as output, and the initial model is trained to obtain a target model, so that the obtained target model can output the words corresponding to the input path after obtaining the input corresponding to the input under the key layout of the current input device. The words can include at least one of the words in the input method editor word library, the words actually output corresponding to the character string input by the user at a historical moment, the user's common words obtained by collecting the user's voice, and the user's common words obtained by intercepting the user's browsing page.

[0132] In the embodiment of the present application, the target model is called to execute the step of determining the second output based on the first input; the target model can infer the second output corresponding to the first input in the first mode based on the key layout of the input device and the historical input and output of the operator. In this way, on the one hand, integrating functions into the model can improve information processing efficiency and user experience; on the other hand, the target model can adapt to different input devices according to the key layout; on the other hand, the input habits and output habits of the operator can be obtained based on the historical input and output of the operator, and the accuracy of the second output can be improved based on the input habits and output habits of the operator, further improving the user's operating experience.

[0133] In some embodiments, after the above step S101, the information processing method may further include the following steps S161 to S163:

[0134] Step S161: Based on the first input, detect whether the triggering posture of the operating body meets the target condition.

[0135] In some implementations, whether the triggering gesture of the operating body meets the target condition may be detected by matching the vocabulary corresponding to the first input in the vocabulary library of the input method editor.

[0136] For example, if a word corresponding to the first input is matched in the vocabulary of the input method editor, it can be determined that the triggering gesture of the operating body does not meet the target condition.

[0137] For another example, if the vocabulary corresponding to the first input is not matched in the vocabulary library of the input method editor, and there is no second candidate output corresponding to the target input path of the first input, it can be determined that the trigger gesture of the operating body does not meet the target condition.

[0138] Step S162: If the triggering posture of the operating body does not meet the target condition, determine the first output in the second mode.

[0139] Here, when the trigger posture of the detection operating body is not offset based on the first input, the first input is not offset relative to the second input, that is, there is no offset in the first input. At this time, the first mode is not entered, and the output is directly performed in the second mode. The output in the second mode is also the first input.

[0140] Step S163: Execute a second target operation based on the first output.

[0141] Here, the second target operation may include but is not limited to at least one of displaying the first output, broadcasting the first output, executing instructions constituted by the first output, and the like.

[0142] In the embodiment of the present application, based on the first input, it is detected whether the triggering posture of the operating body meets the target condition; if the triggering posture of the operating body does not meet the target condition, the first output is determined in the second mode; and the second target operation is performed based on the first output. In this way, when the triggering posture of the operating body does not meet the target condition, the first output corresponding to the first input can be directly output.

[0143] It is understandable that there are scenarios where the user inputs a fixed string, for example, when the user inputs a fixed string as a password or command, there is no need to correct the input offset, and the output can be determined directly based on the user input. Therefore, by detecting whether the triggering gesture of the operating body meets the target condition based on the first input, the user's needs can be further combined to improve the user's operating experience.

[0144] The present application embodiment provides an electronic device. Figure 2 As shown, the electronic device 200 includes: an input device 210 and a controller 220. The input device 210 is used to obtain a first input; the first input is a character string generated by the operating body triggering at least two input keys of the input device; the controller 220 is used to determine a second output in the first mode if the triggering posture of the operating body is detected to meet the target condition based on the first input; the second output is different from the first output, the first output is the output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition indicates that the trigger gesture corresponding to the trigger gesture is offset relative to the trigger gesture corresponding to the second input, and the output corresponding to the second input in the second mode matches the second output; the first target operation is performed based on the second output.

[0145] Here, the controller may be a control unit with information processing functions, and may include but is not limited to a central processing unit (CPU), a microcontroller unit (MCU), and the like.

[0146] In some implementations, the controller may be independently disposed outside the input device, or may be integrated into the input device.

[0147] In some embodiments, the number of characters of the second input determined to meet the target condition is the same as the number of characters of the first input, and each character of the second input is different from each character of the corresponding sequence in the first input.

[0148] In some embodiments, the controller can also be used to: determine a first alternative output corresponding to the string of the first input; if the first alternative output does not exist, but there is a second alternative output consistent with the target input path of the first input, determine that the trigger posture of the operating body meets the target condition; determine the second alternative output as the second output.

[0149] In some embodiments, if the first alternative output does not exist, the controller can also be used to: determine the position of the input key corresponding to the first character in the first input as the target origin of the target coordinate system; establish the target coordinate system based on the target origin and the input key layout of the input device; determine the target input path based on the position information of each input key corresponding to each character in the first input in the target coordinate system and the triggering order of each input key.

[0150] In some embodiments, the number of the second alternative outputs is multiple, and the controller can also be used to: determine the second output from multiple second alternative outputs based on a third output corresponding to a third input; the third input is generated by the operating body triggering at least one input button of the input device before obtaining the first input, and the third input is the same as or different from the first input.

[0151] In some embodiments, if the third input is the same as the first input, the controller may also be used to: after first determining the third output corresponding to the third input, store the third input and the third output in a target information library; obtain from the target information library the third output corresponding to the third input that is the same as the first input; and determine, from a plurality of the second alternative outputs, a second alternative output that is the same as the third output as the second output.

[0152] In some embodiments, after obtaining the first input, the controller can also be used to: call the target model to execute the step of determining the second output based on the first input; the target model can infer the second output corresponding to the first input in the first mode based on the key layout of the input device and the historical input and output of the operating body.

[0153] In some embodiments, after obtaining the first input, the controller can also be used to: detect whether the trigger posture of the operating body meets the target condition based on the first input; if the trigger posture of the operating body does not meet the target condition, determine the first output in the second mode; and perform a second target operation based on the first output.

[0154] An embodiment of the present application provides an information processing method, which can be applied to an electronic device or an input device.

[0155] like Figure 3 As shown, the method includes the following steps S301 to S310:

[0156] Step S301: Determine whether the key layout of the input device is a standard layout.

[0157] Here, when it is determined that the key layout of the input device is not a standard layout, steps S302 to S304 are executed; when it is determined that the key layout of the input device is a standard layout, steps S305 to S307 are directly executed.

[0158] Step S302: Read the key layout of the current input device.

[0159] Step S303: Generate a data set that matches the key layout of the current input device.

[0160] Step S304: Obtain a target model based on a data set that matches the key layout of the current input device.

[0161] Here, after executing step S304, step S305 is executed.

[0162] In implementation, a path matching model can be trained using the dataset so that the model can match paths that are identical or similar to the input.

[0163] Step S305: Obtain a first input.

[0164] Here, the user may use a keyboard for input, which corresponds to the input device in the above information processing method, and may include but is not limited to a physical keyboard or a virtual keyboard.

[0165] Step S306: Match the first input with the vocabulary of the input method editor.

[0166] Step S307: Determine whether the first input can be accurately recognized.

[0167] Here, by detecting whether there is a word corresponding to the first input in the word library of the input method editor, it is determined whether the first input can be accurately recognized. If there is no word corresponding to the first input in the word library of the input method editor, the first mode is entered and steps S308 to S309 are executed; if there is a word corresponding to the first input in the word library of the input method editor, the second mode is entered and step S310 is executed.

[0168] Step S308: Determine a plurality of second candidate outputs based on the target input path corresponding to the first input.

[0169] During implementation, an application such as an input method editor may record the target input path of the first input, and input the recorded target input path into a target model, and then the target model outputs a second candidate output according to the input path.

[0170] Step S309: Determine at least one candidate word from a plurality of second candidate outputs as a second output in combination with the semantics of the first input context, and output the second output.

[0171] During implementation, the matching degree between each second candidate output and the first input can be calculated, and the second candidate output with a higher matching degree can be output to the user.

[0172] Step S310: taking at least one candidate word in the word library of the input method editor corresponding to the first input as a first output, and outputting the first output.

[0173] In the embodiment of the present application, it is determined whether the key layout of the input device is a standard layout; the key layout of the current input device is read; a data set matching the key layout of the current input device is generated; a target model is obtained based on the data set matching the key layout of the current input device; a first input is obtained; the first input is matched with the word library of the input method editor; it is determined whether the first input can be accurately identified; based on the target input path corresponding to the first input, multiple second candidate outputs are determined, and then at least one candidate word is determined from the multiple second candidate outputs as the second output in combination with the semantics of the first input context, and the second output is output; or, at least one candidate word corresponding to the first input in the word library of the input method editor is used as the first output, and the first output is output. In this way, on the one hand, the user can obtain the expected output corresponding to the first input, that is, the first output or the second output, when the finger position is offset as a whole to the expected input area, and the user can obtain the expected output corresponding to the first input without re-entering; on the other hand, before performing information processing, the current key layout is determined first, which can improve the accuracy of the output corresponding to the first input obtained in real time.

[0174] The present application embodiment provides an information processing device, such as Figure 4As shown, the information processing device 400 includes:

[0175] An acquisition module 410 is used to obtain a first input; the first input is a character string generated by at least two input keys of an input device triggered by an operating body;

[0176] A determination module 420 is configured to determine a second output in the first mode if it is detected based on the first input that the triggering posture of the operating body satisfies a target condition; the second output is different from the first output, the first output is an output corresponding to the first input in the second mode, and the second mode is different from the first mode; the target condition indicates that the triggering gesture corresponding to the triggering posture is offset relative to the triggering gesture of the second input in the second mode, and the output of the second input in the second mode is the second output;

[0177] The execution module 430 is configured to execute a first target operation based on the second output.

[0178] In some embodiments, the number of characters of the second input determined to meet the target condition is the same as the number of characters of the first input, and each character of the second input is different from each character of the corresponding sequence in the first input.

[0179] In some embodiments, the determination module can also be used to: determine a first alternative output corresponding to the string of the first input; if the first alternative output does not exist, but there is a second alternative output consistent with the target input path of the first input, determine that the trigger posture of the operating body meets the target condition; determine the second alternative output as the second output.

[0180] In some embodiments, if the first alternative output does not exist, the determination module can also be used to: determine the position of the input key corresponding to the first character in the first input as the target origin of the target coordinate system; establish the target coordinate system based on the target origin and the input key layout of the input device; determine the target input path based on the position information of each input key corresponding to each character in the first input in the target coordinate system and the triggering order of each input key.

[0181] In some embodiments, the number of the second alternative outputs is multiple, and the determination module can also be used to: determine the second output from multiple second alternative outputs based on a third output corresponding to a third input; the third input is generated by the operating body triggering at least one input button of the input device before obtaining the first input, and the third input is the same as or different from the first input.

[0182] In some embodiments, if the third input is the same as the first input;

[0183] The execution module may also be used to: after first determining the third output corresponding to the third input, store the third input and the third output in a target information library;

[0184] The determination module may also be configured to: obtain, from the target information library, the third output corresponding to the third input identical to the first input; and determine, from a plurality of the second candidate outputs, a second candidate output identical to the third output as the second output.

[0185] In some embodiments, after obtaining the first input, the execution module can also be used to: call the target model to execute the step of determining the second output based on the first input; the target model can infer the second output corresponding to the first input in the first mode based on the key layout of the input device and the historical input and output of the operating body.

[0186] In some embodiments, after obtaining the first input, the determination module can also be used to: detect whether the trigger posture of the operating body meets the target condition based on the first input; if the trigger posture of the operating body does not meet the target condition, determine the first output in the second mode; and perform a second target operation based on the first output.

[0187] The present application embodiment provides an electronic device, including: a memory and a processor. Figure 5 As shown, the computer device 500 includes:

[0188] A memory 501, for storing a computer program executable on the processor 502;

[0189] The processor 502 is used to execute the program stored in the memory 501 to implement the above-mentioned information processing method applied to the information processing device.

[0190] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing the above-mentioned information processing method.

[0191] An embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements some or all of the steps in the above-mentioned information processing method.

[0192] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to implement the above-mentioned information processing method.

[0193] The present application is described with reference to the flowchart and / or block diagram of the method, device, and equipment according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0194] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0195] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0196] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present application should be included in the protection scope of the present application.

[0197] The description of the above device, equipment, program, program product, and storage medium embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0198] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0199] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0200] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0201] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0202] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0203] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0204] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0205] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. An information processing method, comprising: Get the first input; The first input is a character string generated by the operating body triggering at least two input keys of the input device; If it is detected based on the first input that the triggering posture of the operating body satisfies the target condition, determining a second output in the first mode; The second output is different from the first output, the first output is an output corresponding to the first input in a second mode, and the second mode is different from the first mode; The target condition indicates that the trigger gesture corresponding to the trigger posture is offset from the trigger gesture of the second input in the second mode, and the output of the second input in the second mode is the second output; A first target operation is performed based on the second output.

2. According to the method of claim 1, the number of characters of the second input determined to meet the target condition is the same as the number of characters of the first input, and each character of the second input is different from each character of the corresponding sequence in the first input.

3. The method according to claim 1, further comprising: Determine a first candidate output corresponding to the first input string; If the first candidate output does not exist, but a second candidate output that is consistent with the target input path of the first input exists, determining that the triggering posture of the operating body meets the target condition; The determining of the second output comprises: The second candidate output is determined as the second output.

4. The method according to claim 3, if the first alternative output does not exist, the method further comprises: Determine the position of the input key corresponding to the first character in the first input as the target origin of the target coordinate system; Establishing the target coordinate system based on the target origin and the input key layout of the input device; The target input path is determined based on the position information of each input key corresponding to each character in the first input in the target coordinate system and the triggering order of each input key.

5. The method according to claim 3, wherein the number of the second candidate outputs is multiple, and determining the second candidate output as the second output comprises: Determine the second output from a plurality of the second candidate outputs based on a third output corresponding to the third input; The third input is generated by the operating body triggering at least one input key of the input device before obtaining the first input, and the third input is the same as or different from the first input.

6. The method according to claim 5, if the third input is the same as the first input, the method further comprises: After first determining the third output corresponding to the third input, storing the third input and the third output in a target information library; The determining the second output from a plurality of second candidate outputs based on the third output corresponding to the third input comprises: Obtaining, from the target information library, the third output corresponding to the third input that is the same as the first input; A second candidate output that is the same as the third output is determined from a plurality of the second candidate outputs as the second output.

7. The method according to any one of claims 1 to 6, after obtaining the first input, the method further comprises: Calling the target model to execute the step of determining the second output based on the first input; The target model can infer the second output corresponding to the first input in the first mode based on the key layout of the input device and the historical input and output of the operating body.

8. The method according to any one of claims 1 to 6, after obtaining the first input, the method further comprises: Based on the first input, detecting whether the triggering posture of the operating body meets the target condition; If the triggering posture of the operating body does not satisfy the target condition, determining the first output in the second mode; A second target operation is performed based on the first output.

9. An information processing device, comprising: An acquisition module, used for acquiring a first input; The first input is a character string generated by the operating body triggering at least two input keys of the input device; A determination module, configured to determine a second output in a first mode if it is detected based on the first input that the triggering posture of the operating body meets a target condition; The second output is different from the first output, the first output is an output corresponding to the first input in a second mode, and the second mode is different from the first mode; The target condition indicates that the trigger gesture corresponding to the trigger posture is offset from the trigger gesture of the second input in the second mode, and the output of the second input in the second mode is the second output; An execution module is used to execute a first target operation based on the second output.

10. An electronic device, comprising: input devices and controllers; The input device is used to obtain a first input; The first input is a character string generated by the operating body triggering at least two input keys of the input device; The controller is configured to determine a second output in the first mode if it is detected based on the first input that the triggering posture of the operating body satisfies a target condition; The second output is different from the first output, the first output is an output corresponding to the first input in a second mode, and the second mode is different from the first mode; The target condition indicates that the trigger gesture corresponding to the trigger posture is offset from the trigger gesture corresponding to the second input, and the output corresponding to the second input in the second mode matches the second output; A first target operation is performed based on the second output.