Information processing method and apparatus, and electronic device and storage medium
By grouping keyboard keys or input content and assigning different sounds, the problem of slow keyboard input speed is solved, thereby improving input efficiency and accuracy.
Patent Information
- Application Number
- CN202211045584.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2042-08-30
AI Technical Summary
Users are slow when typing on a keyboard, and existing technologies struggle to improve input efficiency and accuracy.
By dividing the keyboard keys or their corresponding input content into different groups and setting different sounds for each group, users can judge whether the key operation is correct based on the sound, and output the sound corresponding to the target object or input content.
It improves input efficiency and accuracy, helping users quickly determine whether the input is correct.
Smart Images

Figure CN115390679B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of information processing, and more particularly to an information processing method and device, an electronic device, and a storage medium. BACKGROUND
[0002] As an important input tool, a keyboard includes a physical keyboard and a virtual keyboard. However, no matter the physical keyboard or the virtual keyboard, the input speed is slow when a user inputs through the keyboard. SUMMARY
[0003] The present application provides an information processing method and device, an electronic device, and a storage medium, including the following technical solutions.
[0004] An information processing method includes the following steps.
[0005] Detecting an operation on a target key of a keyboard.
[0006] In response to the operation, outputting a sound corresponding to a target object; the target object is the target key, or input content corresponding to the target key.
[0007] In the keyboard, different groups of keys correspond to different sounds; and / or in the input content corresponding to the keys of the keyboard, different groups of input content correspond to different sounds.
[0008] The above method, preferably, the output sound corresponding to the target object includes the following steps.
[0009] According to the pre-obtained configuration information, output a sound corresponding to a target object; the configuration information includes the correspondence between different target objects and sounds.
[0010] The above method, preferably, the process of obtaining configuration information includes the following steps.
[0011] Obtain identity recognition information.
[0012] Obtain configuration information corresponding to the identity information represented by the identity recognition information; the configuration information corresponding to different identity information is the same or different.
[0013] The above method, preferably, the keyboard is a physical keyboard, and the identity recognition information includes the following steps.
[0014] Obtain identity recognition information through a specified key in the physical keyboard.
[0015] The above method, preferably, the process of obtaining configuration information includes the following steps.
[0016] Determine an application scenario.
[0017] Obtaining configuration information corresponding to the application scenario; the configuration information corresponding to different application scenario information is same or different.
[0018] The method, preferably, the keyboard is a physical keyboard, and the process of obtaining the configuration information comprises:
[0019] Obtaining the configuration information in a storage unit of the physical keyboard.
[0020] If the configuration information is not obtained in the storage unit, obtaining the configuration information from an electronic device connected with the physical keyboard.
[0021] The method, preferably, the keyboard is a physical keyboard, and the operation of detecting a target key of the keyboard; in response to the operation, outputting a sound corresponding to a target object, comprises:
[0022] The physical keyboard detects the operation of the target key; in response to the operation, outputting a sound corresponding to a target object.
[0023] An information processing device, the device comprising:
[0024] A detection module for detecting an operation of a target key of a keyboard;
[0025] An output module for outputting a sound corresponding to a target object in response to the operation; the target object is the target key, or input content corresponding to the target key.
[0026] Wherein, different groups of keys in the keyboard correspond to different sounds; and / or, different groups of input content in input content corresponding to the keys of the keyboard correspond to different sounds.
[0027] An electronic device, comprising:
[0028] A memory for storing a program;
[0029] A processor for calling and executing the program in the memory, and realizing each step of the information processing method according to any one of the above by executing the program.
[0030] A readable storage medium having a computer program stored thereon, the computer program being executed by a processor to realize each step of the information processing method according to any one of the above.
[0031] It can be learned from the above scheme that the information processing method, device, electronic device and storage medium provided by the application detect an operation on a target key of a keyboard, and output a sound corresponding to a target object in response to the operation; the target object is the target key or input content corresponding to the target key; different groups of keys in the keyboard correspond to different sounds; and / or different groups of input content corresponding to the keys of the keyboard correspond to different sounds. The application divides the keys in the keyboard or the input content corresponding to the keys into different groups, and the keys in different groups correspond to different sounds, and the input content in different groups corresponds to different sounds, so that when the user operates the keyboard, the sound corresponding to the operated key or the input content corresponding to the key is output, so that the user can judge whether the key operation is correct according to the sound, help the user quickly judge whether the input is correct, thereby improving the input efficiency and improving the input accuracy. BRIEF DESCRIPTION OF DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the application, the drawings required to be used by the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0033] Figure 1 An implementation flowchart of the information processing method provided by the embodiments of the application;
[0034] Figure 2 An implementation flowchart of obtaining configuration information provided by the embodiments of the application;
[0035] Figure 3 Another implementation flowchart of obtaining configuration information provided by the embodiments of the application;
[0036] Figure 4 Still another implementation flowchart of obtaining configuration information provided by the embodiments of the application;
[0037] Figure 5 A structural schematic diagram of the information processing device provided by the embodiments of the application;
[0038] Figure 6 A structural schematic diagram of the electronic device provided by the embodiments of the application.
[0039] The terms "first", "second", "third", "fourth" and the like (if any) in the description, claims and above drawings are used to distinguish similar parts, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated herein. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present application.
[0041] An implementation flowchart of the information processing method provided by the embodiments of the present application is shown in FIG. 1, which can include the following steps. Figure 1
[0042] Step S101: detecting an operation (for the convenience of description and distinction, referred to as a first operation) on a target key of a keyboard.
[0043] The keyboard in the present application can be a physical keyboard or a virtual keyboard. As an example, the virtual keyboard can be a virtual keyboard displayed through a touch display screen of an electronic device, or can be a projected keyboard, etc.
[0044] The target key can be any key in the keyboard.
[0045] The first operation is a click operation on the target key.
[0046] Step S102: in response to the first operation, outputting a sound corresponding to a target object; the target object is the target key, or the target object is input content corresponding to the target key.
[0047] In this embodiment of the present application, different groups of keys in the keyboard correspond to different sounds; and / or, different groups of input content in the input content corresponding to the keys of the keyboard correspond to different sounds.
[0048] Optionally, the sound corresponding to the target object can be physical or self-provided by the electronic device, that is, the physical keyboard or the electronic device is configured with a corresponding relationship between the target object and the sound when it is manufactured.
[0049] Optionally, the sound corresponding to the target object can also be set by the user according to his own needs.
[0050] As an example, the difference in the sound can include at least one of the following aspects: different volumes, different tones, different tempos, etc.
[0051] The present application divides the keys in the keyboard or the input content corresponding to the keys into different groups in advance, the keys in different groups correspond to different sounds, and the input content in different groups corresponds to different sounds. Therefore, when the user operates the keys in the keyboard, the sound corresponding to the operated key or the input content corresponding to the key is output, so that the user can determine whether the key operation is correct according to the sound, help the user quickly determine whether the input is correct, thereby improving the input efficiency and improving the input accuracy.
[0052] In an optional embodiment, one implementation of the above-mentioned outputting a sound corresponding to a target object can be:
[0053] Outputting a sound corresponding to a target object according to pre-obtained configuration information; wherein the configuration information includes the correspondence between different target objects and sounds.
[0054] The correspondence between different target objects and sounds can include the correspondence between different keys and sounds.
[0055] Alternatively,
[0056] The correspondence between different target objects and sounds can include the correspondence between different inputtable content of the keyboard and sounds.
[0057] Alternatively,
[0058] The correspondence between different target objects and sounds can include the correspondence between different keys and sounds (for ease of description and distinction, referred to as the first correspondence), and the correspondence between different inputtable content of the keyboard and sounds (for ease of description and distinction, referred to as the second correspondence); wherein the keys in the first correspondence and the input content in the second correspondence have no correspondence.
[0059] For any two keys (for ease of description and distinction, referred to as a first key and a second key), if the first key and the second key belong to the same group of keys, the sounds corresponding to the first key and the second key are the same, and if the first key and the second key do not belong to the same group of keys, the sounds corresponding to the first key and the second key are different.
[0060] Similarly, for any two inputtable content of the keyboard (referred to as first input content and second output content respectively), if the first input content and the second input content belong to the same group of input content, the sounds corresponding to the first input content and the second input content are the same, and if the first input content and the second input content do not belong to the same group of input content, the sounds corresponding to the first input content and the second input content are different.
[0061] Optionally, the configuration information can be set by the user, or it can be physically or electronically provided by the manufacturer.
[0062] In the case that the user sets the above configuration information, the user can determine the keys and / or input contents that are easy to operate incorrectly according to his own operation habits, set corresponding sounds for these keys or input contents that are easy to operate incorrectly (the sounds corresponding to different groups of keys are different, and / or the sounds corresponding to different groups of input contents are different), the other keys and / or input contents correspond to the same sound (the sound is different from the sound corresponding to the keys or input contents that are easy to operate incorrectly), or the other keys and / or input contents correspond to no sound. After the setting is completed, when the user operates the keys that are easy to operate incorrectly in the keyboard, the user can determine whether the operation is correct by judging whether a sound is output after the keys are operated and whether the output sound is the pre-set sound. Specifically, if a sound is output after the keys are operated and the output sound is the pre-set sound, it indicates that the user's operation is correct. If no sound is output or although a sound is output, the output sound is not the pre-set sound, it indicates that the user's operation is incorrect. Thus, the user can quickly determine whether an input error is made. Based on the embodiment, the private customization of the configuration information is realized.
[0063] In the case that the configuration information is physically provided or comes with the electronic device, the configuration information can be obtained by statistically analyzing the use habits of a plurality of users to the keyboard. Specifically, the keys and / or input contents that are easy to operate incorrectly of a large number of users can be collected, the keys and / or input contents that are easy to operate incorrectly of each user are statistically analyzed, the keys and / or input contents that are easy to operate incorrectly of most users are determined, and then the keys and / or input contents that are easy to operate incorrectly of most users are grouped and set corresponding sounds (the sounds corresponding to different groups of keys are different, and / or the sounds corresponding to different groups of input contents are different), the other keys and / or input contents correspond to the same sound (the sound is different from the sound corresponding to the keys or input contents that are easy to operate incorrectly of most users), or the other keys and / or input contents correspond to no sound. Based on the embodiment, the universalization of the configuration information is realized.
[0064] In an optional embodiment, in the case that the configuration information is physically provided or comes with the electronic device, the user can select part of the configuration information physically provided or coming with the electronic device as the configuration information set by the user, or the user can determine the keys and / or input contents that are easy to operate incorrectly according to his own operation habits, and set corresponding sounds for these keys or input contents that are easy to operate incorrectly. Based on the embodiment, the universalization of the configuration information and the private customization of the configuration information can be realized.
[0065] In the case that the configuration information includes private customized configuration information, the configuration information can be obtained before the keyboard is used, such as, the configuration information can be obtained when the user logs in the electronic device, or, the configuration information is manually set before the user uses the keyboard, or, the configuration information is obtained when the user switches the login account, or, the configuration information is obtained after the identity information of the user of the electronic device is collected, or, the configuration information is obtained when the user of the electronic device changes (i.e., the collected identity information changes).
[0066] In an optional embodiment, the implementation flowchart of the above-obtaining configuration information can include: Figure 2
[0067] Step S201: obtaining identity information.
[0068] Optionally, the identity information can be an account for logging in the electronic device, or, can be a fingerprint image, or, a face image, or, an eye image, etc. of the user collected on site.
[0069] Step S202: obtaining configuration information corresponding to the identity information represented by the identity information; the configuration information corresponding to different identity information is the same or different.
[0070] Optionally, if the identity information is an account for logging in the electronic device, the corresponding configuration information can be obtained after the user logs in the electronic device, or, when the user switches the login account, the login account or the switched account is taken as the identity information of the user to obtain the corresponding configuration information.
[0071] Optionally, if the identity information is a fingerprint image, or, a face image, or, an eye image, etc. of the user, the identity information can be feature extracted, the extracted feature is matched with each reference feature stored in advance, and the reference feature matched with the extracted feature is taken as the identity information represented by the identity information to obtain the corresponding configuration information.
[0072] In the embodiments of the present application, different users can set different configuration information according to their actual needs. After each user sets the configuration information, the set configuration information is stored in association with the identity information of the user, i.e., the set configuration information is stored in correspondence with the identity information of the user.
[0073] In an optional embodiment, in the case that the keyboard is a virtual keyboard, the above-obtaining identity information can be implemented in the following way:
[0074] The identity information is collected by an identity information collection device provided by the electronic device displaying the virtual keyboard. The identity information collection device can be a fingerprint collection device, or, can be an image collection device.
[0075] In an optional embodiment, in the case that the keyboard is a physical keyboard, the above-mentioned implementation of obtaining the identity identification information can be as follows:
[0076] The identity identification information acquisition device provided by the electronic device connected through the physical keyboard acquires the identity identification information. The identity identification information acquisition device provided by the electronic device can be a fingerprint acquisition device, or can be an image acquisition device.
[0077] In an optional embodiment, in the case that the keyboard is a physical keyboard, the above-mentioned implementation of obtaining the identity identification information can be as follows:
[0078] The identity identification information is obtained through a specified key of the physical keyboard.
[0079] As an example, the identity identification information obtained through the specified key of the physical keyboard can include a fingerprint image. Optionally, the specified key can be one, or two or more. As an example, the specified key can be a key for inputting characters (such as letters, numbers, punctuation marks, or other symbols, etc.) to the electronic device. As an example, the specified key can be the F key and / or the J key.
[0080] In the present application, the identity identification information acquisition device, such as the fingerprint acquisition device, is arranged at the specified key of the physical keyboard, so that the identity identification information of the user can be acquired at the same time when the user operates the specified key, without the need for the user to specially input the identity identification information, thereby simplifying the user operation.
[0081] In the case that the specified key includes two keys, the features of the identity identification information at the two specified keys can be respectively matched with the respective reference features stored in advance. As long as a reference feature matching the feature of the identity identification information acquired at one of the specified keys is obtained, the identity information corresponding to the reference feature is determined as the identity information represented by the acquired identity identification information, thereby improving the efficiency of identity identification.
[0082] Optionally, in the case that the keyboard is a physical keyboard and the identity identification information is a fingerprint, the above-mentioned implementation of obtaining the identity identification information can be as follows:
[0083] The fingerprint information is obtained through a specified area of the physical keyboard, i.e., a fingerprint acquisition device is specially arranged in an area of the physical keyboard for acquiring the fingerprint. In this way, the user needs to specially perform fingerprint input on the specified area to enable the physical keyboard to acquire the fingerprint, so that the operation of the user is relatively cumbersome. Therefore, the identity identification information is obtained through the specified key of the physical keyboard is preferred.
[0084] In an optional embodiment, in order to reduce the power consumption of the physical keyboard, if the physical keyboard does not detect the operation of the user on any key within a preset time length, the identity information collection device can be controlled to enter a hibernation or sleep state. After detecting the operation of the user on any key (as an example, the key can be the F key or the J key, and of course, other keys can also be used) in the physical keyboard again, the identity information collection device is woken up to enable the collection of the identity information.
[0085] After the identity information is collected, the configuration information corresponding to the identity information represented by the collected identity information (for the sake of description and distinction, referred to as first configuration information) can be obtained.
[0086] Further, when the operation on the target key of the keyboard is detected, in response to the operation, it is determined according to the first configuration information whether the target key or the input content corresponding to the target key corresponds to a sound, and if the determination result is yes, the sound corresponding to the target key or the input content corresponding to the target key is output.
[0087] In an optional embodiment, another implementation flowchart for obtaining the configuration information is shown in Figure 3 , which can include:
[0088] Step S301: Determine the application scenario.
[0089] As an example, the application scenario can include but is not limited to the following: a game scenario, a character input scenario, and the like. Of course, the application scenario can also include other scenarios, which are not listed here.
[0090] Step S302: Obtain the configuration information corresponding to the application scenario; the configuration information corresponding to different application scenario information is the same or different.
[0091] In the embodiments of the present application, the configuration information corresponding to different scenarios can be obtained when the electronic device enters different application scenarios.
[0092] As an example, in some application scenarios, the configuration information can only include the corresponding relationship between the key and the sound.
[0093] In some application scenarios, the configuration information can only include the corresponding relationship between the input content corresponding to the key and the sound.
[0094] In some application scenarios, the configuration information can include the corresponding relationship between the key and the sound (for the sake of description and distinction, referred to as the third corresponding relationship), and the corresponding relationship between the input content corresponding to the key and the sound (for the sake of description and distinction, referred to as the fourth corresponding relationship); wherein the key in the third corresponding relationship and the input content in the fourth corresponding relationship have no corresponding relationship.
[0095] The application scenario and the configuration information can be self-provided when the electronic device or the physical keyboard is manufactured, or can be customized by the user according to the use habit.
[0096] In an optional embodiment, when the keyboard is a physical keyboard, the configuration information corresponding to different identity information (i.e., different users) or different application scenarios can be stored only in the physical keyboard, only in the electronic device connected with the physical keyboard, or part of the configuration information corresponding to different users or different application scenarios is stored in the electronic device, and part of the configuration information corresponding to different users or different application scenarios is stored in the physical keyboard and the electronic device. Based on this, another implementation flowchart of the above-mentioned obtaining configuration information can include: Figure 4
[0097] Step S401: obtaining the configuration information in the storage unit of the physical keyboard.
[0098] In the present application, the physical keyboard can first search whether the configuration information corresponding to the identity recognition information or the application scenario exists in the storage unit of the physical keyboard according to the identity recognition information or the application scenario.
[0099] Step S402: if the configuration information is not obtained in the storage unit of the physical keyboard, obtaining the configuration information from the electronic device connected with the physical keyboard.
[0100] The physical keyboard can obtain the configuration information from the electronic device connected with the physical keyboard according to the identity recognition information, or the identity information represented by the identity recognition information, or the application scenario.
[0101] That is, if the configuration information is not obtained in the storage unit of the physical keyboard, the configuration information corresponding to the identity information or the application scenario is obtained from the electronic device connected with the physical keyboard according to the identity recognition information or the application scenario.
[0102] Optionally, if the configuration information exists in the storage unit of the physical keyboard, the configuration information in the storage unit of the physical keyboard can be directly used.
[0103] When the configuration information is needed, it is first detected whether the configuration information exists in the storage unit of the physical keyboard. If the configuration information does not exist in the storage unit of the physical keyboard, the configuration information is obtained from the electronic device connected with the physical keyboard.
[0104] Since the memory of the electronic device is usually large, the configuration information under multiple users or multiple application scenarios can be stored in the electronic device, so that the physical keyboard can obtain the configuration information under multiple users or multiple application scenarios, and the intelligence of the physical keyboard is improved.
[0105] In an optional embodiment, in the case of a physical keyboard, the process of outputting the sound corresponding to the target object in response to the first operation of detecting the target key of the keyboard can be implemented by the physical keyboard, and can specifically include:
[0106] The physical keyboard detects the first operation of the target key of the physical keyboard; and the physical keyboard outputs the sound corresponding to the target object in response to the first operation.
[0107] In the embodiments of the present application, if the keyboard is a virtual keyboard, the information processing method can be implemented by an electronic device displaying the virtual keyboard.
[0108] If the keyboard is a physical keyboard, the information processing method can be implemented by the physical keyboard.
[0109] The scheme of the present application is illustrated as follows:
[0110] As an example: the keyboard is a physical keyboard, the identity information of user A is a fingerprint, and user A has pre-entered the reference fingerprints of the left-hand index finger (from which the first reference fingerprint feature is extracted and saved) and the right-hand index finger (from which the second reference fingerprint feature is extracted and saved) on the physical keyboard. The corresponding configuration information (for convenience of description and distinction, referred to as the second configuration information) includes:
[0111] The lowercase letters a-z correspond to sound No. 1;
[0112] The capital letters A-Z correspond to sound No. 2;
[0113] The numbers 0-9 correspond to sound No. 3;
[0114] The Enter key corresponds to sound No. 4;
[0115] The space bar corresponds to sound No. 5;
[0116] The punctuation marks correspond to sound No. 6;
[0117] The sound corresponding to other keys or input content is sound No. 7.
[0118] Among them, sound No. 1 to sound No. 7 are the following seven sounds: click, ding, chirp, cuckoo, car bell, ding-ding, lock sound, etc.
[0119] The fingerprint collection devices are respectively arranged at the F key and the J key.
[0120] In the present example, the information processing method is implemented by the physical keyboard, which can include:
[0121] When the physical keyboard detects that the F key and / or the J key is operated, the fingerprint collection device is woken up, and after the fingerprint collection device collects the fingerprints at the F key and / or the J key, the features of each collected fingerprint are matched with the features of the respective reference fingerprints stored in advance. If at least one of the following conditions is met, i.e., the features of the fingerprint collected by the fingerprint collection device at the F key (referred to as the first fingerprint for ease of description and differentiation) match the features of a reference fingerprint (referred to as the first reference fingerprint for ease of description and differentiation), and the features of the fingerprint collected by the fingerprint collection device at the J key (referred to as the second fingerprint for ease of description and differentiation) match the features of a reference fingerprint (referred to as the second reference fingerprint for ease of description and differentiation), the first reference fingerprint or the second reference fingerprint is used to search for configuration information in the storage unit of the physical keyboard. If the second configuration information exists in the storage unit of the physical keyboard, the step of detecting the operation of each key of the physical keyboard is entered. If the second configuration information does not exist in the storage unit of the physical keyboard, a configuration information query request is sent to the electronic device connected to the physical keyboard, and the configuration information query request carries the first reference fingerprint and / or the second reference fingerprint. After the electronic device receives the configuration information query request and finds the second configuration information in the electronic device according to the first reference fingerprint and / or the second reference fingerprint, the second configuration information is sent to the physical keyboard. After the physical keyboard receives the second configuration information sent by the electronic device, the step of detecting the operation of each key of the physical keyboard is entered.
[0122] After the physical keyboard detects the operation on the target key, the physical keyboard outputs a sound corresponding to the target key according to the second configuration information in response to the operation on the target key, or outputs a sound corresponding to the input content of the target key. Specifically,
[0123] If the target key is a key corresponding to a letter a-z, and the input content of the target key is a lowercase letter, a first sound, i.e., a click sound, is played.
[0124] If the target key is a key corresponding to a letter a-z, and the input content of the target key is an uppercase letter, a second sound, i.e., a ding sound, is played.
[0125] If the target key is a key corresponding to a number 0-9, and the input content of the target key is a number, a third sound, i.e., a chirp sound, is played.
[0126] If the target key is an Enter key, a fourth sound, i.e., a cuckoo sound, is played.
[0127] If the target key is a space key, a fifth sound, i.e., a bell sound, is played.
[0128] If the target key is a key corresponding to a punctuation mark, a 6th sound, i.e. a ding-ding sound, is played.
[0129] If the target key is another key or input content, a 7th sound, i.e. a lock sound, is played.
[0130] As an example, when the other key is operated or the input content is input, the volume of the 7th sound output can be zero, i.e. a sound with zero output volume, so as to reduce the power consumption of the physical keyboard.
[0131] Optionally, the 7th sound corresponding to the other key or input content can be empty, i.e. no sound is output corresponding to the other key or input content, which is equivalent to a sound with zero output volume, so as to further reduce the power consumption of the physical keyboard.
[0132] If the physical keyboard does not detect any operation on any key within a period of time, the fingerprint collection devices at the F key and the J key can be controlled to enter a hibernation or sleep state.
[0133] As an example, in the above configuration information, the 1st sound to the 7th sound can be the following 7 kinds of sounds respectively: a click sound (with a first volume), a ding sound, a click sound (with a second volume, the second volume being greater than the first volume), a cuckoo sound, a car bell sound, a ding-ding sound, a lock sound, and the like.
[0134] Of course, regardless of which example, it is only an example for illustrative purposes, and does not constitute a specific limitation on the scheme of the present application.
[0135] Corresponding to the method embodiment, the present application also provides an information processing device, and a structure diagram of an information processing device provided by the present application is shown in Figure 5 which can include:
[0136] a detection module 501 and an output module 502; wherein,
[0137] The detection module 501 is configured to detect an operation on a target key of a keyboard.
[0138] The output module 502 is configured to output a sound corresponding to a target object in response to the operation; the target object is the target key, or input content corresponding to the target key.
[0139] The different groups of keys in the keyboard correspond to different sounds; and / or the different groups of input content corresponding to the keys of the keyboard correspond to different sounds.
[0140] The information processing apparatus provided in the embodiments of the present application divides the keys in the keyboard or the input content corresponding to the keys into different groups in advance, the keys in different groups correspond to different sounds, and the input content in different groups correspond to different sounds, so that when a user operates the keys in the keyboard, the sound corresponding to the operated key or the input content corresponding to the key is output, and the user can determine whether the key operation is correct according to the sound, helping the user to quickly determine whether the input is correct, thereby improving the input efficiency and the input accuracy.
[0141] In an optional embodiment, the output module 502 is configured to:
[0142] output the sound corresponding to the target object according to the configuration information obtained in advance, wherein the configuration information comprises a corresponding relationship between different target objects and sounds.
[0143] In an optional embodiment, the apparatus further comprises an obtaining module configured to:
[0144] obtain identity identification information.
[0145] obtain configuration information corresponding to the identity information represented by the identity identification information, wherein the configuration information corresponding to different identity information is the same or different.
[0146] In an optional embodiment, the keyboard is a physical keyboard, and when the obtaining module obtains the identity identification information, the obtaining module is configured to:
[0147] obtain the identity identification information through a specified key in the physical keyboard.
[0148] In an optional embodiment, the apparatus further comprises an obtaining module configured to:
[0149] determine an application scenario.
[0150] obtain configuration information corresponding to the application scenario, wherein the configuration information corresponding to different application scenario information is the same or different.
[0151] In an optional embodiment, the keyboard is a physical keyboard, and the apparatus further comprises an obtaining module configured to:
[0152] obtain the configuration information in a storage unit of the physical keyboard.
[0153] if the configuration information is not obtained in the storage unit, obtain the configuration information from an electronic device connected to the physical keyboard.
[0154] In an optional embodiment, the keyboard is a physical keyboard, and the detection module 501 and the output module 502 are arranged in the physical keyboard.
[0155] Corresponding to the method embodiments, the present application also provides an electronic device, which can be a display device with a touch screen, or an electronic device linked with a physical keyboard, a structural schematic diagram of which is shown in Figure 6 which can include at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.
[0156] In the embodiments of the present application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete the communication with each other through the communication bus 4.
[0157] The processor 1 can be a central processing unit CPU, or an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement the embodiments of the present application, etc.
[0158] The memory 3 can include a high-speed RAM memory, and can also include a non-volatile memory, etc., such as at least one disk memory.
[0159] The memory 3 stores a program, and the processor 1 can invoke the program stored in the memory 3, and the program is used for:
[0160] detecting an operation on a target key of a keyboard;
[0161] in response to the operation, outputting a sound corresponding to a target object; the target object is the target key, or input content corresponding to the target key;
[0162] wherein the sounds corresponding to different groups of keys in the keyboard are different; and / or the sounds corresponding to different groups of input content in the input content corresponding to the keys of the keyboard are different.
[0163] Optionally, the detailed functions and extended functions of the program can refer to the description above.
[0164] The embodiments of the present application also provide a storage medium, which can store a program suitable for a processor to execute, and the program is used for:
[0165] detecting an operation on a target key of a keyboard;
[0166] in response to the operation, outputting a sound corresponding to a target object; the target object is the target key, or input content corresponding to the target key;
[0167] Different groups of keys in the keyboard correspond to different sounds; and / or, different groups of input contents in the input contents corresponding to the keys of the keyboard correspond to different sounds.
[0168] Optionally, the refinement function and the extension function of the program can refer to the above description.
[0169] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0170] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0171] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0172] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically independently, or two or more units can be integrated into one unit.
[0173] It should be understood that the features in the embodiments of the present application, each embodiment, and the features can be combined with each other, and all can achieve the purpose of solving the above technical problems.
[0174] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a cloud storage, a network storage, a magnetic disk or an optical disk, and various media that can store program codes.
[0175] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An information processing method, comprising: detecting an operation on a target key of a keyboard; in response to the operation, outputting a sound corresponding to a target object; the target object is the target key, or input content corresponding to the target key; wherein different groups of keys of the keyboard correspond to different sounds; and / or different groups of input content corresponding to the keys of the keyboard correspond to different sounds; wherein the outputting a sound corresponding to a target object comprises: outputting a sound corresponding to a target object according to pre-obtained configuration information, the configuration information comprising a correspondence between different target objects and sounds; wherein the process of obtaining configuration information comprises: obtaining identity identification information; obtaining configuration information corresponding to identity information represented by the identity identification information, different identity information corresponding to the same or different configuration information.
2. The method of claim 1, wherein the keyboard is a physical keyboard, and the obtaining identity identification information comprises: obtaining identity identification information through a designated key of the physical keyboard.
3. The method of any one of claims 1 or 2, wherein the keyboard is a physical keyboard, and the process of obtaining configuration information comprises: obtaining the configuration information in a storage unit of the physical keyboard; if the configuration information is not obtained in the storage unit, obtaining the configuration information from an electronic device connected to the physical keyboard.
4. The method of claim 1, the keyboard being a physical keyboard, the detecting of the operation on the target key of the keyboard. The outputting a sound corresponding to a target object in response to the operation comprises: the physical keyboard detecting an operation on the target key; in response to the operation, outputting a sound corresponding to a target object.
5. An information processing apparatus, comprising: a detection module configured to detect an operation on a target key of a keyboard; an output module configured to output a sound corresponding to a target object in response to the operation; the target object is the target key, or input content corresponding to the target key; wherein different groups of keys of the keyboard correspond to different sounds; and / or different groups of input content corresponding to the keys of the keyboard correspond to different sounds; wherein the outputting a sound corresponding to a target object comprises: outputting a sound corresponding to a target object according to pre-obtained configuration information, the configuration information comprising a correspondence between different target objects and sounds; wherein the process of obtaining configuration information comprises: obtaining identity identification information; obtaining configuration information corresponding to identity information represented by the identity identification information, different identity information corresponding to the same or different configuration information.
6. An electronic device, comprising: a memory configured to store a program; a processor configured to invoke and execute the program in the memory, and implement each step of the information processing method of any one of claims 1-4 by executing the program.
7. A readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement each step of the information processing method of any one of claims 1-4.
Citation Information
Patent Citations
System and method for using sound to differentiate keypresses
CN102187301A
Mobile terminal control method and mobile terminal
CN107426249A