CN113419640B - Pressure sensing channel opening method and device and electronic equipment - Google Patents
Pressure sensing channel opening method and device and electronic equipment Download PDFInfo
- Publication number
- CN113419640B CN113419640B CN202110633406.3A CN202110633406A CN113419640B CN 113419640 B CN113419640 B CN 113419640B CN 202110633406 A CN202110633406 A CN 202110633406A CN 113419640 B CN113419640 B CN 113419640B
- Authority
- CN
- China
- Prior art keywords
- pressure sensing
- electronic equipment
- sensing channel
- posture
- sensing channels
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a pressure sensing channel opening method and device and electronic equipment, and belongs to the technical field of computers. The method comprises the following steps: acquiring attitude information of the electronic equipment; determining the space attitude of the electronic equipment according to the attitude information; under the condition that the space posture of the electronic equipment is a vertical screen posture, starting a first part of pressure sensing channels of the electronic equipment; and under the condition that the space posture of the electronic equipment is the landscape screen posture, opening a second part of pressure sensing channels of the electronic equipment.
Description
Technical Field
The application belongs to the technical field of computers, and particularly relates to a pressure sensing channel opening method and device and electronic equipment.
Background
With the rapid development of mobile terminals, users increasingly demand the interaction function of the whole mobile terminal, and the idea of combining the pressure-sensitive keys and the screen comes along, so that at present, manufacturers of intelligent terminals design and research the pressure-sensitive function under the screen based on the piezoresistive effect.
In the related art, the pressure sensing channel modules are attached to the lower portion of the screen of the mobile terminal, and are arranged for the high-density pressure sensing channel modules as shown in fig. 1a and 1b, so that the tangential and radial resistance difference generated by stress deformation of a user finger pressing the screen can be sensed, and the pressing strength can be calculated. However, when a user has a pressing request, all the pressure sensing channels in the high-density pressure sensing channel module are turned on, resulting in an increase in power consumption of the electronic device.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for opening a pressure sensing channel, and an electronic device, which can solve the problem of power consumption increase of the electronic device caused by simultaneous opening of high-density pressure sensing channels.
In a first aspect, an embodiment of the present application provides a method for opening a pressure sensing channel, including: acquiring attitude information of the electronic equipment;
determining the space attitude of the electronic equipment according to the attitude information;
opening a first part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a vertical screen posture;
and opening a second part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a landscape screen posture.
In a second aspect, an embodiment of the present application provides a pressure-sensitive channel opening device, which includes:
the acquisition module is used for acquiring the attitude information of the electronic equipment;
the determining module is used for determining the space attitude of the electronic equipment according to the attitude information;
the first starting module is used for starting a first part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a vertical screen posture;
and the second opening module is used for opening a second part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a landscape screen posture.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the spatial attitude of the electronic device is determined according to the acquired attitude information of the electronic device, and the first partial pressure sensing channel of the electronic device is turned on when the spatial attitude of the electronic device is a portrait screen attitude, and the second partial pressure sensing channel of the electronic device is turned on when the spatial attitude of the electronic device is a landscape screen attitude. Namely, the pressure sensing channel required to be opened can be determined by combining the spatial posture of the electronic equipment, and other pressure sensing channels can be closed, so that the power consumption of the electronic equipment is reduced. Meanwhile, different pressure induction channels can be opened for different space postures of the electronic equipment, different application scenes of the electronic equipment used by a user can be met, and user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1a is a schematic structural diagram of a pressure sensing channel of an electronic device according to an embodiment of the present disclosure;
fig. 1b is a schematic structural diagram of a pressure sensing channel of another electronic device according to an embodiment of the present disclosure;
fig. 2a is a logic block diagram of a screen down pressure detection provided in an embodiment of the present application;
FIG. 2b is a logic block diagram of a screen down pressure detection provided in another embodiment of the present application;
fig. 3 is a flowchart of a method for opening a pressure sensing channel according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a pressure sensing channel of another electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a pressure sensing channel of another electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a pressure sensing channel of another electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a pressure sensing channel of another electronic device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a pressure sensing channel opening device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The comment displaying method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Please refer to fig. 3, which is a flowchart illustrating a method for opening a pressure sensing channel according to an embodiment of the present disclosure. The method can be applied to electronic equipment, and the electronic equipment can be a mobile phone, a tablet computer, a notebook computer and the like. As shown in fig. 3, the method may include steps S3100 to S3400, which will be described in detail below.
Step S3100, acquiring posture information of the electronic device.
An Inertial sensor (IMU) is integrated in the electronic device, and the IMU is used for acquiring attitude information of the electronic device, for example, three-axis attitude angles and acceleration of the electronic device may be acquired.
As shown in fig. 2a, an inertial sensor is introduced, and after a user places the electronic device across the screen, the inertial sensor acquires the posture information of the electronic device, and determines that the electronic device is currently in the across-screen posture according to the posture information.
After acquiring the attitude information of the electronic equipment, entering:
step S3200, determining a spatial gesture of the electronic device according to the gesture information.
The spatial attitude of the electronic device includes a landscape screen attitude of the electronic device and a portrait screen attitude of the electronic device.
In this embodiment, after obtaining the attitude information of the electronic device collected by the inertial sensor of the electronic device, it may be determined that the electronic device is in the landscape screen attitude or the portrait screen attitude according to the attitude information, and then different pressure sensing channels are opened according to different spatial attitudes in which the electronic device is located.
After determining the spatial pose of the electronic device according to the pose information, entering:
and S3300, opening a first partial pressure sensing channel of the electronic device under the condition that the space posture of the electronic device is a vertical screen posture.
It can be understood that a pressure sensing channel module is attached to the lower portion of the screen of the electronic device, pressure sensing channels in the pressure sensing channel module are arranged according to a set rule to form a pressure sensing channel array, and the pressure sensing channels can be pressure sensors. The pressure sensing channel array includes P rows and Q columns (all exemplified by electronic devices in landscape orientation). As shown in fig. 1a, the array of pressure sensing channels includes 3 rows and 7 columns, wherein each box represents a pressure sensing channel. As shown in fig. 1b, the array of pressure sensing channels includes 6 rows and 10 columns, where each box represents a pressure sensing channel.
It is understood that the distribution density of the pressure sensing channel array shown in fig. 1b is higher than that of the pressure sensing channel array shown in fig. 1a, and it can also be understood that the number of pressure sensing channels included in the pressure sensing channel array shown in fig. 1b is greater than that of the pressure sensing channels included in the pressure sensing channel array shown in fig. 1 a. Correspondingly, the sensitivity and sensing area of the pressure sensing channel array shown in fig. 1b are higher than those of the pressure sensing channel array shown in fig. 1a, so that the power consumption of the pressure sensing channel array shown in fig. 1b is greater than that of the pressure sensing channel array shown in fig. 1 a.
In this embodiment, the opening the first partial pressure sensing channel of the electronic device in step S3300 may further include: and starting the downward pressure sensing channel array of the electronic equipment in the vertical screen posture.
Taking the pressure sensing channel module shown in fig. 4 as an example, when the electronic device is in the vertical screen posture, the pressure sensing channel module may be divided into an upper pressure sensing channel array (the pressure sensing channel array above the horizontal line) and a lower pressure sensing channel array (the pressure sensing channel array below the horizontal line), and it is understood that the horizontal line is only schematic and does not include the horizontal line in practice.
Continuing with the example of FIG. 4, the horizontal lines divide the screen of the electronic device into an upper screen and a lower screen. When the electronic device is in the vertical screen posture, the probability that the user touches the lower part of the screen is greater than the probability that the user touches the upper part of the screen. That is, when the electronic device is in the vertical screen posture, the frequency of the user touching the lower side of the screen is greater than the frequency of the user touching the lower side of the screen, and here, the lower pressure sensing channel array of the electronic device in the vertical screen posture is turned on (the black square in the figure is the pressure sensing channel in the on state), and the upper pressure sensing channel array of the electronic device in the vertical screen posture is turned off.
With reference to fig. 2a and 4, when the inertial sensor detects that the electronic device is in the vertical screen posture, the downward pressure sensing channel array of the electronic device in the vertical screen posture is turned on, at this time, a user performs press input on a display screen of the electronic device for an icon of a specific application, the display screen of the electronic device receives press pressure, and transmits a deformation amount caused by the press pressure to the pressure sensing channel for sensing, and the pressure sensing channel processes the inside of the pressure sensing channel to output a pressure sensing value to the application processor, so that the electronic device realizes a corresponding function.
According to the step, when the electronic equipment is in the vertical screen posture, the lower pressure sensing channel array can be only opened and the upper pressure sensing channel array can be closed according to the frequency of the user for using the electronic equipment, so that the problem of power consumption of arrangement sensing of high-density pressure sensing channels is solved, and meanwhile, the application layer space of the user for using pressure is increased.
Under the condition that the space gesture of the electronic equipment is a vertical screen gesture, after a first part of pressure sensing channels of the electronic equipment are opened, entering:
and step S3400, opening a second part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a landscape screen posture.
Taking the pressure sensing channel module shown in fig. 5 as an example, when the electronic device is in the landscape orientation, the pressure sensing channel module may be divided into a left pressure sensing channel array (the pressure sensing channel array on the left side of the horizontal line 1), a right pressure sensing channel array (the pressure sensing channel array on the right side of the horizontal line 2)) and a center sensing channel array (the pressure sensing channel array between the horizontal line 1 and the horizontal line 2). It will be understood that the cross-hatching is merely illustrative and is not actually included.
Continuing with the example of FIG. 5, it divides the electronic device into a left side of the screen, a right side of the screen, and a middle of the screen. When the electronic device is in the landscape position, the user has a high probability of using a game application or a video application, where the probability of the user touching the left and right sides of the screen is greater than the probability of the user touching the middle of the screen. That is, when the electronic device is in the landscape posture, the frequency of the user touching the left side and the right side of the screen is greater than the frequency of the user touching the middle of the screen, and here, the left pressure sensing channel array and the right pressure sensing channel array of the electronic device in the landscape posture can be opened (the black square in the figure is the pressure sensing channel in the opened state), and the right pressure sensing channel array of the electronic device in the landscape posture can be closed.
With reference to fig. 2a and 5, when the inertial sensor detects that the electronic device is in the landscape posture, the left pressure sensing channel array and the right pressure sensing channel array of the electronic device in the landscape posture are turned on, at this time, a user performs press input on a display screen of the electronic device for an icon of a specific application, the display screen of the electronic device receives press pressure, and transmits a deformation amount caused by the press pressure to the pressure sensing channel for sensing, and the pressure sensing value is processed inside the pressure sensing channel and output to the application processor, so that the electronic device achieves a corresponding function. According to the step, when the electronic equipment is in the horizontal screen posture, the pressure sensing channel arrays on the left side and the right side can be opened only according to the frequency of using the electronic equipment by a user, and the pressure sensing channel array in the middle is closed, so that the problem of power consumption caused by arrangement of high-density pressure sensing channels is solved, and meanwhile, the application layer space of pressure sensing used by the user is increased.
It can be understood that, the above step S3300 and the step S3400 are not performed in sequence, and the step S3300 may be performed first, and the step S3400 is performed. Alternatively, step S3400 is executed first, and step S3300 is executed.
In one embodiment, in the case that the spatial posture of the electronic device is the portrait posture, the opening the first partial pressure sensing channel of the electronic device in the above step S3300 may include the following steps S3310 to S3320:
in step S3310, in response to a set trigger event, the first partial pressure sensing channels are controlled to enter a polling mode.
The trigger events set above include: the electronic device receives a press input within a set time period before entering the polling mode, and a pressure value of the received press input is greater than or equal to a set pressure threshold value.
The set time period may be a numerical value set according to an actual application scenario and an actual requirement, and this embodiment is not limited herein.
The set pressure threshold may be a value set according to an actual application scenario and an actual requirement, and the embodiment is not limited herein.
Step S3320, when the first portion of the pressure sensing channels enters the polling mode, adjusting the opening duration of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the first portion of the pressure sensing channels.
In this embodiment, in the step S3320, adjusting the opening duration of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the first portion of pressure sensing channels may further include: acquiring a polling cycle of a first part of pressure sensing channels; in the polling period, the opening duration of the pressure sensing channels with high pressing frequency in the first part of pressure sensing channels is set to be longer than the opening duration of the pressure sensing channels with low pressing frequency.
The polling period may be a value set according to an actual application scenario and an actual requirement, and the polling period may be 3ms, and certainly may also be other values, which is not limited herein.
As shown in fig. 6, the array of lower pressure sensing channels of the electronic device in the vertical screen posture is in an open state, where the pressure sensing channels in the array of lower pressure sensing channels may be pre-divided into three types of pressure sensing channels. The black sensing channels in fig. 6 are of a first type, the dark gray sensing channels in fig. 6 are of a second type, and the light gray sensing channels in fig. 6 are of a third type.
Continuing with fig. 6 as an example, with reference to fig. 2b, since the electronic device receives a pressing input within a set time period before entering the polling mode, and a pressure value of the received pressing input is greater than or equal to a set pressure threshold, here, the polling mode is turned on. Since the compression frequency of the first type of pressure sensing channel is greater than the compression frequency of the second type of pressure sensing channel, the compression frequency of the second type of pressure sensing channel is greater than the compression frequency of the third type of pressure sensing channel. Here, within a polling period, for example, 3ms, it may set the opening time of the first type of pressure-sensitive channel to 1ms and the closing time to 2ms, the opening time of the second type of pressure-sensitive channel to 0.5ms and the closing time to 2.5ms, and the opening time of the third type of pressure-sensitive channel to 0.1ms and the closing time to 2.9ms. It can be known that the opening duration of the first type of pressure sensing channel is longer than the opening duration of the second type of pressure sensing channel, and the opening duration of the second type of pressure sensing channel is longer than the opening duration of the third type of pressure sensing channel. Correspondingly, the sampling frequency of the first type of pressure sensing channel is higher than that of the second type of pressure sensing channel, and the sampling frequency of the second type of pressure sensing channel is higher than that of the third type of pressure sensing channel.
According to the embodiment, on the basis that the lower pressure sensing channel array of the electronic equipment in the vertical screen posture is opened, the sampling frequency reduction diffusion can be gradually carried out towards the pressing outside based on the central position of the lower pressure sensing channel array, the frequency reduction operation is realized, the power consumption is saved, and the application range of the pressure sensing can be greatly widened.
In one embodiment, in the case that the spatial posture of the electronic device is the landscape posture, the opening of the second partial pressure sensing channel of the electronic device in the above step S3400 may include the following steps S3410 to S3420:
in step S3410, in response to the set triggering event, the second portion of the pressure sensing channels is controlled to enter the polling mode.
The trigger events set above include: the electronic device receives a press input within a set time period before entering the polling mode, and a pressure value of the received press input is greater than or equal to a set pressure threshold value.
The set time period may be a numerical value set according to an actual application scenario and an actual requirement, and this embodiment is not limited herein.
The set pressure threshold may be a value set according to an actual application scenario and an actual requirement, and the embodiment is not limited herein.
In step S3420, when the second portion of pressure sensing channels enters the polling mode, the opening duration of each pressure sensing channel is adjusted according to the pressing frequency of each pressure sensing channel in the second portion of pressure sensing channels.
In this embodiment, in the step S3420, adjusting the opening duration of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the second part of pressure sensing channels may further include: acquiring a polling period of a second part of pressure sensing channels; in the polling period, the opening duration of the pressure sensing channels with high pressing frequency in the second part of pressure sensing channels is set to be longer than the opening duration of the pressure sensing channels with low pressing frequency.
The polling period may be a value set according to an actual application scenario and an actual requirement, and the polling period may be 3ms, and of course, may also be other values, and this embodiment is not limited herein. The polling period of the second part of pressure sensing channels and the polling period of the first part of pressure sensing channels are a time, and both refer to an electrifying pulse time of the pressure sensing channels.
As shown in fig. 7, the left pressure sensing channel array and the right pressure sensing channel array of the electronic device in the landscape posture are in an open state, and here, the left pressure sensing channel array and the right pressure sensing channel array may be divided into three types of sensing channels in advance. The black sensing channels in fig. 7 are of a first type, the dark gray sensing channels in fig. 7 are of a second type, and the light gray sensing channels in fig. 7 are of a third type.
Continuing with the example of fig. 7, in conjunction with fig. 2b, the first type of pressure sensing channel has a greater compression frequency than the second type of pressure sensing channel, and the second type of pressure sensing channel has a greater compression frequency than the third type of pressure sensing channel. Here, within a polling period, for example, 3ms, it may be set that the first type of pressure-sensitive channel has an open time of 1ms and a closed time of 2ms, the second type of pressure-sensitive channel has an open time of 0.5ms and a closed time of 2.5ms, and the third type of pressure-sensitive channel has an open time of 0.1ms and a closed time of 2.9ms. It can be known that the opening duration of the first type of pressure sensing channel is longer than the opening duration of the second type of pressure sensing channel, and the opening duration of the second type of pressure sensing channel is longer than the opening duration of the third type of pressure sensing channel. Correspondingly, the sampling frequency of the first type of pressure sensing channel is higher than that of the second type of pressure sensing channel, and the sampling frequency of the second type of pressure sensing channel is higher than that of the third type of pressure sensing channel.
According to the embodiment, on the basis that the left pressure sensing channel array and the right pressure sensing channel of the electronic equipment in the landscape posture are opened, the sampling frequency can be gradually reduced and diffused towards the outside based on the central positions of the left pressure sensing channel array and the right pressure sensing channel, the frequency reduction operation is realized, the power consumption is saved, and the application range of the pressure sensing can be greatly expanded.
In correspondence to the above embodiments, referring to fig. 8, the present embodiment further provides a pressure sensing channel opening device 8000, including:
an obtaining module 8100, configured to obtain posture information of the electronic device.
A determining module 8200, configured to determine a spatial posture of the electronic device according to the posture information.
The first opening module 8300 is configured to open a first portion of pressure sensing channels of the electronic device when the spatial posture of the electronic device is a vertical screen posture.
And a second opening module 8400, configured to open a second part of the pressure sensing channel of the electronic device when the spatial posture of the electronic device is a landscape posture.
In one embodiment, the first opening module 8300 is specifically configured to: and starting a downward pressure sensing channel array of the electronic equipment under the vertical screen posture.
In one embodiment, the second enabling module 8400 is specifically configured to: and starting a left side pressure sensing channel array and a right side pressure sensing channel array of the electronic equipment under the landscape posture.
In one embodiment, the second enabling module 8400 is further configured to: controlling the second part of pressure sensing channels to enter a polling mode in response to a set triggering event; and under the condition that the second part of pressure sensing channels enter a polling mode, adjusting the opening time of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the second part of pressure sensing channels.
In one embodiment, the set triggering event includes: the electronic equipment receives a pressing input within a set time period before entering the polling mode, and the pressure value of the received pressing input is greater than or equal to a set pressure threshold value.
In one embodiment, the second enabling module 8400 is further configured to: acquiring a polling period of the second part of pressure sensing channels; in the polling period, the opening duration of the pressure sensing channels with high pressing frequency in the second part of pressure sensing channels is set to be longer than the opening duration of the pressure sensing channels with low pressing frequency.
The pressure sensing channel opening device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The pressure sensing channel opening device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The pressure sensing channel opening device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here for avoiding repetition.
Corresponding to the above embodiments, optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and capable of being executed on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the pressure sensing channel opening method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1010 is configured to obtain posture information of the electronic device; determining the space attitude of the electronic equipment according to the attitude information; opening a first part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a vertical screen posture; and under the condition that the space posture of the electronic equipment is the landscape screen posture, opening a second part of pressure sensing channels of the electronic equipment.
In one embodiment, the processor 1010 is further configured to turn on the array of downward pressure-sensitive channels of the electronic device in the portrait screen posture.
In one embodiment, the processor 1010 is further configured to turn on a left pressure sensing channel array and a right pressure sensing channel array of the electronic device in the landscape orientation.
In one embodiment, the processor 1010 is further configured to control the second partial pressure sensing channels to enter a polling mode in response to a set trigger event; and under the condition that the second part of pressure sensing channels enter a polling mode, adjusting the opening duration of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the second part of pressure sensing channels.
In one embodiment, the processor 1010 is further configured to obtain a polling period of the second part of the pressure sensing channels; in the polling period, the opening duration of the pressure sensing channels with high pressing frequency in the second part of pressure sensing channels is set to be longer than the opening duration of the pressure sensing channels with low pressing frequency.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used for storing software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the comment displaying method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is configured to run a program or an instruction, implement each process of the above comment displaying method embodiment, and achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.
Claims (9)
1. A pressure sensing channel opening method is characterized by comprising the following steps:
acquiring attitude information of the electronic equipment;
determining the space attitude of the electronic equipment according to the attitude information;
under the condition that the space posture of the electronic equipment is a vertical screen posture, starting a first part of pressure sensing channels of the electronic equipment;
opening a second part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a horizontal screen posture;
wherein, under the condition that the space gesture of the electronic equipment is the landscape screen gesture, after opening the second part pressure sensing channel of the electronic equipment, the method further comprises:
in response to a set trigger event, controlling the second part of pressure sensing channels to enter a polling mode;
and under the condition that the second part of pressure sensing channels enter a polling mode, adjusting the opening duration of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the second part of pressure sensing channels.
2. The method of claim 1,
the opening of a first partial pressure sensing channel of the electronic device comprises: starting a downward pressure sensing channel array of the electronic equipment under the vertical screen posture;
the opening of a second partial pressure sensing channel of the electronic device comprises: and starting a left side pressure sensing channel array and a right side pressure sensing channel array of the electronic equipment under the landscape posture.
3. The method of claim 1,
the set triggering event comprises: the electronic equipment receives a pressing input within a set time period before entering the polling mode, and the pressure value of the received pressing input is greater than or equal to a set pressure threshold value.
4. The method of claim 1, wherein said adjusting the on-time of each of the pressure sensing channels based on the pressing frequency of each of the second portion of pressure sensing channels comprises:
acquiring a polling cycle of the second part of pressure sensing channels;
in the polling period, the opening duration of the pressure sensing channels with high pressing frequency in the second part of pressure sensing channels is set to be longer than the opening duration of the pressure sensing channels with low pressing frequency.
5. A pressure responsive channel opening device, comprising:
the acquisition module is used for acquiring the attitude information of the electronic equipment;
the determining module is used for determining the space attitude of the electronic equipment according to the attitude information;
the first starting module is used for starting a first part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a vertical screen posture;
the second starting module is used for starting a second part of pressure sensing channels of the electronic equipment under the condition that the space posture of the electronic equipment is a landscape screen posture;
wherein the second enabling module is further configured to: in response to a set trigger event, controlling the second part of pressure sensing channels to enter a polling mode; and under the condition that the second part of pressure sensing channels enter a polling mode, adjusting the opening time of each pressure sensing channel according to the pressing frequency of each pressure sensing channel in the second part of pressure sensing channels.
6. The apparatus of claim 5,
the first opening module is specifically configured to: starting a downward pressure sensing channel array of the electronic equipment under the vertical screen posture;
the second starting module is specifically configured to: and starting a left side pressure sensing channel array and a right side pressure sensing channel array of the electronic equipment under the landscape posture.
7. The apparatus of claim 5,
the set triggering event comprises: the electronic equipment receives a pressing input within a set time period before entering the polling mode, and the pressure value of the received pressing input is greater than or equal to a set pressure threshold value.
8. The apparatus of claim 5, wherein the first enabling module is further configured to:
acquiring a polling period of the second part of pressure sensing channels;
in the polling period, the opening duration of the pressure sensing channels with high pressing frequency in the second part of pressure sensing channels is set to be longer than the opening duration of the pressure sensing channels with low pressing frequency.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the pressure sensing channel opening method as claimed in any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110633406.3A CN113419640B (en) | 2021-06-07 | 2021-06-07 | Pressure sensing channel opening method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110633406.3A CN113419640B (en) | 2021-06-07 | 2021-06-07 | Pressure sensing channel opening method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113419640A CN113419640A (en) | 2021-09-21 |
CN113419640B true CN113419640B (en) | 2023-01-10 |
Family
ID=77787947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110633406.3A Active CN113419640B (en) | 2021-06-07 | 2021-06-07 | Pressure sensing channel opening method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113419640B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105867802A (en) * | 2016-03-24 | 2016-08-17 | 努比亚技术有限公司 | A method and a device for outputting information according to pressure information |
CN110266876A (en) * | 2019-04-29 | 2019-09-20 | 努比亚技术有限公司 | A kind of pressure threshold determines method, apparatus and computer readable storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104866362B (en) * | 2015-06-10 | 2018-08-21 | 努比亚技术有限公司 | A kind of Activiation method and system |
CN110308858A (en) * | 2019-06-28 | 2019-10-08 | Oppo广东移动通信有限公司 | The control method of a kind of electronic equipment and touch control component |
-
2021
- 2021-06-07 CN CN202110633406.3A patent/CN113419640B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105867802A (en) * | 2016-03-24 | 2016-08-17 | 努比亚技术有限公司 | A method and a device for outputting information according to pressure information |
CN110266876A (en) * | 2019-04-29 | 2019-09-20 | 努比亚技术有限公司 | A kind of pressure threshold determines method, apparatus and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113419640A (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220377128A1 (en) | File transfer display control method and apparatus, and corresponding terminal | |
CN110891144B (en) | Image display method and electronic equipment | |
TWI573074B (en) | Method and apparatus for providing access to functions from a locked screen, and related computer program product | |
CN108920202B (en) | Application preloading management method and device, storage medium and intelligent terminal | |
US20120151420A1 (en) | Devices, Systems, and Methods for Conveying Gesture Commands | |
CN109062464B (en) | Touch operation method and device, storage medium and electronic equipment | |
CN111339515A (en) | Application program starting method and electronic equipment | |
EP3764254B1 (en) | Fingerprint unlocking method, and terminal | |
CN111064848B (en) | Picture display method and electronic equipment | |
US20220321120A1 (en) | Touch button, control method, and electronic device | |
CN103870193A (en) | Information processing method and electronic equipment | |
CN109284041A (en) | A kind of application interface switching method and mobile terminal | |
CN108696642B (en) | Method for arranging icons and mobile terminal | |
CN108845752A (en) | touch operation method, device, storage medium and electronic equipment | |
CN112558831A (en) | Desktop sorting method and device and electronic equipment | |
CN110703972A (en) | File control method and electronic equipment | |
CN107562356B (en) | Fingerprint identification positioning method and device, storage medium and electronic equipment | |
CN106878509A (en) | A kind of control method of mobile terminal, mobile terminal and storage medium | |
CN112911147A (en) | Display control method, display control device and electronic equipment | |
CN110084009B (en) | Digital unlocking method and device, storage medium and mobile terminal | |
CN107967086B (en) | Icon arrangement method and device for mobile terminal and mobile terminal | |
CN108628534B (en) | Character display method and mobile terminal | |
CN108829306B (en) | Information processing method and mobile terminal | |
KR20220114082A (en) | Display method and electronic device | |
CN113419640B (en) | Pressure sensing channel opening method and device and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |