CN109542279B - Terminal device control method and terminal device - Google Patents

Terminal device control method and terminal device Download PDF

Info

Publication number
CN109542279B
CN109542279B CN201811299974.9A CN201811299974A CN109542279B CN 109542279 B CN109542279 B CN 109542279B CN 201811299974 A CN201811299974 A CN 201811299974A CN 109542279 B CN109542279 B CN 109542279B
Authority
CN
China
Prior art keywords
terminal device
motion state
distance
distance information
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811299974.9A
Other languages
Chinese (zh)
Other versions
CN109542279A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811299974.9A priority Critical patent/CN109542279B/en
Publication of CN109542279A publication Critical patent/CN109542279A/en
Application granted granted Critical
Publication of CN109542279B publication Critical patent/CN109542279B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a terminal device control method and a terminal device, relates to the technical field of terminals, and aims to solve the problem that normal use of the terminal device is affected when a distance sensor of the terminal device breaks down. The method comprises the following steps: under the condition that a distance sensor of the terminal equipment is abnormal, the state of the terminal equipment is obtained, and the state of the terminal equipment comprises the following steps: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device; determining first distance information or second distance information according to the state of the terminal equipment, wherein the first distance information is used for indicating that the distance from the terminal equipment to the target object is smaller than a threshold distance, and the second distance information is used for indicating that the distance from the terminal equipment to the target object is larger than the threshold distance; and controlling the terminal equipment according to the first distance information or the second distance information. The embodiment of the invention is used for fault processing when the distance sensor has a fault.

Description

Terminal device control method and terminal device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a terminal device control method and a terminal device.
Background
Along with the development of automation and intellectualization of terminal equipment, the requirements of a sensor integrated in user terminal equipment are higher and higher, the sensor is required to have high accuracy, high reliability and good stability, and the sensor is required to have certain self-checking, self-correcting and self-compensating capabilities.
Currently, a distance sensor is generally integrated in a mobile phone, and the most common distance sensor is an infrared distance sensor. The infrared distance sensor is a sensor for measuring the distance of an obstacle by utilizing the infrared reflection principle, and is generally arranged near a mobile phone receiver, when a user places the mobile phone receiver at the ear to receive a call, the infrared distance sensor can detect that the distance of the obstacle is smaller than a predefined distance, so that the mobile phone screen is controlled to be extinguished, the power consumption of the mobile phone is saved, and abnormal conditions such as hanging up of the phone and the like caused by mistakenly touching the mobile phone screen by the ear or the cheek of the user are avoided. Often can meet infrared distance sensor because of damaging, being sheltered from the filth problem of sheltering from in the user uses terminal equipment process, infrared distance sensor will normally detect the distance of barrier this moment, and then seriously influence terminal equipment normal use. For example: when infrared distance sensor damaged, when instant user placed cell phone handset in the ear and answered the phone, infrared distance sensor also can't detect the barrier, also can not control the cell-phone screen to extinguish, very big increase user mistake probability of touch-control. For another example: when infrared distance sensor is sheltered from by the filth, infrared distance sensor can continuously detect the barrier of being very close to, consequently can continuously control the cell-phone screen and extinguish, and then cause terminal equipment to be unable to use. Therefore, how to avoid influencing the normal use of the terminal equipment when the distance sensor of the terminal equipment breaks down is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a terminal device control method and a terminal device, which are used for solving the problem that the normal use of the terminal device is influenced when a distance sensor of the terminal device breaks down.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal device control method, including:
under the condition that a distance sensor of a terminal device is abnormal, acquiring the state of the terminal device, wherein the state of the terminal device comprises the following steps: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
determining first distance information or second distance information according to the state of the terminal equipment, wherein the first distance information is used for indicating that the distance from the terminal equipment to a target object is smaller than a threshold distance, and the second distance information is used for indicating that the distance from the terminal equipment to the target object is larger than the threshold distance;
and controlling the terminal equipment according to the first distance information or the second distance information.
In a second aspect, an embodiment of the present invention provides a terminal device, including:
an obtaining unit, configured to obtain a state of the terminal device when an abnormality exists in a distance sensor of the terminal device, where the state of the terminal device includes: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
the processing unit is used for determining first distance information or second distance information according to the state of the terminal equipment, wherein the first distance information is used for indicating that the distance from the terminal equipment to a target object is smaller than a threshold distance, and the second distance information is used for indicating that the distance from the terminal equipment to the target object is larger than the threshold distance;
and the control unit is used for controlling the terminal equipment according to the first distance information or the second distance information.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the terminal device control method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the terminal device control method according to the first aspect.
The terminal device control method provided by the embodiment of the invention includes the steps that when the fact that a distance sensor of the terminal device is abnormal is determined, the motion state of the terminal device and/or the capacitance change of a touch screen of the terminal device are/is obtained, then first distance information used for indicating that the distance from the terminal device to a target object is smaller than a threshold distance or second distance information used for indicating that the distance from the terminal device to the target object is larger than the threshold distance is obtained according to the motion state of the terminal device and/or the capacitance change of the touch screen of the terminal device, and finally the terminal device is controlled according to the first distance information or the second distance information; according to the embodiment of the invention, when the distance sensor of the terminal equipment breaks down, the distance information can be generated by detecting the motion state of the terminal equipment and/or the capacitance change of the touch screen of the terminal equipment, and the terminal equipment is controlled according to the generated distance information, so that the influence on the normal use of the terminal equipment when the distance sensor of the terminal equipment breaks down can be avoided.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for controlling a terminal device according to an embodiment of the present invention;
fig. 3 is a second flowchart illustrating steps of a method for controlling a terminal device according to an embodiment of the present invention;
fig. 4 is a third flowchart illustrating steps of a method for controlling a terminal device according to an embodiment of the present invention;
fig. 5 is a fourth flowchart illustrating steps of a terminal device control method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". The term "plurality" herein means two or more, unless otherwise specified.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used to distinguish the same items or similar items with basically the same functions or actions, and those skilled in the art can understand that the words "first", "second", and the like do not limit the quantity and execution order.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "such as" in an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion. In the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
Often can meet infrared distance sensor because of damaging, being sheltered from the filth problem often in user's use terminal equipment process, infrared distance sensor will normally detect the distance of target object this moment, and then seriously influence terminal equipment normal use.
Based on the above problem, an embodiment of the present invention provides a terminal device control method and a terminal device, where the terminal device control method obtains a motion state of the terminal device and/or a capacitance change of a touch screen of the terminal device when it is determined that a distance sensor of the terminal device is abnormal, then obtains first distance information used for indicating that a distance from the terminal device to a target object is smaller than a threshold distance or second distance information used for indicating that the distance from the terminal device to the target object is larger than the threshold distance according to the motion state of the terminal device and/or the capacitance change of the touch screen of the terminal device, and finally controls the terminal device according to the first distance information or the second distance information; according to the embodiment of the invention, when the distance sensor of the terminal equipment breaks down, the distance information can be generated by detecting the motion state of the terminal equipment and/or the capacitance change of the touch screen of the terminal equipment, and the terminal equipment is controlled according to the generated distance information, so that the influence on the normal use of the terminal equipment when the distance sensor of the terminal equipment breaks down can be avoided.
Next, a software environment applied to the terminal device control method provided by the embodiment of the present application is introduced by taking an android operating system as an example.
As shown in fig. 1, fig. 1 is a schematic diagram of a possible android operating system applied by the terminal device control method provided in the embodiment of the present application. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on a Linux kernel.
Taking an android operating system as an example, in the embodiment of the present application, a developer may develop a software program that implements the method for quickly starting an application program provided in the embodiment of the present application based on the system architecture of the android operating system shown in fig. 1, so that the method for quickly starting an application program may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the method for rapidly starting the application program provided by the embodiment of the application by running the software program in the android operating system.
The terminal device provided in the embodiment of the present application may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), an intelligent watch, an intelligent bracelet, or other types of terminal devices, and the embodiment of the present application is not limited.
The first embodiment,
An embodiment of the present invention provides a terminal device control method, and specifically, referring to fig. 2, the terminal device control method includes:
and S21, determining whether the distance sensor of the terminal equipment is abnormal.
Illustratively, the distance sensor of the terminal device may be an infrared distance sensor.
Specifically, in the embodiment of the present invention, whether the distance sensor of the terminal device is abnormal may be determined through the following implementation manners:
the implementation mode is as follows:
receiving a first input by a user;
and responding to the first input, and determining that the distance sensor of the terminal equipment is abnormal.
Specifically, the first input may be touch input to a virtual key displayed on a display interface of the terminal device, or may be a voice instruction input by a user, or may be a specific gesture input by the user. In some embodiments of the present invention, the specific gesture may be any one of a single-tap gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-tap gesture.
That is, the user may determine whether the distance sensor of the terminal device is abnormal according to the usage experience, and input a first input to the terminal device when the user determines that the distance sensor of the terminal device is abnormal, and after the terminal device receives the first input by the user, determine that the distance sensor of the terminal device is abnormal.
The implementation mode two is as follows:
determining that the distance sensor of the terminal device is abnormal when any of the following conditions is satisfied:
and in condition 1, the value detected by the distance sensor does not change after the preset time length.
That is, according to the rule of the data reported by the distance sensor, if the data reported by the distance sensor has not changed for a long time, it is determined that the distance sensor is abnormal.
Illustratively, the preset time period may be 24 hours. Of course, the skilled person can also set the preset time length to other values, such as: 12 hours, 48 hours, etc., which are not limited in the examples of the present invention.
And 2, if the variation of the numerical value detected by at least one of a photosensitive sensor, a gyroscope and an inertial sensor of the terminal equipment is larger than the threshold variation, the numerical value detected by the distance sensor is unchanged.
That is, in conjunction with data from other sensors on the terminal device, it is determined whether there is an anomaly in the range sensor. When data of the photosensitive sensor, the gyroscope and the inertial sensor are obviously changed, the position of the terminal equipment can be determined to be possibly changed, and if the numerical value detected by the distance sensor is not changed, the distance sensor is determined to be abnormal.
And in the condition 3, the variation of the numerical value detected by the distance sensor is constant in a preset range.
Specifically, raw data of the distance sensor may be read, and if the amount of change in the value detected by the distance sensor is constant and changes within a small range, and according to the experience of a person skilled in the art, when the distance sensor is normally operated, the amount of change in the distance detected by the distance sensor should have a larger change range, it is determined that the distance sensor is abnormal.
In the above step S21, if it is determined that the distance sensor of the terminal device is abnormal, the following step S22 is performed. That is, in the case where there is an abnormality in the distance sensor of the terminal device, the following step S22 is executed.
And S22, acquiring the state of the terminal equipment.
Wherein the state of the terminal device comprises: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device.
Specifically, at present, an inertial sensor is generally arranged in the terminal device, so that the motion state of the terminal device can be acquired through the inertial sensor. In addition, at present, a capacitive touch screen is generally integrated in the terminal device, and when a target object approaches the terminal device, the target object can cause capacitance change of the capacitive touch screen.
And S23, determining the first distance information or the second distance information according to the state of the terminal equipment.
The first distance information is used for indicating that the distance from the terminal equipment to the target object is smaller than a threshold distance, and the second distance information is used for indicating that the distance from the terminal equipment to the target object is larger than the threshold distance.
S24, controlling the terminal device according to the first distance information or the second distance information.
The above-described embodiment is described below by way of example with the display of the terminal device being controlled to be turned on or off according to the distance information.
When the distance information acquired according to the state of the terminal device is first distance information, the fact that the distance from the terminal device to the target object is smaller than the threshold distance is indicated, and at the moment, the user is likely to answer a call through the terminal device, so that the display screen of the terminal device is controlled to be in a turned-off state, the user is prevented from mistakenly touching, and the power consumption of the terminal device is saved.
When the distance information acquired according to the state of the terminal device is the second distance information, the fact that the distance from the terminal device to the target object is larger than the threshold distance is indicated, the user is likely to watch videos, play games and the like through the terminal device at the moment, and therefore the display screen of the terminal device is controlled to be in a lighting state at the moment so as to guarantee normal display of the terminal device.
According to the terminal device control method provided by the embodiment of the invention, when the fact that a distance sensor of the terminal device is abnormal is determined, the motion state of the terminal device and/or the capacitance change of a touch screen of the terminal device are/is obtained, then first distance information used for indicating that the distance from the terminal device to a target object is smaller than a threshold distance or second distance information used for indicating that the distance from the terminal device to the target object is larger than the threshold distance is obtained according to the motion state of the terminal device and/or the capacitance change of the touch screen of the terminal device, and finally the terminal device is controlled according to the first distance information or the second distance information; according to the embodiment of the invention, when the distance sensor of the terminal equipment breaks down, the distance information can be generated by detecting the motion state of the terminal equipment and/or the capacitance change of the touch screen of the terminal equipment, and the terminal equipment is controlled according to the generated distance information, so that the influence on the normal use of the terminal equipment when the distance sensor of the terminal equipment breaks down can be avoided.
Further, a detailed description is given below of an implementation manner of acquiring the first distance information or the second distance information according to the acquired state of the terminal device.
Optionally, the obtaining the state of the terminal device in step S22 includes: and acquiring the motion state of the terminal equipment.
Referring to fig. 3, when the state of the terminal device obtained in step S22 is the motion state of the terminal device, the obtaining the first distance information or the second distance information according to the state of the terminal device includes:
and S31, judging whether the motion state of the terminal equipment is a first motion state or a second motion state.
Wherein the first motion state is a motion state with an upward acceleration and the second motion state is a motion state with a downward acceleration.
In the above step S31, in the case where the motion state of the terminal device is the first motion state, the following step S32 is performed; in the case where the motion state of the terminal device is the second motion state, the following step S33 is performed.
And S32, generating the first distance information.
And S33, generating the second distance information.
Optionally, the obtaining the state of the terminal device in step S22 includes: and acquiring the capacitance change of the touch screen of the terminal equipment.
Referring to fig. 4, when the state of the terminal device is obtained as a capacitance change of a touch screen of the terminal device, the obtaining first distance information or second distance information according to the state of the terminal device includes:
and S41, determining the shape and size of the target object according to the capacitance change of the touch screen of the terminal equipment.
Specifically, the touch screen of the terminal device can detect capacitance value changes caused by the target object, and the shape and size of the target object can be determined through analysis of all capacitance values on the touch screen.
And S42, determining whether the coincidence degree of the shape of the target object and the preset shape is greater than or equal to a first threshold value.
And S43, determining whether the coincidence degree of the size of the target object and the preset size is larger than or equal to a second threshold value.
Wherein, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
In the above steps S42, S43, when the degree of coincidence between the shape of the target object and the preset shape is greater than or equal to the first threshold value and the degree of coincidence between the size of the target object and the preset size is greater than or equal to the second threshold value, step S44 is performed, and when the degree of coincidence between the shape of the target object and the preset shape is less than the first threshold value and/or the degree of coincidence between the size of the target object and the preset size is less than the second threshold value, step S45 is performed.
And S44, generating the first distance information.
And S45, generating the second distance information.
Optionally, the obtaining the state of the terminal device in step S22 includes: and acquiring the motion state of the terminal equipment and the capacitance change of a touch screen of the terminal equipment.
Referring to fig. 5, when the obtaining of the state of the terminal device includes a motion state of the terminal device and a capacitance change of a touch screen of the terminal device, the obtaining of the first distance information or the second distance information according to the state of the terminal device includes:
and S51, determining the shape and size of the target object according to the capacitance change of the touch screen of the terminal equipment.
And S52, determining whether the motion state of the terminal equipment is the first motion state or the second motion state.
Wherein the first motion state is a motion state with an upward acceleration and the second motion state is a motion state with a downward acceleration.
And S53, determining whether the coincidence degree of the shape of the target object and the preset shape is greater than or equal to a first threshold value.
And S54, determining whether the coincidence degree of the size of the target object and the preset size is larger than or equal to a second threshold value.
Wherein, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
It should be noted that, in the embodiment of the present invention, the sequence of S52, S53, and S54 is not limited, that is, the above steps S52, S53, and S54 may be performed in any order.
In the above steps S51, S53, and S54, when the motion state of the terminal device is a first motion state, the matching degree between the shape of the target object and the preset shape is greater than a first threshold value, and the matching degree between the size of the target object and the preset size is greater than a second threshold value, the step S55 is executed, and when at least one of the second motion state, the matching degree between the shape of the target object and the preset shape is less than the first threshold value, and the matching degree between the size of the target object and the preset size is less than the second threshold value is satisfied, the step S56 is executed.
And S55, generating the first distance information.
And S56, generating the second distance information.
In the embodiment shown in fig. 5, the distance information is determined by integrating the motion state of the terminal device and the capacitance change of the touch screen of the terminal device, so that the distance information from the terminal device to the target object can be more accurately determined, the control on the terminal device is more accurate, and the user experience is improved.
An embodiment of the present invention provides a terminal device, and referring to fig. 6, the terminal device 600 includes:
an obtaining unit 61, configured to obtain a state of the terminal device when there is an abnormality in a distance sensor of the terminal device, where the state of the terminal device includes: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
a processing unit 62, configured to determine first distance information or second distance information according to a state of the terminal device, where the first distance information is used to indicate that a distance from the terminal device to a target object is smaller than a threshold distance, and the second distance information is used to indicate that the distance from the terminal device to the target object is greater than the threshold distance;
a control unit 63, configured to control the terminal device according to the first distance information or the second distance information.
Optionally, the obtaining unit 61 is specifically configured to obtain a motion state of the terminal device;
the processing unit 62 is specifically configured to generate the first distance information when the motion state of the terminal device is a first motion state; generating the second distance information under the condition that the motion state of the terminal equipment is a second motion state;
wherein the first motion state is a motion state with an upward acceleration and the second motion state is a motion state with a downward acceleration.
Optionally, the obtaining unit 61 is specifically configured to obtain a capacitance change of a touch screen of the terminal device;
the processing unit 62 is specifically configured to determine a shape and a size of a target object according to a capacitance change of a touch screen of the terminal device, generate the first distance information when a degree of coincidence between the shape of the target object and a preset shape is greater than or equal to a first threshold and the degree of coincidence between the size of the target object and the preset size is greater than or equal to a second threshold, and generate the second distance information when the degree of coincidence between the shape of the target object and the preset shape is less than the first threshold and/or the degree of coincidence between the size of the target object and the preset size is less than the second threshold;
wherein, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
Optionally, the obtaining unit 61 is specifically configured to obtain a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
the processing unit 62 determines the shape and size of the target object according to a capacitance change of a touch screen of the terminal device, generates the first distance information when the motion state of the terminal device is a first motion state, the matching degree between the shape of the target object and a preset shape is greater than a first threshold, and the matching degree between the size of the target object and the preset size is greater than a second threshold, and generates the second distance information when at least one of the motion state of the terminal device is a second motion state, the matching degree between the shape of the target object and the preset shape is less than the first threshold, and the matching degree between the size of the target object and the preset size is less than the second threshold is satisfied;
the first motion state is a motion state with upward acceleration, the second motion state is a motion state with downward acceleration, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
Optionally, the processing unit 61 is specifically configured to determine that the distance sensor of the terminal device is abnormal when any of the following conditions is met:
within a preset time span, the value detected by the distance sensor is unchanged;
the variation of a numerical value detected by at least one of a photosensitive sensor, a gyroscope and an inertial sensor of the terminal equipment is larger than the threshold variation, and the numerical value detected by the distance sensor is unchanged;
the variation of the numerical value detected by the distance sensor is constant within a preset range.
Optionally, the processing unit 61 is specifically configured to receive a preset input, and determine that the distance sensor of the terminal device is abnormal according to the preset input.
In the terminal device provided in the embodiment of the present invention, when determining that a distance sensor of the terminal device is abnormal, a detection unit acquires a motion state of the terminal device and/or a capacitance change of a touch screen of the terminal device, a processing unit acquires, according to the motion state of the terminal device and/or the capacitance change of the touch screen of the terminal device, first distance information indicating that a distance from the terminal device to a target object is smaller than a threshold distance or second distance information indicating that the distance from the terminal device to the target object is larger than the threshold distance, and a control unit controls the terminal device according to the first distance information or the second distance information; according to the embodiment of the invention, when the distance sensor of the terminal equipment breaks down, the distance information can be generated by detecting the motion state of the terminal equipment and/or the capacitance change of the touch screen of the terminal equipment, and the terminal equipment is controlled according to the generated distance information, so that the influence on the normal use of the terminal equipment when the distance sensor of the terminal equipment breaks down can be avoided.
Fig. 7 is a schematic diagram of a hardware structure of a terminal device for implementing an embodiment of the present invention, where the terminal device includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 7 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The input unit 104 is configured to acquire a state of the terminal device when the distance sensor of the terminal device is abnormal, where the state of the terminal device includes: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
a processor 110, configured to determine first distance information or second distance information according to a state of the terminal device, where the first distance information is used to indicate that a distance from the terminal device to a target object is smaller than a threshold distance, and the second distance information is used to indicate that the distance from the terminal device to the target object is greater than the threshold distance;
the processor is further configured to control the terminal device according to the first distance information or the second distance information.
According to the terminal device provided by the embodiment of the invention, when the abnormity of the distance sensor of the terminal device is determined, the motion state of the terminal device and/or the capacitance change of the touch screen of the terminal device are/is obtained, first distance information used for indicating that the distance from the terminal device to a target object is smaller than a threshold distance or second distance information used for indicating that the distance from the terminal device to the target object is larger than the threshold distance is obtained according to the motion state of the terminal device and/or the capacitance change of the touch screen of the terminal device, and finally the terminal device is controlled according to the first distance information or the second distance information; according to the embodiment of the invention, when the distance sensor of the terminal equipment fails, the distance information can be generated by detecting the motion state of the terminal equipment and/or the capacitance change of the touch screen of the terminal equipment, and the terminal equipment is controlled according to the generated distance information, so that the influence on the normal use of the terminal equipment when the distance sensor of the terminal equipment fails can be avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output associated with a specific function performed by the terminal device (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in multiple directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 7, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus or may be used to transmit data between the terminal apparatus and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application 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 (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 109 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.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby integrally monitoring the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device may further include a power supply 111 (such as a battery) for supplying power to the plurality of components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device includes some functional modules that are not shown, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements multiple processes of the terminal device control method according to any of the above embodiments, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network-side device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A terminal device control method is characterized by comprising the following steps:
under the condition that a distance sensor of a terminal device is abnormal, acquiring the state of the terminal device, wherein the state of the terminal device comprises the following steps: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
determining first distance information or second distance information according to the state of the terminal equipment, wherein the first distance information is used for indicating that the distance from the terminal equipment to a target object is smaller than a threshold distance, and the second distance information is used for indicating that the distance from the terminal equipment to the target object is larger than the threshold distance;
controlling the terminal equipment according to the first distance information or the second distance information;
the acquiring the state of the terminal device includes: acquiring the motion state of the terminal equipment and the capacitance change of a touch screen of the terminal equipment;
the determining the first distance information or the second distance information according to the state of the terminal device includes:
determining the shape and size of the target object according to the capacitance change of the touch screen of the terminal equipment;
generating the first distance information under the condition that the motion state of the terminal equipment is a first motion state, the fit degree of the shape of the target object and a preset shape is greater than a first threshold value, and the fit degree of the size of the target object and the preset size is greater than a second threshold value;
generating the second distance information under the condition that the motion state of the terminal device is at least one of a second motion state, the coincidence degree of the shape of the target object and the preset shape is smaller than a first threshold value, and the coincidence degree of the size of the target object and the preset size is smaller than a second threshold value;
the first motion state is a motion state with upward acceleration, the second motion state is a motion state with downward acceleration, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
2. The method of claim 1,
the acquiring the state of the terminal device includes: acquiring the motion state of the terminal equipment;
the determining the first distance information or the second distance information according to the state of the terminal device includes:
generating the first distance information under the condition that the motion state of the terminal equipment is a first motion state;
generating the second distance information under the condition that the motion state of the terminal equipment is a second motion state;
the first motion state is a motion state with an upward acceleration, and the second motion state is a motion state with a downward acceleration.
3. The method of claim 1,
the acquiring the state of the terminal device includes: acquiring capacitance change of a touch screen of the terminal equipment;
the determining the first distance information or the second distance information according to the state of the terminal device includes:
determining the shape and size of the target object according to the capacitance change of the touch screen of the terminal equipment;
generating the first distance information under the condition that the coincidence degree of the shape of the target object and a preset shape is greater than or equal to a first threshold value and the coincidence degree of the size of the target object and the preset size is greater than or equal to a second threshold value;
generating the second distance information under the condition that the coincidence degree of the shape of the target object and a preset shape is smaller than a first threshold value and/or the coincidence degree of the size of the target object and a preset size is smaller than a second threshold value;
the preset shape is the shape of a user's ear, and the preset size is the size of the user's ear.
4. The method according to any one of claims 1 to 3, wherein determining whether an abnormality occurs in a distance sensor of the terminal device comprises:
when any condition as follows is met, determining that the distance sensor of the terminal equipment is abnormal:
the value detected by the distance sensor does not change after the preset time length;
the variation of a numerical value detected by at least one of a photosensitive sensor, a gyroscope and an inertial sensor of the terminal equipment is larger than the threshold variation, and the numerical value detected by the distance sensor is unchanged;
the variation of the numerical value detected by the distance sensor is constant within a preset range.
5. The method according to any one of claims 1 to 3, wherein determining whether an abnormality occurs in a distance sensor of the terminal device comprises:
receiving a first input by a user;
and responding to the first input, and determining that the distance sensor of the terminal equipment is abnormal.
6. A terminal device, comprising:
an obtaining unit, configured to obtain a state of the terminal device when an abnormality exists in a distance sensor of the terminal device, where the state of the terminal device includes: at least one of a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
the processing unit is used for determining first distance information or second distance information according to the state of the terminal equipment, wherein the first distance information is used for indicating that the distance from the terminal equipment to a target object is smaller than a threshold distance, and the second distance information is used for indicating that the distance from the terminal equipment to the target object is larger than the threshold distance;
a control unit, configured to control the terminal device according to the first distance information or the second distance information;
the acquiring unit is specifically configured to acquire a motion state of the terminal device and a capacitance change of a touch screen of the terminal device;
the processing unit is specifically configured to determine a shape and a size of the target object according to a capacitance change of a touch screen of the terminal device, generate the first distance information when a motion state of the terminal device is a first motion state, an agreement degree between the shape of the target object and a preset shape is greater than a first threshold, and the agreement degree between the size of the target object and the preset size is greater than a second threshold, and generate the second distance information when at least one of a second motion state, a first threshold and a second threshold is satisfied, the agreement degree between the shape of the target object and the preset shape is smaller than the first threshold, and the agreement degree between the size of the target object and the preset size is smaller than the second threshold is satisfied;
the first motion state is a motion state with upward acceleration, the second motion state is a motion state with downward acceleration, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
7. The terminal device of claim 6,
the acquiring unit is specifically configured to acquire a motion state of the terminal device;
the processing unit is specifically configured to generate the first distance information when the motion state of the terminal device is a first motion state; generating the second distance information under the condition that the motion state of the terminal equipment is a second motion state;
wherein the first motion state is a motion state with an upward acceleration and the second motion state is a motion state with a downward acceleration.
8. The terminal device of claim 6,
the acquiring unit is specifically configured to acquire a capacitance change of a touch screen of the terminal device;
the processing unit is specifically configured to determine a shape and a size of a target object according to a capacitance change of a touch screen of the terminal device, generate the first distance information when a degree of coincidence between the shape of the target object and a preset shape is greater than or equal to a first threshold and the degree of coincidence between the size of the target object and the preset size is greater than or equal to a second threshold, and generate the second distance information when the degree of coincidence between the shape of the target object and the preset shape is less than the first threshold and/or the degree of coincidence between the size of the target object and the preset size is less than the second threshold;
wherein, the preset shape is the shape of the ear of the user, and the preset size is the size of the ear of the user.
9. The terminal device according to any one of claims 6 to 8, wherein the processing unit is specifically configured to determine that an abnormality occurs in the distance sensor of the terminal device when any of the following conditions is satisfied:
the value detected by the distance sensor does not change after the preset time length;
the variation of a numerical value detected by at least one of a photosensitive sensor, a gyroscope and an inertial sensor of the terminal equipment is larger than the threshold variation, and the numerical value detected by the distance sensor is unchanged;
the variation of the numerical value detected by the distance sensor is constant within a preset range.
10. The terminal device according to any of claims 6 to 8,
and the detection unit is specifically used for receiving a first input by a user and responding to the first input to determine that the distance sensor of the terminal equipment is abnormal.
11. A terminal device, comprising: processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the terminal device control method according to any one of claims 1 to 5.
CN201811299974.9A 2018-10-30 2018-10-30 Terminal device control method and terminal device Active CN109542279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811299974.9A CN109542279B (en) 2018-10-30 2018-10-30 Terminal device control method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811299974.9A CN109542279B (en) 2018-10-30 2018-10-30 Terminal device control method and terminal device

Publications (2)

Publication Number Publication Date
CN109542279A CN109542279A (en) 2019-03-29
CN109542279B true CN109542279B (en) 2022-08-26

Family

ID=65846014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811299974.9A Active CN109542279B (en) 2018-10-30 2018-10-30 Terminal device control method and terminal device

Country Status (1)

Country Link
CN (1) CN109542279B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830644B (en) * 2019-09-16 2021-04-20 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium
CN113518150A (en) * 2020-03-26 2021-10-19 荣耀终端有限公司 Display method of terminal equipment and terminal equipment
CN111721970B (en) * 2020-06-16 2022-03-18 维沃移动通信有限公司 Capacitive acceleration sensor, control method and control device thereof, and electronic equipment
CN114327316B (en) * 2020-09-30 2024-04-19 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for obtaining visual content
CN112181209A (en) * 2020-11-03 2021-01-05 珠海格力电器股份有限公司 Method and device for recovering anti-false touch function, storage medium and electronic device
CN113299673B (en) * 2021-05-24 2022-07-29 维沃移动通信有限公司 Photosensitive device control method, control device, electronic device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102365875A (en) * 2009-03-30 2012-02-29 伯斯有限公司 Personal acoustic device position determination
EP2612221A1 (en) * 2010-08-31 2013-07-10 Microsoft Corporation User selection and navigation based on looped motions
WO2015015047A1 (en) * 2013-08-02 2015-02-05 Nokia Corporation Distance estimation
CN107533373A (en) * 2015-08-04 2018-01-02 谷歌有限责任公司 Via the input of the sensitive collision of the context of hand and object in virtual reality
CN108390996A (en) * 2018-01-25 2018-08-10 维沃移动通信有限公司 A kind of display methods, mobile terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140099992A1 (en) * 2012-10-09 2014-04-10 Qualcomm Mems Technologies, Inc. Ear position and gesture detection with mobile device
CN103024194B (en) * 2012-12-26 2014-11-26 珠海市魅族科技有限公司 Mobile terminal and incoming call connecting method thereof
US20140329564A1 (en) * 2013-05-02 2014-11-06 Nokia Corporation User interface apparatus and associated methods
CN103281439A (en) * 2013-05-08 2013-09-04 上海鼎讯电子有限公司 Method for utilizing TP (touch panel) device for simulating proximity sensor in mobile phone
CN105373323B (en) * 2014-08-25 2019-07-26 联想(北京)有限公司 Method of operating an electronic device, operating device and electronic equipment
CN105519086B (en) * 2014-09-30 2019-04-16 华为技术有限公司 Close to the control method of optical sensor, device and mobile terminal
JP6600945B2 (en) * 2015-01-20 2019-11-06 セイコーエプソン株式会社 Head-mounted display device, head-mounted display device control method, and computer program
CN104536580B (en) * 2015-01-22 2018-09-04 北京智谷睿拓技术服务有限公司 The method and apparatus for detecting electronic equipment posture
CN106412243B (en) * 2016-09-05 2019-08-30 努比亚技术有限公司 A kind of method and terminal of monitoring distance inductor exception
CN108512980A (en) * 2018-02-13 2018-09-07 维沃移动通信有限公司 A kind of detection method and mobile terminal of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102365875A (en) * 2009-03-30 2012-02-29 伯斯有限公司 Personal acoustic device position determination
EP2612221A1 (en) * 2010-08-31 2013-07-10 Microsoft Corporation User selection and navigation based on looped motions
WO2015015047A1 (en) * 2013-08-02 2015-02-05 Nokia Corporation Distance estimation
CN107533373A (en) * 2015-08-04 2018-01-02 谷歌有限责任公司 Via the input of the sensitive collision of the context of hand and object in virtual reality
CN108390996A (en) * 2018-01-25 2018-08-10 维沃移动通信有限公司 A kind of display methods, mobile terminal

Also Published As

Publication number Publication date
CN109542279A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109542279B (en) Terminal device control method and terminal device
CN109542282B (en) Interface display method and terminal equipment
CN109995933B (en) Method for controlling alarm clock of terminal equipment and terminal equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN111142991A (en) Application function page display method and electronic equipment
CN109600297B (en) Identification clearing method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN109976611B (en) Terminal device control method and terminal device
CN110233933B (en) Call method, terminal equipment and computer readable storage medium
CN109257505B (en) Screen control method and mobile terminal
CN111163224B (en) Voice message playing method and electronic equipment
CN110049486B (en) SIM card selection method and terminal equipment
CN109901761B (en) Content display method and mobile terminal
CN110753155A (en) Proximity detection method and terminal equipment
CN108984066B (en) Application icon display method and mobile terminal
CN110597437A (en) Screen capturing method and terminal equipment
CN110058686B (en) Control method and terminal equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN110012151B (en) Information display method and terminal equipment
CN111343710A (en) Power adjustment method and electronic equipment
CN109933267B (en) Method for controlling terminal equipment and terminal equipment
CN108388400B (en) Operation processing method and mobile terminal
CN109189514B (en) Terminal device control method and terminal device
CN109067975B (en) Contact person information management method and terminal equipment
CN108449490B (en) Terminal control method and terminal

Legal Events

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