CN113961070A - Electronic equipment control method and device - Google Patents

Electronic equipment control method and device Download PDF

Info

Publication number
CN113961070A
CN113961070A CN202111181908.3A CN202111181908A CN113961070A CN 113961070 A CN113961070 A CN 113961070A CN 202111181908 A CN202111181908 A CN 202111181908A CN 113961070 A CN113961070 A CN 113961070A
Authority
CN
China
Prior art keywords
screen
electronic device
millimeter wave
wave radar
operation object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111181908.3A
Other languages
Chinese (zh)
Inventor
臧亚奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111181908.3A priority Critical patent/CN113961070A/en
Publication of CN113961070A publication Critical patent/CN113961070A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Abstract

The application discloses an electronic equipment control method and device, and belongs to the technical field of electronics. The electronic device is provided with a millimeter wave radar, and the method comprises the following steps: acquiring distance information between an operation object and a screen of the electronic equipment in real time based on the millimeter wave radar; and under the condition that the distance information is smaller than a preset distance threshold, acquiring screen coordinates of the operation object mapped on the screen based on the millimeter wave radar, and executing target operation, wherein the target operation is associated with display content corresponding to the screen coordinates.

Description

Electronic equipment control method and device
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a method and a device for controlling electronic equipment.
Background
With the continuous development of electronic devices, the performance of the electronic devices is getting stronger, and more users play games, audio processing, image processing, and the like through the electronic devices, so that users have higher requirements for the input response speed of the electronic devices, and the requirements are also directed to the input of users who want to be able to respond to the electronic devices as soon as possible during the game.
Therefore, how to increase the speed of the electronic device responding to the user input has become an urgent problem to be solved in the industry.
Disclosure of Invention
The embodiment of the application aims to provide an electronic equipment control method and device, and the problem that the response speed of electronic equipment to user input is low can be solved.
In a first aspect, an embodiment of the present application provides an electronic device control method, where the electronic device is provided with a millimeter wave radar, and the method includes:
acquiring distance information between an operation object and a screen of the electronic equipment in real time based on the millimeter wave radar;
and under the condition that the distance information is smaller than a preset distance threshold, acquiring screen coordinates of the operation object mapped on the screen based on the millimeter wave radar, and executing target operation, wherein the target operation is associated with display content corresponding to the screen coordinates.
In a second aspect, an embodiment of the present application provides an electronic device control apparatus, where the electronic device is provided with a millimeter wave radar, the apparatus includes:
the first acquisition module is used for acquiring distance information between an operation object and a screen of the electronic equipment in real time based on the millimeter wave radar;
and the second acquisition module is used for acquiring screen coordinates of the operation object mapped on the screen based on the millimeter wave radar and executing target operation under the condition that the distance information is smaller than a preset distance threshold, wherein the target operation is associated with display content corresponding to the screen coordinates. In a third aspect, an embodiment of the present application provides an electronic device, which includes a millimeter wave radar, a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when the operation object does not touch the screen of the electronic device, namely the distance information between the operation object and the screen of the electronic device is continuously detected by the millimeter wave radar, and under the condition that the distance information is smaller than the preset distance threshold, the operation object is considered to be about to touch the screen of the electronic device, the operation is responded in advance before the operation object touches the screen of the electronic device, and the speed of the electronic device responding to the input of the user can be effectively increased.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device control method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device control apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the electronic device control method and apparatus provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic structural diagram of a control method of an electronic device according to an embodiment of the present application, where as shown in fig. 1, the electronic device is provided with a millimeter wave radar, and the method includes:
step 110, acquiring distance information between an operation object and a screen of the electronic equipment in real time based on the millimeter wave radar;
specifically, the millimeter wave radar described in the embodiment of the present application is specifically a radar that operates in the millimeter wave band for detection. Generally, the millimeter wave refers to a frequency domain (with a wavelength of 1-10 mm) of 30-300 GHz, and has the capability of positioning an object with millimeter-scale precision, and specifically, the millimeter wave can be realized by an antenna module used for transmitting millimeter waves and receiving millimeter waves in a millimeter wave radar, and after the antenna module transmits detected millimeter waves, the millimeter waves reflected by an operation object can be received, so that the operation object can be positioned according to the reflected millimeter waves.
The millimeter wave radar described in the embodiment of the present application may be specifically disposed inside the electronic device, for example, below the screen or at another position, and the millimeter waves emitted by the antenna module in the millimeter wave radar may cover an area above the screen of the electronic device.
The electronic device described in the embodiments of the present application may specifically be a mobile electronic device, and may also be a non-mobile electronic device. By way of example, the Mobile electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, a palm top Computer, an in-vehicle electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-Mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (Personal Computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The screen of the electronic device described in the embodiment of the present application may specifically be a touch display screen, where a touch layer in the touch display screen is capable of responding to a touch operation from an operation object.
The operation object described in the embodiment of the present application may specifically be a finger of a user, a stylus pen, or other touch-assisted devices.
In the embodiment of the application, the millimeter wave radar can continuously work, continuously sends the detected millimeter waves, and judges whether the operation object exists above the screen of the electronic device by detecting whether the millimeter wave characteristics including the reflection of the operation object are received.
When the millimeter wave radar detects the operation object, the operation object is continuously tracked, and the position of the millimeter wave radar and the screen is fixed and kept unchanged, so that after the position of the operation object is detected by the millimeter wave radar, distance information between the operation object and the screen of the electronic device can be obtained in real time, and optionally, the millimeter wave radar can also continuously track the screen coordinate of the operation object mapped on the screen.
And 120, under the condition that the distance information is smaller than a preset distance threshold, acquiring screen coordinates of the operation object mapped on the screen based on the millimeter wave radar, and executing target operation, wherein the target operation is associated with display content corresponding to the screen coordinates.
Specifically, the screen coordinates described in the embodiment of the present application may specifically be coordinate points in a screen coordinate system, which are used to indicate their positions in the screen.
The preset distance threshold described in the embodiment of the present application may be preset, and the preset distance threshold may be a distance in a direction perpendicular to the screen when the user performs a click operation. It can be understood that after the user completes the movement in the horizontal direction of the screen, there will be a vertical operation to perform a click close to the screen, and at this time, the operation object will touch the screen, but not touch the screen yet, so the preset distance threshold may be set to 1mm or 2 mm.
Under the condition that the detected distance information is smaller than the preset distance threshold, it is indicated that the operation object is close enough to the screen but not yet contacted with the screen, and the operation object is likely to be continuously contacted with the screen downwards to complete the touch operation.
And under the condition that the distance information is greater than or equal to the preset distance threshold, the operation object is far away from the screen, touch operation cannot be performed on the screen temporarily, and at the moment, response to target operation of the operation object is not required in advance.
If the target operation of the operation object is to be responded in advance, the screen coordinate of the operation device mapped on the screen at the moment can be acquired when the fact that the distance information between the operation object and the screen of the electronic device is smaller than the preset distance threshold is detected, and therefore the target operation is determined according to the screen coordinate.
Specifically, in the embodiment of the present application, after the target operation is determined, the processor of the electronic device may directly perform the target operation of the operation object with respect to the screen coordinates.
Alternatively, after the touch layer in the screen of the electronic device responds to the target operation aiming at the screen coordinates, the processor executes the target operation.
In the embodiment of the application, when the operation object does not touch the screen of the electronic device, namely the distance information between the operation object and the screen of the electronic device is continuously detected by the millimeter wave radar, and when the distance information is smaller than the preset distance threshold, the operation object is considered to be trying to touch the screen of the electronic device, at this time, before the operation device touches the screen of the electronic device, the target operation is performed on the screen coordinates in advance, namely, before the operation object touches the screen of the electronic device, the touch operation is responded in advance, and the speed of the electronic device responding to the user input can be effectively increased.
Optionally, before the executing the target operation, the method further includes:
identifying display content corresponding to the screen coordinates on the screen;
and determining target operation according to the display content.
It is understood that the target operation is associated with the display content corresponding to the screen coordinates, that is, the target operation corresponding to different display contents may be different.
It can be understood that when a user operates the display content on the screen, the operation is different according to the difference of the display content, and if the operation is performed in advance by using a uniform operation, the user's requirement is difficult to meet. For example, in the case that the display content is a character, the target operation required by the user is a long-time pressing operation to select the character to realize operations such as copying and pasting; and under the condition that the display content is a certain control, the target operation required by the user is click operation so as to trigger the control.
Optionally, the executing the target operation includes:
and executing click operation on the operable control under the condition that the display content corresponding to the screen coordinate is the operable control.
Specifically, the operable control described in the embodiment of the present application is specifically a control capable of being operated by a user, which has a function of executing or a function of causing code to run and complete a response through an "event", and may be an operable control in a system interface of an electronic device, or a control in a third-party application interface, such as a short message sending button, or an attack button in a game, and the like.
And under the condition that the display content corresponding to the position of the screen coordinate is the operable control, it indicates that the operation object has a great possibility of operating the operable control, and most of the operations aiming at the control are clicking operations, so that the clicking operations of the operation object on the operable control are realized in advance in order to improve the operation speed of a corresponding user of the electronic equipment.
It can be understood that the response operation corresponding to the operable control may not be a click operation, and therefore the target operation may be adjusted according to the response type of the operable control at the position. That is, for example, in the case that the response type corresponding to the operable control is the long-press type, the target operation is the long-press operation.
For example, in the case that the operable control is a short message sending button, the target operation is executed, specifically, a click operation on the short message sending button is executed, and the short message is sent after the click operation is completed.
In the embodiment of the application, when the operable control exists at the position of the screen coordinate, it is determined that the operable control is to be operated by the operation object, and most of the operations directed at the operable control are click operations, so that the click operations are executed, and thus the operation can be responded before the operation object touches the screen, and the response speed of the electronic device to the click operations of the user can be effectively improved.
Optionally, the executing the target operation includes:
and in the case that no operable control exists in the position of the screen coordinate, executing long-press operation in the position of the screen coordinate.
Specifically, in the case that the display content corresponding to the screen coordinate is not an operable control, it indicates that the display content at the position of the screen coordinate at this time is likely to correspond to a blank of the system interface or the software interface, and it indicates that the operation object may not operate the specific operable control but operate the blank of the system interface or the software interface.
It can be understood that, the click operation performed on the blank of the interface is not always responded, and therefore the target operation may not be the click operation, but the operation performed on the blank of the interface may be a long-time press operation, for example, a function of adjusting an application program identification position in the system main interface may be triggered by performing a long-time press operation on the system main interface, and in a case that no operable control exists in the position of the screen coordinate, the target operation of the operation object in the screen coordinate is determined to be the long-time press operation.
In the embodiment of the application, under the condition that no operable control exists in the position of the screen coordinate, the long-time pressing operation is executed, so that the operation can be responded before the operation object touches the screen, and the response speed of the electronic equipment to the user operation can be effectively improved.
Optionally, the executing the target operation includes:
and when the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, not executing any operation.
It will be appreciated that the operable control in the above embodiments may have only one response state, for example, only a click response or only a long press response.
Specifically, the operable control described in the embodiment of the present application has at least two response states, and specifically, the operable control has different response states for different types of touch operations, for example, when the operable control is a short message sending control, the control may respectively have different responses to a click operation and a long press operation, and when the click operation on the short message sending control is performed, a short message may be directly sent, and when the long press operation on the short message sending control is performed, a picture sharing option interface may appear.
In the embodiment of the present application, since the operation object does not contact the screen yet, and in order to increase the response speed, the operation object needs to respond to the operation before contacting the screen, if the operable control exists at the position of the screen coordinate, and the operable control has at least two response states, which cannot be accurately predicted as to what response state the user wants to implement, in this case, in order to avoid the occurrence of the false response, in the case that the position of the screen coordinate has at least two response states, the advanced response processing is not performed, that is, no advanced operation is performed on the operable control.
In the embodiment of the application, if the operable control exists at the position of the screen coordinate and the operable control has at least two response states, since the response cannot predict the specific operation actually to be executed by the user in advance, in order to avoid the occurrence of the misoperation, the target operation is determined to be null, that is, the operation of the user cannot be responded in advance, so that the misoperation is avoided, and the accuracy and the fluency of the operation are ensured.
Optionally, after the executing the target operation, further comprising:
and under the condition that the touch operation of the operation object on the screen is detected, the millimeter wave radar stops acquiring the distance information and the screen coordinates.
Specifically, in the embodiment of the present application, when the touch layer of the screen detects the touch operation of the operation object, the operation object is considered to have contacted the screen at this time, and the operation object may not leave the screen at this time and may continue to slide on the screen, and at this time, the touch layer continues to respond to the sliding operation of the operation object.
However, in the case where the operation object touches the screen, the problem of the response in advance does not need to be considered at this time, and the millimeter wave radar stops operating at this time, so that erroneous operation for erroneously recognizing another operation object, such as recognizing another finger of the user as the operation object, is avoided, and the operation for the response in advance is erroneously performed.
And when the operation object leaves the screen, the touch event is considered to be finished at the moment, the millimeter wave radar starts to work at the moment, the distance between the operation object and the screen starts to be detected, and when the distance message between the operation object and the screen is detected to be larger than or equal to the preset distance threshold value in the process that the operation object leaves the screen, the scheme of the control method is executed again at the moment.
In the embodiment of the application, under the condition that the touch operation of the operation object on the screen is detected, the touch operation of the operation object on the screen is preferentially executed, the millimeter wave radar stops acquiring the distance information and the screen coordinates, the phenomenon that the error operation is caused by the operation of response in advance generated by mistake in the process of preferentially executing the touch operation is avoided, and the accuracy of control of the electronic equipment is improved.
Optionally, the process of the user using the electronic device to perform a touch operation on the screen of the electronic device is as follows:
firstly, a screen presents a current image to a user;
then, the user reacts to the current image and starts to move the finger to the position which the user desires to operate in the horizontal direction; the millimeter wave radar detects that the finger of the user is displaced in the horizontal direction, starts to track the horizontal coordinate of the finger of the user, and prepares to start responding to the touch operation of the user;
the user moves the finger to a designated position and starts to move towards the screen, the millimeter wave radar monitors that the user starts to move the finger towards the screen, the screen coordinate corresponding to the user finger starts to be calibrated, and meanwhile, the distance between the user finger and the screen is monitored in real time
The user continuously moves the finger to the screen, at the moment, the horizontal coordinate change still possibly occurs, the millimeter wave radar needs to continuously monitor the position of the user finger, update the corresponding screen coordinate in real time and continuously monitor the distance between the user finger and the screen in real time;
when the millimeter wave radar monitors that the finger of the user is close enough to the screen, the millimeter wave radar positions the horizontal coordinate position of the current finger of the user and transmits the corresponding screen coordinate to the screen;
the screen receives the coordinates transmitted by the millimeter wave radar until the user touches the screen, and the screen responds to the operation of the user according to the coordinates (at the moment, the advanced response is realized);
when the finger of the user touches the screen, the touch layer of the screen starts to take over the touch operation of the user, and if the finger of the user moves away from the screen, the touch event is ended; if the fingers of the user continuously slide on the screen, the touch layer continuously responds to the sliding operation of the user;
finally, the screen begins rendering, delivering the image to the user.
In the electronic device control method provided in the embodiment of the present application, the execution main body may be an electronic device control apparatus, or a control module in the electronic device control apparatus for executing the method for controlling the electronic device. The electronic device control apparatus provided in the embodiment of the present application is described with an example in which an electronic device control apparatus executes an electronic device control method.
Fig. 2 is a schematic structural diagram of an electronic device control apparatus according to an embodiment of the present application, and as shown in fig. 2, the electronic device control apparatus includes: a first acquisition module 210 and a second acquisition module 220; the first obtaining module 210 is configured to obtain, in real time, distance information between an operation object and a screen of the electronic device based on the millimeter wave radar; the second obtaining module 220 is configured to, when the distance information is smaller than a preset distance threshold, obtain, based on the millimeter wave radar, a screen coordinate of the operation object mapped on the screen, and perform a target operation, where the target operation is associated with display content corresponding to the screen coordinate.
In the embodiment of the application, when the operation object does not touch the screen of the electronic device, the distance information between the operation object and the screen of the electronic device is continuously detected by the millimeter wave radar, and under the condition that the distance information is smaller than the preset distance threshold, the operation object is considered to be about to touch the screen of the electronic device, the operation is responded in advance before the operation object touches the screen of the electronic device, and the speed of the electronic device responding to the input of the user can be effectively increased.
Optionally, the second obtaining module is specifically configured to:
and executing click operation on the operable control under the condition that the display content corresponding to the screen coordinate is the operable control.
In the embodiment of the application, when the operable control exists at the position of the screen coordinate, it is determined that the operable control is to be operated by the operation object, and most of the operations directed at the operable control are click operations, so that the target operation is determined to be the click operation, and the operation can be responded before the operation object touches the screen, and the response speed of the electronic device to the click operation of the user is effectively improved.
Optionally, the second obtaining module is specifically configured to:
and under the condition that the display content corresponding to the screen coordinate is not the operable control, executing long-time pressing operation at the position of the screen coordinate.
In the embodiment of the application, under the condition that no operable control exists in the position of the screen coordinate, most of operations which are not directed at the operable control are long-press operations, so that the target operation at the moment is determined to be the long-press operation, the operation can be responded before an operation object touches the screen, and the response speed of the electronic equipment to the user operation is effectively improved.
Optionally, the second obtaining module is specifically configured to:
and when the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, not executing any operation.
In the embodiment of the application, if the operable control exists at the position of the screen coordinate and the operable control has at least two response states, the response cannot predict the target operation actually to be executed by the user in advance, so that in order to avoid the occurrence of the misoperation, the target operation is determined to be null, that is, the operation of the user cannot be responded in advance, thereby avoiding the misoperation and ensuring the accuracy and the fluency of the operation.
Optionally, the apparatus further comprises:
and the stopping module is used for stopping the millimeter wave radar from acquiring the distance information and the screen coordinate under the condition that the touch operation of the operation object on the screen is detected.
In the embodiment of the application, under the condition that the touch operation of the operation object on the screen is detected, the touch operation of the operation object on the screen is preferentially executed, the millimeter wave radar stops acquiring the distance information and the screen coordinates, the phenomenon that the error operation is caused by the operation of response in advance generated by mistake in the process of preferentially executing the touch operation is avoided, and the accuracy of control of the electronic equipment is improved.
The electronic device control apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The electronic device control apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The electronic device control apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 3, an electronic device 300 according to an embodiment of the present application is further provided, which includes a processor 301, a memory 302, and a program or an operation stored in the memory 302 and capable of being executed on the processor 301, and when the program or the operation is executed by the processor 301, the process of the embodiment of the control method of the electronic device is implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Optionally, the processor 410 is configured to obtain, in real time, distance information between an operation object and a screen of the electronic device based on the millimeter wave radar;
the processor 410 is configured to, when the distance information is smaller than a preset distance threshold, obtain, based on the millimeter wave radar, screen coordinates of the operation object mapped on the screen, and perform a target operation, where the target operation is associated with display content corresponding to the screen coordinates. The processor 410 is configured to execute a click operation on the operable control if the display content corresponding to the screen coordinate is the operable control.
The processor 410 is configured to perform a long-press operation at the position of the screen coordinate if the display content corresponding to the screen coordinate is not the operable control.
The processor 410 is configured to not perform any operation if the display content corresponding to the screen coordinate is an operable control and the operable control has at least two response states.
The processor 410 is configured to, in a case where the touch operation of the operation object on the screen is detected, stop acquiring the distance information and the screen coordinate by the millimeter wave radar.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
In the embodiment of the application, when the operation object does not touch the screen of the electronic device, namely the distance information between the operation object and the screen of the electronic device is continuously detected by the millimeter wave radar, and when the distance information is smaller than the preset distance threshold, the operation object is considered to be trying to touch the screen of the electronic device, at this moment, before the operation device touches the screen of the electronic device, a target operation is executed in advance on a screen coordinate, namely before the operation object touches the screen of the electronic device, the touch operation is responded in advance, and the speed of the electronic device responding to the input of a user can be effectively increased.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the control method for an electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the control method for an electronic device, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An electronic device control method, characterized in that the electronic device is provided with a millimeter wave radar, the method comprising:
acquiring distance information between an operation object and a screen of the electronic equipment in real time based on the millimeter wave radar;
and under the condition that the distance information is smaller than a preset distance threshold, acquiring screen coordinates of the operation object mapped on the screen based on the millimeter wave radar, and executing target operation, wherein the target operation is associated with display content corresponding to the screen coordinates.
2. The electronic device control method according to claim 1, wherein the performing a target operation includes:
and executing click operation on the operable control under the condition that the display content corresponding to the screen coordinate is the operable control.
3. The electronic device control method according to claim 1, wherein the performing a target operation includes:
and under the condition that the display content corresponding to the screen coordinate is not the operable control, executing long-time pressing operation at the position of the screen coordinate.
4. The electronic device control method according to claim 1, wherein the performing a target operation includes:
and when the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, not executing any operation.
5. The electronic device control method of claim 1, further comprising, after said executing the target control instruction:
and under the condition that the touch operation of the operation object on the screen is detected, the millimeter wave radar stops acquiring the distance information and the screen coordinates.
6. An electronic device control apparatus, characterized in that the electronic device is provided with a millimeter wave radar, the apparatus comprising:
the first acquisition module is used for acquiring distance information between an operation object and a screen of the electronic equipment in real time based on the millimeter wave radar;
and the second acquisition module is used for acquiring screen coordinates of the operation object mapped on the screen based on the millimeter wave radar and executing target operation under the condition that the distance information is smaller than a preset distance threshold, wherein the target operation is associated with display content corresponding to the screen coordinates.
7. The electronic device control apparatus according to claim 6, wherein the second obtaining module is specifically configured to:
and executing click operation on the operable control under the condition that the display content corresponding to the screen coordinate is the operable control.
8. The electronic device control apparatus according to claim 6, wherein the second obtaining module is specifically configured to:
and under the condition that the display content corresponding to the screen coordinate is not the operable control, executing long-time pressing operation at the position of the screen coordinate.
9. The electronic device control apparatus according to claim 6, wherein the second obtaining module is specifically configured to:
and when the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, not executing any operation.
10. The electronic device control apparatus according to claim 6, characterized in that the apparatus further comprises:
and the stopping module is used for stopping the millimeter wave radar from acquiring the distance information and the screen coordinate under the condition that the touch operation of the operation object on the screen is detected.
CN202111181908.3A 2021-10-11 2021-10-11 Electronic equipment control method and device Pending CN113961070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111181908.3A CN113961070A (en) 2021-10-11 2021-10-11 Electronic equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111181908.3A CN113961070A (en) 2021-10-11 2021-10-11 Electronic equipment control method and device

Publications (1)

Publication Number Publication Date
CN113961070A true CN113961070A (en) 2022-01-21

Family

ID=79463782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111181908.3A Pending CN113961070A (en) 2021-10-11 2021-10-11 Electronic equipment control method and device

Country Status (1)

Country Link
CN (1) CN113961070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067180A1 (en) * 2022-09-29 2024-04-04 华为技术有限公司 Communication method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130196716A1 (en) * 2012-01-27 2013-08-01 Research In Motion Limited Communications device and method having non-touch based input screen
US10088908B1 (en) * 2015-05-27 2018-10-02 Google Llc Gesture detection and interactions
CN110737366A (en) * 2018-07-19 2020-01-31 英飞凌科技股份有限公司 Gesture detection system and method using radar sensor
US20200319839A1 (en) * 2017-12-27 2020-10-08 Sony Corporation Display control apparatus, display control method, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130196716A1 (en) * 2012-01-27 2013-08-01 Research In Motion Limited Communications device and method having non-touch based input screen
US10088908B1 (en) * 2015-05-27 2018-10-02 Google Llc Gesture detection and interactions
US20200319839A1 (en) * 2017-12-27 2020-10-08 Sony Corporation Display control apparatus, display control method, and computer program
CN110737366A (en) * 2018-07-19 2020-01-31 英飞凌科技股份有限公司 Gesture detection system and method using radar sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067180A1 (en) * 2022-09-29 2024-04-04 华为技术有限公司 Communication method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
EP3336678B1 (en) Method and electronic device for preventing touch button from being false triggered
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
EP3570163B1 (en) Method for launching application, storage medium, and terminal
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN104571852A (en) Icon moving method and device
EP2770419B1 (en) Method and electronic device for displaying virtual keypad
CN107390931B (en) Response control method and device for touch operation, storage medium and mobile terminal
KR20140019530A (en) Method for providing user's interaction using mutil touch finger gesture
CN107870705B (en) Method and device for changing icon position of application menu
CN112214118A (en) Touch pen, control method thereof and electronic equipment
CN112947829A (en) Misoperation processing method and device, electronic equipment and readable storage medium
CN113179204A (en) Message withdrawal method and device and electronic equipment
CN113961070A (en) Electronic equipment control method and device
CN112929734B (en) Screen projection method and device and electronic equipment
CN111026302B (en) Display method and electronic equipment
CN112698735A (en) Information input method and device and electronic equipment
CN112764615B (en) Suspension ball control method and device
CN114625588A (en) Method, device and equipment for measuring touch operation response time and storage medium
CN112486354A (en) Touch method of electronic equipment, information transmission method and device of touch component
CN107003759B (en) Method for selecting text
CN113282223A (en) Display method, display device and electronic equipment
CN110134897B (en) Browser window control method and device
CN113784192A (en) Screen projection method, screen projection device and electronic equipment
CN112764622A (en) Icon moving method and device and electronic equipment
CN109358755B (en) Gesture detection method and device for mobile terminal and mobile terminal

Legal Events

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