Input control method and electronic device
By forming an input area on the tablet support surface and using a vibrator to simulate the keyboard input experience, the problem of the tablet requiring an external keyboard is solved, and portability and user input experience are improved.
Patent Information
- Application Number
- CN202110873679.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-30
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2041-07-30
AI Technical Summary
When using a tablet as a notebook, an external keyboard is required to perform input operations, which lacks portability and user input experience.
An input area is formed on the support surface of the tablet, and a vibrator is used to simulate the keyboard input experience. The vibration parameters are related to the position information of the input operation, including the vibration amplitude and vibration time of the vibrator, which are related to the material type and distance of the support surface.
It can provide vibration input feeling without an external keyboard, simulating the input experience of an external keyboard and improving the user input experience.
Smart Images

Figure CN113535008B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of input and output technology, and in particular to an input control method and electronic equipment. Background Art
[0002] Currently, when a tablet is used as a notebook, an external keyboard needs to be connected to the tablet. Summary of the Invention
[0003] In view of this, the present application provides an input control method and an electronic device as follows:
[0004] An input control method, comprising:
[0005] Obtaining an input operation of an operating body on an input area corresponding to an electronic device, wherein the input area is located on a support surface supporting the electronic device;
[0006] In response to the input operation meeting the input control condition, at least one vibrator is controlled to vibrate; a vibration parameter of the vibrator is at least related to the position information of the input operation.
[0007] In the above method, preferably, the vibration parameters include the starting amplitude and / or starting time of the vibrator, the starting amplitude is related to the material type of the supporting surface, and the starting time is related to the distance between the input operation and the vibrator, so that the vibration condition is met when the oscillation signal output by the vibrator is propagated to the location where the input operation is located.
[0008] In the above method, preferably, the at least one vibrator includes: a first vibrator;
[0009] The vibration parameters include at least a first oscillation amplitude of the first vibrator, and the first oscillation amplitude is at least related to a first propagation distance and a material type of the support surface where the input area is located. The first propagation distance is the distance between the position where the input operation is located and the first vibrator, so that the signal vibration amplitude of the first oscillation signal output by the first vibrator when it is propagated to the position where the input operation is located is greater than or equal to a first amplitude threshold.
[0010] In the above method, preferably, the first starting amplitude is obtained by:
[0011] Obtaining, according to the material type of the support surface where the input area is located, a signal propagation rate and an amplitude attenuation parameter of an oscillation signal propagated on the support surface where the input area is located;
[0012] Obtaining the first starting amplitude based on at least the signal propagation rate, the first amplitude threshold, the amplitude attenuation parameter, and the first propagation distance;
[0013] Alternatively, the first starting amplitude is obtained by:
[0014] Obtaining, according to the material type of the support surface where the input area is located, an amplitude attenuation parameter of the oscillation signal propagated by the support surface where the input area is located;
[0015] The first starting amplitude is obtained at least according to the first amplitude threshold, the amplitude attenuation parameter and the first propagation distance.
[0016] In the above method, preferably, the at least two vibrators on the electronic device include: a first vibrator and a second vibrator;
[0017] The vibration parameters include at least a first oscillation start time of the first vibrator and a second oscillation start time of the second vibrator;
[0018] The time difference between the first oscillation start-up moment and the second oscillation start-up moment corresponds to a distance difference, and the distance difference is the distance difference between a first propagation distance and a second propagation distance. The first propagation distance is the distance between the position where the input operation is located and the first vibrator, and the second propagation distance is the distance between the position where the input operation is located and the second vibrator, so that the first oscillation signal output by the first vibrator and the second oscillation signal output by the second vibrator form a signal reinforcement point at the position where the input operation is located.
[0019] In the above method, preferably, the vibration parameters further include: a first starting amplitude of the first vibrator and a second starting amplitude of the second vibrator;
[0020] The first starting amplitude is at least related to the first propagation distance and the type of material of the support surface where the input area is located, and the second starting amplitude is at least related to the second propagation distance and the type of material of the support surface where the input area is located. The first propagation distance is the distance between the position where the input operation is located and the first vibrator, and the second propagation distance is the distance between the position where the input operation is located and the second vibrator, so that the signal vibration amplitude of the signal reinforcement point formed by the first oscillation signal output by the first vibrator and the second oscillation signal output by the second vibrator at the position where the input operation is located is greater than or equal to the second amplitude threshold.
[0021] In the above method, preferably, the first starting amplitude and the second starting amplitude are obtained by:
[0022] Obtaining, according to the material type of the support surface where the input area is located, a signal propagation rate and an amplitude attenuation parameter of an oscillation signal propagated on the support surface where the input area is located;
[0023] According to the second amplitude threshold, obtaining a first sub-threshold and a second sub-threshold;
[0024] Obtaining the first starting amplitude according to the signal propagation rate, the first sub-threshold, the amplitude attenuation parameter, and the first propagation distance;
[0025] Obtaining the second starting amplitude according to the signal propagation rate, the second sub-threshold, the amplitude attenuation parameter, and the second propagation distance;
[0026] Alternatively, the first starting amplitude and the second starting amplitude are obtained by:
[0027] Obtaining, according to the material type of the support surface where the input area is located, an amplitude attenuation parameter of the oscillation signal propagated by the support surface where the input area is located;
[0028] According to the second amplitude threshold, obtaining a first sub-threshold and a second sub-threshold;
[0029] Obtaining the first starting amplitude according to the first sub-threshold, the amplitude attenuation parameter, and the first propagation distance;
[0030] The second starting amplitude is obtained according to the second sub-threshold, the amplitude attenuation parameter, and the second propagation distance.
[0031] In the above method, preferably, the input operation complies with the input control condition, including:
[0032] The input recognition result of the input operation indicates that the operator operates at least one input key in the input area;
[0033] The input recognition result of the input operation is obtained in the following manner:
[0034] receiving a second signal wave obtained by the operating body reflecting the first signal wave in the input area, the first signal wave being output from the electronic device to the input area; processing the second signal wave to obtain an input recognition result; the input recognition result including at least a position of the operating body, and when the position of the operating body is consistent with the position of at least one input key in the input area, the input recognition result indicates that the operating body has performed an input operation on at least one input key in the input area;
[0035] Alternatively, the input recognition result of the input operation is obtained by:
[0036] An operation image of the operating body in the input area is collected; and image recognition is performed on at least the operation image to obtain an input recognition result.
[0037] An electronic device, comprising:
[0038] at least one vibrator;
[0039] A processor is configured to obtain an input operation of an operating body in an operating area corresponding to an electronic device, where the input area is located on a support surface supporting the electronic device; in response to the input operation meeting an input control condition, control the vibrator to vibrate; and vibration parameters of the vibrator are at least related to position information of the input operation.
[0040] The above electronic device preferably further includes:
[0041] Projectors, reflectors, transmitters, and receivers;
[0042] Wherein, the projector is used to output projection light;
[0043] The reflective plate is used to reflect the projection light so that the projection light forms the input area on the supporting surface supporting the electronic device;
[0044] The transmitter is configured to output a first signal wave to the input area;
[0045] the receiver being configured to receive a second signal wave obtained by the operating body reflecting the first signal wave in the input area, so that the processor processes the second signal wave to obtain an input recognition result of the input operation; the input recognition result at least including a position of the operating body, and if the position of the operating body is consistent with a position of at least one input key in the input area, the input recognition result indicates that the input operation meets the input control condition;
[0046] And / or, the electronic device further includes:
[0047] The image acquisition device is used to acquire an operation image of the operating body in the input area; and at least perform image recognition on the operation image to obtain an input recognition result.
[0048] It can be seen from the above technical solution that in an input control method and electronic device disclosed in the present application, an input area is formed on the support surface of the electronic device, and then after the input operation of the operating body on the input area is obtained, the vibrator can be controlled to vibrate when the input operation meets the input control conditions, and the vibration parameters of the vibrator are related to the position information of the input operation, so that the operating body can feel the vibration of the vibrator when performing the input operation. Therefore, without connecting an external keyboard to the electronic device, it is also possible to simulate the input experience of an external keyboard by providing the user with a vibration input feeling, thereby achieving the purpose of improving the user input experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] Figure 1 A flowchart of an input control method provided in Example 1 of the present application;
[0051] Figure 2 、 Figure 3 、 Figure 4a 、 Figure 4b 、 Figure 5-Figure 8 They are respectively exemplary diagrams of electronic devices in the embodiments of the present application;
[0052] Figure 9 and Figure 10 They are respectively partial flow charts of an input control method provided in Example 1 of the present application;
[0053] Figure 11 A schematic diagram of the structure of an electronic device provided in Example 2 of the present application;
[0054] Figure 12-14 They are respectively another structural schematic diagram of an electronic device provided in the second embodiment of the present application;
[0055] Figure 15 and Figure 16 They are respectively example diagrams of the embodiments of the present application applicable to a tablet computer. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0057] refer to Figure 1 As shown in FIG, it is a flow chart of an implementation of an input control method provided in the first embodiment of the present application. The method can be applied to electronic devices provided with a vibrator or electronic devices connected to a vibrator, such as mobile phones, pads, notebooks or computers. The electronic device can form an input area on its supporting surface, such as Figure 2As shown in , the electronic device can receive input operations performed by a user operating body on the input area and generate corresponding input information, thereby enabling the operating body to control the input of the electronic device. The technical solution in this embodiment is mainly used to simulate the input experience of an external keyboard when the electronic device is not connected to an external keyboard, thereby achieving the purpose of improving the user input experience.
[0058] Specifically, the method in this embodiment may include the following steps:
[0059] Step 101: Obtain the input operation of the operating body on the input area.
[0060] like Figure 2 As shown in , a user can perform input operations in an input area on a supporting surface of an electronic device through an operating body, and then the electronic device obtains the input operations of the operating body through input detection.
[0061] The input operation here can be a single click, multiple clicks or sliding operations.
[0062] In a specific implementation, the electronic device may output a projection light capable of forming an input area through a projector, and reflect the projection light through a reflector, such as Figure 3 As shown in , the projected light forms an input area on the support surface, and the input area can include multiple input keys. For example, the projector can be an infrared projector, thereby forming an infrared virtual keyboard on the desktop where the pad is located through infrared light, and the user can perform input operations on the keyboard.
[0063] Step 102: Determine whether the input operation meets the input control condition. If the input operation meets the input control condition, execute step 103.
[0064] Among them, regardless of whether the input operation meets the input control conditions, the electronic device will continue to obtain the input operation of the operating body on the input area, that is, continue to execute step 101, and for each input operation obtained by the electronic device, step 102 is executed. Only when the input operation meets the input control conditions, the electronic device executes step 103. When the input operation does not meet the input control conditions, the electronic device does not execute step 103.
[0065] Specifically, the input operation meeting the input control condition can be understood as the input position of the operating body, that is, the position information of the input operation, matching the valid input position in the input area.
[0066] For example, the input recognition result of the input operation represents that the operating body operates at least one input key in the input area. At this time, the input position of the operating body is the key area position of the input key, that is, the position information of the input operation is consistent with the key area position of the input key.
[0067] Specifically, the input recognition result of the input operation can be obtained in the following ways:
[0068] During the process of the operating body performing an input operation, the electronic device, in addition to obtaining the input operation, also receives a second signal wave obtained by the operating body reflecting the first signal wave in the input area. The first signal wave is output from the electronic device to the input area on the supporting surface. Then, after being reflected by the operating body, the electronic device processes the reflected second signal wave to obtain an input recognition result. At this time, the input recognition result at least includes the position of the operating body, that is, the input position of the operating body in the previous text. Based on this, when the position of the operating body is consistent with the position of at least one input key in the input area, the input recognition result represents that the operating body performs an input operation on the input key in the input area.
[0069] The first signal wave can be outputted to the input area by a transmitter on the electronic device, such as an infrared transmitter, etc. The receiver on the electronic device receives the second signal wave, such as Figure 4a As shown in , the processor in the electronic device processes the second signal wave to obtain an input recognition result of the input operation.
[0070] Taking the infrared virtual keyboard formed by the pad on the desktop as an example, the user's finger performs input operations such as tapping or sliding on the infrared virtual keyboard. If the user's finger taps an input key on the infrared virtual keyboard, or the user's finger slides over one or more input keys in the infrared virtual keyboard, then it can be determined that the input operation of the user's finger meets the input control conditions.
[0071] Alternatively, the input recognition result of the input operation can be obtained by:
[0072] During the input operation of the operator, the electronic device not only obtains the input operation, but also collects the operation image of the operator in the input area, such as Figure 4b As shown in , an operation image is captured by an image capture device such as a camera, and then the operation image is processed by image recognition and the like to obtain an input recognition result. At this time, the input recognition result at least includes the position of the operating body, that is, the input position of the operating body in the previous text. Based on this, when the position of the operating body is consistent with the position of at least one input key in the input area, the input recognition result represents that the operating body performs an input operation on the input key in the input area.
[0073] Step 103: Control at least one vibrator to vibrate.
[0074] Among them, the vibration parameters of the vibrator are at least related to the position information of the input operation, so that the oscillation signal of the vibrator is at least transmitted to the position where the input operation is located, that is, the position where the operating body is located. As a result, the operating body can feel the vibration brought by the oscillation signal, thereby simulating the input experience of tapping an external keyboard for the operating body.
[0075] Specifically, the vibrator can be a component built into the electronic device, or can be a component detachably connected to the electronic device. There can be one or more vibrators.
[0076] In the case of one vibrator, there is one oscillation signal, which is transmitted from the location of the vibrator to the location of the input operation, that is, the location where the operating body performs the input operation on the input area, that is, the location of the input key that is tapped or slid, such as Figure 5 As shown in , the operating body at this position can feel the vibration caused by the oscillation signal;
[0077] In the case of multiple vibrators, there are multiple oscillation signals, which are respectively propagated from the locations of the corresponding vibrators to the locations where the input operation is performed, such as Figure 6 As shown, multiple oscillation signals are synthesized to form an enhanced wave, and the operating object at this position can feel the vibration brought by the oscillation signal.
[0078] It can be seen from the above scheme that in an input control method provided in Example 1 of the present application, an input area is formed on the support surface of the electronic device, and then after the input operation of the operating body on the input area is obtained, the vibrator can be controlled to vibrate when the input operation meets the input control conditions, and the vibration parameters of the vibrator are related to the position information of the input operation, so that the operating body can feel the vibration of the vibrator when performing the input operation. Therefore, without connecting an external keyboard to the electronic device, it is also possible to simulate the input experience of the external keyboard by providing the user with a vibration input feeling, thereby achieving the purpose of improving the user input experience.
[0079] In one implementation, the vibration parameters of the vibrator may include the starting amplitude and / or starting time of the vibrator, and the starting amplitude is related to the material type of the supporting surface, and the starting time is related to the distance between the input operation and the vibrator. That is, the starting amplitude is determined at least based on the material type of the supporting surface, and the starting time is determined at least based on the distance between the input operation and the vibrator, so that the oscillation signal output by the vibrator meets the vibration condition when it is propagated to the location where the input operation is located.
[0080] Among them, when there is only one vibrator, the vibration condition can be: the signal vibration amplitude when the oscillation signal output by the vibrator is transmitted to the position where the input operation is located is greater than or equal to the corresponding amplitude threshold; or, when there are multiple vibrators, the vibration condition can be: the signal vibration amplitude of the signal reinforcement point formed by the oscillation signals output by multiple vibrators at the position where the input operation is located is greater than or equal to the corresponding amplitude threshold.
[0081] Based on this, this embodiment is specifically described below based on several situations with different numbers of vibrators:
[0082] In one implementation, there is one vibrator, which is recorded as the first vibrator. Based on this, the vibration parameters include at least the first starting amplitude of the first vibrator, which refers to the vibration amplitude of the first oscillation signal when the first vibrator generates the first oscillation signal through vibration. The first starting amplitude is at least related to the first propagation distance and the material type of the support surface where the input area is located, wherein the first propagation distance is the distance between the position where the input operation is located and the first vibrator, such as Figure 7 As shown in , that is, the first starting amplitude of the first vibrator is determined based on the material type of the supporting surface and the distance between the input operation location and the first vibrator, so that the signal vibration amplitude of the first oscillation signal output by the first vibrator when it is propagated to the location where the input operation is located is greater than or equal to the first amplitude threshold.
[0083] The first propagation distance can be obtained by capturing an image of the operating body using an image acquisition device and performing image recognition; alternatively, the first propagation distance can be obtained by testing using light reflection principles using a device such as an infrared locator. The first amplitude threshold is the amplitude at which the operating body can sense the first oscillation signal, and the first amplitude threshold can be a preset value.
[0084] In one implementation, the first starting amplitude is obtained by:
[0085] First, based on the material type of the support surface on which the input area is located, the signal propagation rate and amplitude attenuation parameter of the oscillating signal propagating through the support surface on which the input area is located are obtained. Because different material types propagate signals at different rates and have varying degrees of influence on the signal's amplitude attenuation, in this embodiment, the signal propagation rate and amplitude attenuation parameter are determined by the material type of the support surface. The signal propagation rate here refers to the propagation rate of the oscillating signal on the support surface, and its magnitude indicates how quickly the oscillating signal propagates on the support surface. The amplitude attenuation parameter, on the other hand, refers to the reduction in the amplitude of the oscillating signal per unit time during its propagation on the support surface. The amplitude attenuation parameter can be expressed in dB / unit time, and its magnitude indicates the degree to which the amplitude of the oscillating signal is attenuated by the support surface. In a specific implementation, this embodiment can obtain the signal propagation rate and amplitude attenuation parameter corresponding to the material type of the support surface by querying the corresponding relationship between material type, propagation rate, and amplitude attenuation.
[0086] Afterwards, in this embodiment, a first starting amplitude is obtained based on at least the signal propagation rate, the first amplitude threshold, the amplitude attenuation parameter, and the first propagation distance.
[0087] Specifically, in this embodiment, the propagation time of the first oscillation signal from the position of the first vibrator on the support surface to the position where the input operation is located is first calculated based on the signal propagation rate and the first propagation distance. Then, according to the value of the amplitude attenuation parameter that is reduced per unit time, the amplitude attenuation caused by the support surface to the first oscillation signal during the propagation time is calculated. The amplitude attenuation is then added to the first amplitude threshold to obtain the first starting amplitude, that is, the starting amplitude that enables the amplitude of the first oscillation signal to reach the first amplitude threshold when it is propagated to the position where the input operation is located.
[0088] For example, the first starting amplitude is a value obtained by multiplying the propagation time by the value reduced per unit time in the amplitude attenuation parameter, and adding the value to the first amplitude threshold.
[0089] In another implementation, the first starting amplitude is obtained by:
[0090] First, based on the material type of the support surface where the input area is located, the amplitude attenuation parameter of the oscillation signal propagated by the support surface where the input area is located is obtained. Since different material types have different degrees of influence on the attenuation of the amplitude of the signal, the amplitude attenuation parameter in this embodiment is also determined by the material type of the support surface. The amplitude attenuation parameter refers to the value by which the amplitude (vibration amplitude) of the oscillation signal is reduced per unit distance during the propagation of the oscillation signal on the support surface. The amplitude attenuation parameter can be expressed in dB / unit distance, and its size characterizes the degree to which the amplitude of the oscillation signal is attenuated by the support surface. In a specific implementation, this embodiment can obtain the amplitude attenuation parameter corresponding to the material type of the support surface by querying the correspondence between the material type and the amplitude attenuation.
[0091] Afterwards, in this embodiment, a first starting amplitude is obtained based on at least the first amplitude threshold, the amplitude attenuation parameter, and the first propagation distance.
[0092] Specifically, in this embodiment, the amplitude attenuation caused by the support surface to the first oscillation signal at the first propagation distance is calculated according to the value of the amplitude attenuation parameter that is reduced per unit distance. Then, the amplitude attenuation is added to the first amplitude threshold to obtain the first starting amplitude, that is, the starting amplitude that enables the amplitude of the first oscillation signal to reach the first amplitude threshold when it is propagated to the location where the input operation is located.
[0093] For example, the first starting amplitude is a value obtained by multiplying the first propagation distance by the value reduced per unit distance in the amplitude attenuation parameter, and adding the value to the first amplitude threshold.
[0094] In another implementation, there are multiple vibrators, designated as a first vibrator and a second vibrator. In this implementation, the vibration parameters include at least a first oscillation start time of the first vibrator and a second oscillation start time of the second vibrator. The first oscillation start time refers to the time when the first vibrator begins vibrating to generate and output a first oscillation signal, and the second oscillation start time refers to the time when the second vibrator begins vibrating to generate and output a second oscillation signal.
[0095] Among them, the time difference between the first oscillation start moment and the second oscillation start moment corresponds to the distance difference, and the distance difference is the distance difference between the first propagation distance and the second propagation distance. The first propagation distance is the distance between the position where the input operation is located and the first vibrator, and the second propagation distance is the distance between the position where the input operation is located and the second vibrator, so that the first oscillation signal output by the first vibrator and the second oscillation signal output by the second vibrator form a signal reinforcement point at the position where the input operation is located.
[0096] The first and second oscillating signals each determine their respective starting times based on a time difference and begin vibrating. For example, the first oscillating signal begins vibrating at time 0, and the second oscillating signal begins vibrating after a delay equal to the time difference. Alternatively, the second oscillating signal begins vibrating at time 0, and the first oscillating signal begins vibrating after a delay equal to the time difference. The time difference is determined based on the distance difference between the two vibrators and the location where the input operation is performed, ensuring that the two oscillating signals form a reinforced wave, and that the reinforced wave forms a signal reinforcement point at the location where the input operation is performed, thereby enhancing the vibration sensed by the operating body at the location where the input operation is performed.
[0097] Specifically, the first propagation distance and the second propagation distance can be obtained by capturing an image of the operating object using an image acquisition device and performing image recognition. Alternatively, the first propagation distance and the second propagation distance can be obtained by testing using light reflection principles using a device such as an infrared locator. Based on this, the two propagation distances are subtracted to obtain a distance difference. Accordingly, the distance difference is divided by the signal propagation rate of the oscillation signal propagating on the support surface to obtain a time difference. As a result, the first vibrator and the second vibrator oscillate according to the time difference, so that the first oscillation signal and the second oscillation signal form a signal reinforcement point at the location where the input operation is performed.
[0098] Based on the above implementation, the vibration parameters may further include: a first starting amplitude of the first vibrator and a second starting amplitude of the second vibrator. The first starting amplitude is at least related to the first propagation distance and the type of material of the support surface where the input area is located, and the second starting amplitude is at least related to the second propagation distance and the type of material of the support surface where the input area is located, such as Figure 8 As shown in , the signal vibration amplitude of the signal strengthening point formed by the first oscillation signal output by the first vibrator and the second oscillation signal output by the second vibrator at the position where the input operation is performed is greater than or equal to the second amplitude threshold.
[0099] The second amplitude threshold is an amplitude that enables the operating body to feel the first oscillation signal and the second oscillation signal, and the second amplitude threshold may be a preset value.
[0100] In one implementation, the first starting amplitude and the second starting amplitude are obtained by: Figure 9 As shown in:
[0101] Step 901: According to the material type of the support surface where the input area is located, obtain the signal propagation rate and amplitude attenuation parameter of the oscillation signal propagated on the support surface where the input area is located.
[0102] Among them, because different material types have different signal propagation rates and different degrees of influence on the attenuation of the signal amplitude, the signal propagation rate in this embodiment is determined by the material type of the support surface, and the amplitude attenuation parameter is also determined by the material type of the support surface. The signal propagation rate here refers to the propagation rate of the oscillating signal on the support surface, and the magnitude of the signal propagation rate represents the speed of the oscillating signal propagating on the support surface. The amplitude attenuation parameter refers to the value by which the amplitude of the oscillating signal is reduced per unit time during the propagation of the oscillating signal on the support surface. The amplitude attenuation parameter can be expressed in dB / unit time, and its magnitude represents the degree to which the amplitude of the oscillating signal is attenuated by the support surface. In specific implementation, this embodiment can obtain the signal propagation rate and amplitude attenuation parameter corresponding to the material type of the support surface by querying the correspondence between the material type, the propagation rate, and the amplitude attenuation.
[0103] Step 902: Obtain a first sub-threshold and a second sub-threshold according to the second amplitude threshold.
[0104] Specifically, in this embodiment, the second amplitude threshold can be divided into two parts, namely the first sub-threshold and the second sub-threshold. For example, the second amplitude threshold of 10 is divided into two values, and the first sub-threshold of 5 and the second sub-threshold of 5 are obtained. For another example, the second amplitude threshold is divided into two values unequally, and the first sub-threshold of 3 and the second sub-threshold of 7 are obtained. The way of dividing the second amplitude threshold can be set according to needs, such as based on the need for minimum vibration power consumption, etc. The first sub-threshold corresponds to the first oscillation signal, and the second sub-threshold corresponds to the second oscillation signal, to characterize: the vibration amplitude of the first oscillation signal when it is propagated to the location where the input operation is located needs to reach the first sub-threshold, and the vibration amplitude of the second oscillation signal when it is propagated to the location where the input operation is located needs to reach the second sub-threshold. Thus, the vibration amplitude of the signal reinforcement point formed by the first oscillation signal and the second oscillation signal at the location where the input operation is located can reach the second amplitude threshold.
[0105] It should be noted that the execution order between step 901 and step 902 is not limited to the order shown in the accompanying drawings, and different technical solutions resulting from different execution orders of step 901 and step 902 are all within the scope of protection of this application.
[0106] Step 903: Obtain a first starting amplitude according to the signal propagation rate, the first sub-threshold, the amplitude attenuation parameter, and the first propagation distance.
[0107] Specifically, in this embodiment, the propagation time of the first oscillation signal from the position of the first vibrator on the support surface to the position where the input operation is located is first calculated based on the signal propagation rate and the first propagation distance. Then, according to the value of the amplitude attenuation parameter that is reduced per unit time, the amplitude attenuation caused by the support surface to the first oscillation signal during the propagation time is calculated. Then, the amplitude attenuation is added to the first sub-threshold to obtain the first starting amplitude, that is, the starting amplitude that enables the amplitude of the first oscillation signal to reach the first sub-threshold when it is propagated to the position where the input operation is located.
[0108] For example, the first oscillation amplitude is a value obtained by multiplying the propagation time by the value of the amplitude attenuation parameter that is reduced per unit time, and then adding the first sub-threshold.
[0109] Step 904: Obtain a second starting amplitude according to the signal propagation rate, the second sub-threshold, the amplitude attenuation parameter, and the second propagation distance.
[0110] Specifically, in this embodiment, the propagation time of the second oscillation signal from the position of the second vibrator on the supporting surface to the position where the input operation is located is first calculated based on the signal propagation rate and the second propagation distance. Then, according to the value of the amplitude attenuation parameter that is reduced per unit time, the amplitude attenuation caused by the supporting surface to the second oscillation signal during the propagation time is calculated. The amplitude attenuation is then added to the second sub-threshold to obtain the second starting amplitude, that is, the starting amplitude that enables the amplitude of the second oscillation signal to reach the second sub-threshold when it is propagated to the position where the input operation is located.
[0111] For example, the second onset amplitude is a value obtained by multiplying the propagation time by the value of the amplitude attenuation parameter that is reduced per unit time, and then adding the second sub-threshold.
[0112] It should be noted that the execution order between step 903 and step 904 is not limited to the order shown in the accompanying drawings, and different technical solutions resulting from different execution orders of step 903 and step 904 are all within the scope of protection of this application.
[0113] In another implementation, the first starting amplitude and the second starting amplitude are obtained by: Figure 10 As shown in:
[0114] Step 1001: Obtain an amplitude attenuation parameter of an oscillation signal propagating through the support surface where the input area is located, based on the material type of the support surface where the input area is located.
[0115] The method for obtaining the amplitude attenuation parameter may refer to the content shown in the previous article.
[0116] Step 1002: Obtain a first sub-threshold and a second sub-threshold according to the second amplitude threshold.
[0117] The division method of the first sub-threshold and the second sub-threshold may refer to the content shown in the previous text.
[0118] It should be noted that the execution order between step 1001 and step 1002 is not limited to the order shown in the accompanying drawings, and different technical solutions resulting from different execution orders of step 1001 and step 1002 are all within the scope of protection of this application.
[0119] Step 1003: Obtain a first starting amplitude according to the first sub-threshold, the amplitude attenuation parameter, and the first propagation distance.
[0120] Specifically, in this embodiment, the amplitude attenuation caused by the support surface to the first oscillation signal at the first propagation distance is calculated according to the value of the amplitude attenuation parameter that is reduced per unit distance. Then, the amplitude attenuation is added to the first sub-threshold to obtain the first starting amplitude, that is, the starting amplitude that enables the amplitude of the first oscillation signal to reach the first sub-threshold when it is propagated to the location where the input operation is located.
[0121] For example, the first starting amplitude is a value obtained by multiplying the first propagation distance by the value reduced per unit distance in the amplitude attenuation parameter, and adding the value to the first sub-threshold.
[0122] Step 1004: Obtain a first starting amplitude according to the second sub-threshold, the amplitude attenuation parameter, and the second propagation distance.
[0123] Specifically, in this embodiment, the amplitude attenuation caused by the support surface to the second oscillation signal at the second propagation distance is calculated according to the value reduced per unit distance in the amplitude attenuation parameter. Then, the amplitude attenuation is added to the second sub-threshold to obtain the second starting amplitude, that is, the starting amplitude that enables the amplitude of the second oscillation signal to reach the second sub-threshold when it is propagated to the location where the input operation is located.
[0124] For example, the second starting amplitude is a value obtained by multiplying the second propagation distance by the value reduced per unit distance in the amplitude attenuation parameter, and adding the value to the second sub-threshold.
[0125] The execution order between step 1003 and step 1004 is not limited to the order shown in the accompanying drawings, and different technical solutions generated by different execution orders of step 1003 and step 1004 are all within the protection scope of this application.
[0126] It should be noted that, in this embodiment, the material type of the support surface where the input area is located can be obtained by capturing an image of the support surface where the input area is located and performing image recognition. Image capture can be achieved by a camera on an electronic device.
[0127] refer to Figure 11 , is a structural diagram of an electronic device provided in Example 2 of the present application, wherein the electronic device is provided with a vibrator or is connected to a vibrator, such as a mobile phone, pad, notebook or computer. The electronic device can form an input area on its supporting surface, such as Figure 2 As shown in , the electronic device can receive input operations performed by a user operating body on the input area and generate corresponding input information, thereby enabling the operating body to control the input of the electronic device. The technical solution in this embodiment is mainly used to simulate the input experience of an external keyboard when the electronic device is not connected to an external keyboard, thereby achieving the purpose of improving the user input experience.
[0128] Specifically, the electronic device in this embodiment may include the following structure:
[0129] at least one vibrator 1101;
[0130] Processor 1102 is used to obtain an input operation of an operating body in an operating area corresponding to an electronic device, where the input area is located on a support surface supporting the electronic device; in response to the input operation meeting an input control condition, control a vibrator to vibrate; and vibration parameters of the vibrator are at least related to position information of the input operation.
[0131] In a specific implementation, the vibrator 1101 may be one, such as Figure 11 Alternatively, the vibrator 1101 may be multiple, such as Figure 12 In different solutions formed based on different numbers of vibrators 1101, the processor 1102 controls the vibrators 1101 in a corresponding manner. For specific implementation solutions, please refer to the corresponding content above and will not be described in detail here.
[0132] Of course, the electronic device may also include other structures, such as a display, a touch screen, and a bracket.
[0133] It can be seen from the above technical solution that in the electronic device provided in the second embodiment of the present application, an input area is formed on the supporting surface of the electronic device, and then after the input operation of the operating body on the input area is obtained, the vibrator can be controlled to vibrate when the input operation meets the input control conditions, and the vibration parameters of the vibrator are related to the position information of the input operation, so that the operating body can feel the vibration of the vibrator when performing the input operation. Therefore, without connecting an external keyboard to the electronic device, it is also possible to simulate the input experience of the external keyboard by providing the user with a vibration input feeling, thereby achieving the purpose of improving the user input experience.
[0134] In one implementation, the electronic device may further include the following structure: Figure 13 As shown in:
[0135] Projector 1103, reflector 1104, transmitter 1105 and receiver 1106;
[0136] The projector 1103 is used to output projection light;
[0137] The reflector 1104 is used to reflect the projected light so that the projected light forms an input area on the supporting surface supporting the electronic device;
[0138] The transmitter 1105 is configured to output a first signal wave to the input area;
[0139] Receiver 1106 is configured to receive a second signal wave resulting from the reflection of the first signal wave by the operating body in the input area, so that processor 1102 processes the second signal wave to obtain an input recognition result of the input operation; the input recognition result includes at least the position of the operating body. When the position of the operating body is consistent with the position of at least one input key in the input area, the input recognition result indicates that the input operation meets the input control condition. Based on this, when the output recognition result indicates that the input operation meets the input control condition, processor 1102 controls vibrator 1101 to vibrate so that the vibrator's oscillation signal is at least propagated to the position of the input operation, i.e., the position of the operating body. As a result, the operating body can feel the vibration caused by the oscillation signal, thereby simulating the input experience of tapping an external keyboard for the operating body.
[0140] In one implementation, the electronic device may further include the following structure: Figure 14 As shown in:
[0141] Projector 1103, reflector 1104 and image acquisition device 1107;
[0142] The projector 1103 is used to output projection light;
[0143] The reflector 1104 is used to reflect the projected light so that the projected light forms an input area on the support surface supporting the electronic device;
[0144] The image acquisition device 1107, such as a camera, is used to acquire an operation image of the operating body in the input area; and at least perform image recognition on the operation image to obtain an input recognition result.
[0145] Take the infrared virtual keyboard formed by a tablet computer or pad on the desktop as an example. Figure 15 As shown in the figure, a projector, a reflector, and a camera are set on the top of the pad, vibrators are set on both sides of the bottom of the pad, and an infrared transmitter and an infrared receiver are set in the middle of the bottom, where:
[0146] The projector's light beam passes through the reflector, projecting a keyboard or touchpad pattern onto the desktop. The reflector's primary function is to reflect the projected light. Furthermore, for aesthetic reasons, the reflector is foldable for easy storage. The angle of the reflector can be easily fixed and maintained.
[0147] The camera mainly collects the user's actions on the desktop.
[0148] Infrared transmitter / receiver: When the user's hand blocks the infrared light, the receiver receives the signal generated by the blockage. This signal can be used to further design feedback, such as determining the position of the user's finger in the keyboard area to identify whether an input key is pressed.
[0149] The vibrator can be single or arranged in an array and is used for vibration feedback of the user's hand touch.
[0150] Figure 15 The projection area shown in the figure is the visible pattern produced by the projector, which is located on the desktop and includes the keys and touch icons in the keyboard area. The angle of the tablet stand can be locked and maintained.
[0151] Combine Figure 16 As shown in the top view, in this embodiment, two or more vibrators can be set according to the superposition principle of mechanical waves to enhance the vibration feedback provided to the user's fingers.
[0152] The following example illustrates a dual vibrator implementation scheme, vibrator A and vibrator B:
[0153] First, through the waveform interference of the dual vibrators, when different keys are pressed, the superimposed reinforced waves can give the user's fingers the maximum vibration feeling.
[0154] Secondly, since each key is located in a different position, the time difference between the two vibrators' vibrations (i.e., the time difference between the start-up times mentioned above) is used to calculate the different vibration behaviors of each vibrator in its respective direction. This includes the vibrator's start-up amplitude and time difference.
[0155] In a specific implementation, a driving circuit can be set in the tablet computer to accurately control the start-up time difference between vibrator A and vibrator B. Figure 15 As shown in , r1 is the distance between vibrator B and the user's finger, r1+r2 is the distance between vibrator A and the user's finger, and r2 is the distance difference. The start-up time difference t can be obtained by dividing r2 by v, where v is the propagation rate of the mechanical wave on the desktop. Therefore, the obtained t is the start-up time difference of the two vibrators. Based on this, when the user's finger inputs each key, the tablet computer can calculate an optimal vibration time difference, thereby allowing the two vibrators to provide the maximum vibration feeling for the finger on each key.
[0156] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0157] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0158] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0159] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An input control method, comprising: Obtaining an input operation of an operating body on an input area corresponding to an electronic device, the input area being located on a support surface supporting the electronic device; wherein the electronic device outputs projection light capable of forming the input area through a projector, and reflects the projection light through a reflective plate so that the projection light forms the input area on the support surface of the electronic device; receiving a second signal wave obtained by the operating body reflecting the first signal wave in the input area, so that the electronic device processes the second signal wave to obtain an input recognition result of the input operation; the input recognition result at least includes a position of the operating body, and when the position of the operating body is consistent with the position of at least one input key in the input area, the input recognition result indicates that the input operation meets the input control condition; In response to the input operation meeting the input control condition, vibration parameters of the first vibrator and the second vibrator are determined based on the material type of the support surface where the input area is located and the location information of the input operation; the vibration parameters include a first starting amplitude of the first vibrator and a second starting amplitude of the second vibrator, the first starting amplitude and the second starting amplitude being such that a signal vibration amplitude of a signal reinforcement point formed by a first oscillation signal output by the first vibrator and a second oscillation signal output by the second vibrator at the location where the input operation is located is greater than or equal to a second amplitude threshold; The first starting amplitude and the second starting amplitude are obtained by: Obtaining, according to the material type of the support surface where the input area is located, an amplitude attenuation parameter of the oscillation signal propagated by the support surface where the input area is located; obtaining the first starting amplitude according to the distance between the first vibrator and the position where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter; The second starting amplitude is obtained according to the distance between the second vibrator and the position where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter.
2. The method according to claim 1, wherein the vibration parameters further include a starting time of the vibrator, and the starting time is related to the distance between the input operation and the vibrator, so that the vibration condition is met when the oscillation signal output by the vibrator is propagated to the location where the input operation is located.
3. The method according to claim 1 , wherein obtaining the first starting amplitude according to the distance between the first vibrator and the location where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter comprises: Obtaining, based on a material type of a support surface where the input area is located, a signal propagation rate of an oscillation signal propagated on the support surface where the input area is located; According to the second amplitude threshold, obtaining a first sub-threshold and a second sub-threshold; obtaining the first starting amplitude according to the distance between the first vibrator and the position where the input operation occurs, the signal propagation rate, the first sub-threshold, and the amplitude attenuation parameter; The obtaining the second starting amplitude according to the distance between the second vibrator and the position where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter includes: obtaining the second starting amplitude according to the distance between the second vibrator and the position where the input operation occurs, the signal propagation rate, the second sub-threshold, and the amplitude attenuation parameter; Alternatively, obtaining the first starting amplitude according to the distance between the first vibrator and the location where the input operation occurs, the second amplitude threshold, and the amplitude attenuation parameter includes: According to the second amplitude threshold, obtaining a first sub-threshold and a second sub-threshold; obtaining the first starting amplitude according to the distance between the first vibrator and the position where the input operation occurs, the first sub-threshold, and the amplitude attenuation parameter; The obtaining the second starting amplitude according to the distance between the second vibrator and the position where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter includes: The second vibration amplitude is obtained according to the distance between the second vibrator and the position where the input operation occurs, the second sub-threshold, and the amplitude attenuation parameter.
4. An electronic device comprising: at least one vibrator; a processor, configured to obtain an input operation of an operating body in an input area corresponding to an electronic device, wherein the input area is located on a support surface supporting the electronic device; In response to the input operation meeting the input control condition, determining vibration parameters of the first vibrator and the second vibrator according to the material type of the support surface where the input area is located and the position information of the input operation; The at least one vibrator on the electronic device includes: a first vibrator and a second vibrator; The vibration parameters include a first starting amplitude of the first vibrator and a second starting amplitude of the second vibrator, wherein the first starting amplitude and the second starting amplitude are such that the signal vibration amplitude of a signal reinforcement point formed by a first oscillation signal output by the first vibrator and a second oscillation signal output by the second vibrator at the position where the input operation occurs is greater than or equal to a second amplitude threshold; The first starting amplitude and the second starting amplitude are obtained by: Obtaining, according to the material type of the support surface where the input area is located, an amplitude attenuation parameter of the oscillation signal propagated by the support surface where the input area is located; obtaining the first starting amplitude according to the distance between the first vibrator and the position where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter; obtaining the second starting amplitude according to the distance between the second vibrator and the position where the input operation is performed, the second amplitude threshold, and the amplitude attenuation parameter; The electronic device further includes: Projectors, reflectors, transmitters, and receivers; Wherein, the projector is used to output projection light; The reflective plate is used to reflect the projection light so that the projection light forms the input area on the supporting surface supporting the electronic device; The transmitter is configured to output a first signal wave to the input area; The receiver is used to receive a second signal wave obtained by the operating body reflecting the first signal wave in the input area, so that the processor processes the second signal wave to obtain an input recognition result of the input operation; the input recognition result at least includes the position of the operating body. When the position of the operating body is consistent with the position of at least one input key in the input area, the input recognition result indicates that the input operation meets the input control condition.
Citation Information
Patent Citations
Virtual keyboard structure of electronic device and data input method thereof
CN101825944A
Touch display panel and touch feedback method thereof
CN104267842A
Systems and methods for a haptically-enabled projected user interface
US20150185841A1