Electronic equipment control method and device

By using millimeter-wave radar in electronic devices to monitor the distance between the operating object and the screen in real time, and performing operations in advance when the distance is less than the threshold, the problem of slow response speed of electronic devices is solved, which significantly improves the response speed of user input.

CN113961070BActive Publication Date: 2024-12-20VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111181908.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-11
Publication Date
2024-12-20
Estimated Expiration
2041-10-11

AI Technical Summary

Technical Problem

Electronic devices respond to user inputs slowly and cannot meet users' needs for fast response.

Method used

Millimeter wave radar is used to obtain the distance information between the operating object and the screen in real time. When the distance is less than the preset threshold, obtain the screen coordinates in advance and perform target operations to improve the response speed.

Benefits of technology

Before the operation object is about to touch the screen, it responds to user input in advance, significantly improving the response speed and user experience of the electronic device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113961070B_ABST
    Figure CN113961070B_ABST
Patent Text Reader

Abstract

The present application discloses an electronic device control method and device, belonging to the field of electronic technology. The electronic device is provided with a millimeter wave radar, and the method comprises: based on the millimeter wave radar, obtaining the distance information between the operation object and the screen of the electronic device in real time; when the distance information is less than a preset distance threshold, obtaining the screen coordinates of the operation object mapped on the screen based on the millimeter wave radar, and performing a target operation, wherein the target operation is associated with the display content corresponding to the screen coordinates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to a method and device for controlling an electronic device. Background Art

[0002] With the continuous development of electronic devices, the performance of electronic devices is getting stronger and stronger. More and more users use electronic devices to play games, process audio and images, etc. Therefore, users have higher requirements for the speed of input response of electronic devices, especially for users who want electronic devices to respond to user input as quickly as possible during the game.

[0003] Therefore, how to improve the speed at which electronic devices respond to user input has become a problem that needs to be solved urgently in the industry. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method and device for controlling an electronic device, which can solve the problem that the electronic device has a slow response speed to user input.

[0005] In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, wherein the electronic device is provided with a millimeter wave radar, and the method includes:

[0006] Based on the millimeter wave radar, obtaining the distance information between the operating object and the screen of the electronic device in real time;

[0007] When the distance information is less than a preset distance threshold, the screen coordinates of the operation object mapped on the screen are acquired based on the millimeter wave radar, and a target operation is performed, wherein the target operation is associated with display content corresponding to the screen coordinates.

[0008] In a second aspect, an embodiment of the present application provides an electronic device control device, wherein the electronic device is provided with a millimeter wave radar, and the device includes:

[0009] A first acquisition module, configured to acquire distance information between an operating object and a screen of the electronic device in real time based on the millimeter wave radar;

[0010] A second acquisition module is used to acquire the screen coordinates of the operation object mapped on the screen based on the millimeter-wave radar when the distance information is less than a preset distance threshold, and perform a target operation, wherein the target operation is associated with the 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 instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0012] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0013] In an embodiment of the present application, when the operating object has not yet touched the screen of the electronic device, the millimeter wave radar is used to continuously detect the distance information between the operating object and the screen of the electronic device. When the distance information is less than a preset distance threshold, it is considered that the operating object is about to touch the screen of the electronic device. The operation will be responded to in advance before the operating object touches the screen of the electronic device, which can effectively improve the speed at which the electronic device responds to user input. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A schematic diagram of the structure of the electronic device control method provided in an embodiment of the present application;

[0015] Figure 2 A schematic diagram of the structure of an electronic device control device provided in an embodiment of the present application;

[0016] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0017] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0020] The electronic device control method and device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0021] Figure 1 A schematic diagram of the structure of the electronic device control method provided in the embodiment of the present application is shown in FIG. Figure 1 As shown, the electronic device is provided with a millimeter wave radar, and the method includes:

[0022] Step 110, based on the millimeter wave radar, obtaining in real time the distance information between the operating object and the screen of the electronic device;

[0023] Specifically, the millimeter wave radar described in the embodiment of the present application is a radar that works in the millimeter wave band. Usually, millimeter waves refer to the 30-300GHz frequency domain (wavelength of 1-10mm), which has the ability to locate objects with millimeter-level accuracy. Specifically, it can be achieved through an antenna module for transmitting and receiving millimeter waves in a millimeter wave radar. After the antenna module transmits the detected millimeter wave, it will receive the millimeter wave reflected by the operating object, so as to locate the operating object according to the reflected millimeter wave.

[0024] The millimeter wave radar described in the embodiment of the present application can be specifically set inside the electronic device, for example, under the screen or at other locations. The millimeter waves emitted by the antenna module in the millimeter wave radar can cover the area above the screen of the electronic device.

[0025] The electronic device described in the embodiments of the present application may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., 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, etc., which is not specifically limited in the embodiments of the present application.

[0026] The screen of the electronic device described in the embodiments of the present application may specifically be a touch display screen, in which a touch layer can respond to touch operations from an operating object.

[0027] The operation object described in the embodiments of the present application may specifically be a user's finger, a stylus, or other touch-assisting device.

[0028] In the embodiment of the present application, the millimeter wave radar will continue to work and continuously send detection millimeter waves, and determine whether there is an operating object above the screen of the electronic device by detecting whether the millimeter wave characteristics containing the reflection of the operating object are received.

[0029] When the millimeter-wave radar detects an operating object, it begins to continuously track the operating object. Since the position of the millimeter-wave radar and the screen remains fixed, after the millimeter-wave radar detects the position of the operating object, the distance information between the operating object and the screen of the electronic device can be obtained in real time. Optionally, the millimeter-wave radar can also continuously track the screen coordinates of the operating object mapped on the screen.

[0030] Step 120, when the distance information is less than a preset distance threshold, obtain the screen coordinates of the operation object mapped on the screen based on the millimeter wave radar, and perform a target operation, wherein the target operation is associated with the display content corresponding to the screen coordinates.

[0031] Specifically, the screen coordinates described in the embodiments of the present application may specifically be coordinate points in a screen coordinate system, which are used to indicate their positions on the screen.

[0032] The preset distance threshold described in the embodiment of the present application may be pre-set, and the preset distance threshold may be the distance in the direction perpendicular to the screen when the user is performing a click operation. It is understandable that after the user completes the horizontal movement of the screen, there will be a vertical operation to approach the screen to perform a click, and at this time the operation object is about to touch the screen, but has not yet touched the screen, so the preset distance threshold may be set to 1mm or 2mm.

[0033] When it is detected that the distance information is less than the preset distance threshold, it means that the operating object is close enough to the screen, but has not yet touched the screen, and the operating object is likely to continue to touch the screen downward to complete the touch operation. If the operating object needs to touch the screen, it will take a certain amount of time. Therefore, if the operating object is less than the preset distance threshold, the target operation of the operating object is responded to in advance, which can effectively improve the speed at which the electronic device responds to user input.

[0034] When the distance information is greater than or equal to the preset distance threshold, it means that the operation object is far away from the screen and will not perform touch operation on the screen temporarily. At this time, there is no need to respond to the target operation of the operation object in advance.

[0035] If you want to respond to the target operation of the operating object in advance, when you detect that the distance information between the operating object and the screen of the electronic device is less than a preset distance threshold, you can obtain the screen coordinates of the operating device mapped on the screen at this time, and then determine the target operation based on the screen coordinates.

[0036] Specifically, in the embodiment of the present application, after determining the target operation, the processor of the electronic device can directly execute the target operation of the operation object with respect to the screen coordinates.

[0037] Optionally, after the touch layer in the screen of the electronic device responds to the target operation with respect to the screen coordinates, the processor executes the target operation.

[0038] In an embodiment of the present application, when the operating object has not yet touched the screen of the electronic device, the millimeter wave radar is used to continuously detect the distance information between the operating object and the screen of the electronic device. When the distance information is less than a preset distance threshold, it is considered that the operating object is trying to touch the screen of the electronic device. At this time, before the operating device touches the screen of the electronic device, the target operation is performed in advance on the screen coordinates, that is, before the operating object touches the screen of the electronic device, the touch operation is responded to in advance, which can effectively improve the speed at which the electronic device responds to user input.

[0039] Optionally, before executing the target operation, the method further includes:

[0040] Identifying display content corresponding to screen coordinates on the screen;

[0041] A target operation is determined according to the displayed content.

[0042] It can be understood that the above target operation is associated with the display content corresponding to the screen coordinates, that is, different display contents may correspond to different target operations.

[0043] It is understandable that when users operate the content displayed on the screen, the operations vary according to the displayed content. If a unified operation is used to respond in advance, it is difficult to meet the needs of users. For example, when the displayed content is text, the target operation required by the user is a long press operation to select the text to implement operations such as copying and pasting; when the displayed content is a certain control, the target operation required by the user is a click operation to trigger the control.

[0044] Optionally, the executing the target operation includes:

[0045] When the display content corresponding to the screen coordinates is an operable control, a click operation on the operable control is performed.

[0046] Specifically, the operable controls described in the embodiments of the present application are controls that can be operated by users, have execution functions or can trigger code execution and complete response functions through "events", which can be operable controls in the system interface of electronic devices, or controls in third-party application interfaces, such as text message sending buttons, or attack buttons in games, etc.

[0047] When the display content corresponding to the position of the screen coordinates is an operable control, it means that the operating object is very likely to operate the operable control, and most operations on the controls are click operations. Therefore, in order to improve the operating speed of the corresponding user of the electronic device, the operating object's click operation on the operable control is implemented in advance.

[0048] It is understandable that the response operation corresponding to the operable control may not be a click operation, so the target operation can be adjusted according to the response type of the operable control at that position. For example, when the response type corresponding to the operable control is a long press type, the target operation is a long press operation.

[0049] For example, when the operable control is a text message sending button, executing the target operation may specifically be executing a click operation on the text message sending button, and the text message will be sent after the click operation is completed.

[0050] In an embodiment of the present application, when there is an operable control at the position of the screen coordinates, it is determined that the operating object is about to operate the operable control, and most operations on the operable controls are click operations. Therefore, the click operation is performed, so that the operation can be responded to before the operating object touches the screen, which can effectively improve the response speed of the electronic device to the user's click operation.

[0051] Optionally, the executing the target operation includes:

[0052] When there is no operable control at the position of the screen coordinates, a long press operation is performed at the position of the screen coordinates.

[0053] Specifically, when the display content corresponding to the screen coordinates is not an operable control, it means that the display content at the position of the screen coordinates at this time is likely to correspond to a blank space of the system interface or software interface, which means that the operation object may not be to operate a specific operable control, but to operate on a blank space of the system interface or software interface.

[0054] It is understandable that clicking on a blank space on the interface often does not result in any response, so the target operation may not be a click operation, but an operation on a blank space on the interface may often be a long press operation. For example, a long press operation on the system main interface can trigger the function of adjusting the application logo position in the system main interface. When there is no operable control at the position of the screen coordinates, it is determined that the target operation of the operation object at the screen coordinates is a long press operation.

[0055] In an embodiment of the present application, when there is no operable control at the position of the screen coordinates, a long press operation is performed, so that the operation can be responded to before the operating object touches the screen, which can effectively improve the response speed of the electronic device to user operations.

[0056] Optionally, the executing the target operation includes:

[0057] When the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, no operation is performed.

[0058] It can be understood that the operable control in the above embodiment may have only one response state, for example, only a click response or only a long press response.

[0059] Specifically, the operable control described in the embodiment of the present application has at least two response states. Specifically, the operable control may have different response states for different types of touch operations. For example, when the operable control is a text message sending control, the control may have different responses to a click operation and a long press operation. When a click operation is performed on the text message sending control, the text message will be sent directly, and when a long press operation is performed on the text message sending control, a picture sharing option interface may appear.

[0060] However, in the embodiment of the present application, the operating object has not yet touched the screen, and in order to improve the response speed, it is necessary to respond to its operation before the operating object touches the screen. If there is an operable control at the position of the screen coordinates, and the operable control has at least two response states, it is impossible to accurately predict which response state the user wants to achieve. Therefore, in order to avoid the occurrence of an erroneous response, when there are at least two response states at the position of the screen coordinates, early response processing will not be performed, that is, no early operation will be performed on the operable control.

[0061] In an embodiment of the present application, if there is an operable control at the position of the screen coordinates and the operable control has at least two response states, since the early response at this time cannot predict the specific operation that the user actually wants to perform, in order to avoid the occurrence of misoperation, the target operation is determined to be empty, that is, there is no early response to the user's operation, thereby avoiding misoperation and ensuring the accuracy and smoothness of the operation.

[0062] Optionally, after executing the target operation, the method further includes:

[0063] When a touch operation of the operating object on the screen is detected, the millimeter wave radar stops acquiring the distance information and the screen coordinates.

[0064] Specifically, in the embodiment of the present application, when the touch layer of the screen detects the touch operation of the operating object, it is considered that the operating object has touched the screen at this time, and the operating object may not leave the screen at this time and may continue to slide on the screen. At this time, the touch layer continues to respond to the sliding operation of the operating object.

[0065] However, when the operating object touches the screen, there is no need to consider the issue of early response. At this time, the millimeter-wave radar stops working to avoid erroneous operations such as misidentifying other operating objects as operating objects and mistakenly performing early response operations.

[0066] When the operating object leaves the screen, the touch event is considered to have ended. At this time, the millimeter wave radar starts working and begins to detect the distance between the operating object and the screen. When the operating object leaves the screen, if it is detected that the distance between it and the screen is greater than or equal to the preset distance threshold, the above-mentioned control method is re-executed.

[0067] In an embodiment of the present application, when a touch operation of the operating object on the screen is detected, the touch operation of the operating object on the screen is executed preferentially, and the millimeter wave radar stops acquiring the distance information and the screen coordinates, thereby avoiding the erroneous generation of an early response operation in the process of preferentially executing the touch operation, resulting in an erroneous operation, thereby improving the accuracy of the control of the electronic device.

[0068] Optionally, the user uses an electronic device to perform a touch operation on a screen of the electronic device:

[0069] First, the screen presents the current image to the user;

[0070] Then, the user responds to the current image and starts to move his finger horizontally to the position where the user expects to operate; the millimeter wave radar detects the horizontal displacement of the user's finger and starts to track the horizontal coordinates of the user's finger, preparing to respond to the user's touch operation;

[0071] The user moves his finger to the specified position and starts to move towards the screen. The millimeter-wave radar detects that the user starts to move his finger towards the screen and starts to calibrate the screen coordinates corresponding to the user's finger. At the same time, it monitors the distance between the user's finger and the screen in real time.

[0072] The user continues to move his finger towards the screen, and the horizontal coordinates may still change. The millimeter-wave radar needs to continuously monitor the position of the user's finger, update the corresponding screen coordinates in real time, and continue to monitor the distance between the user's finger and the screen in real time;

[0073] When the millimeter-wave radar detects that the user's finger is close enough to the screen, the millimeter-wave radar locates the horizontal coordinate position of the current user's finger and transmits the corresponding screen coordinates to the screen;

[0074] The screen receives the coordinates transmitted by the millimeter-wave radar, and responds to the user's operation based on these coordinates until the user's finger touches the screen (at this time, early response has been achieved);

[0075] When the user's finger touches the screen, the touch layer of the screen begins to take over the user's touch operation. If the user's finger moves away from the screen, the touch event ends; if the user's finger continues to slide on the screen, the touch layer continues to respond to the user's sliding operation;

[0076] Eventually, the screen starts rendering and delivering the image to the user.

[0077] It should be noted that the electronic device control method provided in the embodiment of the present application can be executed by an electronic device control device, or a control module in the electronic device control device for executing the electronic device control method. In the embodiment of the present application, the electronic device control device provided in the embodiment of the present application is described by taking the electronic device control device executing the electronic device control method as an example.

[0078] Figure 2 A schematic diagram of the structure of an electronic device control device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, it includes: a first acquisition module 210 and a second acquisition module 220; wherein the first acquisition module 210 is used to obtain the distance information between the operation object and the screen of the electronic device in real time based on the millimeter-wave radar; wherein the second acquisition module 220 is used to obtain the screen coordinates of the operation object mapped on the screen based on the millimeter-wave radar when the distance information is less than a preset distance threshold, and perform a target operation, wherein the target operation is associated with the display content corresponding to the screen coordinates.

[0079] In an embodiment of the present application, when the operating object has not yet touched the screen of the electronic device, the millimeter wave radar is used to continuously detect the distance information between the operating object and the screen of the electronic device. When the distance information is less than a preset distance threshold, it is considered that the operating object is about to touch the screen of the electronic device. The operation will be responded to in advance before the operating object touches the screen of the electronic device, which can effectively improve the speed at which the electronic device responds to user input.

[0080] Optionally, the second acquisition module is specifically used to:

[0081] When the display content corresponding to the screen coordinates is an operable control, a click operation on the operable control is performed.

[0082] In an embodiment of the present application, when there is an operable control at the position of the screen coordinates, it is determined that the operating object is about to operate the operable control, and most of the operations on the operable controls are click operations. Therefore, the target operation is determined to be a click operation, so that the operation can be responded to before the operating object touches the screen, effectively improving the response speed of the electronic device to the user's click operation.

[0083] Optionally, the second acquisition module is specifically used to:

[0084] When the display content corresponding to the screen coordinates is not an operable control, a long press operation is performed at the position of the screen coordinates.

[0085] In an embodiment of the present application, when there is no operable control at the position of the screen coordinates, since most operations that are not for the operable controls are long press operations, the target operation at this time is determined to be a long press operation, so that the operation can be responded to before the operating object touches the screen, effectively improving the response speed of the electronic device to the user's operation.

[0086] Optionally, the second acquisition module is specifically used to:

[0087] When the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, no operation is performed.

[0088] In an embodiment of the present application, if there is an operable control at the position of the screen coordinates and the operable control has at least two response states, then the early response at this time cannot predict the target operation that the user actually wants to perform. Therefore, in order to avoid the occurrence of misoperation, the target operation is determined to be empty, that is, there is no early response to the user's operation, thereby avoiding misoperation and ensuring the accuracy and smoothness of the operation.

[0089] Optionally, the device further comprises:

[0090] The stopping module is used to stop the millimeter wave radar from acquiring the distance information and the screen coordinates when a touch operation of the operating object on the screen is detected.

[0091] In an embodiment of the present application, when a touch operation of the operating object on the screen is detected, the touch operation of the operating object on the screen is executed preferentially, and the millimeter wave radar stops acquiring the distance information and the screen coordinates, thereby avoiding the erroneous generation of an early response operation in the process of preferentially executing the touch operation, resulting in an erroneous operation, thereby improving the accuracy of the control of the electronic device.

[0092] The electronic device control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0093] The electronic device control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0094] The electronic equipment control device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0095] Optionally, Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 3 As shown, an embodiment of the present application also provides an electronic device 300, including a processor 301, a memory 302, and a program or operation stored in the memory 302 and executable on the processor 301. When the program or operation is executed by the processor 301, each process of the above-mentioned electronic device control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0096] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0097] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0098] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .

[0099] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0100] Optionally, the processor 410 is used to obtain distance information between the operating object and the screen of the electronic device in real time based on the millimeter wave radar;

[0101] The processor 410 is used to obtain the screen coordinates of the operation object mapped on the screen based on the millimeter wave radar when the distance information is less than a preset distance threshold, and perform a target operation, wherein the target operation is associated with the display content corresponding to the screen coordinates. The processor 410 is used to perform a click operation on the operable control when the display content corresponding to the screen coordinates is an operable control.

[0102] The processor 410 is configured to perform a long press operation at the position of the screen coordinates when the display content corresponding to the screen coordinates is not an operable control.

[0103] The processor 410 is configured to not perform any operation when the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states.

[0104] The processor 410 is configured to, when detecting that the operating object performs a touch operation on the screen, cause the millimeter wave radar to stop acquiring the distance information and the screen coordinates.

[0105] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture 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, etc. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called 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, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 409 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.

[0106] In an embodiment of the present application, when the operating object has not yet touched the screen of the electronic device, the millimeter wave radar is used to continuously detect the distance information between the operating object and the screen of the electronic device. When the distance information is less than a preset distance threshold, it is considered that the operating object is trying to touch the screen of the electronic device. At this time, before the operating device touches the screen of the electronic device, the target operation will be performed in advance on the screen coordinates. That is, before the operating object touches the screen of the electronic device, the touch operation is responded to in advance, which can effectively improve the speed at which the electronic device responds to user input.

[0107] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned electronic device control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0108] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0109] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned electronic device control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0110] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0111] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0112] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0113] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for controlling an electronic device, It is characterized in that The electronic device is provided with a millimeter wave radar, and the method comprises: Based on the millimeter wave radar, obtaining the distance information between the operating object and the screen of the electronic device in real time; When the distance information is less than a preset distance threshold, the screen coordinates of the operation object mapped on the screen are obtained based on the millimeter wave radar, and before the operation object contacts the screen of the electronic device, a target operation corresponding to the operation is responded to, wherein the target operation is associated with the display content corresponding to the screen coordinates; The target operation is the operation that needs to be performed after the operation object touches the screen of the electronic device.

2. The electronic device control method according to claim 1, It is characterized in that Responding to the target operation includes: When the display content corresponding to the screen coordinates is an operable control, a click operation on the operable control is performed.

3. The electronic device control method according to claim 1, It is characterized in that Responding to the target operation includes: When the display content corresponding to the screen coordinates is not an operable control, a long press operation is performed at the position of the screen coordinates.

4. The electronic device control method according to claim 1, It is characterized in that Responding to the target operation includes: When the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, no operation is performed.

5. The electronic device control method according to claim 1, It is characterized in that After responding to the target operation, the method further includes: When a touch operation of the operating object on the screen is detected, the millimeter wave radar stops acquiring the distance information and the screen coordinates.

6. An electronic equipment control device, It is characterized in that The electronic device is provided with a millimeter wave radar, and the device comprises: A first acquisition module, configured to acquire distance information between an operating object and a screen of the electronic device in real time based on the millimeter wave radar; A second acquisition module is used to acquire, based on the millimeter-wave radar, the screen coordinates of the operation object mapped on the screen when the distance information is less than a preset distance threshold, and respond to a target operation corresponding to the operation before the operation object contacts the screen of the electronic device, wherein the target operation is associated with display content corresponding to the screen coordinates; The target operation is the operation that needs to be performed after the operation object touches the screen of the electronic device.

7. The electronic equipment control device according to claim 6, It is characterized in that The second acquisition module is specifically used for: When the display content corresponding to the screen coordinates is an operable control, a click operation on the operable control is performed.

8. The electronic equipment control device according to claim 6, It is characterized in that The second acquisition module is specifically used for: When the display content corresponding to the screen coordinates is not an operable control, a long press operation is performed at the position of the screen coordinates.

9. The electronic equipment control device according to claim 6, It is characterized in that The second acquisition module is specifically used for: When the display content corresponding to the screen coordinates is an operable control and the operable control has at least two response states, no operation is performed.

10. The electronic equipment control device according to claim 6, It is characterized in that The device also includes: The stopping module is used to stop the millimeter wave radar from acquiring the distance information and the screen coordinates when a touch operation of the operating object on the screen is detected.