CN113075955A - Electronic device, control method and device thereof, and computer-readable storage medium - Google Patents

Electronic device, control method and device thereof, and computer-readable storage medium Download PDF

Info

Publication number
CN113075955A
CN113075955A CN202010011442.1A CN202010011442A CN113075955A CN 113075955 A CN113075955 A CN 113075955A CN 202010011442 A CN202010011442 A CN 202010011442A CN 113075955 A CN113075955 A CN 113075955A
Authority
CN
China
Prior art keywords
sensor
touch signal
touch
electronic device
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010011442.1A
Other languages
Chinese (zh)
Inventor
陈朝喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010011442.1A priority Critical patent/CN113075955A/en
Publication of CN113075955A publication Critical patent/CN113075955A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides an electronic device, a control method and apparatus thereof, and a computer-readable storage medium. The electronic device includes: the touch control device comprises a shell, a display panel assembled on the shell, a plurality of touch control keys arranged in the shell, a plurality of vibrating pieces and a controller. A controller is coupled to the sensor and the vibrating member, the controller configured to: determining the position of a sensor generating a touch signal; determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position; and controlling the vibration of the vibrating piece according to the tactile feedback information. The electronic equipment can accurately determine the pressed touch key area and give the corresponding feedback vibration to the pressed touch key area, but the whole electronic equipment feeds back the same vibration, so that the user experience and the competitiveness of the electronic equipment are favorably improved.

Description

Electronic device, control method and device thereof, and computer-readable storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to an electronic device, a control method and apparatus thereof, and a computer-readable storage medium.
Background
At present, electronic devices such as mobile phones and tablet computers are developed towards the trend of full-screen, folding screen and non-hole. The non-porous electronic equipment needs to remove the entity keys and meets the key function requirements. Therefore, it is important to research an electronic device that satisfies the key function and tends to be nonporous.
Disclosure of Invention
The present disclosure provides an improved electronic device, a method and apparatus for controlling the same, and a computer-readable storage medium.
One aspect of the present disclosure provides an electronic device, including:
a housing;
a display panel assembled to the housing;
a plurality of touch-control button, locate in the casing, the touch-control button includes: a sensor for detecting a touch signal;
a plurality of vibrating members disposed within the housing; and
a controller disposed within the housing and coupled to the sensor and the vibrating member, the controller configured to: determining a position of a sensor generating the touch signal; determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position; and controlling the vibration of the vibration piece according to the tactile feedback information.
Optionally, the housing includes a back surface opposite to the display panel and a sidewall surrounding a periphery of the display panel, and the touch key is disposed on an inner side of at least one of the back surface and the sidewall.
Optionally, the controller is configured to:
determining coding information corresponding to a sensor generating the touch signal according to the touch signal;
and determining the position of the sensor generating the touch signal according to the coded information corresponding to the sensor generating the touch signal and the mapping relation between the coded information and the position of the sensor.
Optionally, the controller includes a plurality of coded interfaces, the coded interfaces have a first physical address, the coded interfaces are connected to the sensors, and the coded information includes the first physical address.
Optionally, the sensor has a second physical address, the encoded information comprising the second physical address.
Optionally, the controller is configured to:
and determining vibration vector information of the vibrating piece according to the touch signal and the position, wherein the tactile feedback information comprises the vibration vector information.
Optionally, at least one of the vibrators is disposed corresponding to at least one of the sensors, and the controller is configured to: and controlling at least one vibrator corresponding to the sensor to vibrate according to the tactile feedback information.
Optionally, the electronic device further includes a filter for filtering an interference signal in the touch signal.
Optionally, the sensor comprises a pressure sensor for detecting a pressure signal, the touch signal comprising the pressure signal.
Optionally, the sensor further includes a touch sensor corresponding to the pressure sensor, configured to detect a touch signal, where the touch signal further includes the touch signal, and the controller is further configured to: after receiving the pressure signal and the touch signal, determining a position of a sensor generating the touch signal.
Another aspect of the present disclosure provides a control method of an electronic device, for an electronic device, the electronic device including: a housing; a display panel assembled to the housing; a plurality of touch-control button, locate in the casing, the touch-control button includes: a sensor for detecting a touch signal; the vibrating pieces are arranged in the shell; the control method comprises the following steps:
determining a position of a sensor generating the touch signal;
determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position;
and controlling the vibration of the vibration piece according to the tactile feedback information.
Optionally, the determining the position of the sensor generating the touch signal includes:
determining coding information corresponding to a sensor generating the touch signal according to the touch signal;
and determining the position of the sensor generating the touch signal according to the coded information corresponding to the sensor generating the touch signal and the mapping relation between the coded information and the position of the sensor.
Optionally, the electronic device includes a plurality of coded interfaces, each coded interface has a first physical address, the coded interfaces are connected to the sensors, and the coded information includes the first physical addresses.
Optionally, the sensor has a second physical address, the encoded information comprising the second physical address.
Optionally, the determining, according to the touch signal and the position, haptic feedback information corresponding to a sensor generating the touch signal includes:
and determining vibration vector information of the vibrating piece according to the touch signal and the position, wherein the tactile feedback information comprises the vibration vector information.
Optionally, at least one of the vibrators is disposed corresponding to at least one of the sensors, and the controlling the vibrator to vibrate according to the haptic feedback information includes:
and controlling at least one vibrator corresponding to the sensor to vibrate according to the tactile feedback information.
Optionally, before the determining the position of the sensor generating the touch signal, the control method further includes:
and filtering out interference signals in the touch signals.
Optionally, the sensor comprises a pressure sensor for detecting a pressure signal, the touch signal comprising the pressure signal.
Optionally, the sensor further includes a touch sensor corresponding to the pressure sensor, and configured to detect a touch signal, where the touch signal further includes a touch signal, and before the determining the position of the sensor generating the touch signal, the control method further includes:
and receiving the pressure signal and the touch signal.
Another aspect of the present disclosure provides a control apparatus of an electronic device, for an electronic device, the electronic device including: a housing; a display panel assembled to the housing; a plurality of touch-control button, locate in the casing, the touch-control button includes: a sensor for detecting a touch signal; the vibrating pieces are arranged in the shell; the control device includes:
the first determination module is used for determining the position of a sensor generating the touch signal;
the second determining module is used for determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position;
and the control module is used for controlling the vibration of the vibration piece according to the tactile feedback information.
Another aspect of the present disclosure provides a control apparatus of an electronic device, including one or more processors and a memory; the memory stores a program that can be called by the processor; wherein the processor implements any of the above-mentioned control methods when executing the program.
Another aspect of the present disclosure provides a computer-readable storage medium on which a program is stored, the program, when executed by a processor, implementing the control method of any one of the above-mentioned.
The electronic equipment provided by the embodiment of the disclosure has at least the following beneficial effects:
according to the electronic equipment provided by the embodiment of the disclosure, the touch key is arranged in the shell of the non-display panel area, so that a mechanical key can be replaced, and the electronic equipment is favorably made to be nonporous. The position of the sensor generating the touch signal is determined by the controller to accurately determine the area of the touch key that is pressed. The controller determines the touch feedback information corresponding to the sensor generating the touch signal according to the touch signal and the position, and controls the vibration of the vibrating piece according to the touch feedback information, so that the pressed touch key area has corresponding feedback vibration instead of the same vibration fed back by the whole electronic equipment, and the improvement of user experience and competitiveness of the electronic equipment is facilitated.
Drawings
FIG. 1 is a schematic diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating the connection of electronic device components according to an exemplary embodiment of the present disclosure;
FIG. 3 illustrates a partial perspective view of an electronic device according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a method of controlling an electronic device according to an exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram illustrating a control apparatus of an electronic device according to an exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram illustrating a first determination module according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram illustrating a control apparatus of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in the description and claims does not indicate any order, quantity, or importance, but rather is used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. Unless otherwise indicated, the word "comprise" or "comprises", and the like, means that the element or item listed before "comprises" or "comprising" covers the element or item listed after "comprises" or "comprising" and its equivalents, and does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
As used in this disclosure and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
In some embodiments, an electronic device includes a housing, a display panel, and mechanical keys. The display panel is assembled on one surface of the shell, and the mechanical keys are arranged on the side wall of the shell surrounding the display panel. When the mechanical keys are pressed with different pressures or different mechanical keys are pressed, the electronic equipment feeds back with the same vibration, and the user experience is poor.
In order to solve the above problems, the present disclosure provides an electronic device, and a control method and apparatus thereof.
The specific description is as follows:
fig. 1 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. In embodiments of the present disclosure, electronic devices include, but are not limited to: mobile phones, tablet computers, ipads, digital broadcast terminals, messaging devices, game consoles, medical devices, fitness devices, personal digital assistants, smart wearable devices, smart televisions, and the like.
Fig. 2 is a schematic diagram illustrating connection of electronic device components according to an exemplary embodiment of the present disclosure. Referring to fig. 1 and 2 in combination, the electronic device includes: the display device includes a housing 110, a display panel 120, a plurality of touch keys 130, a plurality of vibrating elements 140, and a controller 150.
The housing 110 includes a front surface, and the display panel 120 is assembled to the front surface of the housing 110. The touch keys 130 are disposed in the housing 110. It is understood that the touch key 130 is disposed in the non-display panel area of the housing 110. The housing 110 further includes a rear surface opposite to the display panel 120 and a sidewall surrounding a periphery of the display panel 120. The touch key 130 is disposed on the inner side of at least one of the back surface and the sidewall of the housing 110.
In some embodiments, the touch key 130 is a non-mechanical key, which is advantageous for a non-porous design of the electronic device. In some embodiments, at least one of the back surface and the side wall of the housing 110 is recessed inward to form a groove, the groove cooperates with the outer shell of the housing 110 to form a mounting cavity, and the sensor 131 is disposed in the mounting cavity. Illustratively, the number of mounting cavities is one. Illustratively, the number of the mounting cavities is plural, and the plural mounting cavities are arranged in the housing 110 in a reference manner. The reference form includes regular and irregular forms such as straight lines, broken lines, arc lines and a plurality of parallel lines. Illustratively, the mounting cavity has a regular and irregular structure such as an elongated shape, a circular shape, a square shape, etc., and the disclosure is not limited thereto.
FIG. 3 illustrates a partial perspective view of an electronic device shown in accordance with an exemplary embodiment of the present disclosure. Referring to fig. 3, the housing 110 includes two opposite sidewalls, and a plurality of grooves 111 are respectively formed at inner sides of the two sidewalls, and a sensor 131 is disposed in each groove 111. The touch keys 130 are arranged to replace mechanical keys such as volume increasing and decreasing keys, on-off keys and the like, so that the electronic equipment is favorably realized in a non-porous mode.
In other embodiments, the touch key 130 protrudes outward from the housing 110.
The plurality of sensors 131 are provided in the mounting cavity for detecting the touch signal. The sensor 131 includes: at least one of the pressure sensor 132, the touch sensor 133, and other sensors. The pressure sensor 132 may be a piezoresistive sensor, a ceramic sensor, a piezoelectric sensor, or the like. The pressure sensor 132 is used for detecting a pressure signal, and the touch sensor 133 is used for detecting a touch signal, and accordingly, the touch signal includes but is not limited to: pressure signals and touch signals. The magnitude, direction, acceleration of the pressure, etc. can be determined by the touch signal. The pressing position can be determined by the touch signal. The plurality of sensors 131 may be distributed, or may be integrated on one substrate.
The plurality of vibrating members 140 are disposed in the housing 110, and give a user a touch feedback experience through vibration. In some embodiments, the vibrating member 140 includes a micro-scale vibration motor.
The controller 150 is disposed in the housing 110, and is connected to the sensor 131 and the vibrator 140, and the controller 150 is configured to: determining the position of the sensor 131 generating the touch signal; determining tactile feedback information corresponding to the sensor 131 generating the touch signal according to the touch signal and the position; the vibration of the vibrator 140 is controlled according to the haptic feedback information.
In some embodiments, with continued reference to fig. 2, the controller 150 includes a control chip 151 and a driving chip 152 connected with the control chip 151. The driving chip 152 is connected to the sensor 131 and the vibrating element 140, and the driving chip 152 can receive the touch signal detected by the sensor 131 and directly execute the above method based on the touch signal to accelerate the speed of touch feedback. The control chip 151 is connected to the sensor 131, and the control chip 151 may receive a touch signal detected by the sensor 131, or may receive the touch signal through the driving chip 152, and enable the driving chip 152 to control the vibration of the vibrating element 140. In some embodiments, the driving chip 152 is integrated with the control chip 151. In other embodiments, the driving chip 152 is provided separately from the control chip 151.
According to the electronic device provided by the embodiment of the disclosure, the touch key 130 is arranged in the housing 110 of the non-display panel area to replace a mechanical key, so that the electronic device is favorably made to be non-porous. The position of the sensor 131 generating the touch signal is determined by the controller 150 to accurately determine the area of the touch key 130 being pressed. The controller 150 determines the tactile feedback information corresponding to the sensor 131 generating the touch signal according to the touch signal and the position, and controls the vibration element 140 to vibrate according to the tactile feedback information, so that the area of the pressed touch key 130 has corresponding feedback vibration, but not the same vibration fed back by the whole electronic device, thereby facilitating the improvement of user experience and competitiveness of the electronic device.
In order to accurately determine the position of the sensor 131 generating the touch signal, which inevitably detects the disturbance signal when the sensor 131 detects the touch signal, the present disclosure gives the following two types of examples:
(1) as a first class of examples: with continued reference to FIG. 2, the electronic device further includes a filter 160 for filtering out interfering signals in the touch signal.
When a finger of a person presses the touch key 130, the finger and the touch key 130 have a certain contact area. When the tip of the object or the object with a larger size presses the touch key 130, the contact area between the tip of the object and the touch key 130 is smaller, and the contact area between the object with a larger size and the touch key 130 is larger, so that an interference signal is generated. Interference signals in the touch down signal may be filtered out by filter 160 to facilitate accurate determination of the location of sensor 131 that generated the touch down signal.
In some embodiments, the filter 160 may be disposed between the sensor 131 and the controller 150. In other embodiments, filter 160 is integrated within sensor 131.
(2) As a second class of examples: with continued reference to fig. 2, the sensor 131 includes a pressure sensor 132 for detecting a pressure signal, and the touch signal includes a pressure signal.
Further, the sensor 131 further includes a touch sensor 133 corresponding to the pressure sensor 132, and configured to detect a touch signal, where the touch signal further includes a touch signal. The controller 150 is further configured to: after receiving the pressure signal and the touch signal, determining the position of the sensor 131 generating the touch signal is performed.
The pressing signal and the touch signal are combined to determine that the touch button 130 is pressed, so as to avoid the problem that the object is mistakenly identified as touch when the object presses the touch button 130.
In some embodiments, the touch sensor 133 is stacked with the pressure sensor 132, and the touch sensor 133 is closer to the outside of the housing 110 than the pressure sensor 132. Alternatively, the pressure sensor 132 is closer to the outside of the housing 110 than the touch sensor 133.
In some embodiments, the controller 150 is configured to: determining the position of the sensor 131 generating the touch signal specifically includes:
and step I, determining the corresponding coded information of the sensor 131 generating the touch signal according to the touch signal.
And step II, determining the position of the sensor 131 generating the touch signal according to the coded information corresponding to the sensor 131 generating the touch signal and the mapping relation between the coded information and the position of the sensor 131.
The present disclosure gives the following two types of examples as to how the location of the sensor 131 generating the touch down signal is determined from the encoded information:
as a first class of examples: the controller 150 includes a plurality of coded interfaces having a first physical address, the coded interfaces being coupled to the sensors 131, the coded information including the first physical address.
Illustratively, the driving chip 152 includes a plurality of coded interfaces, and the first physical addresses of the plurality of coded interfaces are a1, a2, … …, An, respectively. The position numbers of the sensors 131 are B1, B2, … …, and Bn, respectively. The mapping relationship between the first physical address of the coding interface and the position number of the sensor 131 is shown in table 1:
TABLE 1
A first physical address A1 …… An
Position numbering of sensors B1 …… Bn
When the code interface receives the touch signal, a first physical address of the code interface is determined, and based on the first physical address and the mapping relationship in table 1, the position of the sensor 131 generating the touch signal is determined. Illustratively, the encoding interface of the driver chip 152 includes a GPIO (General-Purpose Input/Output) interface. When the GPIO interface receives the touch signal, the level signal of which changes from 1 to 0 or from 0 to 1, the driving chip 152 determines that the sensor 131 connected to the GPIO interface is pressed based on the level signal change of the GPIO interface.
In addition, the control chip 151 may also include a plurality of encoding interfaces, each of which is connected to one of the sensors 131.
(II) As a second class of examples: the sensor 131 has a second physical address and the encoded information includes the second physical address.
Illustratively, the control chip 151 is connected to the sensor 131. The first physical addresses of the sensors 131 are C1, C2, … …, Cn, respectively, and the position numbers of the sensors 131 are B1, B2, … …, Bn, respectively. The mapping relationship between the second physical address of the sensor 131 and the position number of the sensor 131 is shown in table 2:
TABLE 2
Second physical address C1 …… Cn
Position numbering of sensors B1 …… Bn
Illustratively, the control chip 151 is connected to the sensor 131 via an I2C bus. When the sensor 131 detects the touch signal, the control chip 151 first receives the second physical address of the sensor 131 through the I2C bus, and then the control chip 151 is communicatively connected to the sensor 131, and the control chip 151 receives the touch signal. The control chip 151 determines the position of the sensor 131 generating the touch signal based on the received second physical address and the mapping relationship in table 2.
It should be noted that the mapping relationship between the encoded information and the position of the sensor 131 may be directly stored in the controller 150, and the controller 150 may directly call the mapping relationship when executing the method.
Therefore, through the steps I to II, the position of the pressed touch key 130 area can be accurately determined.
In some embodiments, the controller 150 is configured to: vibration vector information of the vibrator 140 is determined according to the touch signal and the position of the sensor 131, and the haptic feedback information includes the vibration vector information.
Illustratively, the sensor 131 includes a pressure sensor 132, and the controller 150 may determine the magnitude, direction, acceleration, etc. of the pressure being pressed based on the touch signal. The vibration vector information of the pressed position is determined based on the magnitude of the pressure, the direction, the pressed acceleration, and the like, and the position of the sensor 131. Further, the corresponding vibrating piece 140 is controlled to vibrate according to the vibration vector information. In this way, when the user presses the touch key with the pressure of different sizes, directions or accelerations, the electronic device can feed back the vibration corresponding to the pressed pressure size, direction or acceleration, so as to improve the user experience and the competitiveness of the electronic device.
In some embodiments, a plurality of vibrators 140 are separately provided within the housing 110. Thus, when the touch keys 130 at different positions of the electronic device are pressed, the corresponding vibrating elements 140 can be more easily controlled to give corresponding feedback vibration, so as to improve the user experience and the competitiveness of the electronic device. Illustratively, the case 110 includes an upper portion and a lower portion, at least one vibrating member 140 being provided at the upper portion, and at least one vibrating member 140 being provided at the lower portion.
In some embodiments, at least one vibrator 140 is disposed corresponding to the at least one sensor 131, and the controller 150 is configured to control the vibrator 140 to vibrate according to the haptic feedback information, specifically including: the at least one vibrator 140 corresponding to the sensor 131 is controlled to vibrate according to the haptic feedback information. In this way, the vibration of the vibrating element 140 opposite to the pressed touch key 130 is controlled, and thus the vibration of the area of the pressed touch key 130 is controlled. Illustratively, one vibrating member 140 corresponds to at least one sensor 131. Illustratively, at least one vibrating member 140 corresponds to one sensor 131.
Some embodiments of the present disclosure provide a control method of an electronic device, which is used for any one of the above mentioned electronic devices. The electronic device includes: a housing 110; a display panel 120 assembled to the housing 110; a plurality of touch keys 130 disposed in the housing 110, the touch keys 130 including: a sensor 131 for detecting a touch signal; and a plurality of vibration members 140 disposed in the case 110.
Fig. 4 is a flowchart illustrating a method for controlling an electronic device according to an exemplary embodiment of the present disclosure. Referring to fig. 4, the control method of the electronic device includes:
step 41 determines the location of the sensor 131 that generated the touch signal.
In some embodiments, step 41 includes, but is not limited to:
and 411, determining the corresponding coded information of the sensor 131 generating the touch signal according to the touch signal.
The present disclosure gives the following two types of examples with respect to encoding information:
as a first class of examples: the electronic device comprises a plurality of coded interfaces having a first physical address, the coded interfaces being connected to the sensors 131, the coded information comprising the first physical address.
As a second class of examples: the sensor 131 has a second physical address and the encoded information includes the second physical address. For details of the explanation of the encoded information, reference is made to corresponding contents of the embodiment of the electronic device, and details are not described herein.
Step 412, determining the position of the sensor 131 generating the touch signal according to the coded information corresponding to the sensor 131 generating the touch signal and the mapping relation between the coded information and the position of the sensor 131.
And step 42, determining the tactile feedback information corresponding to the sensor 131 generating the touch signal according to the touch signal and the position.
In some embodiments, step 42 includes, but is not limited to:
vibration vector information of the vibrating member 140 is determined according to the touch signal and the position, and the haptic feedback information includes the vibration vector information.
And step 43, controlling the vibration of the vibration part 140 according to the tactile feedback information.
In some embodiments, at least one vibrating member 140 is disposed in correspondence with at least one sensor 131, and step 43 includes, but is not limited to:
the at least one vibrator 140 corresponding to the sensor 131 is controlled to vibrate according to the haptic feedback information.
Therefore, through the steps 41 to 43, the area of the pressed touch key 130 can be accurately determined, so that the area of the pressed touch key 130 has corresponding feedback vibration instead of the whole electronic device vibration and the same vibration sense, which is beneficial to improving the user experience and the competitiveness of the electronic device.
In some embodiments, before performing step 41, the control method further comprises:
and filtering out interference signals in the touch signal.
In some embodiments, sensor 131 includes a pressure sensor 132 for detecting pressure signals, and the touch signal includes a pressure signal.
In some embodiments, the sensor 131 further includes a touch sensor 133 corresponding to the pressure sensor 132 for detecting a touch signal, the touch signal further includes the touch signal, and before performing step 41, the control method further includes:
and receiving a pressure signal and a touch signal.
The control method of the electronic device provided by the embodiment of the disclosure is used for the electronic device to accurately determine the area of the pressed touch key 130 by determining the position of the sensor 131 generating the touch signal. The touch feedback information corresponding to the sensor 131 generating the touch signal is determined according to the touch signal and the position, and the vibration of the vibrating element 140 is controlled according to the touch feedback information, so that the area of the pressed touch key 130 has corresponding feedback vibration, but the same vibration is fed back by the whole electronic device, and the user experience and the competitiveness of the electronic device are improved.
Fig. 5 is a block diagram illustrating a control apparatus of an electronic device according to an exemplary embodiment of the present disclosure. Some embodiments of the present disclosure provide a control apparatus for an electronic device, where the electronic device includes: a housing 110; a display panel 120 assembled to the housing 110; a plurality of touch keys 130 disposed in the housing 110, the touch keys 130 including: a sensor 131 for detecting a touch signal; and a plurality of vibration members 140 disposed in the case 110; the control device includes:
a first determining module 51 for determining the position of the sensor 131 generating the touch signal.
And a second determining module 52, configured to determine, according to the touch signal and the position, haptic feedback information corresponding to the sensor 131 generating the touch signal.
And a control module 53 for controlling the vibration of the vibration member 140 according to the haptic feedback information.
In some embodiments, referring to a block diagram of the first determination module 51 shown in fig. 6 according to an exemplary embodiment of the present disclosure, the first determination module 51 includes:
and the first determining unit 61 is used for determining the corresponding coded information of the sensor 131 generating the touch signal according to the touch signal.
And the second determining unit 62 is configured to determine the position of the sensor 131 generating the touch signal according to the encoded information corresponding to the sensor 131 generating the touch signal and the mapping relationship between the encoded information and the position of the sensor 131.
In some embodiments, the electronic device includes a plurality of coded interfaces having a first physical address, the coded interfaces being coupled to the sensors 131, the coded information including the first physical address.
In some embodiments, the sensor 131 has a second physical address and the encoded information includes the second physical address.
In some embodiments, the second determination module 52 includes:
and a third determining unit, configured to determine vibration vector information of the vibrating element 140 according to the touch signal and the position, where the haptic feedback information includes the vibration vector information.
In some embodiments, at least one vibrating member 140 is disposed corresponding to the at least one sensor 131, and the control module 53 includes:
a first control unit for controlling at least one vibrator 140 corresponding to the sensor 131 to vibrate according to the haptic feedback information.
In some embodiments, the control device further comprises:
and the filtering module is used for filtering interference signals in the touch signals before determining the position of the sensor 131 generating the touch signals.
In some embodiments, sensor 131 includes a pressure sensor 132 for detecting pressure signals, and the touch signal includes a pressure signal.
In some embodiments, the sensor 131 further includes a touch sensor 133 corresponding to the pressure sensor 131, for detecting a touch signal, the touch signal further includes a touch signal, and the control device further includes:
the receiving module is configured to receive the pressure signal and the touch signal before determining the position of the sensor 131 generating the touch signal.
The control device of the electronic device provided by the embodiment of the present disclosure is used for the electronic device to determine the position of the sensor 131 generating the touch signal through the first determining module 51, so as to accurately determine the area of the pressed touch key 130. The second determining module 52 determines the tactile feedback information corresponding to the sensor 131 generating the touch signal according to the touch signal and the position, and the control module 53 controls the vibrating element 140 to vibrate according to the tactile feedback information, so that the area of the pressed touch key 130 has corresponding feedback vibration, but not the same vibration as the whole electronic device feeds back, which is beneficial to improving the user experience and the competitiveness of the electronic device.
Fig. 7 is a block diagram illustrating a control apparatus 1000 of an electronic device according to an exemplary embodiment of the present disclosure. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
For the method embodiments, since they substantially correspond to the apparatus embodiments, reference may be made to the apparatus embodiments for relevant portions of the description. The method embodiment and the device embodiment are complementary.
The above embodiments of the present disclosure may be complementary to each other without conflict.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (15)

1. An electronic device, characterized in that the electronic device comprises:
a housing;
a display panel assembled to the housing;
a plurality of touch-control button, locate in the casing, the touch-control button includes: a sensor for detecting a touch signal;
a plurality of vibrating members disposed within the housing; and
a controller disposed within the housing and coupled to the sensor and the vibrating member, the controller configured to: determining a position of a sensor generating the touch signal; determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position; and controlling the vibration of the vibration piece according to the tactile feedback information.
2. The electronic device of claim 1, wherein the housing comprises a back surface opposite to the display panel and a sidewall surrounding a periphery of the display panel, and the touch key is disposed inside at least one of the back surface and the sidewall.
3. The electronic device of claim 1, wherein the controller is configured to:
determining coding information corresponding to a sensor generating the touch signal according to the touch signal;
and determining the position of the sensor generating the touch signal according to the coded information corresponding to the sensor generating the touch signal and the mapping relation between the coded information and the position of the sensor.
4. The electronic device of claim 3, wherein the controller comprises a plurality of coded interfaces, wherein the coded interfaces have a first physical address, wherein the coded interfaces are coupled to the sensors, and wherein the coded information comprises the first physical address.
5. The electronic device of claim 3, wherein the sensor has a second physical address, and wherein the encoded information includes the second physical address.
6. The electronic device of claim 1, wherein the controller is configured to:
and determining vibration vector information of the vibrating piece according to the touch signal and the position, wherein the tactile feedback information comprises the vibration vector information.
7. The electronic device of claim 1, wherein at least one of the vibrators is disposed in correspondence with at least one of the sensors, and wherein the controller is configured to: and controlling at least one vibrator corresponding to the sensor to vibrate according to the tactile feedback information.
8. The electronic device of any of claims 1-7, further comprising a filter to filter out interfering signals in the touch signal.
9. The electronic device of any of claims 1-7, wherein the sensor comprises a pressure sensor to detect a pressure signal, and wherein the touch signal comprises the pressure signal.
10. The electronic device of claim 9, wherein the sensor further comprises a touch sensor corresponding to the pressure sensor for detecting a touch signal, wherein the touch signal further comprises the touch signal, and wherein the controller is configured to: after receiving the pressure signal and the touch signal, determining a position of a sensor generating the touch signal.
11. A control method for an electronic device, the method being used for the electronic device, the electronic device comprising: a housing; a display panel assembled to the housing; a plurality of touch-control button, locate in the casing, the touch-control button includes: a sensor for detecting a touch signal; the vibrating pieces are arranged in the shell; the control method comprises the following steps:
determining a position of a sensor generating the touch signal;
determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position;
and controlling the vibration of the vibration piece according to the tactile feedback information.
12. The control method of claim 11, wherein said determining a location of a sensor generating the touch signal comprises:
determining coding information corresponding to a sensor generating the touch signal according to the touch signal;
and determining the position of the sensor generating the touch signal according to the coded information corresponding to the sensor generating the touch signal and the mapping relation between the coded information and the position of the sensor.
13. A control apparatus for an electronic device, the control apparatus being used for the electronic device, the electronic device comprising: a housing; a display panel assembled to the housing; a plurality of touch-control button, locate in the casing, the touch-control button includes: a sensor for detecting a touch signal; the vibrating pieces are arranged in the shell; the control device includes:
the first determination module is used for determining the position of a sensor generating the touch signal;
the second determining module is used for determining tactile feedback information corresponding to a sensor generating the touch signal according to the touch signal and the position;
and the control module is used for controlling the vibration of the vibration piece according to the tactile feedback information.
14. A control device of an electronic device, comprising one or more processors and a memory; the memory stores a program that can be called by the processor; wherein the processor implements the control method of any one of claims 11-12 when executing the program.
15. A computer-readable storage medium, characterized in that a program is stored thereon, which, when being executed by a processor, implements the control method according to any one of claims 11 to 12.
CN202010011442.1A 2020-01-06 2020-01-06 Electronic device, control method and device thereof, and computer-readable storage medium Pending CN113075955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010011442.1A CN113075955A (en) 2020-01-06 2020-01-06 Electronic device, control method and device thereof, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010011442.1A CN113075955A (en) 2020-01-06 2020-01-06 Electronic device, control method and device thereof, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN113075955A true CN113075955A (en) 2021-07-06

Family

ID=76608870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010011442.1A Pending CN113075955A (en) 2020-01-06 2020-01-06 Electronic device, control method and device thereof, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113075955A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625242A (en) * 2022-01-20 2022-06-14 北京有竹居网络技术有限公司 Control device, control method thereof, electronic apparatus, and storage medium
CN114845223A (en) * 2022-03-30 2022-08-02 联想(北京)有限公司 Electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467254A (en) * 2010-11-11 2012-05-23 Tcl集团股份有限公司 Cursor control method and cursor control system
CN105446460A (en) * 2014-06-13 2016-03-30 联想(北京)有限公司 Information processing method, interaction accessory and electronic equipment
CN106293055A (en) * 2015-06-26 2017-01-04 三星电子株式会社 Electronic equipment and the method being used for providing its sense of touch to feed back
US20180081456A1 (en) * 2016-09-19 2018-03-22 Apple Inc. Multipurpose stylus with exchangeable modules
US20190007538A1 (en) * 2016-01-12 2019-01-03 King Abdullah University Of Science And Technology Communications article
CN110134238A (en) * 2019-05-13 2019-08-16 Oppo(重庆)智能科技有限公司 Key feedback method, device, storage medium and electronic equipment
CN110347251A (en) * 2019-06-28 2019-10-18 Oppo广东移动通信有限公司 Haptic feedback devices and method, terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467254A (en) * 2010-11-11 2012-05-23 Tcl集团股份有限公司 Cursor control method and cursor control system
CN105446460A (en) * 2014-06-13 2016-03-30 联想(北京)有限公司 Information processing method, interaction accessory and electronic equipment
CN106293055A (en) * 2015-06-26 2017-01-04 三星电子株式会社 Electronic equipment and the method being used for providing its sense of touch to feed back
US20190007538A1 (en) * 2016-01-12 2019-01-03 King Abdullah University Of Science And Technology Communications article
US20180081456A1 (en) * 2016-09-19 2018-03-22 Apple Inc. Multipurpose stylus with exchangeable modules
CN110134238A (en) * 2019-05-13 2019-08-16 Oppo(重庆)智能科技有限公司 Key feedback method, device, storage medium and electronic equipment
CN110347251A (en) * 2019-06-28 2019-10-18 Oppo广东移动通信有限公司 Haptic feedback devices and method, terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625242A (en) * 2022-01-20 2022-06-14 北京有竹居网络技术有限公司 Control device, control method thereof, electronic apparatus, and storage medium
CN114845223A (en) * 2022-03-30 2022-08-02 联想(北京)有限公司 Electronic device

Similar Documents

Publication Publication Date Title
US10739854B2 (en) Terminal and touch response method and device
EP3125531B1 (en) Control method and device for adjusting shooting function
US8493334B2 (en) Input device, storage medium, information input method, and electronic apparatus
EP3046042B1 (en) Apparatus for implementing home button and fingerprint identification on single sensor
EP3043236A1 (en) Method and apparatus for implementing a stacked touch key and fingerprint sensor
EP3099040B1 (en) Button operation processing method in single-hand mode, apparatus and electronic device
US20160227150A1 (en) Method and device for remote control
EP3043293A1 (en) Method and device for realizing touch button and fingerprint identification, and terminal device
EP3136216A1 (en) Method for controlling mobile terminal and mobile terminal
US20170123587A1 (en) Method and device for preventing accidental touch of terminal with touch screen
EP3130985B1 (en) Method and device for detecting pressure in mobile terminal
CN107102772B (en) Touch control method and device
EP2924552B1 (en) Method and mobile terminal for executing user instructions
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
CN105511686A (en) Incoming call processing method and device and electronic terminal equipment
EP3232301B1 (en) Mobile terminal and virtual key processing method
KR20170142839A (en) Method and device for determining operation mode of terminal
CN105094609A (en) Method and device for achieving key operation in single-handed mode
EP3182256B1 (en) Touch control button, touch control panel and touch control terminal
CN107168566B (en) Operation mode control method and device and terminal electronic equipment
EP3016236A1 (en) Power supply circuit and electronic equipment
CN113075955A (en) Electronic device, control method and device thereof, and computer-readable storage medium
CN108319885B (en) Fingerprint identification method and device
CN107168631B (en) Application program closing method and device and terminal electronic equipment
US20160195992A1 (en) Mobile terminal and method for processing signals generated from touching virtual keys

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination