CN109085986B - Device control method, device, storage medium and electronic device - Google Patents

Device control method, device, storage medium and electronic device Download PDF

Info

Publication number
CN109085986B
CN109085986B CN201810753086.3A CN201810753086A CN109085986B CN 109085986 B CN109085986 B CN 109085986B CN 201810753086 A CN201810753086 A CN 201810753086A CN 109085986 B CN109085986 B CN 109085986B
Authority
CN
China
Prior art keywords
information
touch operation
sliding
sliding touch
fingerprint
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810753086.3A
Other languages
Chinese (zh)
Other versions
CN109085986A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810753086.3A priority Critical patent/CN109085986B/en
Publication of CN109085986A publication Critical patent/CN109085986A/en
Application granted granted Critical
Publication of CN109085986B publication Critical patent/CN109085986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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/0489Interaction 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 dedicated keyboard keys or combinations thereof
    • G06F3/04897Special input arrangements or commands for improving display capability

Abstract

The embodiment of the application discloses a device control method and device, a storage medium and electronic equipment, wherein a Home key of the electronic equipment is integrated with a touch sensing module, and the electronic equipment can firstly receive sliding touch operation through the Home key. And then determines an operation to be performed corresponding to the sliding touch operation. And finally, executing the determined operation to be executed. Therefore, touch control over the electronic equipment is achieved through the Home key, shielding of screen display content is avoided, stains are not left on the screen, and adverse effects of touch operation on screen display are avoided.

Description

Device control method, device, storage medium and electronic device
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a device control method, apparatus, storage medium, and electronic device.
Background
At present, electronic devices such as mobile phones and tablet computers support touch screen operations, and a user can control the electronic devices by sliding a finger on a screen of the electronic devices, for example, sliding screen display contents can be achieved by sliding the screen. However, such touch operations on the screen inevitably block the display content of the screen, and stains carried by the fingers of the user are left on the screen along with the touch operations, thereby reducing the display effect of the screen.
Disclosure of Invention
The embodiment of the application provides a device control method and device, a storage medium and an electronic device, which can avoid adverse effects on screen display caused by touch operation.
In a first aspect, an embodiment of the present application provides an apparatus control method, which is applied to an electronic apparatus, a Home key of a Home page of the electronic apparatus is integrated with a touch sensing module, and the apparatus control method includes:
receiving a sliding touch operation through the Home key;
determining an operation to be executed corresponding to the sliding touch operation;
and executing the determined operation to be executed.
In a second aspect, an embodiment of the present application provides an apparatus control device, which is applied to an electronic device, a Home key of the electronic device is integrated with a touch sensing module, and the apparatus control device includes:
the receiving module is used for receiving sliding touch operation through the Home key;
the determining module is used for determining an operation to be executed corresponding to the sliding touch operation;
and the execution module is used for executing the determined operation to be executed.
In a third aspect, the present application provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the steps in the device control method provided in the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a Home key, where the memory stores a computer program, and the processor is configured to execute the steps in the device control method provided in the embodiment of the present application by calling the computer program.
In the embodiment of the application, the Home key of the electronic equipment is integrated with the touch sensing module, and the electronic equipment can firstly receive the sliding touch operation through the Home key. And then determines an operation to be performed corresponding to the sliding touch operation. And finally, executing the determined operation to be executed. Therefore, touch control over the electronic equipment is achieved through the Home key, shielding of screen display content is avoided, stains are not left on the screen, and adverse effects of touch operation on screen display are avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an apparatus control method according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a Home key in an electronic device in an embodiment of the present application.
Fig. 3 is a schematic view of another structure of the Home key in the electronic device in the embodiment of the present application.
Fig. 4 is a schematic diagram of starting application "XX music" by "sliding right" through a sliding touch operation in the embodiment of the present application.
Fig. 5 is a schematic diagram of "sliding right" to extinguish the screen through a sliding touch operation in the embodiment of the present application.
Fig. 6 is a diagram illustrating an example of the prompt information for cleaning the Home key output in the embodiment of the present application.
Fig. 7 is another schematic flowchart of a device control method according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a device control apparatus provided in an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 10 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The term module, as used herein, may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the device control method may be the device control apparatus provided in the embodiment of the present application, or an electronic device integrated with the device control apparatus, where the device control apparatus may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a schematic flow chart of an apparatus control method according to an embodiment of the present disclosure. As shown in fig. 1, a flow of the device control method provided in the embodiment of the present application may be as follows:
101. and receiving a sliding touch operation through the Home key.
Referring to fig. 2, in the embodiment of the present application, a Home key of an electronic device may be disposed on a front surface of the electronic device, and the Home key is integrated with a touch sensing module, and referring to fig. 3, the Home key of the electronic device may also be disposed on a back surface of the electronic device, and the Home key is integrated with the touch sensing module. The touch sensing module includes, but is not limited to, a surface capacitive touch sensing module, a projective touch sensing module, and the like.
The projected touch sensing module can be divided into a self-capacitance touch sensing module and a mutual capacitance touch sensing module.
The self-capacitance touch sensing module is internally composed of a driving electrode and a receiving electrode, the driving electrode sends a low-voltage high-frequency signal to project to the receiving electrode to form stable current, when a user uses a finger to contact the self-capacitance touch sensing module, due to the fact that a human body is grounded, the finger and the self-capacitance touch sensing module form an equivalent capacitor, and the high-frequency signal can flow into a ground wire through the equivalent capacitor, so that the electric charge quantity received by the receiving electrode is reduced, and when the finger is closer to the driving electrode, the electric charge quantity is reduced more obviously, and therefore the point touched by the finger of the user can be determined according to the current intensity received by the receiving electrode.
The mutual capacitance touch sensing module consists of a transverse electrode and a longitudinal electrode, and is different from the self-capacitance touch sensing module in that a capacitor is formed at the crossed position of two groups of electrodes of the mutual capacitance touch sensing module, namely the two groups of electrodes respectively form two poles of the capacitor. When a user touches the mutual capacitance sensing module with a finger, the coupling between the two electrodes near the touch point of the finger is affected, so that the capacitance between the two electrodes is changed. When the mutual capacitance is detected, the transverse electrodes sequentially send out excitation signals, and the longitudinal electrodes simultaneously receive the signals, so that the capacitance values of all intersection points of the transverse electrodes and the longitudinal electrodes can be obtained, and the points touched by the fingers of the user can be determined according to the capacitance variation.
In the embodiment of the application, a proper touch sensing module can be integrated in the Home key according to actual needs (for example, a self-capacitance touch sensing module can be integrated in the Home key), so that the electronic device can detect the sliding touch operation received by the Home key through the touch sensing module, and thus the sliding touch operation of input is received through the Home key.
It should be noted that the sliding touch operation is relative to the pressing operation, the pressing operation on the Home key may cause the Home key to be displaced, or cause the Home key to be pressed, and the sliding touch operation on the Home key may not cause the Home key to be displaced.
102. And determining the operation to be executed corresponding to the received sliding touch operation.
In the embodiment of the application, when the electronic device detects the sliding touch operation received by the Home key through the touch sensing module, the to-be-executed operation corresponding to the sliding touch operation is determined.
The corresponding relationship between the sliding touch operation and the operation to be executed may be preset, so that the electronic device determines the operation to be executed corresponding to the input sliding touch operation according to the corresponding relationship between the sliding touch operation and the operation to be executed. For example, the operation to be executed corresponding to the sliding touch operation of "sliding left" may be set to "move the display page left"; for another example, the operation to be performed corresponding to the slide touch operation of "moving right" may be set as "moving display page right"; for another example, the operation to be performed corresponding to the slide touch operation of "sliding up" may be set to "increase the volume or brightness"; for another example, the operation to be performed corresponding to the slide touch operation of "slide down" may be set to "reduce the volume or brightness", or the like.
103. And executing the determined operation to be executed.
After determining the operation to be performed corresponding to the sliding touch operation, the determined operation to be performed may be performed, for example, when the determined operation to be performed is "moving the display page to the right", the electronic device moves the current display page to the right.
Therefore, in the embodiment of the application, the Home key of the electronic device is integrated with the touch sensing module, and the electronic device can receive the sliding touch operation through the Home key at first. And then determines an operation to be performed corresponding to the sliding touch operation. And finally, executing the determined operation to be executed. Therefore, touch control over the electronic equipment is achieved through the Home key, shielding of screen display content is avoided, stains are not left on the screen, and adverse effects of touch operation on screen display are avoided.
In one embodiment, determining an operation to be performed corresponding to a received sliding touch operation includes:
(1) acquiring application type information of a current application running in a foreground;
(2) determining the operation type of the operation to be executed according to the application type information of the current application;
(3) acquiring sliding information of the sliding touch operation;
(4) and determining operation parameters of the operation to be executed according to the sliding information of the sliding touch operation.
The application type information is information obtained by classifying applications according to functions and describing application types, for example, according to function classification, the applications can be at least divided into audio applications, video applications, reading applications and the like, for example, for a certain application a, the application type information "audio" is used to describe that the application is an audio application, for a certain application B, the application type information "video" is used to describe that the application is a video application, and for a certain application C, the application type information "reading" is used to describe that the application is a reading application. It should be noted that, in the embodiment of the present application, a specific embodiment of the application type information is not specifically limited.
The association relationship between the application identifier and the application type information can be maintained in the electronic device, so that when the electronic device acquires the application type information of the current application, the application type information of the current application can be acquired according to the application identifier of the current application and the association relationship between the application identifier and the application type information. The application identifier is a character or a character string that can be uniquely mapped to the application, for example, the application identifier may be a package name, an application name, and the like of the application.
In addition, a server can be provided for providing the application type information query service to the electronic device, and the server maintains the association relationship between the application identification and the application type information. In this way, when acquiring the application type information of the current application, the electronic device firstly acquires the application identifier of the current application, and constructs an application type information acquisition request according to a predetermined message format, wherein the application type information acquisition request at least comprises the application identifier of the current application; then, sending the constructed application type information acquisition request to a server, indicating the server to inquire the application type information of the current application, and returning the inquired application type information; on the other hand, after receiving the application type information acquisition request sent by the electronic device, the server analyzes the application identifier carried by the application type information acquisition request, queries the application type information of the current application according to the application identifier and the maintained association relationship between the application identifier and the application type information, and returns the queried application type information to the electronic device.
Considering that, for applications of different function types, control of an application of a certain function type is generally fixed, for example, for an audio application, an audio parameter of the application is generally controlled, and for a video application, a display parameter of the application is generally controlled, and the like, therefore, a corresponding relationship between an application type and an operation type of an operation to be performed may be preset, for example, an operation type corresponding to the audio application may be set to adjust the audio parameter, an operation type corresponding to the video application may be set to adjust the display parameter, and an operation type corresponding to the reading application may be set to be a mobile display page.
In one embodiment, determining an operation type of an operation to be performed according to application type information of a current application includes:
(1) when the current application is an audio application, determining the operation type of the operation to be executed as an audio parameter adjustment;
(2) when the current application is a video application, determining the operation type of the operation to be executed as an adjustment display parameter;
(3) and when the current application is a reading application, determining that the operation type of the operation to be executed is a mobile display page.
And determining the operation type of the operation to be executed according to the application type information of the current application and the preset corresponding relation between the application type information and the operation type.
In one embodiment, the acquiring of the sliding information of the sliding touch operation includes:
and acquiring the sliding direction and the sliding distance of the sliding touch operation, and taking the acquired sliding direction and the acquired sliding distance as the sliding information of the sliding touch operation.
The electronic equipment can acquire the sliding direction and the sliding distance of the sliding touch operation through the touch sensing module, and the acquired sliding direction and the acquired sliding distance are used as sliding information of the sliding touch operation. For example, the slide direction in which the slide touch operation is acquired is "slide left", and the slide distance is "0.3 cm"
In one embodiment, when it is determined that the operation type of the operation to be performed is the adjustment of the audio parameter, determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation includes:
(1) determining an adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation, wherein the adjustment direction of the audio parameter comprises increasing the audio parameter or decreasing the audio parameter;
(2) and determining the adjustment step length of the audio parameters according to the sliding distance of the sliding touch operation.
The electronic equipment determines the adjustment direction of the audio parameters according to the sliding direction of the sliding touch operation based on the corresponding relation between the sliding direction and the adjustment direction, wherein the adjustment direction comprises increasing the audio parameters or decreasing the audio parameters; and determining the adjustment step length of the audio parameter based on the corresponding relationship between the sliding distance and the adjustment step length, for example, when the audio parameter is the volume, if the sliding distance is 0.1 cm, determining the adjustment step length of the volume to be 10% of the maximum value of the volume.
Therefore, when the determined operation to be executed is executed, the electronic equipment can adjust the currently applied audio parameter according to the determined adjustment direction and the adjustment step length.
In one embodiment, determining the adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation includes:
(1) when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the audio parameters as increasing the audio parameters;
(2) and when the sliding direction of the sliding touch operation is downward sliding, determining the adjusting direction of the audio parameter as reducing the audio parameter.
For example, when the audio parameter is the volume, if the sliding touch operation on the Home key is the upward sliding, the adjustment direction on the volume is determined to be the volume increase, and if the sliding touch operation on the Home key is the downward sliding, the adjustment direction on the volume is determined to be the volume decrease.
In one embodiment, when it is determined that the operation type of the operation to be performed is the adjustment display parameter, determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation includes:
(1) determining an adjusting direction of the display parameters according to the sliding direction of the sliding touch operation, wherein the adjusting direction of the display parameters comprises increasing the display parameters or decreasing the display parameters;
(2) and determining the adjustment step length of the display parameter according to the sliding distance of the sliding touch operation.
The electronic equipment determines the adjustment direction of the display parameters according to the sliding direction of the sliding touch operation based on the corresponding relation between the sliding direction and the adjustment direction, wherein the adjustment direction comprises increasing the display parameters or decreasing the display parameters; and determining the adjustment step length of the display parameter based on the corresponding relationship between the sliding distance and the adjustment step length, for example, when the display parameter is the brightness, if the sliding distance is 0.1 cm, determining the adjustment step length of the brightness to be 10% of the maximum brightness value.
Therefore, when the determined operation to be executed is executed, the electronic equipment can adjust the currently applied display parameters according to the determined adjustment direction and the adjustment step length.
In one embodiment, determining an adjustment direction of a display parameter according to a sliding direction of a sliding touch operation includes:
(1) when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the display parameters as increasing the display parameters;
(2) and when the sliding direction of the sliding touch operation is downward sliding, determining the adjustment direction of the display parameters as reducing the display parameters.
For example, when the display parameter is brightness, if the slide touch operation on the Home key is an upward slide, the adjustment direction on the volume is determined as increasing the volume, and if the slide touch operation on the Home key is a downward slide, the adjustment direction on the brightness is determined as decreasing the brightness.
In one embodiment, when it is determined that the operation type of the operation to be performed is the mobile display page, determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation includes:
(1) determining the moving direction of the mobile display page according to the sliding direction of the sliding touch operation;
(2) and determining the moving distance of the moving display page according to the sliding distance of the sliding touch operation.
The electronic equipment determines the moving direction of the mobile display page according to the corresponding relation between the preset sliding direction and the moving direction and the sliding direction of the sliding touch operation, wherein the moving direction can be consistent with the sliding direction or opposite to the sliding direction; the moving distance of the moving display page is determined according to the preset corresponding relationship between the sliding distance and the moving distance and the sliding distance of the sliding touch operation, the moving distance can be in a multiple relationship with the sliding distance, the specific multiple can be set by a person skilled in the art according to actual needs, for example, the moving distance corresponding to the sliding distance of 0.1 cm is 1 cm.
In an embodiment, a fingerprint identification module is further integrated with a Home key of the electronic device, and before determining an operation to be executed corresponding to the sliding touch operation, the method further includes:
(1) when the sliding touch operation is received through the Home key, fingerprint information of the sliding touch operation is acquired through the fingerprint identification module;
(2) judging whether the acquired fingerprint information is matched with preset fingerprint information or not;
(3) and when the acquired fingerprint information is matched with the preset fingerprint information, determining the operation to be executed corresponding to the sliding touch operation.
In the embodiment of the application, electronic equipment's Home key can also be integrated with the fingerprint identification module, and wherein, the fingerprint identification module includes but not limited to optics formula fingerprint identification module, pressure-sensitive formula fingerprint identification module, capacitanc fingerprint identification module, inductance type fingerprint identification module, temperature sensing formula fingerprint identification module and ultrasonic wave formula fingerprint identification module etc.. For example, a surface touch sensing module and an ultrasonic fingerprint recognition module are integrated in a Home key of the electronic device.
When the electronic equipment detects the sliding touch operation received by the Home key joint through the touch induction module, the fingerprint information of the sliding touch operation is acquired through the fingerprint identification module.
Wherein, when the Home key joint received the sliding touch operation, the fingerprint identification module will acquire the fingerprint information of this sliding touch operation, or say that acquire the fingerprint information of the user's finger of this sliding touch operation of input.
For example, a Home key of the electronic device integrates a capacitive touch sensing module and an ultrasonic fingerprint identification module, when a user finger contacts the Home key and slides rightwards, the electronic device detects sliding information of the user finger when the user finger slides the Home key through the capacitive touch sensing module, determines sliding touch operation on the Home key according to the sliding information, and meanwhile, acquires fingerprint information of the sliding touch operation through the ultrasonic fingerprint identification module, namely the fingerprint information of the user finger.
The preset fingerprint information may be fingerprint information of the owner, which is acquired by the electronic device in advance, or fingerprint information of other users authorized by the owner, and in popular terms, the preset fingerprint information is fingerprint information of a person having an operation authority of the electronic device.
After the electronic equipment collects the fingerprint information of the owner and/or other users authorized by the owner (for example, the user can provide common fingers for the electronic equipment to collect the fingerprint information according to own habits, one finger can be provided for the electronic equipment to collect, and a plurality of fingers can be provided for the electronic equipment to collect), the collected fingerprint information is stored in a preset fingerprint library as preset fingerprint information, so that the preset fingerprint library at least comprises one preset fingerprint information.
After acquiring the fingerprint information of the sliding touch operation on the Home key, the electronic equipment verifies the identity of the user who inputs the sliding touch operation according to the fingerprint information.
Firstly, the electronic equipment compares the acquired fingerprint information with preset fingerprint information in a preset fingerprint database one by one to obtain the similarity between the fingerprint information and each preset fingerprint information in the preset fingerprint database.
Then, the electronic device determines whether the compared similarity reaches a first preset similarity (a suitable value may be obtained by a person skilled in the art according to actual needs, for example, the first preset similarity may be set to 85%), and determines whether there is preset fingerprint information matching the aforementioned fingerprint information according to the determination result. If the similarity between the preset fingerprint information and the fingerprint information reaches a first preset similarity, determining that the preset fingerprint information is matched with the fingerprint information; and if the similarity between the preset fingerprint information and the fingerprint information does not reach a first preset similarity, determining that the fingerprint information is not matched with the preset fingerprint information.
When the preset fingerprint information in the preset fingerprint database is matched with the fingerprint information, namely the user currently inputting the sliding touch operation is the owner or other users authorized by the owner, the electronic equipment determines that the user currently inputting the sliding touch operation has the operation authority, and further determines the operation to be executed corresponding to the input sliding touch operation.
In an embodiment, after determining whether the acquired fingerprint information matches the preset fingerprint information, the method further includes:
and when the acquired fingerprint information is not matched with the preset fingerprint information, switching the current state to a locking state.
It is easy to understand that when the acquired fingerprint information of the sliding touch operation on the Home key is not matched with the preset fingerprint information, it is indicated that the user currently inputting the sliding touch operation does not have the authority to operate the electronic device, and if the current state is not the locked state, the user may be illegally used, and there is a risk of data leakage and the like.
In one embodiment, determining an operation to be performed corresponding to a received sliding touch operation includes:
acquiring identity information corresponding to fingerprint information of sliding touch operation;
acquiring a corresponding relation between the sliding touch operation and the operation to be executed according to the identity information;
and determining the operation to be executed corresponding to the sliding touch operation according to the corresponding relation.
Considering the difference of the usage habits of different users, the electronic device may be required to perform different response operations to the same sliding touch operation when the host and the other user authorized by the owner use the electronic device. Therefore, a corresponding relationship between the sliding touch operation and the operation to be executed may be preset, and the corresponding relationship is related to the identity information of the user, that is, the operation to be executed corresponding to the same sliding touch operation input by the users with different identities is different, for example, the operation to be executed corresponding to the rightward sliding touch operation input by the owner a is "start XX application", and the operation to be executed corresponding to the rightward sliding touch operation input by the other user B is "turn off screen".
In addition, the electronic equipment can also receive the identity information input by the collected user while collecting the fingerprint information of other users authorized by the owner and/or the owner of the computer, so that when the collected fingerprint information is stored into the preset fingerprint library as the preset fingerprint information, the electronic equipment simultaneously forms the corresponding relation between the preset fingerprint information and the identity information.
For example, when the electronic device collects fingerprint information, the fingerprint information is stored in a preset fingerprint library as preset fingerprint information, an identity information input window is displayed at the same time, the identity information of the collected user is received through the identity information input window, and when the input identity information is received, the received identity information is associated with the preset fingerprint information currently stored in the preset fingerprint library. Therefore, when the electronic equipment acquires the fingerprint information of the sliding touch operation, the electronic equipment can acquire the identity information corresponding to the fingerprint information according to the preset fingerprint information matched with the fingerprint information and the corresponding relation between the preset fingerprint information and the identity information.
After the electronic equipment acquires the identity information corresponding to the fingerprint information of the sliding touch operation, acquiring the corresponding relation between the sliding touch operation and the operation to be executed, which is related to the identity information. And then, determining the operation to be executed corresponding to the sliding touch operation received by the Home key according to the sliding touch operation received by the Home key and the corresponding relation between the sliding touch operation and the operation to be executed.
For example, when the received sliding touch operation is "sliding right", if it is acquired that the identity information of the sliding touch operation is "user a", that is, the sliding touch operation is input by the user a, the electronic device starts an application named "XX music", as shown in fig. 4; if the acquired identity information of the sliding touch operation is "user B", that is, the sliding touch operation is input by the user B, the electronic device turns off the screen, as shown in fig. 5.
In an embodiment, after obtaining the fingerprint information of sliding touch operation through the fingerprint identification module, still include:
(1) when the fingerprint information of the sliding touch operation fails to be acquired, shooting an image through a front-facing camera to obtain a shot image;
(2) carrying out face recognition on the shot image to obtain face information of the shot image;
(3) judging whether the face information is matched with preset face information or not;
(4) and when the face information is matched with the preset face information, executing the step of determining the operation to be executed corresponding to the sliding touch operation.
It should be noted that the Home key uses the button for the high frequency, and in the use, the Home key can accumulate a large amount of stains, will probably lead to the fingerprint information of the sliding touch operation that the fingerprint identification module can't acquire, further lead to can't accomplish the authentication to the user who inputs sliding touch operation. Therefore, in the embodiment of the present application, an alternative authentication scheme is provided for use from time to time.
The electronic equipment acquires face information of other users authorized by the owner and/or the owner in advance, and stores the acquired face information as preset face information into a preset face information base.
When fingerprint information that obtains the sliding touch operation that receives through the fingerprint identification module fails, electronic equipment carries out image shooting through leading camera at first, obtains the shooting image. And then, carrying out face recognition on the obtained shot image to obtain face information of the shot image. And judging whether the preset face information matched with the obtained face information exists in the preset face information base or not.
When judging whether preset face information matched with the obtained face information exists in the preset face information base or not, the electronic equipment firstly compares the obtained face information with the preset face information in the preset face information base one by one to obtain the similarity between the face information and each preset face information in the preset face information base.
Then, the electronic device determines whether the similarity obtained by the comparison reaches a second preset similarity (a suitable value may be obtained by a person skilled in the art according to actual needs, for example, the second preset similarity may be set to 90%), and determines whether there is preset face information matching with the face information according to a determination result. If the similarity between the preset face information and the face information reaches a second preset similarity, determining that the preset face information is matched with the face information; and if the similarity between the preset face information and the face information does not reach a second preset similarity, determining that the face information is not matched with the preset face information.
When the preset face information is matched with the face information of the shot image in the preset face information base, namely the user currently inputting the sliding touch operation is the owner or other users authorized by the owner, the electronic equipment determines that the user currently inputting the sliding touch operation has the operation authority, further determines the operation to be executed corresponding to the input sliding touch operation, and executes the determined operation to be executed.
In one embodiment, when acquiring the fingerprint information of the sliding touch operation fails, the following steps are further performed:
and outputting prompt information for cleaning the Home key.
For example, referring to fig. 6, when the electronic device fails to acquire the fingerprint information of the sliding touch operation, a prompt information display window is displayed, where the prompt information display window includes a prompt message "the Home key is dirty and please clean" for prompting the user to clean the Home key.
In an embodiment, after determining whether the face information matches preset face information, the method further includes:
and when the acquired face information is not matched with the preset face information, switching the current state to a locking state.
It is easy to understand that when the face information is not matched with the preset face information, it is indicated that the user currently inputting the sliding touch operation does not have the authority to operate the electronic device, and if the current state is not the locked state, the user may illegally use the electronic device, and there is a risk of data leakage, etc., therefore, when it is determined that the user currently inputting the sliding touch operation does not have the authority to operate the electronic device (i.e., the face information of the sliding touch operation on the Home key is not matched with the preset face information), the current state is switched to the locked state.
The apparatus control method of the present application will be further described below on the basis of the method described in the above embodiment. Referring to fig. 7, the apparatus control method may include:
201. and receiving a sliding touch operation through the Home key.
In the embodiment of the application, a Home key of the electronic device is integrated with a fingerprint identification module and a touch induction module, wherein the fingerprint identification module comprises but is not limited to an optical fingerprint identification module, a pressure-sensitive fingerprint identification module, a capacitive fingerprint identification module, an inductive fingerprint identification module, a thermosensitive fingerprint identification module, an ultrasonic fingerprint identification module and the like; the touch sensing module includes, but is not limited to, a surface capacitive touch sensing module, a projected touch sensing module, and the like. For example, a surface-type touch sensing module and an ultrasonic fingerprint identification module are integrated in the Home key of the electronic device.
In the embodiment of the application, a proper touch sensing module can be integrated in the Home key according to actual needs (for example, a self-capacitance touch sensing module can be integrated in the Home key), so that the electronic device can detect the sliding touch operation received by the Home key through the touch sensing module, and thus the sliding touch operation of input is received through the Home key.
It should be noted that the sliding touch operation is relative to the pressing operation, the pressing operation on the Home key may cause the Home key to be displaced, or cause the Home key to be pressed, and the sliding touch operation on the Home key may not cause the Home key to be displaced.
202. When receiving the sliding touch operation through the Home key joint, acquire the fingerprint information of sliding touch operation through the fingerprint identification module.
When the electronic equipment detects the sliding touch operation received by the Home key joint through the touch induction module, the fingerprint information of the sliding touch operation is acquired through the fingerprint identification module.
Wherein, when the Home key joint received the sliding touch operation, the fingerprint identification module will acquire the fingerprint information of this sliding touch operation, or say that acquire the fingerprint information of the user's finger of this sliding touch operation of input.
For example, a Home key of the electronic device integrates a capacitive touch sensing module and an ultrasonic fingerprint identification module, when a user finger contacts the Home key and slides rightwards, the electronic device detects sliding information of the user finger when the user finger slides the Home key through the capacitive touch sensing module, determines sliding touch operation on the Home key according to the sliding information, and meanwhile, acquires fingerprint information of the sliding touch operation through the ultrasonic fingerprint identification module, namely the fingerprint information of the user finger.
203. And judging whether the fingerprint information of the sliding touch operation is matched with the preset fingerprint information.
The preset fingerprint information may be fingerprint information of the owner, which is acquired by the electronic device in advance, or fingerprint information of other users authorized by the owner, and in popular terms, the preset fingerprint information is fingerprint information of a person having an operation authority of the electronic device.
After the electronic equipment collects the fingerprint information of the owner and/or other users authorized by the owner (for example, the user can provide common fingers for the electronic equipment to collect the fingerprint information according to own habits, one finger can be provided for the electronic equipment to collect, and a plurality of fingers can be provided for the electronic equipment to collect), the collected fingerprint information is stored in a preset fingerprint library as preset fingerprint information, so that the preset fingerprint library at least comprises one preset fingerprint information.
After acquiring the fingerprint information of the sliding touch operation on the Home key, the electronic equipment verifies the identity of the user who inputs the sliding touch operation according to the fingerprint information.
Firstly, the electronic equipment compares the acquired fingerprint information with preset fingerprint information in a preset fingerprint database one by one to obtain the similarity between the fingerprint information and each preset fingerprint information in the preset fingerprint database.
Then, the electronic device determines whether the compared similarity reaches a first preset similarity (a suitable value may be obtained by a person skilled in the art according to actual needs, for example, the first preset similarity may be set to 85%), and determines whether there is preset fingerprint information matching the aforementioned fingerprint information according to the determination result. If the similarity between the preset fingerprint information and the fingerprint information reaches a first preset similarity, determining that the preset fingerprint information is matched with the fingerprint information; and if the similarity between the preset fingerprint information and the fingerprint information does not reach a first preset similarity, determining that the fingerprint information is not matched with the preset fingerprint information.
204. And when the fingerprint information of the sliding touch operation is matched with the preset fingerprint information, acquiring the application type information of the current application running in the foreground.
When the preset fingerprint information in the preset fingerprint database is matched with the fingerprint information, namely the user currently inputting the sliding touch operation is the owner or other users authorized by the owner, the electronic equipment determines that the user currently inputting the sliding touch operation has the operation authority, and further obtains the application type information of the current application running in the foreground.
The application type information is information obtained by classifying applications according to functions and describing application types, for example, according to function classification, the applications can be at least divided into audio applications, video applications, reading applications and the like, for example, for a certain application a, the application type information "audio" is used to describe that the application is an audio application, for a certain application B, the application type information "video" is used to describe that the application is a video application, and for a certain application C, the application type information "reading" is used to describe that the application is a reading application. It should be noted that, in the embodiment of the present application, a specific embodiment of the application type information is not specifically limited.
The association relationship between the application identifier and the application type information can be maintained in the electronic device, so that when the electronic device acquires the application type information of the current application, the application type information of the current application can be acquired according to the application identifier of the current application and the association relationship between the application identifier and the application type information. The application identifier is a character or a character string that can be uniquely mapped to the application, for example, the application identifier may be a package name, an application name, and the like of the application.
In addition, a server can be provided for providing the application type information query service to the electronic device, and the server maintains the association relationship between the application identification and the application type information. In this way, when acquiring the application type information of the current application, the electronic device firstly acquires the application identifier of the current application, and constructs an application type information acquisition request according to a predetermined message format, wherein the application type information acquisition request at least comprises the application identifier of the current application; then, sending the constructed application type information acquisition request to a server, indicating the server to inquire the application type information of the current application, and returning the inquired application type information; on the other hand, after receiving the application type information acquisition request sent by the electronic device, the server analyzes the application identifier carried by the application type information acquisition request, queries the application type information of the current application according to the application identifier and the maintained association relationship between the application identifier and the application type information, and returns the queried application type information to the electronic device.
205. And determining the operation type of the operation to be executed according to the application type information of the current application.
Considering that, for applications of different function types, control of an application of a certain function type is generally fixed, for example, for an audio application, an audio parameter of the application is generally controlled, and for a video application, a display parameter of the application is generally controlled, and the like, therefore, a corresponding relationship between an application type and an operation type of an operation to be performed may be preset, for example, an operation type corresponding to the audio application may be set to adjust the audio parameter, an operation type corresponding to the video application may be set to adjust the display parameter, and an operation type corresponding to the reading application may be set to be a mobile display page.
In one embodiment, determining an operation type of an operation to be performed according to application type information of a current application includes:
(1) when the current application is an audio application, determining the operation type of the operation to be executed as an audio parameter adjustment;
(2) when the current application is a video application, determining the operation type of the operation to be executed as an adjustment display parameter;
(3) and when the current application is a reading application, determining that the operation type of the operation to be executed is a mobile display page.
And determining the operation type of the operation to be executed according to the application type information of the current application and the preset corresponding relation between the application type information and the operation type.
206. And acquiring sliding information of the sliding touch operation.
The electronic equipment can acquire the sliding direction and the sliding distance of the sliding touch operation through the touch sensing module, and the acquired sliding direction and the acquired sliding distance are used as sliding information of the sliding touch operation. For example, the sliding direction in which the sliding touch operation is acquired is "leftward sliding", and the sliding distance is "0.3 cm".
207. And determining operation parameters of the operation to be executed according to the sliding information of the sliding touch operation.
208. And executing the determined operation to be executed on the current application according to the determined operation type and the operation parameter.
In one embodiment, when it is determined that the operation type of the operation to be performed is the adjustment of the audio parameter, determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation includes:
(1) determining an adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation, wherein the adjustment direction of the audio parameter comprises increasing the audio parameter or decreasing the audio parameter;
(2) and determining the adjustment step length of the audio parameters according to the sliding distance of the sliding touch operation.
The electronic equipment determines the adjustment direction of the audio parameters according to the sliding direction of the sliding touch operation based on the corresponding relation between the sliding direction and the adjustment direction, wherein the adjustment direction comprises increasing the audio parameters or decreasing the audio parameters; and determining the adjustment step length of the audio parameter based on the corresponding relationship between the sliding distance and the adjustment step length, for example, when the audio parameter is the volume, if the sliding distance is 0.1 cm, determining the adjustment step length of the volume to be 10% of the maximum value of the volume.
Therefore, when the determined operation to be executed is executed, the electronic equipment can adjust the currently applied audio parameter according to the determined adjustment direction and the adjustment step length.
In one embodiment, determining the adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation includes:
(1) when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the audio parameters as increasing the audio parameters;
(2) and when the sliding direction of the sliding touch operation is downward sliding, determining the adjusting direction of the audio parameter as reducing the audio parameter.
For example, when the audio parameter is the volume, if the sliding touch operation on the Home key is the upward sliding, the adjustment direction on the volume is determined to be the volume increase, and if the sliding touch operation on the Home key is the downward sliding, the adjustment direction on the volume is determined to be the volume decrease.
In one embodiment, when it is determined that the operation type of the operation to be performed is the adjustment display parameter, determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation includes:
(1) determining an adjusting direction of the display parameters according to the sliding direction of the sliding touch operation, wherein the adjusting direction of the display parameters comprises increasing the display parameters or decreasing the display parameters;
(2) and determining the adjustment step length of the display parameter according to the sliding distance of the sliding touch operation.
The electronic equipment determines the adjustment direction of the display parameters according to the sliding direction of the sliding touch operation based on the corresponding relation between the sliding direction and the adjustment direction, wherein the adjustment direction comprises increasing the display parameters or decreasing the display parameters; and determining the adjustment step length of the display parameter based on the corresponding relationship between the sliding distance and the adjustment step length, for example, when the display parameter is the brightness, if the sliding distance is 0.1 cm, determining the adjustment step length of the brightness to be 10% of the maximum brightness value.
Therefore, when the determined operation to be executed is executed, the electronic equipment can adjust the currently applied display parameters according to the determined adjustment direction and the adjustment step length.
In one embodiment, determining an adjustment direction of a display parameter according to a sliding direction of a sliding touch operation includes:
(1) when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the display parameters as increasing the display parameters;
(2) and when the sliding direction of the sliding touch operation is downward sliding, determining the adjustment direction of the display parameters as reducing the display parameters.
For example, when the display parameter is brightness, if the slide touch operation on the Home key is an upward slide, the adjustment direction on the volume is determined as increasing the volume, and if the slide touch operation on the Home key is a downward slide, the adjustment direction on the brightness is determined as decreasing the brightness.
In one embodiment, when it is determined that the operation type of the operation to be performed is the mobile display page, determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation includes:
(1) determining the moving direction of the mobile display page according to the sliding direction of the sliding touch operation;
(2) and determining the moving distance of the moving display page according to the sliding distance of the sliding touch operation.
The electronic equipment determines the moving direction of the mobile display page according to the corresponding relation between the preset sliding direction and the moving direction and the sliding direction of the sliding touch operation, wherein the moving direction can be consistent with the sliding direction or opposite to the sliding direction; the moving distance of the moving display page is determined according to the preset corresponding relationship between the sliding distance and the moving distance and the sliding distance of the sliding touch operation, the moving distance can be in a multiple relationship with the sliding distance, the specific multiple can be set by a person skilled in the art according to actual needs, for example, the moving distance corresponding to the sliding distance of 0.1 cm is 1 cm.
In one embodiment, an apparatus control device is also provided. Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus control device 400 according to an embodiment of the present disclosure. The device control device is applied to electronic equipment, a Home key of the electronic equipment is integrated with a touch sensing module, and the device control device comprises a receiving module 401, a determining module 402 and an executing module 403, and comprises the following components:
and a receiving module 401, configured to receive a sliding touch operation through the Home key.
A determining module 402, configured to determine an operation to be performed corresponding to the sliding touch operation.
And an executing module 403, configured to execute the determined operation to be executed.
In an embodiment, the determining module 402 may be configured to:
acquiring application type information of a current application running in a foreground;
determining the operation type of the operation to be executed according to the application type information of the current application;
acquiring sliding information of the sliding touch operation;
and determining operation parameters of the operation to be executed according to the sliding information of the sliding touch operation.
In an embodiment, the determining module 402 may be configured to:
when the current application is an audio application, determining the operation type of the operation to be executed as an audio parameter adjustment;
when the current application is a video application, determining the operation type of the operation to be executed as an adjustment display parameter;
and when the current application is a reading application, determining that the operation type of the operation to be executed is a mobile display page.
In an embodiment, the determining module 402 may be configured to:
and acquiring the sliding direction and the sliding distance of the sliding touch operation, and taking the acquired sliding direction and the acquired sliding distance as the sliding information of the sliding touch operation.
In an embodiment, when determining that the operation type of the operation to be performed is to adjust the audio parameter, the determining module 402 may be configured to:
determining an adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation, wherein the adjustment direction of the audio parameter comprises increasing the audio parameter or decreasing the audio parameter;
and determining the adjustment step length of the audio parameters according to the sliding distance of the sliding touch operation.
In an embodiment, the determining module 402 may be configured to:
when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the audio parameters as increasing the audio parameters;
and when the sliding direction of the sliding touch operation is downward sliding, determining the adjusting direction of the audio parameter as reducing the audio parameter.
In one described manner, when determining that the operation type of the operation to be performed is to adjust the display parameter, the determining module 402 may be configured to:
determining an adjusting direction of the display parameters according to the sliding direction of the sliding touch operation, wherein the adjusting direction of the display parameters comprises increasing the display parameters or decreasing the display parameters;
and determining the adjustment step length of the display parameter according to the sliding distance of the sliding touch operation.
In an embodiment, the determining module 402 may be configured to:
when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the display parameters as increasing the display parameters;
and when the sliding direction of the sliding touch operation is downward sliding, determining the adjustment direction of the display parameters as reducing the display parameters.
In an embodiment, when determining that the operation type of the operation to be performed is a mobile display page, the determining module 402 may be configured to:
determining the moving direction of the mobile display page according to the sliding direction of the sliding touch operation;
and determining the moving distance of the moving display page according to the sliding distance of the sliding touch operation.
The steps executed by each module in the device control apparatus 400 may refer to the method steps described in the above method embodiments. The device control apparatus 400 may be integrated into an electronic device, such as a mobile phone, a tablet computer, etc.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the units may refer to the foregoing embodiments, which are not described herein again.
As can be seen from the above, the device control apparatus of this embodiment is applied to an electronic device, a Home key of the electronic device is integrated with a touch sensing module, and when the device control apparatus is executed, the receiving module 401 can receive a sliding touch operation through the Home key; determining, by the determining module 402, an operation to be performed corresponding to the sliding touch operation; the determined operation to be performed is performed by the execution module 403. Therefore, touch control over the electronic equipment is achieved through the Home key, shielding of screen display content is avoided, stains are not left on the screen, and adverse effects of touch operation on screen display are avoided.
In an embodiment, an electronic device is also provided. Referring to fig. 9, an electronic device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 500 is a control center of the electronic device 500, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 500 and processes data by running or loading a computer program stored in the memory 502 and calling data stored in the memory 502.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
receiving sliding touch operation through the Home key;
determining an operation to be executed corresponding to the sliding touch operation;
and executing the determined operation to be executed.
Referring to fig. 10, in some embodiments, the electronic device 500 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the rf circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 503 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone.
The power supply 506 may be used to power various components of the electronic device 500. In some embodiments, power supply 506 may be logically coupled to processor 501 through a power management system, such that functions of managing charging, discharging, and power consumption are performed through the power management system.
Although not shown in fig. 10, the electronic device 500 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In some embodiments, when determining an operation to be performed corresponding to the aforementioned sliding touch operation, the processor 501 may perform the following steps:
acquiring application type information of a current application running in a foreground;
determining the operation type of the operation to be executed according to the application type information of the current application;
acquiring sliding information of the sliding touch operation;
and determining operation parameters of the operation to be executed according to the sliding information of the sliding touch operation.
In some embodiments, when determining the operation type of the operation to be performed according to the application type information of the current application, the processor 501 may perform the following steps:
when the current application is an audio application, determining the operation type of the operation to be executed as an audio parameter adjustment;
when the current application is a video application, determining the operation type of the operation to be executed as an adjustment display parameter;
and when the current application is a reading application, determining that the operation type of the operation to be executed is a mobile display page.
In some embodiments, when the touch sensing module acquires the sliding information of the aforementioned sliding touch operation, the processor 501 may perform the following steps:
and acquiring the sliding direction and the sliding distance of the sliding touch operation, and taking the acquired sliding direction and the acquired sliding distance as the sliding information of the sliding touch operation.
In some embodiments, if it is determined that the operation type of the operation to be performed is to adjust the audio parameter, when determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation, the processor 501 may perform the following steps:
determining an adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation, wherein the adjustment direction of the audio parameter comprises increasing the audio parameter or decreasing the audio parameter;
and determining the adjustment step length of the audio parameters according to the sliding distance of the sliding touch operation.
In some embodiments, when determining the adjustment direction of the audio parameter according to the sliding direction of the sliding touch operation, the processor 501 may perform the following steps:
when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the audio parameters as increasing the audio parameters;
and when the sliding direction of the sliding touch operation is downward sliding, determining the adjusting direction of the audio parameter as reducing the audio parameter.
In some embodiments, if it is determined that the operation type of the operation to be performed is to adjust the display parameter, when determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation, the processor 501 may perform the following steps:
determining an adjusting direction of the display parameters according to the sliding direction of the sliding touch operation, wherein the adjusting direction of the display parameters comprises increasing the display parameters or decreasing the display parameters;
and determining the adjustment step length of the display parameter according to the sliding distance of the sliding touch operation.
In some embodiments, when determining the adjustment direction of the display parameter according to the sliding direction of the sliding touch operation, the processor 501 may perform the following steps:
when the sliding direction of the sliding touch operation is upward sliding, determining the adjustment direction of the display parameters as increasing the display parameters;
and when the sliding direction of the sliding touch operation is downward sliding, determining the adjustment direction of the display parameters as reducing the display parameters.
In some embodiments, if it is determined that the operation type of the operation to be performed is the mobile display page, when determining the operation parameter of the operation to be performed according to the sliding information of the sliding touch operation, the processor 501 may perform the following steps:
determining the moving direction of the mobile display page according to the sliding direction of the sliding touch operation;
and determining the moving distance of the moving display page according to the sliding distance of the sliding touch operation.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the device control method in any one of the above embodiments, such as: receiving sliding touch operation through the Home key; determining an operation to be executed corresponding to the sliding touch operation; and executing the determined operation to be executed.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the device control method of the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the device control method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the process of the embodiment of the device control method can be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the device control apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The above detailed description is provided for a device control method, apparatus, storage medium and electronic device provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (4)

1. The equipment control method is applied to electronic equipment, the electronic equipment comprises a Home key, and the Home key is integrated with a touch sensing module and a fingerprint identification module, and the equipment control method comprises the following steps:
when fingerprint information is collected through the fingerprint identification module, the collected fingerprint information is stored in a preset fingerprint library as preset fingerprint information, and an identity information input window is displayed at the same time;
receiving the identity information of the collected user through the identity information input window;
associating the received identity information with preset fingerprint information currently stored in the preset fingerprint library;
receiving sliding touch operation aiming at the Home key through the touch sensing module;
when the sliding touch operation aiming at the Home key is received, fingerprint information of the sliding touch operation is acquired through the fingerprint identification module;
judging whether the fingerprint information of the sliding touch operation is matched with preset fingerprint information in the preset fingerprint library;
when the fingerprint information of the sliding touch operation is matched with the preset fingerprint information in the preset fingerprint library, acquiring identity information corresponding to the matched preset fingerprint information;
acquiring a corresponding relation between the sliding touch operation and the operation to be executed according to the identity information;
determining the operation to be executed corresponding to the sliding touch operation according to the corresponding relation;
executing the determined operation to be executed;
when the fingerprint information of the sliding touch operation fails to be acquired, shooting is carried out through a front-facing camera to obtain a shot image;
carrying out face recognition on the shot image to obtain face information of the shot image;
judging whether the face information is matched with preset face information or not;
and when the face information is matched with the preset face information, switching to the operation to be executed corresponding to the sliding touch operation.
2. The utility model provides an equipment controlling means, is applied to electronic equipment, electronic equipment includes the Home key, its characterized in that, the Home key is integrated with touch-sensitive module and fingerprint identification module, equipment controlling means includes:
the association module is used for storing the acquired fingerprint information as preset fingerprint information into a preset fingerprint library and displaying an identity information input window simultaneously when the fingerprint information is acquired through the fingerprint identification module; receiving the identity information of the collected user through the identity information input window; associating the received identity information with preset fingerprint information currently stored in the preset fingerprint library;
the receiving module is used for receiving sliding touch operation aiming at the Home key through the touch sensing module;
the fingerprint acquisition module is used for acquiring fingerprint information of the sliding touch operation through the fingerprint identification module when the sliding touch operation aiming at the Home key is received;
the judging module is used for judging whether the fingerprint information of the sliding touch operation is matched with the preset fingerprint information in the preset fingerprint library;
the identity acquisition module is used for acquiring identity information corresponding to the matched preset fingerprint information when the fingerprint information of the sliding touch operation is matched with the preset fingerprint information in the preset fingerprint library;
the determining module is used for acquiring the sliding touch operation and corresponding information of the operation to be executed according to the identity information; and
determining an operation to be executed corresponding to the sliding touch operation according to the corresponding information;
the execution module is used for executing the determined operation to be executed;
the face recognition module is used for shooting through a front camera to obtain a shot image when the fingerprint information of the sliding touch operation fails to be obtained; carrying out face recognition on the shot image to obtain face information of the shot image; judging whether the face information is matched with preset face information or not;
the determining module is further configured to determine an operation to be executed corresponding to the sliding touch operation when the face information matches the preset face information.
3. A storage medium on which a computer program is stored, the computer program realizing the device control method according to claim 1 when executed by a processor.
4. An electronic device comprising a processor, a memory and a Home key, wherein the memory stores a computer program, and wherein the Home key is integrated with a touch sensing module and a fingerprint recognition module, and the processor is configured to execute the device control method according to claim 1 by calling the computer program.
CN201810753086.3A 2018-07-10 2018-07-10 Device control method, device, storage medium and electronic device Active CN109085986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810753086.3A CN109085986B (en) 2018-07-10 2018-07-10 Device control method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810753086.3A CN109085986B (en) 2018-07-10 2018-07-10 Device control method, device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109085986A CN109085986A (en) 2018-12-25
CN109085986B true CN109085986B (en) 2020-12-22

Family

ID=64837563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810753086.3A Active CN109085986B (en) 2018-07-10 2018-07-10 Device control method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109085986B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112712064A (en) * 2021-01-18 2021-04-27 读书郎教育科技有限公司 Equipment and method for controlling user through fingerprint

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376411A (en) * 2015-11-27 2016-03-02 努比亚技术有限公司 Mobile terminal flashlight control method and device
CN105407222A (en) * 2015-11-23 2016-03-16 东莞市金铭电子有限公司 Volume adjustment method and terminal
CN106453959A (en) * 2016-11-30 2017-02-22 努比亚技术有限公司 Method for controlling volume of mobile terminal and mobile terminal
CN106462348A (en) * 2015-03-31 2017-02-22 华为技术有限公司 Method for adjusting adjustable parameter of device, and device
WO2017073811A1 (en) * 2015-10-29 2017-05-04 엘지전자 주식회사 Mobile terminal and operating method therefor
CN106909284A (en) * 2017-01-24 2017-06-30 奇酷互联网络科技(深圳)有限公司 The control method of terminal, device and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101549557B1 (en) * 2009-03-10 2015-09-03 엘지전자 주식회사 Mobile terminal and control method thereof
CN105975182B (en) * 2012-08-20 2019-05-24 华为终端有限公司 A kind of terminal operation method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106462348A (en) * 2015-03-31 2017-02-22 华为技术有限公司 Method for adjusting adjustable parameter of device, and device
WO2017073811A1 (en) * 2015-10-29 2017-05-04 엘지전자 주식회사 Mobile terminal and operating method therefor
CN105407222A (en) * 2015-11-23 2016-03-16 东莞市金铭电子有限公司 Volume adjustment method and terminal
CN105376411A (en) * 2015-11-27 2016-03-02 努比亚技术有限公司 Mobile terminal flashlight control method and device
CN106453959A (en) * 2016-11-30 2017-02-22 努比亚技术有限公司 Method for controlling volume of mobile terminal and mobile terminal
CN106909284A (en) * 2017-01-24 2017-06-30 奇酷互联网络科技(深圳)有限公司 The control method of terminal, device and mobile terminal

Also Published As

Publication number Publication date
CN109085986A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
KR102081817B1 (en) Method for controlling digitizer mode
US20130050143A1 (en) Method of providing of user interface in portable terminal and apparatus thereof
WO2018196699A1 (en) Method for displaying fingerprint recognition region, and mobile terminal
KR102496531B1 (en) Method for providing fingerprint recognition, electronic apparatus and storage medium
CN103699260B (en) A kind of method starting termination function module and terminal unit
CN108701043A (en) A kind of processing method and processing device of display
CN112567320B (en) Electronic device comprising a button and method for operation in an electronic device
AU2013228012A1 (en) System for providing a user interface for use by portable and other devices
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
CA2846482A1 (en) Method of providing of user interface in portable terminal and apparatus thereof
WO2018082657A1 (en) Method for searching for icon, and terminal
CN108984095A (en) gesture interaction method, device, storage medium and electronic equipment
CN108920071A (en) Control method, device, storage medium and mobile terminal based on special-shaped display screen
KR20140134940A (en) Mobile terminal and method for controlling touch screen and system threefor
CN106325623A (en) Method and apparatus for monitoring touch on touch screen and terminal device
US20140348334A1 (en) Portable terminal and method for detecting earphone connection
CN109085986B (en) Device control method, device, storage medium and electronic device
CN110431518B (en) Method for outputting touch signal and electronic equipment
US20150186032A1 (en) Touch-control method, related apparatus, and terminal device
CN109085983A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
WO2020155869A1 (en) Method and device for controlling interactive smart apparatus, and control system of electromagnetic resonance screen
WO2020010917A1 (en) Split-screen display opening method and device, storage medium and electronic equipment
CN109032475B (en) Device control method, device, storage medium and electronic device
CN105549883A (en) Operation control method and device
CN109085987B (en) Device control method, device, storage medium and electronic device

Legal Events

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