CN114415929A - Control method and device of electronic equipment, electronic equipment and readable storage medium - Google Patents

Control method and device of electronic equipment, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114415929A
CN114415929A CN202210083471.8A CN202210083471A CN114415929A CN 114415929 A CN114415929 A CN 114415929A CN 202210083471 A CN202210083471 A CN 202210083471A CN 114415929 A CN114415929 A CN 114415929A
Authority
CN
China
Prior art keywords
touch
data
electronic equipment
preset
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210083471.8A
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 CN202210083471.8A priority Critical patent/CN114415929A/en
Publication of CN114415929A publication Critical patent/CN114415929A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

The application discloses a control method and device of electronic equipment, the electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment. The method comprises the following steps: acquiring a first use scene of the electronic equipment; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode.

Description

Control method and device of electronic equipment, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a control method and device of electronic equipment, the electronic equipment and a readable storage medium.
Background
Smart phones have become an indispensable part of people's life, and the current smart phone control mode usually takes touch control as a main control mode.
Most of the touch screens of the existing smart phones are mainly based on a capacitive touch mode, so that the purpose of touch identification can be achieved.
However, in some special usage scenarios, the purpose of touch recognition cannot be achieved by using a certain touch method, so that the user experience is not good.
Disclosure of Invention
The embodiment of the application aims to provide a control method and device of electronic equipment, the electronic equipment and a readable storage medium, which can improve the use experience of a user.
In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, where the method includes: acquiring a first use scene of the electronic equipment; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode.
In a second aspect, an embodiment of the present application provides a control apparatus for an electronic device, where the apparatus includes: the acquisition module is used for acquiring a first use scene of the electronic equipment; the determining module is used for determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and the processing module is used for controlling the electronic equipment according to the first touch control mode.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, 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 a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a first use scene of the electronic equipment is obtained; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode. Therefore, different use scenes in the embodiment adopt different touch control modes to achieve the purpose of touch control identification, so that the touch control mode can be always matched with the current use scene, the purpose of touch control cannot be achieved, and the use experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a control method of an electronic device according to an embodiment;
fig. 2 is a block schematic diagram of a control device of an electronic device according to the present embodiment;
fig. 3 is a schematic diagram of a hardware structure of an electronic device provided in this embodiment;
fig. 4 is a schematic diagram of a hardware structure of another electronic device provided in this embodiment.
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 a control method of an electronic device according to an embodiment of the present application with reference to the accompanying drawings and a specific embodiment and an application scenario thereof.
Referring to fig. 1, a method for controlling an electronic device provided in this embodiment may include the following steps 110 to 130:
step 110, a first usage scenario of the electronic device is obtained.
The electronic device in this embodiment may be a smart phone of a user, and the smart phone is configured with a touch screen, and the user may send a corresponding control instruction by operating the touch screen. The implementation main body of this embodiment may be a main control module of the electronic device, and the main control module may identify a control instruction sent by a user through touch operation in a certain touch manner.
In detail, the basic touch method may include a capacitive touch method, a resistive touch method, a laser touch method, and the like. In this embodiment, the basic touch manners are all set in the electronic device and can work simultaneously.
The touch characteristics of different basic touch modes are different. In detail, the capacitive touch mode has the advantages of sensitivity and multi-point touch, the resistive touch mode has the advantages of accuracy, water stain resistance and no forced finger contact, and the laser touch mode has the advantages of accuracy and no forced finger contact.
For example, when a user performs a touch operation using a finger with sweat stain or wears a glove to perform a touch operation, the capacitive touch method cannot generally identify the touch operation, and the resistive touch method and the laser touch method can identify the touch operation.
In this way, in order to accurately respond to the control instruction issued by the user through the touch operation, the touch operation can be accurately identified by using a touch manner according with the use scene of the electronic device. Based on this, in this embodiment, the usage scenario of the electronic device is first obtained, so that the corresponding touch manner can be subsequently determined according to the usage scenario.
In detail, the step of acquiring the usage scenario of the electronic device may be performed periodically during the usage of the electronic device.
And step 120, determining a first touch manner corresponding to the first usage scene according to a mapping relation between a preset usage scene and the touch manner.
In this embodiment, different use scenarios may adopt different touch manners, and the mapping relationship between the use scenarios and the touch manners may be preset according to experience and the like.
In a feasible implementation manner, the touch manner adopted by the control device of the electronic device may be a single type touch manner, such as any one of a capacitive touch manner, a resistive touch manner, and a laser touch manner, or may be a combined type touch manner, such as a combination of two basic touch manners, i.e., a resistive touch manner and a laser touch manner.
Taking a position on a touch screen of an electronic device touched by a user as an example, for a single touch manner, the single touch manner is directly used to obtain a touch position of the user on the touch screen, and for a combined touch manner, each single touch manner in the combined touch manner can be used to obtain a touch position of the user on the touch screen, that is, a plurality of touch positions can be obtained, and then the obtained plurality of touch positions are weighted-averaged and processed to obtain a unified touch position.
And step 130, controlling the electronic equipment according to the first touch control mode.
In the step, after the touch control mode which accords with the current use scene is determined, the electronic equipment can be controlled according to the touch control mode, so that the aim of accurate touch control is fulfilled.
In the embodiment of the application, a first use scene of the electronic equipment is obtained; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode. Therefore, different use scenes in the embodiment adopt different touch control modes to achieve the purpose of touch control identification, so that the touch control mode can be always matched with the current use scene, the purpose of touch control cannot be achieved, and the use experience of a user is improved.
In an embodiment of the present invention, the step 110 of acquiring a first usage scenario of the electronic device may include the following steps 1101 to 1102:
step 1101, acquiring usage data of the electronic device, wherein the usage data includes at least one of interface operation data, sensor data and touch data.
Step 1102, determining a first usage scenario of the electronic device according to the usage data.
Optionally, the first usage scenario includes one of a first preset sub-scenario, a second preset sub-scenario, and a third preset sub-scenario.
In this embodiment, the first preset sub-scene may be a use scene in which a user carries sweat, wears gloves, or performs a touch operation using a tool without static electricity, and at this time, a resistive touch manner or a laser touch manner may be used to achieve the purpose of touch recognition.
The second preset sub-scene can be a use scene for performing fine operation, and at this time, the purpose of touch identification can be achieved by using a resistance touch mode and a laser touch mode.
The third preset sub-scene may be a conventional use scene for performing multi-touch, and at this time, a capacitive touch manner may be used to achieve the purpose of touch recognition.
Next, the three preset sub-scenes will be described.
In this embodiment, whether the electronic device is in a use scene of a fine operation may be determined according to interface operation data of the electronic device. The touch method preferably used in the fine operation use scenario may be different from the touch method preferably used in the non-fine operation use scenario.
Therefore, before the scene is identified, the incidence relation between the electronic equipment interface scene and the touch mode can be preset.
For example, when drawing, a user needs to open drawing software and finely operate (specifically, the user can use a fingernail, a thin stick-shaped object, and the like) the touch screen. At this time, the purpose of touch recognition can be achieved by using a resistive touch method and a laser touch method, and therefore, when it is recognized that the scene is a drawing scene, the corresponding touch methods can be set to be the resistive touch method and the laser touch method.
When a user performs a conventional operation of referring to a photo, playing a game, etc., multi-touch is usually used. At this time, the capacitive touch method may be used to achieve the purpose of touch recognition, so that when the scene is recognized as a scene such as looking up a photo or playing a game, the corresponding touch method may be the capacitive touch method.
Based on the above, in an embodiment of the present invention, the step 1102 of determining a first usage scenario of the electronic device according to the usage data may include:
determining that a first usage scene of the electronic equipment is a second preset sub-scene under the condition that the usage data is interface operation data of the electronic equipment and the interface operation data represents that an operation interface of the electronic equipment is an interface of any preset application program; and the touch control modes corresponding to the second preset sub-scene are a resistance touch control mode and a laser touch control mode.
The preset application program may include drawing software and other application programs that require a fine operation.
In this embodiment, it may also be determined whether the electronic device is in a usage scenario in which a resistive touch manner or a laser touch manner is required to achieve the purpose of touch recognition according to sensor data and/or touch data of the electronic device.
Therefore, the association relationship between the sensor data and/or the touch data of the electronic device and the touch manner can be preset.
For example, when a user carries an electronic device to do exercise (such as running), sweat stains are easily carried on the fingers of the user, and the electronic device has a certain position change rule. At this time, a resistive touch manner or a laser touch manner may be used to achieve the purpose of touch recognition. Therefore, when the scene is identified as a motion scene, the corresponding touch mode can be a resistance touch mode or a laser touch mode.
Correspondingly, the position change rule of the electronic equipment can be obtained through the position sensor, so that whether the user corresponding to the electronic equipment is in a motion scene or not is judged.
Based on the above, in an embodiment of the present invention, the step 1102 of determining a first usage scenario of the electronic device according to the usage data may include:
determining that a first use scene of the electronic equipment is a first preset sub-scene when the use data is position sensing data of the electronic equipment and a change rule of the position sensing data conforms to a preset change rule; and the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode.
The preset change rule may be a change rule of position sensing data, which is a change rule of position sensing data of the electronic device caused by movement of the electronic device carried by the user. For example, when a user puts a mobile phone on his body and runs, the direction and amplitude of the motion of the mobile phone will change regularly, and the inertial gyroscope and accelerometer of the mobile phone can sense the change of the position sensing data of the mobile phone. By analyzing the big data of the change, the change rule of the position sensing data corresponding to the running can be obtained.
If the position sensing data conforms to the preset change rule, it can be determined that the user uses the mobile phone when the user carries the mobile phone during the movement and under the condition of sweat stain, and at the moment, a resistance touch mode or a laser touch mode can be used.
For another example, the touch mode may be a resistive touch mode or a laser touch mode in a scene where the operation object wears a tool.
Correspondingly, whether the tool is worn by the operation object can be determined through fingerprint recognition or image recognition. Alternatively, the fingerprint identification data may be obtained by a fingerprint sensor, and the image identification data may be obtained by a camera.
Based on this, in an embodiment of the present invention, the step 1102 of determining a first usage scenario of the electronic device according to the usage data may include:
determining a first usage scene of the electronic device as a first preset sub-scene when the usage data is fingerprint identification data or image identification data of the electronic device and the fingerprint identification data or image identification data of the electronic device indicates that an operation object wears a tool; and the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode.
The tool worn by the operation object can be a glove worn by the user, a stylus held by the user, and the like. When it is determined that the user performs the touch operation using the tool according to the fingerprint identification data or the image identification data, a resistive touch manner or a laser touch manner may be used.
In an embodiment of the present invention, the step 1102 of determining a first usage scenario of the electronic device according to the usage data may include:
when the use data is touch data, and the touch data represents that a target touch result exists and a capacitance touch result does not exist; or determining that a first usage scenario of the electronic device is a first preset sub-scenario when the touch data indicates that the target touch result and the capacitance touch result exist and the target touch result and the capacitance touch result are inconsistent; the target touch result comprises at least one of a resistance touch result and a laser touch result; and the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode.
In this embodiment, based on the touch results of various basic touch manners, it may be determined whether the electronic device is in a use scenario in which the user carries sweat, wears gloves, and uses a tool to perform a touch operation. In this usage scenario, a resistive touch manner or a laser touch manner may be used.
In this embodiment, whether the electronic device is in a use scene of normal touch may also be determined according to the touch data. At this time, a capacitive touch method may be used.
Based on the above, in an embodiment of the present invention, the step 1102 of determining a first usage scenario of the electronic device according to the usage data may include:
determining that a first usage scenario of the electronic device is a third preset sub-scenario when the usage data is touch data of the electronic device and the touch data represents that a capacitive touch result exists; and the touch mode corresponding to the third preset sub-scene is a capacitive touch mode.
And under the condition that a capacitive touch result exists or the capacitive touch result exists and is consistent with the target touch result, determining that the electronic equipment is currently in a third preset sub-scene. In this usage scenario, a capacitive touch approach may be used.
It is feasible that, in addition to the position sensor camera, the present embodiment may also incorporate data collected by other sensors, such as a temperature sensor, a distance sensor, a light sensor, etc., for use in the determination of the usage scenario. For example, the user sweats easily at high temperature and makes the finger carry sweat stain, and the user can choose to wear gloves at low temperature, can use resistance touch mode or laser touch mode this moment, realizes touch-control discernment purpose. The embodiment is not described herein.
Because the embodiment can intelligently select one or more touch schemes to respond to the touch operation of the user according to the use conditions and environment of the user, the touch operation purpose required by the user can be realized even if the fingers of the user carry sweat stains, the user wears gloves, the user uses nail operation and the like under the condition that the user does not perform additional processing (such as wiping sweat stains, removing gloves, changing to a special touch pen and the like), and the user experience is better.
In this embodiment, after the current usage scenario is determined, the accuracy of the scenario determination may be further checked to check whether the determined usage scenario is consistent with the actual usage scenario. If the touch control signals are consistent, the purpose of accurate touch control can be achieved, and the touch control effect is better.
Optionally, the touch effect of the touch manner corresponding to the usage scenario may be detected to ensure that the electronic device is accurately controlled based on the touch manner with better touch effect.
In an embodiment of the present disclosure, the first touch manner includes at least one of at least two preset touch manners.
In detail, the at least two preset touch manners may be a combination of any two of three basic touch manners, i.e., a capacitive touch manner, a resistive touch manner, and a laser touch manner. Correspondingly, the first touch manner may be one or more of the basic touch manners. For example, the first touch control method may be a capacitive touch control method, or may be a combination of a resistive touch control method and a laser touch control method.
Based on this, before the controlling the electronic device according to the first touch manner, the method may further include the following B1 to B3:
and B1, in response to the touch operation of the electronic device, determining a first touch result of the touch operation corresponding to the first touch manner, and determining a second touch result of the touch operation corresponding to each preset touch manner.
In this step, in determining the first touch manner, each basic touch manner may be in an activated state, so that when a user sends a touch operation, at least one basic touch manner may sense the touch operation, and a corresponding touch result may be obtained.
For example, when a user touches the touch screen with a glove, the capacitive touch method usually cannot detect the touch operation without a corresponding touch result, but both the resistive touch method and the laser touch method can detect the touch operation and obtain a corresponding touch result, for example, the touch result is data indicating a touch position.
B2, determining whether the touch effect of the first touch manner meets a preset requirement according to the first touch result and each of the second touch results.
In this step, it may be checked whether the determined touch manner has an expected touch effect according to the touch result of each basic touch manner and the touch result of the determined touch manner.
In detail, the preset requirement may be set as needed, for example, the error of the obtained touch position may be set to be smaller than a set threshold.
For example, if the first touch mode is a capacitive touch mode, when the user touches the touch screen with the glove, the first touch mode cannot detect the touch position, but the other two basic touch modes can detect the touch position, and the touch effect of the first touch mode does not meet the preset requirement.
For another example, if the first touch mode is a resistive touch mode, when the user touches the touch screen with the glove, the first touch mode and the laser touch mode can both detect the touch position, and if the deviation between the first touch mode and the laser touch mode is not large, the touch effect of the first touch mode can be considered to meet the preset requirement.
In this embodiment, whether the touch effect of the selected touch manner is good or not is determined according to the touch results of various basic touch manners, so as to ensure that the electronic device is accurately controlled based on the touch manner with the better touch effect.
B3, when the touch effect of the first touch manner meets the preset requirement, executing the step of controlling the electronic device according to the first touch manner.
In this step, if the touch effect meets the preset requirement, the touch effect of the selected first touch manner can be considered to be better, and the electronic device can be accurately controlled accordingly.
In summary, in the embodiment, data are sampled by intelligently selecting one or more basic touch manners, so that accurate touch feedback results can be obtained in various use scenes, and pain points of the single-capacitor touch scheme in actual life are effectively improved.
According to the embodiment of the invention, the situation that the touch control fails or the recognition is inaccurate when the user uses the touch screen in various complex life scenes can be avoided, the user does not need to take down gloves for operation, and the fine operation can be performed by using any common pen and other equipment in life.
According to the control method of the electronic device provided by the embodiment of the application, the execution main body can be a control device of the electronic device. In the embodiment of the present application, a method for controlling an electronic device by a control device of the electronic device is taken as an example, and the control device of the electronic device provided in the embodiment of the present application is described.
As shown in fig. 2, the present embodiment provides a control apparatus 200 of an electronic device, which may include an obtaining module 210, a determining module 220, and a processing module 230.
The obtaining module 210 is configured to obtain a first usage scenario of the electronic device. The determining module 220 is configured to determine a first touch manner corresponding to the first usage scenario according to a mapping relationship between a preset usage scenario and a touch manner. The processing module 230 is configured to control the electronic device according to the first touch manner.
In the embodiment of the application, a first use scene of the electronic equipment is obtained; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode. Therefore, different use scenes in the embodiment adopt different touch control modes to achieve the purpose of touch control identification, so that the touch control mode can be always matched with the current use scene, the purpose of touch control cannot be achieved, and the use experience of a user is improved.
In an embodiment of the present invention, the obtaining module 210 is configured to obtain usage data of an electronic device, where the usage data includes at least one of interface operation data, sensor data, and touch data; and determining a first usage scenario of the electronic equipment according to the usage data.
In an embodiment of the present invention, the obtaining module 210 is configured to, when the usage data is position sensing data of the electronic device, and a change rule of the position sensing data conforms to a preset change rule;
or, when the use data is fingerprint identification data or image identification data of the electronic equipment and the fingerprint identification data or image identification data of the electronic equipment indicates that an operation object wears a tool;
or, when the usage data is touch data, and the touch data indicates that a target touch result exists and a capacitive touch result does not exist;
or determining that a first usage scenario of the electronic device is a first preset sub-scenario when the touch data indicates that the target touch result and the capacitance touch result exist and the target touch result and the capacitance touch result are inconsistent; the target touch result comprises at least one of a resistance touch result and a laser touch result;
determining that a first usage scene of the electronic equipment is a second preset sub-scene under the condition that the usage data is interface operation data of the electronic equipment and the interface operation data represents that an operation interface of the electronic equipment is an interface of any preset application program;
determining that a first usage scenario of the electronic device is a third preset sub-scenario when the usage data is touch data of the electronic device and the touch data represents that a capacitive touch result exists;
the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode;
the touch control mode corresponding to the second preset sub-scene is a resistance touch control mode and a laser touch control mode;
the touch mode corresponding to the third preset sub-scene is a capacitive touch mode;
the first usage scenario includes one of a first preset sub-scenario, a second preset sub-scenario, and a third preset sub-scenario.
In an embodiment of the present invention, the first touch manner includes at least one of at least two preset touch manners;
the processing module 230 is configured to, in response to a touch operation for the electronic device, determine a first touch result of the touch operation corresponding to the first touch manner, and determine a second touch result of the touch operation corresponding to each of the preset touch manners; determining whether the touch effect of the first touch mode meets a preset requirement or not according to the first touch result and each second touch result; and under the condition that the touch effect of the first touch mode meets the preset requirement, executing the step of controlling the electronic equipment according to the first touch mode.
The control device of the electronic device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a 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 particularly limited.
The control device of the electronic apparatus in the embodiment of the present application may be a device 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 control device of the electronic device 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, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 310 and a memory 320, where the memory 320 stores a program or an instruction that can be executed on the processor 310, and when the program or the instruction is executed by the processor 310, the steps of the embodiment of the control method of the electronic device are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
Fig. 4 is a schematic hardware structure diagram of an electronic device 1000 implementing the embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 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.
The processor 1010 is configured to acquire a first usage scenario of the electronic device; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode.
In the embodiment of the application, a first use scene of the electronic equipment is obtained; determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and controlling the electronic equipment according to the first touch control mode. Therefore, different use scenes in the embodiment adopt different touch control modes to achieve the purpose of touch control identification, so that the touch control mode can be always matched with the current use scene, the purpose of touch control cannot be achieved, and the use experience of a user is improved.
Optionally, the processor 1010 is configured to acquire usage data of the electronic device, where the usage data includes at least one of interface operation data, sensor data, and touch data; and determining a first usage scenario of the electronic equipment according to the usage data.
Optionally, the processor 1010 is configured to, when the usage data is position sensing data of the electronic device and a change rule of the position sensing data meets a preset change rule;
or, when the use data is fingerprint identification data or image identification data of the electronic equipment and the fingerprint identification data or image identification data of the electronic equipment indicates that an operation object wears a tool;
or, when the usage data is touch data, and the touch data indicates that a target touch result exists and a capacitive touch result does not exist;
or determining that a first usage scenario of the electronic device is a first preset sub-scenario when the touch data indicates that the target touch result and the capacitance touch result exist and the target touch result and the capacitance touch result are inconsistent; the target touch result comprises at least one of a resistance touch result and a laser touch result;
determining that a first usage scene of the electronic equipment is a second preset sub-scene under the condition that the usage data is interface operation data of the electronic equipment and the interface operation data represents that an operation interface of the electronic equipment is an interface of any preset application program;
determining that a first usage scenario of the electronic device is a third preset sub-scenario when the usage data is touch data of the electronic device and the touch data represents that a capacitive touch result exists;
the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode;
the touch control mode corresponding to the second preset sub-scene is a resistance touch control mode and a laser touch control mode;
the touch mode corresponding to the third preset sub-scene is a capacitive touch mode;
the first usage scenario includes one of a first preset sub-scenario, a second preset sub-scenario, and a third preset sub-scenario.
Optionally, the first touch manner includes at least one of at least two preset touch manners; a processor 1010, configured to determine, in response to a touch operation for the electronic device, a first touch result of the touch operation corresponding to the first touch manner, and determine a second touch result of the touch operation corresponding to each of the preset touch manners; determining whether the touch effect of the first touch mode meets a preset requirement or not according to the first touch result and each second touch result; and under the condition that the touch effect of the first touch mode meets the preset requirement, executing the step of controlling the electronic equipment according to the first touch mode.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory x09 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment of the 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 computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
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 control method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
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.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the control method embodiment of the electronic device, where the processes can achieve the same technical effect, and in order to avoid repetition, the descriptions of the processes are omitted here.
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. A method of controlling an electronic device, comprising:
acquiring a first use scene of the electronic equipment;
determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode;
and controlling the electronic equipment according to the first touch control mode.
2. The method of claim 1, wherein obtaining the first usage scenario of the electronic device comprises:
acquiring use data of the electronic equipment, wherein the use data comprises at least one of interface operation data, sensor data and touch data;
and determining a first usage scenario of the electronic equipment according to the usage data.
3. The method of claim 2, wherein determining the first usage scenario of the electronic device based on the usage data comprises:
when the use data is position sensing data of the electronic equipment and the change rule of the position sensing data conforms to a preset change rule;
or, when the use data is fingerprint identification data or image identification data of the electronic equipment and the fingerprint identification data or image identification data of the electronic equipment indicates that an operation object wears a tool;
or, when the usage data is touch data, and the touch data indicates that a target touch result exists and a capacitive touch result does not exist;
or determining that a first usage scenario of the electronic device is a first preset sub-scenario when the touch data indicates that the target touch result and the capacitance touch result exist and the target touch result and the capacitance touch result are inconsistent; the target touch result comprises at least one of a resistance touch result and a laser touch result;
determining that a first usage scene of the electronic equipment is a second preset sub-scene under the condition that the usage data is interface operation data of the electronic equipment and the interface operation data represents that an operation interface of the electronic equipment is an interface of any preset application program;
determining that a first usage scenario of the electronic device is a third preset sub-scenario when the usage data is touch data of the electronic device and the touch data represents that a capacitive touch result exists;
the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode;
the touch control mode corresponding to the second preset sub-scene is a resistance touch control mode and a laser touch control mode;
the touch mode corresponding to the third preset sub-scene is a capacitive touch mode;
the first usage scenario includes one of a first preset sub-scenario, a second preset sub-scenario, and a third preset sub-scenario.
4. The method according to claim 1, wherein the first touch manner comprises at least one of at least two preset touch manners;
before the controlling the electronic device according to the first touch manner, the method further includes:
in response to a touch operation for the electronic device, determining a first touch result of the touch operation corresponding to the first touch manner, and determining a second touch result of the touch operation respectively corresponding to each preset touch manner;
determining whether the touch effect of the first touch mode meets a preset requirement or not according to the first touch result and each second touch result;
and under the condition that the touch effect of the first touch mode meets the preset requirement, executing the step of controlling the electronic equipment according to the first touch mode.
5. A control apparatus of an electronic device, comprising:
the acquisition module is used for acquiring a first use scene of the electronic equipment;
the determining module is used for determining a first touch mode corresponding to the first use scene according to a mapping relation between a preset use scene and the touch mode; and the number of the first and second groups,
and the processing module is used for controlling the electronic equipment according to the first touch control mode.
6. The apparatus of claim 5, wherein the obtaining module is configured to obtain usage data of the electronic device, where the usage data includes at least one of interface operation data, sensor data, and touch data; and determining a first usage scenario of the electronic equipment according to the usage data.
7. The apparatus according to claim 6, wherein the obtaining module is configured to, when the usage data is position sensing data of the electronic device and a change rule of the position sensing data conforms to a preset change rule;
or, when the use data is fingerprint identification data or image identification data of the electronic equipment and the fingerprint identification data or image identification data of the electronic equipment indicates that an operation object wears a tool;
or, when the usage data is touch data, and the touch data indicates that a target touch result exists and a capacitive touch result does not exist;
or determining that a first usage scenario of the electronic device is a first preset sub-scenario when the touch data indicates that the target touch result and the capacitance touch result exist and the target touch result and the capacitance touch result are inconsistent; the target touch result comprises at least one of a resistance touch result and a laser touch result;
determining that a first usage scene of the electronic equipment is a second preset sub-scene under the condition that the usage data is interface operation data of the electronic equipment and the interface operation data represents that an operation interface of the electronic equipment is an interface of any preset application program;
determining that a first usage scenario of the electronic device is a third preset sub-scenario when the usage data is touch data of the electronic device and the touch data represents that a capacitive touch result exists;
the touch control mode corresponding to the first preset sub-scene is a resistance touch control mode or a laser touch control mode;
the touch control mode corresponding to the second preset sub-scene is a resistance touch control mode and a laser touch control mode;
the touch mode corresponding to the third preset sub-scene is a capacitive touch mode;
the first usage scenario includes one of a first preset sub-scenario, a second preset sub-scenario, and a third preset sub-scenario.
8. The apparatus of claim 5, wherein the first touch manner comprises at least one of at least two preset touch manners;
the processing module is used for responding to touch operation aiming at the electronic equipment, determining a first touch result of the touch operation corresponding to the first touch mode, and determining a second touch result of the touch operation respectively corresponding to each preset touch mode; determining whether the touch effect of the first touch mode meets a preset requirement or not according to the first touch result and each second touch result; and under the condition that the touch effect of the first touch mode meets the preset requirement, executing the step of controlling the electronic equipment according to the first touch mode.
9. An electronic device, characterized by comprising a processor and a memory, said memory storing a program or instructions executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the control method of an electronic device according to any one of claims 1-4.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method of an electronic device according to any one of claims 1-4.
CN202210083471.8A 2022-01-24 2022-01-24 Control method and device of electronic equipment, electronic equipment and readable storage medium Pending CN114415929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210083471.8A CN114415929A (en) 2022-01-24 2022-01-24 Control method and device of electronic equipment, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210083471.8A CN114415929A (en) 2022-01-24 2022-01-24 Control method and device of electronic equipment, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114415929A true CN114415929A (en) 2022-04-29

Family

ID=81277482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210083471.8A Pending CN114415929A (en) 2022-01-24 2022-01-24 Control method and device of electronic equipment, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114415929A (en)

Similar Documents

Publication Publication Date Title
CN106605202B (en) Handedness detection from touch input
EP2972727B1 (en) Non-occluded display for hover interactions
US9354804B2 (en) Touch event anticipation in a computing device
EP2817694B1 (en) Navigation for multi-dimensional input
CN105159539B (en) Touch-control response method, device and the wearable device of wearable device
US8358200B2 (en) Method and system for controlling computer applications
US8269842B2 (en) Camera gestures for user interface control
US8462113B2 (en) Method for executing mouse function of electronic device and electronic device thereof
CN107526521B (en) Method and system for applying offset to touch gesture and computer storage medium
CN109829368B (en) Palm feature recognition method and device, computer equipment and storage medium
CN104679401A (en) Terminal and touch method thereof
CN107395871B (en) Method and device for opening application, storage medium and terminal
US9189152B2 (en) Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium
US20150185850A1 (en) Input detection
GB2510333A (en) Emulating pressure sensitivity on multi-touch devices
US20220143493A1 (en) Game control method based on a smart bracelet, smart bracelet and storage medium
CN104571521A (en) Device and method of handwritten record
US20160342275A1 (en) Method and device for processing touch signal
CN113552995A (en) Mobile terminal false touch prevention method and device, computer equipment and storage medium
US9235338B1 (en) Pan and zoom gesture detection in a multiple touch display
CN104714736A (en) Control method and terminal for quitting full screen lock-out state
CN114415929A (en) Control method and device of electronic equipment, electronic equipment and readable storage medium
CN115291786A (en) False touch judgment method and device based on machine learning and storage medium
CN114816213A (en) Operation identification method and device, electronic equipment and readable storage medium
US20230333664A1 (en) Head-mounted display, tapping input signal generating method and non-transitory computer readable storage medium thereof

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