WO2025082007A1 - Procédé et appareil de détection de glissement, et dispositif électronique - Google Patents
Procédé et appareil de détection de glissement, et dispositif électronique Download PDFInfo
- Publication number
- WO2025082007A1 WO2025082007A1 PCT/CN2024/112479 CN2024112479W WO2025082007A1 WO 2025082007 A1 WO2025082007 A1 WO 2025082007A1 CN 2024112479 W CN2024112479 W CN 2024112479W WO 2025082007 A1 WO2025082007 A1 WO 2025082007A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- sliding
- operation instruction
- force
- electronic device
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/16—Sound input; Sound output
Definitions
- the present application relates to the field of terminal technology, and in particular to a sliding detection method, device and electronic device.
- the current volume button is a split volume button, which is a physical button with a mechanical structure. Users usually press the split volume button to make the electronic device increase or decrease the volume.
- the split volume button is prone to malfunction. For example, the button may become loose, lose sensitivity, or become unpressable.
- the mechanical structure of the split volume button only provides a simple pressing operation and cannot adapt to more complex interaction requirements. This affects the user experience.
- the embodiments of the present application provide a sliding detection method, device and electronic device, which can solve the problem that the split volume key is prone to malfunction and cannot adapt to more complex interaction requirements, thereby improving the user experience.
- an embodiment of the present application provides a sliding detection method, the method comprising: in response to a first operation performed by a user on a key along a first direction, obtaining a first force of the first operation; determining whether to execute a first operation instruction corresponding to the first operation based on the first force; in response to a second operation performed by the user on the key along a second direction, obtaining a second force of the second operation, the second direction being the opposite direction of the first direction, when it is determined that the first operation instruction is to be executed.
- the sliding detection method shown in the embodiment of the present application can control the electronic device to perform corresponding functions through the user's sliding, pressing and other operations on the button, thereby improving the user's experience.
- determining whether to execute a first operation instruction corresponding to a first operation according to a first force includes: if the first force is greater than or equal to a first detection threshold, executing the first operation instruction; if the first force is less than the first detection threshold, not executing the first operation instruction.
- the electronic device can determine that the first operation is a subjective operation of the user, and then make corresponding adjustments based on the operation, thereby avoiding user error operations and improving user experience.
- whether to execute the second operation instruction corresponding to the second operation is determined based on the second force, including: when the second operation is a first sub-operation, if the second force is greater than or equal to the first detection threshold, the second operation instruction is executed, and the first sub-operation includes a sliding operation in the second direction without the user's finger leaving the button after the user performs the first operation; if the second force is less than the first detection threshold, the second operation instruction is not executed.
- the electronic device matches the user's operating habits in the usage scenario where the user has a sliding back operation, determines the user's actual operation corresponding to the usage intention, and determines whether the user's current operation is the user's desired operation or the user's unconscious operation habit. It avoids user misoperation and improves user experience.
- determining whether to execute the second operation instruction corresponding to the second operation based on the second force includes: when the second operation is a second sub-operation, if the second force corresponding to the first pressing operation in the second sub-operation is greater than or equal to the second detection threshold, and the second force corresponding to the first sliding operation in the second sub-operation is greater than or equal to the first detection threshold, executing the second operation instruction; wherein the second sub-operation includes the user performing a first pressing operation on the key without releasing the finger from the key after performing the first operation, and performing a first sliding operation from the pressing position to the second direction without releasing the finger from the key after the first pressing operation.
- the electronic device can determine that the second sub-operation is a subjective operation of the user, and then make corresponding adjustments based on the operation to improve the user experience.
- the second force if the second force is less than the first detection threshold, after not executing the second operation instruction, it also includes: in response to the user's third operation on the key along the first direction, obtaining the third force of the third operation, the third operation is the sliding operation performed by the user without leaving the key after the first sub-operation; if the third force is greater than or equal to the first detection threshold, executing the third operation instruction corresponding to the third operation.
- the electronic device can identify the user's unconscious operation during the continuous operation of the user's finger sliding from the top of the volume key to the bottom of the volume key multiple times, avoiding the user's erroneous operation and improving the user experience.
- the electronic device after executing the second operation instruction, it also includes: in response to a fourth operation performed by the user on the key along the first direction, obtaining a fourth force of the fourth operation, wherein the fourth operation is a sliding operation performed by the user without removing the finger from the key after the user performs the second sub-operation; if the fourth force is greater than or equal to the first detection threshold, executing a fourth operation instruction corresponding to the fourth operation.
- the electronic device can identify the user's subjective operation and the user's unconscious operation during the continuous operation process in which the user's finger slides from the top of the volume key to the bottom of the volume key multiple times, judge the user's actual use intention, avoid the user's misoperation, and improve the user experience.
- the electronic device in response to a user's first operation on a key along a first direction, before obtaining a first force of the first operation, it also includes: determining whether at least one preset application is in the foreground or background running state; if any preset application is in the foreground or background running state, determining the function executed by the target operation instruction based on the target application, the target application is the preset application currently in the foreground or background running state, and the target operation instruction includes at least the first operation instruction and the second operation instruction.
- the electronic device can determine the different functions that the volume key needs to perform according to the application running in the foreground or background, so that the volume key can be applied to a variety of scenarios, improving the user experience.
- determining the function to be executed by the target operation instruction based on the target application includes: when the target application is an audio application or a video application, determining that the first operation instruction executes the function of increasing the volume, and the second operation instruction executes the function of decreasing the volume; or determining that the first operation instruction executes the function of decreasing the volume, and the second operation instruction executes the function of increasing the volume.
- the electronic device can enable the volume key to execute the function of increasing or decreasing the volume when the audio or video application is running, while matching the user's operating habits and improving the user experience.
- determining the function to be executed by the target operation instruction based on the target application includes: when the target application is a video application, determining that the first operation instruction executes the function of fast-forwarding the video, and the second operation instruction executes the function of rewinding the video; or determining that the first operation instruction executes the function of rewinding the video, and the second operation instruction executes the function of fast-forwarding the video.
- the electronic device can enable the volume key to execute the function of fast-forwarding or rewinding the video when the video application is running, while matching the user's operating habits and improving the user experience.
- determining the function to be executed by the target operation instruction based on the target application program includes: When the marked application is a browser application, the first operation instruction is determined to execute the function of scrolling up and flipping through the screen, and the second operation instruction is determined to execute the function of scrolling down and flipping through the screen; or the first operation instruction is determined to execute the function of scrolling down and flipping through the screen, and the second operation instruction is determined to execute the function of scrolling up and flipping through the screen.
- the electronic device can enable the volume key to execute the function of scrolling up and flipping through the screen or scrolling down and flipping through the screen when the browser application is running, and at the same time match the user's operating habits to improve the user experience.
- determining the function executed by the target operation instruction based on the target application includes: when the target application is a camera application, determining that the first operation instruction executes the function of increasing the zoom factor, and the second operation instruction executes the function of decreasing the zoom factor; or determining that the first operation instruction executes the function of decreasing the zoom factor, and the second operation instruction executes the function of increasing the zoom factor.
- the electronic device can make the volume key execute the function of increasing or decreasing the zoom factor when the camera application is running, while matching the user's operating habits and improving the user experience.
- the key is a push-touch volume key
- the structure of the volume key includes at least one of a cantilever beam structure, a built-in sensor structure, and an ultrasonic structure.
- the embodiment of the present application can be applied to push-touch volume keys of various structures.
- the electronic device in response to a user's first operation on a key along a first direction, before obtaining the first force of the first operation, it also includes: obtaining the user's touch duration on the key, and if the touch duration is greater than or equal to the first touch threshold, controlling the key to enter a wake-up state; or obtaining the number of taps on the key by the user, and if the number of taps is greater than or equal to the first number threshold, controlling the key to enter a wake-up state; or obtaining the user's touch position on the key, and if the touch position is a preset position, controlling the key to enter a wake-up state; or monitoring that a preset application is in the foreground or background running state, and controlling the key to enter a wake-up state.
- the electronic device can perform the above-mentioned sliding detection method after the key enters the wake-up state, which can avoid the user's accidental touch of the key.
- an embodiment of the present application provides a sliding detection device, which includes: a first acquisition module, the first acquisition module is used to obtain a first force of the first operation in response to a first operation performed by a user on a key along a first direction; a first execution module, the first execution module is used to determine whether to execute a first operation instruction corresponding to the first operation based on the first force; a second acquisition module, the second acquisition module is used to obtain a second force of the second operation in response to a second operation performed by the user on the key along a second direction when determining to execute the first operation instruction, the second direction being the opposite direction of the first direction; and a second execution module, the second execution module is used to determine whether to execute a second operation instruction corresponding to the second operation based on the second force.
- the sliding detection device shown in the embodiment of the present application can control the electronic device to perform corresponding functions through operations such as sliding and pressing performed by the user on the button, thereby improving the user experience.
- an embodiment of the present application provides an electronic device, comprising: a processor and a memory; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the method in the first aspect and any implementation method mentioned above.
- an embodiment of the present application provides a chip system, comprising: a memory and a processor; the memory stores program instructions, and when the program instructions are executed by the processor, the chip system executes the method in the first aspect and any implementation method mentioned above.
- an embodiment of the present application provides a computer storage medium, in which program instructions are stored in the computer-readable storage medium.
- program instructions are executed on a computer
- the computer executes the method in the first aspect and any implementation method described above.
- an embodiment of the present application provides a computer program product.
- the computer program product is in an electronic device
- the electronic device When the electronic device is running, it enables the electronic device to execute the method in the first aspect and any implementation manner as described above.
- FIG1 is a schematic structural diagram of a split volume key
- FIG2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
- FIG3 is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application.
- FIG4 is a schematic diagram of the structure of an integrated volume key
- FIG5 is a schematic diagram of a usage scenario of the integrated volume key
- FIG6 is a schematic diagram of the structure of another integrated volume key
- FIG7 is a schematic diagram of another usage scenario of the integrated volume key
- FIG8 is a schematic flow chart of a sliding detection method provided in an embodiment of the present application.
- FIG9 is a schematic diagram of a first operation provided by an embodiment of the present application.
- FIG10 is a schematic diagram of an erroneous operation scenario provided in an embodiment of the present application.
- FIG11 is a schematic diagram of a first sub-operation provided in an embodiment of the present application.
- FIG12 is a schematic diagram of a second sub-operation provided in an embodiment of the present application.
- FIG13 is a schematic diagram of a second sub-operation provided by another embodiment of the present application.
- FIG14 is a schematic diagram of a first scenario of a sliding detection method provided in an embodiment of the present application.
- FIG15 is a schematic diagram of a second scenario of the sliding detection method provided in an embodiment of the present application.
- FIG16 is a first schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG17 is a schematic diagram of a third scenario of the sliding detection method provided in an embodiment of the present application.
- FIG18 is a second schematic diagram of the time-force relationship provided by an embodiment of the present application.
- FIG19 is a schematic diagram of a fourth scenario of the sliding detection method provided in an embodiment of the present application.
- FIG20 is a third schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG21 is a schematic diagram of a fifth scenario of the sliding detection method provided in an embodiment of the present application.
- FIG22 is a fourth schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG23 is a schematic diagram of a sixth scenario of the sliding detection method provided in an embodiment of the present application.
- FIG24 is a fifth schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG. 25 is a schematic diagram of a sliding detection device provided in an embodiment of the present application.
- A/B can mean A or B.
- “And/or” in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist.
- a and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
- “at least one” means one or more, and “plurality” means two or more.
- the words “first”, “second”, etc. do not limit the quantity and execution order, and the words “first”, “second”, etc. do not limit them to be different.
- volume buttons on the side are usually provided with volume buttons on the side. Compared with the virtual volume buttons on the touch screen, the side volume buttons are more in line with the user's operating habits.
- FIG. 1 is a schematic diagram of the structure of a split volume key.
- the volume key may be a split volume key 101.
- the split volume key 101 is a physical key with a mechanical structure, and generally includes a volume up key 1011 and a volume down key 1012.
- the volume up key 1011 When the user presses the volume up key 1011, the media volume of the electronic device can be increased, and when the user presses the volume down key, the media volume of the electronic device can be decreased.
- the split volume key 101 the user can conveniently adjust the media volume of the electronic device without having to adjust the volume by touching the screen or other operations.
- the split volume key 101 is usually a raised key, which can have different shapes and materials to provide users with a comfortable touch and easy-to-press operation experience.
- the mechanical structure inside the key can make the user feel a certain resistance when the user presses the split volume key 101. Based on the rebound of the resistance, the user can determine that the pressing operation has been completed.
- the split volume key 101 is a mechanical structure, it is prone to malfunction when it is pressed for a long time or frequently by the user or affected by other physical factors. For example, the key may become loose, lose sensitivity or become unable to be pressed.
- the mechanical structure of the split volume key 101 can only provide a simple pressing operation and cannot adapt to more complex interaction requirements. For example, the split volume key 101 cannot achieve interaction requirements such as fast forward and fast rewind through operations such as sliding and long pressing. This affects the user experience.
- an embodiment of the present application provides a sliding detection method.
- the sliding detection method provided in the embodiment of the present application can be applied to electronic devices.
- the electronic devices include but are not limited to mobile phones, tablet computers, personal computers, workstation devices, large-screen devices (such as smart screens, smart TVs, etc.), wearable devices (such as smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle smart terminals, etc.
- FIG. 2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
- the electronic device 100 may include a processor 110, a memory 120, an audio module 130, a button 140, a motor 150, a camera 160, a display screen 170, a sensor module 180, etc.
- the sensor module 180 may include a pressure sensor 180A, a fingerprint sensor 180B, a touch sensor 180C, etc.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
- the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU).
- AP application processor
- GPU graphics processor
- ISP image signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- Different processing units may be independent devices or integrated in one. or multiple processors.
- the memory 120 can be used to store computer executable program codes, and the executable program codes include instructions.
- the memory 120 may include a program storage area and a data storage area.
- the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
- the data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc.
- the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 120 and/or instructions stored in a memory provided in the processor.
- the audio module 130 is used to play audio.
- the audio module 130 can increase or decrease the volume in response to the user's operation on the button 140 .
- the buttons 140 include a power button, a volume button, etc.
- the buttons 140 may be mechanical buttons or touch buttons, and the electronic device 100 may receive button inputs and generate signal inputs related to user settings and function control of the electronic device 100.
- the volume button is an integrated volume button.
- the motor 150 can generate a vibration prompt.
- the motor 150 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
- touch operation of the user on different applications can correspond to different vibration feedback effects.
- the motor 150 can generate vibration feedback in response to the user's operation on the button 140.
- the camera 160 is used to capture still images or videos.
- the camera 160 can increase or decrease the zoom factor in response to the user's operation on the button 140.
- the display screen 170 is used to display images, videos, etc.
- the display screen 170 includes a display panel.
- the pressure sensor 180A may be disposed on the display screen 170 to detect changes in pressure applied by the user's finger or palm on the mobile phone screen, thereby realizing a special gesture recognition function. For example, multiple levels of operation, such as light touch, long press, etc., may be realized through touch responses of different pressure levels.
- the pressure sensor 180A may also be disposed inside the middle frame of the electronic device 100 to detect changes in pressure applied to the button 140.
- the fingerprint sensor 180B is used to collect fingerprints.
- the fingerprint sensor 180B can be disposed on the surface of the button 140 to activate the button 140.
- the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
- the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
- FIG. 3 is a schematic diagram of the software structure of the electronic device provided in an embodiment of the present application.
- the layered architecture divides the software into several layers, each with a clear role and division of labor.
- the layers communicate with each other through software interfaces.
- the Android system is divided into four layers, from top to bottom: It is the application layer, application framework layer, Android runtime and system library, and kernel layer.
- the application layer can include a series of application packages.
- the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
- API application programming interface
- the application framework layer includes some predefined functions.
- the application framework layer may include a window manager, an input manager InputManager, a sensor manager SensorManager, a telephony manager, a resource manager, a notification manager, and the like.
- the input manager can be used to monitor the user's input events, such as click events and sliding events performed by the user's finger on the display screen 193 of the electronic device 100. By monitoring the input events, the electronic device 100 can determine whether the electronic device is being used. In one implementation, the input manager can monitor the user's input events on the key 140 to determine the corresponding function to be executed.
- the sensor manager is used to monitor the data returned by various sensors in the electronic device, such as pressure sensor data, fingerprint sensor data, touch sensor data, etc. Using the data returned by various sensors, the electronic device 100 can determine whether there is a user operation on the key 140.
- Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.
- the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
- the application layer and the application framework layer run in a virtual machine.
- the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
- the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
- functional modules such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
- the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
- a 2D graphics engine is a drawing engine for 2D drawings.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
- the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
- the sliding detection method provided in the embodiment of the present application is performed by the electronic device 100 based on pressing a touch-sensitive button.
- the following description assumes that the pressed touch-sensitive button is an integrated volume button.
- FIG. 4 is a schematic diagram of the structure of an integrated volume key.
- the electronic device 100 may be provided with an integrated volume key 102 by making a groove on the outer surface of the middle frame 1 .
- the electronic device 100 may be provided with a first groove 2 on the middle frame 1 , and a first notch 21 and a second notch 22 are provided on the contact surface between the middle frame 1 and the first groove 2 , and the first groove 2 is connected to the inside of the middle frame 1 through the first notch 21 and the second notch 22 .
- the volume button 3 includes a first crossbeam 31, a first clamping post 32 and a second clamping post 33.
- the first clamping post 32 and the second clamping post 33 are symmetrically arranged on the radial center line of the first crossbeam 31.
- the first crossbeam 31 is clamped in the first groove 2, the first clamping post 32 extends into the middle frame 1 through the first notch 21, and the second clamping post 33 extends into the middle frame 1 through the second notch 22.
- the interior of the middle frame 1 includes a first connecting column 11, a second connecting column 12 and a first connecting beam 13.
- One end of the first connecting column 11 and one end of the second connecting column 12 are arranged in parallel on the inner surface of the middle frame 1, and the other end of the first connecting column 11 and the other end of the second connecting column 12 extend into the interior of the middle frame 1.
- the other end of the first connecting column 11 and the other end of the second connecting column 12 are respectively connected to the two ends of the first connecting beam 13.
- the first connecting column 11, the second connecting column 12 and the first connecting beam 13 can form an integrated bracket structure.
- a first steel sheet 111 may be disposed between the first connecting column 11 and the second connecting column 12. One end of the first steel sheet 111 may be fixed to the first connecting column 11, and the other end may be fixed to the second connecting column 12.
- the first clamping column 32 and the second clamping column 33 may be embedded in the first steel sheet 111 .
- a plurality of first sensors 01 may be disposed on the first steel sheet 111 .
- the above structure can form a cantilever beam structure between the volume key 3 and the middle frame 1.
- the sensor in the cantilever beam structure can sense the pressure applied by the user, and determine the user's sliding (or pressing) position through the pressure applied by the user, and the electronic device 100 can adjust the volume based on the pressure and sliding (or pressing) position.
- FIG. 5 is a schematic diagram of a usage scenario of the integrated volume button.
- the finger applies pressure F to the first beam 31, the first beam 31 is deformed and transmits the pressure F to the first clamping column 32, the first clamping column 32 transmits the pressure F to the first steel sheet 111, so that the first steel sheet 111 is deformed.
- the first sensor 01 on the side of the first steel sheet 111 close to the first connecting column 11 can measure the first pressure F1 and the first deformation.
- the first sensor 01 on the side of the first steel sheet 111 close to the second connecting column 12 can measure the second pressure F2 and the second deformation.
- the value of the first pressure F1 is greater than the value of the second pressure F2
- the value of the first deformation is greater than the value of the second deformation. Based on the value of the first pressure F1 , the value of the first deformation, and the value of the second pressure F2 and the value of the second deformation, the current sliding force and sliding position of the user can be determined.
- the different values detected by the first sensor 01 at different positions can determine the user's different sliding (or pressing) forces and different sliding (or pressing) positions, and then determine the adjustment operation that the user needs to perform.
- FIG. 6 is a schematic diagram of the structure of another integrated volume key.
- the electronic device 100 may be provided with an integrated volume key 102 by not forming a groove on the outer surface of the middle frame 10 .
- the electronic device 100 can be provided with a second groove 20 inside the middle frame 10, so that the thickness of the C region of the middle frame 10 is less than the thickness of other regions of the middle frame 10.
- a plurality of third sensors 30 are provided on the inner surface of the C region. The C region of the middle frame 10 and the plurality of third sensors 30 can be combined to form an integrated volume key 102.
- Multiple third sensors 30 can sense the stress and strain applied by the user, and the electronic device 100 can adjust the volume based on the changes in stress and strain.
- FIG. 7 is a schematic diagram of another usage scenario of the integrated volume button.
- the third sensor 30 corresponding to the C1 region can measure the first stress and the first strain of the finger in this region.
- the third sensor 30 corresponding to the sliding position can measure the numerical changes of stress and strain.
- the user's sliding force is usually gradually reduced during the sliding process along the M direction. For example, when the user slides to the C2 region of the middle frame 10, the force is usually reduced due to the change in the angle of the finger relative to the middle frame 10. Therefore, the third sensor 30 corresponding to the C2 region measures that the second stress and the second strain of the finger in this region are less than the values of the first stress and the first strain.
- the plurality of third sensors 30 can detect the change of the sliding force from large to small, and the strain change at different positions, and the electronic device 100 can determine the user's need to adjust the volume when detecting these changes.
- the user's finger sliding along the M direction in the C area can be used to turn down the volume.
- the integrated volume key 102 includes but is not limited to the structure shown in the embodiment of the present application.
- the integrated volume key 102 can also set its internal structure based on the ultrasonic principle.
- the present application does not repeat other structures of the integrated volume key 102.
- the technical solution shown in the embodiment of the present application can be applied to integrated volume keys 102 of various structures, and the embodiment of the present application does not limit this.
- the integrated volume key 102 provided in the embodiment of the present application can avoid damage to the mechanical structure caused by the use of the split key, and has a longer service life.
- the integrated volume key 102 also provides more interaction methods for the user.
- FIG8 is a flow chart of the sliding detection method provided in the embodiment of the present application.
- the method may include the following steps S101 - S104 .
- Step S101 in response to a first operation performed by a user on a key along a first direction, obtaining a first force of the first operation.
- the button is an integrated volume button 102
- the structure of the integrated volume button 102 includes at least one of the cantilever beam structure, multiple sensor structures, and ultrasonic structure in the aforementioned embodiments.
- the electronic device 100 may control a key to enter a wake-up state and then execute step S101.
- the integrated volume key 102 can be set to have two states: awake state and dormant state.
- awake state the user's operation on the integrated volume key 102 can be detected by the first sensor 01 as shown in Figure 4 or the third sensor 30 as shown in Figure 6 and then sent to the processor for processing and analysis.
- dormant state the user's operation on the integrated volume key 102 is detected by the first sensor 01 as shown in Figure 4 or the third sensor 30 as shown in Figure 6, and the processor may not respond to the user's operation.
- the user can customize the way in which the integrated volume key 102 enters the wake-up state, and the electronic device 100 controls the integrated volume key 102 to enter the wake-up state based on the corresponding way. For example, the user can press and hold the key for a certain period of time, and the electronic device 100 obtains the user's touch time on the integrated volume key 102. If the touch time is greater than or equal to the first touch threshold, the electronic device 100 controls the key to enter the wake-up state. For example, the first touch threshold The value is 2 seconds.
- the user can also tap the integrated volume key 102 a certain number of times, and the electronic device 100 obtains the number of taps the user has made on the key. If the number of taps is greater than or equal to the first number threshold, the electronic device 100 controls the integrated volume key 102 to enter a wake-up state.
- the first number threshold is 2 times.
- the user can also touch a certain position of the button, and the electronic device 100 obtains the touch position of the user on the integrated volume key 102. If the touch position is a preset position, the electronic device 100 controls the integrated volume key 102 to enter a wake-up state.
- the preset position is the center of the integrated volume key 102.
- the electronic device 100 may also monitor the running status of a preset application. If the preset application is in the foreground running state or the background running state, the electronic device 100 controls the integrated volume key 102 to enter the wake-up state.
- the electronic device 100 can also vibrate to remind the user through the motor 191.
- the user can also customize the way in which the integrated volume key 102 enters the sleep state, and the electronic device 100 controls the integrated volume key 102 to enter the sleep state based on the corresponding method. For example, after the electronic device 100 enters the sleep state, the integrated volume key 102 can also enter the sleep state, or if the user does not operate the integrated volume key 102 within a certain period of time, the integrated volume key 102 automatically enters the sleep state.
- the embodiment of the present application does not limit the specific way in which the integrated volume key 102 enters the wake-up state and the sleep state.
- the sliding detection method in the embodiment of the present application can be implemented after the electronic device 100 controls the integrated volume key 102 to enter the awake state, or it can be implemented when the integrated volume key 102 is in a continuous running state.
- the sliding detection method in the embodiment of the present application is implemented after the integrated volume key 102 enters the awake state, the user can avoid accidentally touching the integrated volume key 102.
- the sliding detection method in the embodiment of the present application is implemented when the integrated volume key 102 is in a continuous running state, the user can quickly trigger the operation instruction at any time.
- the running state of the integrated volume key 102 in the present application can be set according to the user's habits, and the embodiment of the present application is not limited to this.
- the electronic device 100 can obtain a first force of the first operation based on multiple first sensors 01 as shown in FIG. 4 , or obtain the first force of the first operation based on multiple third sensors 30 as shown in FIG. 6 .
- FIG. 9 is a first operation schematic diagram provided in an embodiment of the present application.
- the first operation may be a sliding operation along the Q1 direction.
- the first direction can be the direction from the top of the integrated volume key 102 to the bottom of the integrated volume key 102, or it can be the direction from the bottom of the integrated volume key 102 to the top of the integrated volume key 102.
- the following embodiments of the present application are all exemplified with the first direction being the direction from the top of the integrated volume key 102 to the bottom of the integrated volume key 102.
- the embodiments of the present application do not limit the first direction, and the embodiments can refer to each other.
- the first operation may include a sliding operation, a pressing operation, an operation of pressing first and then sliding, and an operation of sliding first and then pressing, etc.
- the embodiments of the present application do not limit the specific operation method of the first operation.
- the first force can be the pressure detected by multiple first sensors 01 as shown in Figure 4, or it can be the stress detected by multiple third sensors 30 as shown in Figure 6.
- the embodiments of the present application do not limit the specific form of the first force.
- Step S102 determining whether to execute a first operation instruction corresponding to a first operation according to the first force.
- the first operation instruction if the first force is greater than or equal to a first detection threshold, the first operation instruction is executed, and if the first force is less than the first detection threshold, the first operation instruction is not executed.
- the first detection threshold may be a value preset by the electronic device 100 according to the structure of the integrated volume key 102.
- the set values may be the same or different.
- the embodiment of the present application only uses the integrated volume keys 102 of different structures having the same value of the first detection threshold for exemplary description.
- the detection of the first operation by the electronic device 100 includes not only the detection of the operation force, but also the detection of the operation position.
- the electronic device 100 converts the operation force and operation position detected by the sensor into corresponding analog signals or digital signals, and processes these signals in the processor so that the processor executes the corresponding first operation instruction.
- the electronic device 100 can determine whether it is necessary to execute the first operation instruction corresponding to the operation based on the operation force, and the specific execution method of the first operation instruction needs to be determined based on the operation force and operation position of the first operation. For example, in a scenario where the user adjusts the volume, when the user slides down 8 mm from the top of the integrated volume key 102 with a force of 0.4N, the electronic device 100 can reduce the volume from the current volume value 20 to the volume value 10, and when the user slides down 4 mm from the top of the integrated volume key 102 with a force of 0.4N, the electronic device 100 can reduce the volume from the current volume value 20 to the volume value 15. Therefore, when the operation force is 0.4N, the electronic device 100 can determine that the first operation instruction needs to be executed, and the degree of adjustment of the volume value is further defined in the first operation instruction by the electronic device 100 based on the operation force and the operation position.
- the first force is a pressure of 0.2N and the first detection threshold is 0.25N
- the first force is less than the first detection threshold, and at this time, the electronic device 100 does not execute the first operation instruction. In this way, the user's accidental touch can be avoided.
- the user can control the electronic device 100 to execute the first operation instruction based on the sliding operation on the integrated volume button 102. In this way, the sliding interaction method can enhance the user experience.
- the sliding interaction method provided by the integrated volume key 102 can solve some limitations of the split key.
- the operation instruction triggered by each press of the split key may only increase the volume value by 2. This value is preset in the electronic device. If the volume value needs to be adjusted from 0 to 8, you need to press the split volume key at least 3 times.
- the first operation instruction generated by each sliding of the integrated volume key 102 is different. Depending on the sliding distance, the first operation instruction may increase the volume value by 2, 4, 6, or 8. In this way, user needs can be met with fewer operations. Therefore, the process of sliding interaction based on the integrated volume key 102 in the embodiment of the present application has better flexibility.
- Step S103 when it is determined that the first operation instruction is to be executed, in response to a second operation performed by the user on the key along a second direction, a second force of the second operation is acquired, where the second direction is opposite to the first direction.
- the electronic device 100 can obtain the second force of the second operation based on the multiple first sensors 01 as shown in Figure 4, or obtain the second force of the second operation based on the multiple third sensors 30 as shown in Figure 6.
- Step S104 determining whether to execute a second operation instruction corresponding to the second operation according to the second force.
- the second operation performed by the user along the second direction on the integrated volume key 102 generally includes two situations.
- the first situation is the second operation performed based on the user's unconscious operating habits
- the second situation is the second operation performed based on the user's subjective intention.
- FIG. 10 is a schematic diagram of an erroneous operation scenario provided in an embodiment of the present application.
- the integrated volume key 102 can adjust the zoom factor in the photo page 103 of the photo application. For example, when the user's finger slides along the Q1 direction on the integrated volume key 102, the electronic device can magnify the scene 104 in the lens.
- the function of adjusting the zoom ratio of the integrated volume key 102 in the camera application can be a user-defined setting, and the user can also customize the integrated volume key 102 to adjust the exposure.
- the embodiment of the present application does not limit the custom setting method of the integrated volume key 102 in the camera application.
- the user needs to adjust the zoom ratio from 1 ⁇ to 3 ⁇ , it may not be possible to achieve it with a single operation. Specifically, the user's finger slides once on the integrated volume key along the Q1 direction, and can only adjust the zoom ratio from 1 ⁇ to 2 ⁇ . At this time, after the finger slides to the bottom of the integrated volume key, it is necessary to leave the integrated volume key 102 and slide once again along the Q1 direction on the top of the integrated volume key 102 to adjust the zoom ratio from 2 ⁇ to 3 ⁇ .
- some users may be accustomed to not leaving the integrated volume key 102 with their fingers, and directly return from the bottom of the integrated volume key 102 to the top of the integrated volume key 102. Then, this may cause an erroneous operation of adjusting the zoom ratio from 1 ⁇ to 2 ⁇ , and then adjusting the zoom ratio from 2 ⁇ back to 1 ⁇ , resulting in the user needing multiple operations to adjust the zoom ratio to 3 ⁇ .
- the user's finger after the user performs the first operation to decrease the volume, if the first operation has met the user's needs, the user's finger usually leaves the integrated volume key 102. If the first operation does not meet the user's needs, the user needs to adjust based on the current operation position to continue to decrease the volume or increase the volume, wherein the user can repeat the previous operation to continue to decrease the volume, so the user needs to return from the current position to the top of the integrated volume key 102. In this process, there is an unconscious operation in which the user's finger does not leave the integrated volume key 102, and this unconscious operation is likely to cause an erroneous operation of increasing the volume.
- the user needs to increase the volume, the user can slide in the opposite direction from the current position. In this process, the user needs to subjectively perform a sliding operation in the opposite direction.
- the specific operation form of the second operation can be distinguished.
- the second operation includes a first sub-operation or a second sub-operation.
- the first sub-operation includes a sliding operation along the second direction without the user's finger leaving the button after the user performs the first operation.
- the second sub-operation includes a first pressing operation on the integrated volume key 102 without the user's finger leaving the integrated volume key 102 after the user performs the first operation, and a first sliding operation from the pressing position to the second direction without the user's finger leaving the integrated volume key 102 after the first pressing operation.
- FIG. 11 is a schematic diagram of a first sub-operation provided in an embodiment of the present application.
- the first sub-operation may be a sliding operation along the Q2 direction.
- step S104 includes steps S1041 - S1042 .
- Step S1041 when the second operation is the first sub-operation, if the second force is greater than or equal to the first detection threshold, execute the second operation instruction.
- Step S1042 if the second force is less than the first detection threshold, the second operation instruction is not executed.
- the first sub-operation may be an operation based on the user's subjective intention, or may be an operation based on the user's unconscious operating habits.
- the user When the first sub-operation is an operation based on the user's subjective intention, the user usually increases the sliding force subjectively, so that the second force is larger.
- the second force obtained by the electronic device 100 may be 0.4N, and the electronic device 100 compares the second force with the first detection threshold. When the first detection threshold is 0.25N, the second force is greater than the first detection threshold, and the electronic device 100 executes the second operation instruction.
- the user When the first sub-operation is an operation based on the subjective intention of the user, the user usually applies a certain force on the integrated volume key 102. For example, in the scenario of adjusting the volume, the user first performs the first operation, slides 8 mm downward from the top of the integrated volume key 102 with a force of 0.4N, and after the electronic device 100 reduces the volume from the current volume value 20 to the volume value 10, the user may feel that the current volume value is too small, and immediately performs the first sub-operation, sliding from the current 8 mm position to the top of the integrated volume key 102. Since the user has the subjective intention of the sliding operation, the second force of the user when performing the first sub-operation is usually slightly less than or equal to the first force, for example, the second force is 0.3N.
- the second force 0.3N is greater than the first detection threshold 0.25N, and the electronic device 100 executes the second operation instruction.
- the second operation instruction can be specifically used to increase the electronic device 100 from the current volume value 10 to the volume value 15. Therefore, the electronic device 100 can accurately identify that the current first sub-operation is an operation based on the subjective intention of the user.
- the user When the first sub-operation is an operation based on the user's unconscious operating habits, the user usually slides lightly on the integrated volume key 102 and does not apply too much force on the integrated volume key 102. For example, in the scenario of adjusting the volume, the user first performs the first operation, sliding 8 mm from the top of the integrated volume key 102 with a force of 0.4N. After the electronic device reduces the volume from the current volume value 20 to the volume value 10, the user's needs are met. However, due to the user's unconscious operating habits, the first sub-operation is performed, sliding from the current 8 mm position to the top of the integrated volume key 102. Since the user does not have the subjective intention of the sliding operation, the second force is small, for example, the second force is 0.1N.
- the second force 0.1N is less than the first detection threshold 0.25N, and the electronic device 100 does not execute the second operation instruction. Therefore, the electronic device 100 can accurately identify that the current first sub-operation is an operation based on the user's unconscious operating habits.
- the electronic device 100 converts the operation force and operation position of the second operation detected by the sensor into corresponding signals, these signals are processed in the processor, and the processor can determine the magnitude relationship between the second force and the first detection threshold, and then determine whether the second operation instruction needs to be executed. Based on this, the electronic device 100 can accurately identify whether the first sub-operation is an operation based on the user's subjective intention or an operation based on the user's unconscious operation habits, and has the detection capability to determine the user's actual usage intention.
- step S104 also includes step S1043.
- Step S1043 when the second operation is a second sub-operation, if the second force corresponding to the first pressing operation in the second sub-operation is greater than or equal to the second detection threshold, and the second force corresponding to the first sliding operation in the second sub-operation is greater than or equal to the first detection threshold, execute the second operation instruction.
- the second sub-operation is usually a subjective operation of the user. After performing the first operation, the user may not have the ability to react immediately and perform the first sub-operation immediately. Instead, the user needs to continue to perform other sliding operations after a certain reaction time. In this way, the user actually performs the second sub-operation, that is, the user first performs the first pressing operation within the reaction time, and then performs the first sliding operation from the pressing position to the second direction after the reaction time is over. Since the first pressing operation and the first sliding operation are both subjective operations of the user, the user usually exerts A certain amount of strength.
- FIG. 12 is a schematic diagram of a second sub-operation provided in an embodiment of the present application.
- the second sub-operation may be a pressing operation followed by a sliding operation along the Q2 direction.
- the electronic device 100 pre-sets a second detection threshold according to the configured integrated volume key 102 structure.
- the second detection threshold can be a press detection threshold.
- the second detection threshold is 1.3N.
- the electronic device 100 can determine that the user has a subjective intention to change the sliding direction.
- the electronic device 100 can determine that the user has a subjective intention to slide in the Q2 direction.
- the embodiment of the present application only exemplifies the second detection threshold, and the specific value of the second detection threshold can be set according to actual conditions.
- FIG. 13 is a schematic diagram of a second sub-operation provided in another embodiment of the present application.
- the second sub-operation also has other operation forms in addition to the aforementioned embodiment.
- the second sub-operation may be a sliding operation of a certain distance from the end position of the first operation to the second direction after the user performs the first operation, and a second pressing operation of the integrated volume key 102 after sliding a certain distance, and a second sliding operation from the pressing position to the second direction.
- This form of second sub-operation includes a part of unconscious sliding back operation and a part of subjective operation. Specifically, after the user performs the first operation, the user will perform an unconscious sliding back operation within a period of time. After a certain reaction time, the user may determine that a second pressing operation is required. In this way, the electronic device 100 can determine that the user has a subjective intention to change the sliding direction. After the user performs the second pressing operation, the user may further subjectively perform a second sliding operation along the second direction, so that the electronic device 100 can determine that the user has a subjective intention to slide along the second direction, and make corresponding adjustments according to the second sliding operation. In other words, the electronic device 100 can accurately identify that the second sub-operation includes an operation based on the user's subjective intention. In this way, the electronic device 100 has the detection capability to judge the user's actual usage intention.
- the above operation mode can be implemented in various application scenarios.
- a user may perform a series of continuous operations in different application scenarios.
- step S1042 further includes steps S105-S106.
- Step S105 in response to a third operation performed by the user on the key along the first direction, obtaining a third force of the third operation.
- the third operation is a sliding operation performed by the user without removing the finger from the integrated volume key 102 after the user performs the first sub-operation.
- the single volume adjustment range configured therein may not meet the user's adjustment needs, and the user may need to make adjustments multiple times to reach the target volume value.
- the user first performs the first operation, sliding down 8 mm from the top of the integrated volume key 102 with a force of 0.4N.
- the electronic device 100 reduces the volume from the current volume value 20 to the volume value 10
- the current volume value may still be high, and the user needs to continue to adjust the volume value.
- the user needs to return from the current position to the top of the integrated volume key 102 to adjust the volume value again.
- the user may not leave the integrated volume key 102 due to unconscious operating habits, and return to the top of the integrated volume key 102, that is, perform the first sub-operation with a second force less than the first detection threshold.
- the electronic device 100 does not execute the corresponding instruction for the first sub-operation.
- the user can A third operation is performed, and a specific operation method of the third operation may be the same as that of the first operation.
- the user may not be able to reach the target volume value through only one volume adjustment during the process of adjusting the volume.
- the user first performs the first operation, sliding down 8 mm from the top of the integrated volume key 102 with a force of 0.4N.
- the electronic device 100 reduces the volume from the current volume value 20 to the volume value 10
- the current volume value may be too low, and the user needs to continue to adjust the volume value.
- the user can slide back through the first sub-operation with a second force greater than or equal to the first detection threshold. In this way, the electronic device 100 can increase the current volume value to 14. If the user believes that the current volume value still needs to be reduced, the user can perform a third operation, and its specific operation method can be the same as the first operation.
- Step S106 if the third force is greater than or equal to the first detection threshold, execute a third operation instruction corresponding to the third operation.
- the third operation is usually a subjective operation of the user. Therefore, the user usually applies a certain force on the integrated volume key 102.
- the electronic device 100 can determine that the third force is greater than or equal to the first detection threshold, and then execute the third operation instruction corresponding to the third operation.
- the electronic device 100 can accurately identify the operation instructions that need to be executed, match the user's operating habits, and avoid user misoperation.
- step S1041 or step S1043 further includes steps S107 - S108 .
- Step S107 in response to a fourth operation performed by the user on the key along the first direction, obtaining a fourth force of the fourth operation.
- the fourth operation is a sliding operation performed by the user without removing the finger from the integrated volume key 102 after the user performs the second sub-operation.
- the user may not be able to reach the target volume value through only one volume adjustment during the process of adjusting the volume.
- the user first performs the first operation, sliding down 8 mm from the top of the integrated volume key 102 with a force of 0.4N.
- the electronic device 100 reduces the volume from the current volume value 20 to the volume value 10
- the current volume value may be too low, and the user needs to continue to adjust the volume value.
- the user can press first and then slide back through the second sub-operation. In this way, the electronic device 100 can increase the current volume value to 14. If the user thinks that the current volume value still needs to be reduced, the user can perform the fourth operation, and its specific operation method can be the same as the first operation.
- Step S108 if the fourth force is greater than or equal to the first detection threshold, execute a fourth operation instruction corresponding to the fourth operation.
- the fourth operation is usually a subjective operation of the user. Therefore, the user usually applies a certain force on the integrated volume key 102.
- the electronic device 100 can determine that the fourth force is greater than or equal to the first detection threshold, and then execute the fourth operation instruction corresponding to the fourth operation.
- the electronic device 100 can accurately identify the operation instructions that need to be executed, match the user's operating habits, and avoid user misoperation.
- step S101 also includes steps S201 - S202 .
- Step S201 determining whether at least one preset application is in the foreground or background running state.
- the integrated volume key 102 can be applied to a variety of applications and perform different functions in different applications.
- the electronic device 100 can pre-configure the functions performed by the integrated volume key 102 in a preset application, and when the preset application is in the foreground or background running state, the integrated volume key 102 can be used.
- 102 executes the operation instruction corresponding to the preset application program.
- the foreground and background operation states include the foreground operation state and the background operation state.
- the electronic device 100 can monitor the activity life cycle of the preset application to determine whether the preset application is in the foreground or background running state.
- the electronic device 100 can also query the application manager or task manager provided by the operating system to determine whether the preset application is in the foreground or background running state.
- the electronic device 100 can also detect the interaction between the user and the application to determine whether the preset application is in the foreground or background running state.
- the embodiment of the present application does not limit the specific method of determining whether the preset application is in the foreground or background state.
- the preset applications may include audio applications, video applications, browser applications, camera applications, etc.
- the embodiment of the present application does not limit the specific type of the preset applications.
- Step S202 if any preset application is in the foreground or background running state, determine the function executed by the target operation instruction based on the target application, the target application is the preset application currently in the foreground or background running state, and the target operation instruction includes at least a first operation instruction and a second operation instruction.
- the electronic device 100 can determine that the first operation instruction executes the function of increasing the volume, and the second operation instruction executes the function of decreasing the volume, or determine that the first operation instruction executes the function of decreasing the volume, and the second operation instruction executes the function of increasing the volume.
- the user performs a sliding operation K1 on the integrated volume key 102 along the Q1 direction, and the electronic device 100 can obtain the sliding force R1 of the sliding operation K1 based on multiple third sensors 30, and the sliding force R1 is usually greater than the first detection threshold 0.25N, so that the electronic device 100 can increase the volume. If the current increased volume of the electronic device 100 just meets the user's needs, the user will usually leave the integrated volume key 102 after performing the sliding operation K1 to complete this operation. In this case, the user's misoperation will usually not occur.
- the user's finger returns to the initial position of the integrated volume key 102, and performs a sliding operation K2 on the integrated volume key 102 along the Q1 direction again.
- the electronic device 100 can again obtain the sliding force R2 of the sliding operation K2 based on multiple third sensors 30.
- the sliding force R2 is usually greater than the first detection threshold 0.25N. In this way, the electronic device 100 can increase the volume again.
- the user can repeat the above process multiple times, which will not be described in detail in this embodiment of the present application.
- the user can perform sliding operations along the Q1 direction on the integrated volume key 102 for multiple times, and each adjacent sliding operation is discontinuous, that is, after each sliding operation from the initial position of the integrated volume key 102, the user lifts his finger to perform the next operation.
- the electronic device 100 can determine that the sliding force corresponding to each operation is greater than or equal to the first detection threshold, thereby executing the operation instruction corresponding to each operation.
- the sliding detection method provided in the embodiment of the present application can accurately execute operating instructions and determine the user's actual usage intention.
- the electronic device 100 may reduce the volume according to the first operation instruction, and increase the volume according to the third operation instruction.
- the volume is decreased according to the operation instruction, or the volume is increased according to the first operation instruction, and the volume is increased according to the third operation instruction.
- FIG. 15 is a schematic diagram of a second scenario of the sliding detection method provided in an embodiment of the present application.
- the user performs a sliding operation K3 on the integrated volume key 102 along the Q1 direction, and the electronic device 100 can obtain the sliding force R3 of the sliding operation K3 based on multiple third sensors 30, and the sliding force R3 is usually greater than the first detection threshold 0.25N, so that the electronic device 100 can increase the volume.
- the finger may not leave the integrated volume key 102 due to unconscious operating habits, and perform a back sliding operation K4 along the Q2 direction from the end position of the sliding operation K3 to return to the initial position of the integrated volume key 102.
- the electronic device 100 can obtain the sliding force R4 of the back sliding operation K4 based on multiple third sensors 30, and the sliding force R4 is usually less than the first detection threshold 0.25N. In this way, the electronic device 100 does not execute the operation instruction corresponding to the sliding operation K4, does not reduce the volume, and after returning to the initial position of the integrated volume key 102, performs a sliding operation K5 on the integrated volume key 102 along the Q1 direction again.
- the electronic device 100 can obtain the sliding force R5 of the sliding operation K5 based on multiple third sensors 30.
- the sliding force R5 is usually greater than the first detection threshold 0.25N. In this way, the electronic device 100 can continue to increase the volume.
- the user can repeat the above process multiple times, which will not be described in detail in this embodiment of the present application.
- the user can perform a series of continuous operations such as sliding operation K3-sliding back operation K4-sliding operation K5-sliding back operation K6 (the operation method is the same as the sliding back operation K4, which is not described in detail in this embodiment) on the integrated volume key 102, and the continuous operation is hereinafter referred to as the first continuous operation.
- sliding back operation K4, sliding back operation K6, etc. are unconscious operations of the user, and are not operations with the actual use intention of the user.
- the electronic device 100 can determine that there is no need to execute the operation instructions corresponding to sliding back operation K4 and sliding back operation K6.
- the user's operating habits can easily cause misoperation.
- the user's operation is similar to the process of turning the wheel. In this way, the user can not only quickly perform the first continuous operation, but also will not make misoperations during the first continuous operation.
- the electronic device 100 can match the user's operating habits, accurately distinguish the operation instructions that do not need to be executed, and judge the user's actual usage intention.
- FIG. 16 is a first schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG. 16 As shown in FIG. 16 , with the horizontal axis representing time (s) and the vertical axis representing pressure (N), a schematic diagram of the time-force relationship of the sliding operation K3 - the back sliding operation K4 - the sliding operation K5 is shown.
- the sliding operation K3 gradually increases from -0.04N to 0.5N in the time range of 1.1s-1.8s, and gradually decreases from 0.5N to 0.1N in the time range of 1.8s-2.3s.
- the back sliding operation K4 fluctuates in the pressure range of 0.08N-0.24N in the time range of 2.3s-3.5s.
- the sliding operation K5 gradually increases from 0.1N to 0.52N in the time range of 3.5s-4.3s, and gradually decreases from 0.52N to -0.04N in the time range of 4.3s-4.9s.
- the pressure value may be a relative pressure difference, and the relative pressure difference may be a pressure relative to a given reference value.
- a positive pressure value indicates a pressure higher than the reference pressure, and a negative pressure value indicates a pressure lower than the reference pressure.
- the sliding operation K3 triggers the first detection threshold of 0.25 N in the process of gradually increasing from -0.04 N to 0.5 N
- the sliding operation K5 triggers the first detection threshold of 0.25 N in the process of gradually increasing from 0.1 N to 0.52 N
- the forces corresponding to the back sliding operation K4 are all lower than the first detection threshold of 0.25 N and do not trigger the first detection threshold of 0.25 N. Therefore, the electronic device 100 can determine that there is no need to execute the operation instruction corresponding to the back sliding operation K4.
- the above time-force relationship diagram shows that the electronic device 100 can match the user's operating habits based on numerical examples. habits, accurately distinguish unnecessary operation instructions, and judge the user's actual usage intention.
- FIG. 17 is a schematic diagram of a third scenario of the sliding detection method provided in an embodiment of the present application.
- the user performs a sliding operation K7 on the integrated volume key 102 along the Q1 direction, and the electronic device 100 can obtain the sliding force R7 of the sliding operation K7 based on the third sensor 30, and the sliding force R7 is usually greater than the first detection threshold 0.25N, so that the electronic device 100 can increase the volume.
- the finger can not leave the integrated volume key 102, and immediately perform a sliding operation K8 from the end position of the sliding operation K7 along the Q2 direction, sliding back a certain distance, and the electronic device 100 can obtain the sliding force R8 of the sliding operation K8 based on the third sensor 30, and the sliding force R8 is usually greater than or equal to the first detection threshold 0.25N, so that the electronic device 100 can reduce the volume.
- the volume of the electronic device 100 is lowered to less than the target volume, the user can perform a sliding operation K9 along the Q1 direction again.
- the electronic device 100 can obtain the sliding force R9 of the sliding operation K9 based on the third sensor 30.
- the sliding force R9 is usually greater than the first detection threshold 0.25N. In this way, the electronic device 100 can continue to increase the volume.
- the user can repeat the above process multiple times, which will not be described in detail in this embodiment of the present application.
- the user can perform a series of continuous operations such as sliding operation K7-sliding back operation K8-sliding operation K9, which are hereinafter referred to as the second continuous operation.
- the sliding back operation K8 is an operation with the user's subjective intention, and the electronic device 100 can determine that the operation instruction corresponding to the sliding back operation K8 needs to be executed.
- the electronic device 100 can determine whether the operation is a subjective operation of the user or an unconscious operation habit of the user, so as to accurately distinguish the operation instructions and judge the user's actual usage intention.
- FIG. 18 is a second schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG. 18 As shown in FIG. 18 , with the horizontal axis representing time (s) and the vertical axis representing pressure (N), a schematic diagram of the time-force relationship of the sliding operation K7 - the back sliding operation K8 - the sliding operation K9 is shown.
- the sliding operation K7 gradually increases from -0.04N to 0.5N in the time range of 0.8s-1.8s, and gradually decreases from 0.5N to 0.25N in the time range of 1.8s-2.5s.
- the back sliding operation K8 fluctuates in the pressure range of 0.16N-0.3N in the time range of 2.5s-3.6s.
- the sliding operation K9 gradually increases from 0.16N to 0.5N in the time range of 3.6s-4.5s, and gradually decreases from 0.5N to -0.04N in the time range of 4.5s-5.4s.
- the sliding operation K7 triggers the first detection threshold of 0.25N in the process of gradually increasing from -0.04N to 0.5N
- the sliding operation K8 triggers the first detection threshold of 0.25N in the process of pressure fluctuation in the range of 0.16N-0.3N
- the sliding operation K9 triggers the first detection threshold of 0.25N in the process of gradually increasing from 0.16N to 0.5N. Therefore, the electronic device 100 sequentially executes the sliding operation K7, the sliding operation K8, and the operation instructions corresponding to the sliding operation K9.
- the electronic device 100 can match the user's operating habits, determine that the sliding operation K8 is an operation instruction that needs to be executed, and judge the user's actual usage intention.
- the electronic device 100 can reduce the volume according to the first operation instruction and increase the volume according to the second operation instruction, or increase the volume according to the first operation instruction and reduce the volume according to the second operation instruction.
- FIG. 19 is a schematic diagram of a fourth scenario of the sliding detection method provided in an embodiment of the present application.
- the user performs a sliding operation K10 along the direction Q1, and the electronic device 100 can obtain the sliding force of the sliding operation K10 based on the plurality of third sensors 30.
- the sliding force R10 is usually greater than the first detection threshold of 0.25N, so that the electronic device 100 can increase the volume.
- the finger can perform the pressing operation K11, and the electronic device 100 can obtain the pressing force R11 of the pressing operation K11 based on multiple third sensors 30, and the pressing force is usually greater than the second detection threshold of 1.3N, so that the electronic device 100 can determine that the user's further operation is an operation with subjective intention.
- the finger After a certain user reaction time, the finger performs a back sliding operation K12 along the Q2 direction from the pressing position, and slides back a certain distance.
- the electronic device 100 can obtain the sliding force R12 of the back sliding operation K12 based on the third sensor 30, and the sliding force R12 is usually greater than the first detection threshold of 0.25N, so that the electronic device 100 can reduce the volume.
- the user can repeat the above process multiple times, which will not be described in detail in this embodiment of the present application.
- the user can perform a series of continuous operations such as sliding operation K10-pressing operation K11-sliding back operation K12, which is hereinafter referred to as the third continuous operation.
- pressing operation K11 and sliding back operation K12 are operations with the user's subjective intention.
- the electronic device 100 can determine that the user may have a subjective intention to change the direction after performing the pressing operation K11. In this way, the electronic device 100 can accurately distinguish the operation instructions and judge the user's actual usage intention.
- FIG. 20 is a third schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG. 20 As shown in FIG. 20 , with the horizontal axis representing time (s) and the vertical axis representing pressure (N), a schematic diagram of the time-force relationship of the sliding operation K10 - the pressing operation K11 - the sliding back operation K12 is shown.
- the sliding operation K10 gradually increases from -0.04N to 0.45N within the time range of 1s-1.6s, and gradually decreases from 0.45N to 0.3N within the time range of 1.6s-2.7s.
- the pressing operation K11 gradually increases from 0.3N to 2.25N within the time range of 2.7s-3.5s, and gradually decreases from 2.25N to 0.2N within the time range of 3.5s-4s.
- the sliding back operation K12 gradually increases from 0.2N to 0.65N within the time range of 4s-4.7s, and gradually decreases from 0.65N to -0.04N within the time range of 4.7s-5.4s.
- the sliding operation K10 triggers the first detection threshold of 0.25N in the process of gradually increasing from -0.04N to 0.45N
- the pressing operation K11 triggers the second detection threshold of 2.25N in the process of gradually increasing from 0.3N to 2.25N
- the sliding back operation K12 triggers the first detection threshold of 0.25N in the process of gradually increasing from 0.2N to 0.65N. Therefore, the electronic device 100 sequentially executes the operation instructions corresponding to the sliding operation K10, the pressing operation K11, and the sliding back operation K12.
- the electronic device 100 can match the user's operating habits and determine that the operation after the pressing operation K11 is an operation with the user's subjective intention to judge the user's actual usage intention.
- the electronic device 100 can determine that the first operation instruction executes the function of fast-forwarding the video, and the second operation instruction executes the function of fast-rewinding the video, or determine that the first operation instruction executes the function of fast-rewinding the video, and the second operation instruction executes the function of fast-forwarding the video.
- the electronic device 100 can distinguish the purpose of the integrated volume key 102 according to different user operation modes to determine whether the user's operation of the integrated volume key 102 is for adjusting the volume or for adjusting the video progress.
- the user's operation on the integrated volume key 102 can be used to adjust the volume.
- the specific volume adjustment method can refer to the above-mentioned audio application. This embodiment of the application will not be described in detail.
- the user when a user is playing a video in full screen, if the user needs to adjust the progress of the video, the user can call up the video progress bar. After the electronic device 100 determines that the current page of the display screen displays the video progress bar, it can adjust the video progress in response to the user's operation of the integrated volume key 102.
- the electronic device 100 can fast forward the video according to the first operation instruction, and fast forward the video according to the third operation instruction, or fast rewind the video according to the first operation instruction, and fast rewind the video according to the third operation instruction.
- the specific video progress adjustment method in the embodiment of the present application can refer to the above-mentioned audio application, and the embodiment of the present application will not be described in detail.
- the electronic device 100 can determine that the first operation instruction executes the function of scrolling the screen upward, and the second operation instruction executes the function of scrolling the screen downward, or determine that the first operation instruction executes the function of scrolling the screen downward, and the second operation instruction executes the function of scrolling the screen upward.
- the electronic device 100 can scroll down the screen according to the first operation instruction, and scroll down the screen according to the third operation instruction, or scroll up the screen according to the first operation instruction, and scroll up the screen according to the third operation instruction.
- the electronic device 100 may scroll down the screen according to the first operation instruction, scroll up the screen according to the second operation instruction, and scroll down the screen again according to the fourth operation instruction, or scroll up the screen according to the first operation instruction, scroll down the screen according to the second operation instruction, and scroll up the screen again according to the fourth operation instruction.
- the specific browsing progress adjustment method in the embodiment of the present application can refer to the above-mentioned audio application, and the embodiment of the present application will not be repeated.
- FIG. 21 is a schematic diagram of the fifth scenario of the sliding detection method provided in an embodiment of the present application.
- the user may browse to two-thirds of the content of the long text 300 for the first time, and when the user browses again, the user may return to the initial position of the long text 300 because the current browsing progress is not saved. In this way, the user may quickly slide multiple times to locate to two-thirds of the long text 300.
- the user performs a sliding operation K13 along the Q1 direction on the integrated volume key 102, and the electronic device 100 can obtain the sliding force R13 of the sliding operation K13 based on the third sensor 30.
- the sliding force R13 is usually greater than the first detection threshold 0.25N, so that the electronic device 100 can scroll down to flip through the screen.
- the user may not locate the target browsing position in a single operation. After the user performs the sliding operation K13, the finger quickly returns to the top of the integrated volume key 102. During this process, the user may not leave the integrated volume key 102 due to operating habits, that is, the user performs a back sliding operation K14 along the Q2 direction from the end position of the sliding operation K13 to return to the top of the integrated volume key 102.
- the electronic device 100 can obtain the sliding force R14 of the back sliding operation K14 based on the third sensor 30.
- the sliding force R14 is usually less than the first detection threshold 0.25N.
- the electronic device 100 does not execute the operation instruction corresponding to the back sliding operation K14.
- the user can repeat the sliding three times in a row.
- the user repeats the sliding operation K13-sliding back operation K14 on the integrated volume key 102 three times in a row.
- the sliding back operation is an unconscious operation of the user and is not an operation with the user's actual intention.
- the electronic device 100 can determine that there is no need to execute the operation instruction corresponding to the sliding back operation K14 during the three repetitions.
- the electronic device 100 can match the user's operating habits, accurately distinguish operating instructions that do not need to be executed, and judge the user's actual usage intention.
- FIG. 22 is a fourth schematic diagram of the time-force relationship provided in an embodiment of the present application.
- the sliding operation K13 when the user performs the sliding operation K13 for the first time, the sliding operation K13 gradually increases from -0.04N to 0.64N within the time range of 0.5s-0.8s, and gradually decreases from 0.64N to 0.08N within the time range of 0.8s-1.3s.
- the sliding operation K14 fluctuates in the pressure range of 0.08N-0.15N within the time range of 1.3s-1.7s.
- the sliding operation K13a gradually increases from 0.08N to 0.55N within the time range of 1.7s-2s, and gradually decreases from 0.55N to 0.18N within the time range of 2s-2.6s.
- the sliding operation K14a fluctuates in the pressure range of 0.18N-0.22N within the time range of 2.6s-2.9s.
- the sliding operation K13b gradually increases from 0.18N to 0.74N within the time range of 2.9s-3.3s, and gradually decreases from 0.74N to -0.04N within the time range of 3.3s-4.1s.
- the sliding operation K13 triggered the first detection threshold of 0.25N in the process of gradually increasing from -0.04N to 0.64N, and the corresponding forces of the sliding back operation K14 were all lower than the first detection threshold of 0.25N, and the first detection threshold of 0.25N was not triggered.
- the sliding operation K13a triggered the first detection threshold of 0.25N in the process of gradually increasing from 0.08N to 0.55N, and the corresponding forces of the sliding back operation K14a were all lower than the first detection threshold of 0.25N, and the first detection threshold of 0.25N was not triggered.
- the sliding operation K13b triggered the first detection threshold of 0.25N in the process of gradually increasing from 0.18N to 0.74N.
- the electronic device 100 can match the user's operating habits, accurately determine the operating instructions that do not need to be executed, and determine the user's actual usage intention.
- FIG. 23 is a schematic diagram of a sixth scenario of the sliding detection method provided in an embodiment of the present application.
- the user may browse to one-third of the content of the long text 300 for the first time, and when the user browses again, it may return to the initial position of the long text 300 because the current browsing progress is not saved, so that the user can quickly slide multiple times to locate to one-third of the long text 300.
- the user cannot accurately locate to one-third of the long text 300.
- the user may directly locate to one-half of the long text 300. In this way, the user needs to subjectively slide back from one-half to one-third.
- the user performs a sliding operation K15 along the Q1 direction on the integrated volume key 102, and the electronic device 100 can obtain the sliding force R15 of the sliding operation K15 based on the third sensor 30.
- the sliding force R15 is usually greater than the first detection threshold 0.25N, so that the electronic device 100 can scroll down to flip through the screen.
- the user's single operation may still be a certain distance away from the target browsing position. After the user performs the sliding operation K15, the finger quickly returns to the top of the integrated volume key 102.
- the user may not leave the integrated volume key 102 due to operating habits, that is, the user performs a back sliding operation K16 along the Q2 direction from the end position of the sliding operation K15 to return to the top of the integrated volume key 102.
- the electronic device 100 can obtain the sliding force R16 of the back sliding operation K16 based on the third sensor 30.
- the sliding force R16 is usually less than the first detection threshold 0.25N. In this way, the electronic device 100 does not execute the operation instruction corresponding to the back sliding operation K16.
- the user can perform a sliding operation K17 on the integrated volume key 102 along the Q1 direction again.
- the sub-device 100 can obtain the sliding force R17 of the sliding operation K17 based on the third sensor 30.
- the sliding force R17 is usually greater than the first detection threshold 0.25N.
- the electronic device 100 may scroll down the screen to half of the long text 300, and the user needs to continue to adjust the browsing progress.
- the user can perform a pressing operation K18 at one-half of the long text 300, and the electronic device 100 can obtain the pressing force R18 of the pressing operation K18 based on the third sensor 30.
- the pressing force is usually greater than the second detection threshold 1.3N. In this way, the electronic device 100 can determine that the user has a subjective intention to change the sliding direction. After a certain user reaction time, the finger performs a back sliding operation K19 from the pressing position along the Q2 direction, sliding back a certain distance.
- the electronic device 100 can obtain the sliding force R19 of the back sliding operation K19 based on the third sensor 30.
- the sliding force R19 is usually greater than the first detection threshold 0.25N. In this way, the electronic device 100 can scroll up and flip through the screen, positioning from one-half of the long text 300 to one-third of the long text 300.
- the user can perform a series of continuous operations including sliding operation K15-sliding back operation K16-sliding operation K17-pressing operation K18-sliding back operation K19, hereinafter referred to as the fourth continuous operation.
- sliding back operation K16 is an unconscious operation of the user
- pressing operation K18 and sliding back operation K19 are operations with the user's subjective intention.
- the electronic device 100 can determine and distinguish the operation instructions and judge the user's actual usage intention.
- FIG. 24 is the fifth schematic diagram of the time-force relationship provided in an embodiment of the present application.
- FIG. 24 As shown in FIG. 24 , with the horizontal axis being time (s) and the vertical axis being pressure (N), a schematic diagram of the time-force relationship of sliding operation K15 - sliding back operation K16 - sliding operation K17 - pressing operation K18 - sliding back operation K19 is shown.
- the sliding operation K15 gradually increases from -0.04N to 0.5N within the time range of 0.4s-0.7s, and gradually decreases from 0.5N to 0.1N within the time range of 0.7s-1.1s.
- the sliding operation K16 fluctuates within the pressure range of 0.05N-0.1N within the time range of 1.1s-1.3s.
- the sliding operation K17 gradually increases from 0.1N to 0.55N within the time range of 1.3s-1.8s. There is a slight sliding operation between the sliding operation K17 and the pressing operation K18, which is not introduced in the embodiments of the present application.
- the pressing operation K18 gradually increases from 0.45N to 1.35N within the time range of 1.8s-2.2s, and gradually decreases from 1.35N to 0.45N within 2.2s-2.5s.
- the pressure fluctuated within the pressure range of 0.45N-0.55N during the time range of 2.5s-3.5s, and then gradually decreased from 0.5N to -0.04N.
- the sliding operation K15 triggers the first detection threshold of 0.25N in the process of gradually increasing from -0.04N to 0.5N
- the sliding operation K16 fluctuates in the pressure range of 0.05N-0.1N without triggering the first detection threshold of 0.25N
- the sliding operation K17 triggers the first detection threshold of 0.25N in the process of gradually increasing from 0.1N to 0.55N
- the pressing operation K18 triggers the second detection threshold of 1.3N in the process of gradually increasing from 0.45N to 1.35N
- the sliding operation K19 triggers the first detection threshold of 0.25N when it fluctuates in the pressure range of 0.45N-0.55N.
- the electronic device 100 can match the user's operating habits, determine that the sliding operation K16 is an unconscious operation of the user, and determine that the pressing operation K18 and the sliding operation K19 are operations with the user's subjective intention. Therefore, the electronic device 100 can determine and distinguish the operation instructions and judge the user's actual usage intention.
- the electronic device 100 can determine that the first operation instruction executes the function of increasing the zoom ratio, and the second operation instruction executes the function of decreasing the zoom ratio, or determine that the first operation instruction executes the function of decreasing the zoom ratio, and the second operation instruction executes the function of increasing the zoom ratio.
- the electronic device 100 may increase the zoom factor according to the first operation instruction, and increase the zoom factor according to the third operation instruction, or decrease the zoom factor according to the first operation instruction, and decrease the zoom factor according to the third operation instruction.
- the electronic device 100 may The zoom factor can be increased according to the first operation instruction and decreased according to the second operation instruction, or the zoom factor can be decreased according to the first operation instruction and increased according to the second operation instruction.
- the specific zoom multiple adjustment method in the embodiment of the present application can refer to the above-mentioned audio application program, which will not be described in detail in the embodiment of the present application.
- the sliding detection method provided in the embodiments of the present application includes but is not limited to application to the above-mentioned application.
- specific implementation methods in other application programs please refer to the embodiments in the present application, and the present application is not limited to this.
- the sliding detection method shown in the embodiment of the present application can solve the problem that the split volume key is prone to failure and cannot adapt to more complex interaction requirements.
- the method shown in the embodiment of the present application can match the user's operation habits, judge the user's actual operation corresponding to the use intention, determine whether the user's current operation is the user's required operation or the user's unconscious operation habit, avoid the user's misoperation, and improve the user experience.
- the above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the electronic device 100. It can be understood that in order to achieve the above functions, the electronic device 100 includes a hardware structure and/or software module corresponding to each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or the electronic device 100 software driving the hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
- the embodiment of the present application can divide the above-mentioned electronic device 100 into functional modules or functional units according to the above-mentioned method example.
- each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
- the above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units.
- the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division, and there may be other division methods in actual implementation.
- FIG25 is a schematic diagram of a sliding detection device provided in the present application.
- the device comprises:
- the first acquisition module is used to obtain a first force of the first operation in response to a first operation performed by a user on a key along a first direction.
- the first execution module is used to determine whether to execute a first operation instruction corresponding to a first operation according to a first force.
- the second acquisition module is used to acquire a second force of the second operation in response to a second operation performed by the user on the key along a second direction when it is determined that the first operation instruction is to be executed, and the second direction is opposite to the first direction.
- the second execution module is used to determine whether to execute a second operation instruction corresponding to a second operation according to the second force.
- the sliding detection device can implement corresponding functions based on hardware devices.
- the device may include: a touch screen, a memory, a processor and a communication module.
- the above-mentioned devices may be connected through one or more communication buses.
- the above-mentioned devices may be connected through one or more communication buses.
- the touch screen may include a display panel and a touch sensor, wherein the display panel is used to display images, and the touch sensor may pass the detected touch operation to the application processor to determine the type of touch event, and provide visual output related to the touch operation through the display panel.
- the processor may include one or more processing units, for example: the processor may include an application processor, a modem processor, A graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and/or a neural network processor, etc. Among them, different processing units can be independent devices or integrated into one or more processors.
- the memory is coupled to the processor and is used to store various software programs and/or computer instructions.
- the memory may include a volatile memory and/or a non-volatile memory. When the processor executes the computer instructions, the sliding detection device can perform various functions or steps of the above method embodiments.
- the sliding detection device implements the following method steps: in response to a first operation of a user on a key along a first direction, a first force of the first operation is obtained; based on the first force, it is determined whether to execute a first operation instruction corresponding to the first operation; when it is determined that the first operation instruction is to be executed, in response to a second operation of the user on the key along a second direction, a second force of the second operation is obtained, the second direction being the opposite direction of the first direction; based on the second force, it is determined whether to execute a second operation instruction corresponding to the second operation.
- the present application also provides an electronic device, including: a processor, a memory and a touch screen; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the sliding detection method in any implementation of the above embodiments.
- the embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit.
- the processor and the interface circuit can be interconnected by lines.
- the interface circuit can be used to receive signals from other devices (such as a memory of an electronic device).
- the interface circuit can be used to send signals to other devices.
- the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform the various steps in the above embodiments.
- the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.
- An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions.
- the computer instructions When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed in the above-mentioned method embodiment.
- the embodiment of the present application also provides a computer program product.
- the computer program product When the computer program product is run on a computer, the computer is enabled to execute each function or step executed in the above method embodiment.
- the disclosed devices and methods can be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
- Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the element can be implemented in the form of hardware or in the form of software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Position Input By Displaying (AREA)
Abstract
La présente demande concerne un procédé et un appareil de détection de glissement, ainsi qu'un dispositif électronique. Le procédé consiste à : acquérir une première intensité de la première opération en réponse à une première opération d'un utilisateur dans un premier sens sur une touche ; déterminer sur la base de la première intensité s'il faut exécuter une première instruction d'opération correspondant à la première opération ; lorsqu'il est déterminé que la première instruction d'opération est exécutée, acquérir une seconde intensité de la seconde opération en réponse à une seconde opération de l'utilisateur dans un second sens sur la touche, le second sens étant opposé au premier sens ; et déterminer s'il faut exécuter une seconde instruction d'opération correspondant à la seconde opération sur la base de la seconde intensité. Par conséquent, selon la solution technique fournie par la présente demande, le dispositif électronique peut être commandé pour mettre en œuvre les fonctions correspondantes au moyen d'opérations de l'utilisateur sur des touches telles que le glissement et la pression, ce qui permet d'améliorer l'expérience d'utilisation de l'utilisateur.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311375932.X | 2023-10-20 | ||
| CN202311375932.XA CN119902733B (zh) | 2023-10-20 | 2023-10-20 | 一种滑动检测方法、装置及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025082007A1 true WO2025082007A1 (fr) | 2025-04-24 |
Family
ID=95447792
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/112479 Pending WO2025082007A1 (fr) | 2023-10-20 | 2024-08-15 | Procédé et appareil de détection de glissement, et dispositif électronique |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119902733B (fr) |
| WO (1) | WO2025082007A1 (fr) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107562357A (zh) * | 2017-08-31 | 2018-01-09 | 努比亚技术有限公司 | 页面内容翻页方法、终端及计算机可读存储介质 |
| CN109782944A (zh) * | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | 一种触摸屏的响应方法及电子设备 |
| CN111857327A (zh) * | 2019-04-28 | 2020-10-30 | 华为技术有限公司 | 具有侧边滑动控制功能的终端 |
| WO2021068627A1 (fr) * | 2019-10-10 | 2021-04-15 | 华为技术有限公司 | Procédé d'interaction pour dispositif électronique, et dispositif électronique |
| CN113973148A (zh) * | 2020-07-24 | 2022-01-25 | 深圳市万普拉斯科技有限公司 | 一种压力三段式按键的实现方法及电子设备 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106095282A (zh) * | 2016-05-31 | 2016-11-09 | 珠海市魅族科技有限公司 | 按键装置的触控操作方法、按键装置及终端 |
| CN106126034B (zh) * | 2016-06-29 | 2019-04-09 | 维沃移动通信有限公司 | 一种按键功能设置方法及移动终端 |
| WO2019024056A1 (fr) * | 2017-08-03 | 2019-02-07 | 华为技术有限公司 | Procédé et terminal évitant les erreurs de manipulation |
| CN107577446A (zh) * | 2017-08-23 | 2018-01-12 | 瑞声科技(新加坡)有限公司 | 移动终端的控制方法及移动终端 |
| CN107632764A (zh) * | 2017-09-13 | 2018-01-26 | 百度在线网络技术(北京)有限公司 | 信息显示方法和装置 |
| CN109656454B (zh) * | 2018-12-31 | 2022-03-15 | 河南思维自动化设备股份有限公司 | 一种使用滑屏操作快速校核lkj车载数据的方法、存储介质 |
| CN115407923A (zh) * | 2019-09-17 | 2022-11-29 | 华为技术有限公司 | 一种参数的调整方法及电子设备 |
| CN112558825B (zh) * | 2019-09-26 | 2025-03-11 | 华为技术有限公司 | 一种信息处理方法及电子设备 |
-
2023
- 2023-10-20 CN CN202311375932.XA patent/CN119902733B/zh active Active
-
2024
- 2024-08-15 WO PCT/CN2024/112479 patent/WO2025082007A1/fr active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107562357A (zh) * | 2017-08-31 | 2018-01-09 | 努比亚技术有限公司 | 页面内容翻页方法、终端及计算机可读存储介质 |
| CN109782944A (zh) * | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | 一种触摸屏的响应方法及电子设备 |
| CN111857327A (zh) * | 2019-04-28 | 2020-10-30 | 华为技术有限公司 | 具有侧边滑动控制功能的终端 |
| WO2021068627A1 (fr) * | 2019-10-10 | 2021-04-15 | 华为技术有限公司 | Procédé d'interaction pour dispositif électronique, et dispositif électronique |
| CN113973148A (zh) * | 2020-07-24 | 2022-01-25 | 深圳市万普拉斯科技有限公司 | 一种压力三段式按键的实现方法及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119902733B (zh) | 2026-01-06 |
| CN119902733A (zh) | 2025-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11054988B2 (en) | Graphical user interface display method and electronic device | |
| EP3693837B1 (fr) | Procédé et appareil de traitement d'entrées multiples | |
| CN117501234A (zh) | 用于与多个显示设备交互的系统和方法 | |
| US9696767B2 (en) | Command recognition method including determining a hold gesture and electronic device using the method | |
| US8717327B2 (en) | Controlling responsiveness to user inputs on a touch-sensitive display | |
| US20200169596A1 (en) | File transfer display control method and apparatus, and corresponding terminal | |
| JP6321296B2 (ja) | テキスト入力方法、装置、プログラム及び記録媒体 | |
| US20220385981A1 (en) | Video stream playback control method, device, and storage medium | |
| WO2019128193A1 (fr) | Terminal mobile, et procédé et dispositif de commande de fonctionnement de fenêtre flottante | |
| CN110351424A (zh) | 手势交互方法和终端 | |
| CN106325663A (zh) | 移动终端及其截屏方法 | |
| CN111240546A (zh) | 一种分屏处理方法及通信终端 | |
| CN112114733A (zh) | 一种截屏、录屏方法、移动终端及计算机存储介质 | |
| US20250251891A1 (en) | Display method for foldable screen and electronic device | |
| CN107153546B (zh) | 一种视频播放方法及移动设备 | |
| WO2014161297A1 (fr) | Terminal, dispositif et procédé de traitement de grossissement de zone d'écran | |
| WO2025082007A1 (fr) | Procédé et appareil de détection de glissement, et dispositif électronique | |
| KR101229629B1 (ko) | 애플리케이션 간의 콘텐츠 전달 방법 및 이를 실행하는 장치 | |
| CN107402655A (zh) | 手势操作响应方法及装置 | |
| CN113419640B (zh) | 压力感应通道开启方法、装置及电子设备 | |
| CN116991527A (zh) | 界面显示的控制方法、装置、设备及存储介质 | |
| CN114296628A (zh) | 显示页面控制方法、装置、键盘、电子设备和存储介质 | |
| CN114995710A (zh) | 一种可穿戴设备交互方法、可穿戴设备及可读存储介质 | |
| CN111736749A (zh) | 多媒体数据的播放控制方法、装置、移动终端及存储介质 | |
| EP4550102A1 (fr) | Appareil et procédé de recommandation de fonction personnalisée dans un dispositif électronique |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24878659 Country of ref document: EP Kind code of ref document: A1 |