CN106527802A - Detection method and mobile terminal - Google Patents
Detection method and mobile terminal Download PDFInfo
- Publication number
- CN106527802A CN106527802A CN201610967530.2A CN201610967530A CN106527802A CN 106527802 A CN106527802 A CN 106527802A CN 201610967530 A CN201610967530 A CN 201610967530A CN 106527802 A CN106527802 A CN 106527802A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- touch
- default
- screen
- meets
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a detection method and a mobile terminal. The detection method comprises the following steps of: detecting whether the touch screen of the mobile terminal meets a touch anomaly condition that a touch area is greater than a preset area or not; detecting whether the receiving amount of received infrared light emitted from the mobile terminal meets a receiving anomaly condition of a preset conventional receiving amount or not; and if the touch screen meets the touch anomaly condition and the receiving amount meets the receiving anomaly condition, determining that the mobile terminal is in water. Therefore, by use of the mobile terminal, whether the own touch screen of the mobile terminal can be subjected to touch anomaly and the receiving amount of the received infrared light is normal or not can be judged so as to judge whether the mobile terminal is in water on the own, a user does not need to carry out manual detection, and manual labor does not need to be consumed so as to be favorable for improving user experience.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of detection method and mobile terminal.
Background technology
With the progress of science and technology, the communication technology is developed rapidly and significant progress, and with the communication technology
Raising, the popularization and improvement of smart electronicses product are to a unprecedented height, increasing intelligent terminal or movement
Terminal becomes a part indispensable during people live, such as smart mobile phone, intelligent television and computer etc..
While mobile terminal is popularized, functional type that user possesses to mobile terminal and performance requirement are increasingly
Height, such as audio-frequency function, camera function, camera function and three anti-functions all have become the indispensable work(of intelligent terminal or mobile terminal
Energy.
Although the mobile terminal having at present has had water-proof function, waterproof that also can only be of short duration, it is impossible to when long
Between under water, failure also occurs for a long time under water.The water-proof function of existing mobile terminal, also simply user
It is artificial by advance by each sealing joint of mobile terminal, to reach the effect of waterproof, and can not realize mobile terminal from
Oneself detects whether in water, needs user to configure mobile terminal in advance, and notice mobile terminal in real time whether in water, take
When it is laborious, be unfavorable for Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of detection method and mobile terminal, cannot oneself inspection to solve existing mobile terminal
Survey the problem whether being in water.
In a first aspect, embodiments providing a kind of detection method, the detection method includes:
Whether the touch-screen of detection mobile terminal meets the touch exceptional condition for touching area more than preset area;
Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is met more than default conventional receiver amount
Receive exceptional condition;
If the touch-screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition, really
The fixed mobile terminal is in water.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, and the mobile terminal includes:
First detection module, touches area touching more than preset area for detecting whether the touch-screen of mobile terminal meets
Touch exceptional condition;
Second detection module, is more than for detecting whether the reception amount of the infrared light of the mobile terminal for receiving transmitting meets
The reception exceptional condition of default conventional receiver amount;
Determining module, if meeting the touch exceptional condition for the touch-screen, and connects described in reception amount satisfaction
Exceptional condition is received, determines the mobile terminal in water.
Detection method provided in an embodiment of the present invention and mobile terminal, detect whether the touch-screen of mobile terminal meets touch
Touch exceptional condition of the area more than preset area;Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is full
Reception exceptional condition of the foot more than default conventional receiver amount;If the touch-screen meets the touch exceptional condition, and described connects
Receipts amount meets the reception exceptional condition, determines the mobile terminal in water.So mobile terminal can be according to detection certainly
Whether the touch-screen of body is abnormal with the presence or absence of the reception amount for touching infrared light that is abnormal and receiving, independently to judge whether to be in
In water, without the need for user's manual detection, without the need for labor intensive, be conducive to improving Consumer's Experience.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to needed for embodiment of the present invention description
Accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, can be being obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the detection method that first embodiment of the invention is provided;
Fig. 2 is the flow chart of the detection method that second embodiment of the invention is provided;
Fig. 3 is one of structure chart of mobile terminal that third embodiment of the invention is provided;
Fig. 4 is the two of the structure chart of the mobile terminal that third embodiment of the invention is provided;
Fig. 5 is the structure chart of the first detection module shown in Fig. 3;
Fig. 6 is the structure chart of the 3rd detection module shown in Fig. 4;
Fig. 7 is the structure chart of the mobile terminal that fourth embodiment of the invention is provided;
Fig. 8 is the structure chart of the mobile terminal that fifth embodiment of the invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this
Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art
Example, belongs to the scope of protection of the invention.
First embodiment
Referring to Fig. 1, Fig. 1 is the flow chart of detection method provided in an embodiment of the present invention, and the detection method is applied to move
Dynamic terminal, as shown in figure 1, the detection method is comprised the following steps:
Whether step 101, the touch-screen of detection mobile terminal meet the touch exception bar for touching area more than preset area
Part.
In the step, the mobile terminal can carry out real-time detection, detect whether the touch-screen of mobile terminal occurs touching
Touch exception, that is to say, that whether the touch-screen meets causes the touch-screen to occur touching abnormal touch exceptional condition, institute
It is that the touch-screen occurs touching abnormal touch area more than a preset area to state and touch exceptional condition.
Wherein, the touch-screen of the mobile terminal, can be water is stained with due to surface after cause touch-screen failure and/or
Touch abnormal touch-screen, such as capacitance plate.
Wherein, touch exception and may refer to the abnormal conditions that the touch control operation of None- identified user occurs in the touch-screen,
In present embodiment, touch exception and can especially refer to after capacitance touch screen surfaces have water, cause the touch-screen
Electric capacity between scan line and data wire is changed due to the electric conductivity of water, finds that large area is led when causing touch-screen to detect
The touch exception led to and produce.
Whether the reception amount of the infrared light of the mobile terminal transmitting that step 102, detection are received meets conventional more than default
The reception exceptional condition of reception amount.
In the step, due to existing mobile terminal in, infrared function substantially into the standard configuration of each mobile terminal,
So, in present embodiment, the mobile terminal can launch an infrared light by the infrared components for itself configuring, and then receive
The infrared light of return, detects whether the reception amount of the rear outer light of the return for receiving meets reception exceptional condition, wherein, it is described to connect
The reception amount for receiving the infrared light that exceptional condition may refer to the return presets conventional receiver amount more than one.
Wherein, when the mobile terminal is in water, the reception amount of infrared light can be than the mobile terminal in conventional
Reception amount when in environment, i.e. air is big, and when being due to infrared light emission, by a water transmitting part, the mobile terminal is received
To the part launched by water and the part for finally returning that, cause reception amount can than routine when receive it is more.
Specifically, the mobile terminal can be launched after an infrared light using infrared emission component, and the mobile terminal makes
The infrared light for returning is received with an infrared receiver component, it is red that the mobile terminal that then the mobile terminal detection is received is launched
Outer light, and the reception amount of the infrared light of reception is extracted, then the reception amount of the infrared light of reception is entered with a default conventional receiver amount
Row compares, and whether judges the reception amount more than the default conventional receiver amount, if by detecting and judging to draw, it is described
Reception amount is more than the default conventional receiver amount, then the mobile terminal is assured that, connects described in the reception amount satisfaction
Receive exceptional condition.
If step 103, the touch-screen meet the touch exceptional condition, and the reception amount meets the reception exception
Condition, determines the mobile terminal in water.
In the step, when mobile terminal detection draws, the touch-screen of the mobile terminal meets the touch exception
Condition, and the reception amount of the infrared light for receiving meet it is described reception exceptional condition when, it is possible to it is determined that described
Mobile terminal is in water.
In the embodiment of the present invention, above-mentioned mobile terminal can be with any mobile end for possessing touch-screen and infrared receiving/transmission component
End, for example:Mobile phone, panel computer (Tablet Personal Computer), kneetop computer (Laptop Computer),
Personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet
Device, MID) or Wearable device (Wearable Device) etc..
Detection method provided in an embodiment of the present invention, detects whether the touch-screen of mobile terminal meets touch area more than pre-
If the touch exceptional condition of area;Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is met more than default
The reception exceptional condition of conventional receiver amount;If the touch-screen meets the touch exceptional condition, and the reception amount meets institute
Reception exceptional condition is stated, determines the mobile terminal in water.So mobile terminal can be according to the detection touch-screen of itself
It is whether abnormal with the presence or absence of the reception amount for touching infrared light that is abnormal and receiving, independently to judge whether in water, need not
User's manual detection, without the need for labor intensive, is conducive to improving Consumer's Experience.
Second embodiment
Referring to Fig. 2, Fig. 2 is the flow chart of detection method provided in an embodiment of the present invention, and the detection method is applied to move
Dynamic terminal, as shown in Fig. 2 the detection method is comprised the following steps:
Whether step 201, the touch-screen of detection mobile terminal meet the touch exception bar for touching area more than preset area
Part.
Whether the reception amount of the infrared light of the mobile terminal transmitting that step 202, detection are received meets conventional more than default
The reception exceptional condition of reception amount.
Whether the default contact on step 203, detection mobile terminal turns on, wherein, the default contact is arranged at described
On mobile terminal back shell.
Wherein, the default contact can be disposed on the touching with conducting function on the housing of the mobile terminal
Point, the position of the default contact can be configured according to the hobby of user, due to detecting it is different whether the touch-screen touches
Often, that is, have detected that to state and whether have water before mobile terminal, it is preferred, therefore, that, it is in present embodiment, described pre-
If contact can be arranged on the housing at the back of the mobile terminal, that is, on the back cover of mobile terminal.
In the step, mainly detect that whether difficult to understand the default contact on mobile terminal back cover is logical, detect mobile terminal of converging
Back whether in having the environment of water.
If the default contact conducting on step 204, the mobile terminal, if performing the touch-screen meets described touching
Exceptional condition is touched, and the reception amount meets the reception exceptional condition, determine step of the mobile terminal in water.
In the step, when mobile terminal detection is obtained, and the default contact arranged on the mobile terminal turns on, institute
Meet the touch exceptional condition if stating mobile terminal and performing the touch-screen, and the reception amount to meet the reception different
Often condition, determines step of the mobile terminal in water.
If step 205, the touch-screen meet the touch exceptional condition, and the reception amount meets the reception exception
Condition, determines the mobile terminal in water.
Wherein, in the step 201, step 202 and step 205 and the embodiment of the present invention one step 101, step 102
It is identical with step 103, will not be described here.
Optionally, step 203 includes:
From on mobile terminal, default first contact sends a detection signal;Judge default second on the mobile terminal
Whether contact receives the signal;If second contact receives the detection signal, confirm pre- on mobile terminal
If contact turns on.
In the step, the mobile terminal control, the first contact pre-set from the housing of the mobile terminal is sent out
Go out a detection signal, the detection signal can be that then the mobile terminal is real-time with waveform signal or level signal etc.
Detection, judges whether the second contact pre-set on the mobile terminal have received the signal, if described mobile whole
End judgement show that second contact have received the detection signal, then the mobile terminal can be obtained by confirmation, institute
State the default contact conducting on mobile terminal.
Wherein, the first contact in present embodiment, for convenience of description, being provided only for sending signal is used to receive letter
Number the second contact, but be not limited thereto, in other embodiments, the contact of three or more can also be set.
Wherein, for the ease of comprehensively detecting whether mobile terminal is to be entirely located in water, the touch of the mobile terminal
Whether screen have detected, so described in first contact and second contact may be located at
The back of mobile terminal, to detect the back side of the mobile terminal whether also in water.
Also, the distance of the validity and detection speed, first contact and second contact for detection is unsuitable
Too far, such as described first contact and second contact can be arranged at the metalwork on the mobile terminal surface;As being embedded in
The logo on surface is first-class.
Optionally, step 201 includes:
Detect the quantity of the touch point that electric capacity changes in the same time on the touch-screen of the mobile terminal;Based on inspection
The quantity for measuring, the quantity and predetermined threshold value are compared;If the quantity is more than predetermined threshold value, the shifting is determined
The touch-screen of dynamic terminal is touched and meets the touch exceptional condition for touching area more than preset area.
In the step, the mobile terminal carries out real-time detection, detects the electricity on the touch-screen of the mobile terminal
Hold change, and obtain on the touch-screen, the quantity of the touch point that electric capacity changes within the same time, and obtained according to detection
The quantity of the touch point that the electric capacity got changes, the quantity is compared with a predetermined threshold value, when described mobile whole
End show that by comparing the quantity is more than if the predetermined threshold value, then the mobile terminal is assured that the shifting
The touch-screen of dynamic terminal meets the touch exceptional condition for touching area more than the preset area.
Optionally, after the step 205, the detection method includes;
Default underwater mode is opened, to protect the mobile terminal;Prompting is sent to user, move described in user with being reminded
Terminal is in water.
In the step, when the mobile terminal is by detection, determine after oneself being in water, the mobile terminal can be with
Default underwater mode is opened, in the underwater mode, the mobile terminal can close the interface electricity of the mobile terminal
Source, avoids the short circuit of the mobile terminal interface, to protect the mobile terminal, may then pass through the side such as the tinkle of bells
Formula, prompting is sent to user, to remind mobile terminal described in user to be in water.
Optionally, prompting is sent to user described, after reminding the step that mobile terminal described in user is in water,
The detection method can also include:
Whether the default contact performed on the detection mobile terminal turns on, wherein, the default contact is arranged at described
Step on mobile terminal back shell;If the default contact does not turn on, the default underwater mode of the mobile terminal is released.
It is in the step, when the mobile terminal is detected in water, and after prompting is sent to user, described mobile whole
Whether the default contact that end is performed on the detection mobile terminal again turns on, wherein, the default contact is arranged at the shifting
Step on dynamic terminal back shell, if after detecting again, the mobile terminal detects the default contact and does not turn on,
So described mobile terminal can consider that user has found that the mobile terminal is in water, and by the mobile terminal from water
Middle taking-up, so the mobile terminal can just control to release the default underwater mode.
Optionally, prompting is sent to user described, after reminding the step that mobile terminal described in user is in water,
The detection method can also include:
Whether the reception amount for performing the infrared light for detecting the mobile terminal for receiving transmitting meets conventional more than default
The step of reception exceptional condition of reception amount;If the reception amount is unsatisfactory for the reception exceptional condition, release described mobile whole
The default underwater mode at end.
It is in the step, when the mobile terminal is detected in water, and after prompting is sent to user, described mobile whole
Hold the reception amount for performing the infrared light for detecting the mobile terminal for receiving transmitting again whether to meet to connect more than default routine
The step of reception exceptional condition of receipts amount, if after detecting again, the mobile terminal detects the reception amount and is unsatisfactory for
If reception exceptional condition more than default conventional receiver amount, then it is described that the mobile terminal can consider that user has found
Mobile terminal is in water, and the mobile terminal is taken out from water, so the mobile terminal can just control to release institute
State default underwater mode.
Detection method provided in an embodiment of the present invention, detects whether the touch-screen of mobile terminal meets touch area more than pre-
If the touch exceptional condition of area;Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is met more than default
The reception exceptional condition of conventional receiver amount;Whether the default contact on detection mobile terminal turns on, wherein, the default contact sets
It is placed on the mobile terminal back shell;If the default contact conducting on the mobile terminal, if performing the touch
Screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition, determines that the mobile terminal is in
Step in water;If the touch-screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition,
Determine the mobile terminal in water.So mobile terminal can be different with the presence or absence of touching according to the detection touch-screen of itself
Often, whether the reception amount of the infrared light for receiving is abnormal and whether default contact turns on, independently to judge whether in water, nothing
User's manual detection is needed, without the need for labor intensive, is conducive to improving Consumer's Experience.
3rd embodiment
Referring to Fig. 3 to Fig. 6, Fig. 3 is one of structure chart of mobile terminal provided in an embodiment of the present invention, and Fig. 4 is the present invention
Two, Fig. 5 of the structure chart of the mobile terminal that embodiment is provided is the structure chart of the first detection module shown in Fig. 3, and Fig. 6 is figure
The structure chart of the 3rd detection module shown in 4, as shown in Figures 3 to 6, mobile terminal 300 includes:
First detection module 310, for detecting whether the touch-screen of mobile terminal 300 meets touch area more than default face
Long-pending touch exceptional condition;
Whether the second detection module 320, the reception amount for detecting the infrared light of the mobile terminal 300 for receiving transmitting are full
Reception exceptional condition of the foot more than default conventional receiver amount;
Determining module 330, if the touch exceptional condition is met for the touch-screen, and the reception amount meets described
Exceptional condition is received, determines the mobile terminal 300 in water.
Optionally, the mobile terminal 300 includes:
Whether the 3rd detection module 340, the default contact for detecting on mobile terminal 300 turn on, wherein, it is described default
Contact is arranged on the mobile terminal back shell;
First performing module 350, if for the default contact conducting on the mobile terminal 300, if performing described
Touch-screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition, determines the mobile terminal
Step in water.
Optionally, the 3rd detection module 340 includes:
Transmitter unit 341, sends a detection signal for default first contact from mobile terminal 300;
Judging unit 342, for judging whether default second contact receives the letter on the mobile terminal 300
Number;
Confirmation unit 343, if receiving the detection signal for second contact, confirms on mobile terminal 300
The conducting of default contact.
Optionally, the first detection module 310 includes:
Detector unit 311, for detecting on the touch-screen of the mobile terminal 300 that electric capacity in the same time changes
The quantity of touch point;
Comparing unit 312, for based on the quantity for detecting, the quantity and predetermined threshold value being compared;
Determining unit 313, if being more than predetermined threshold value for the quantity, determines that the touch-screen of the mobile terminal 300 is full
Foot touches touch exceptional condition of the area more than preset area.
Optionally, the mobile terminal 300 includes:
Starting module 360, for opening default underwater mode, to protect the mobile terminal 300;
Prompting module 370, for prompting is sent to user, to remind mobile terminal 300 described in user to be in water.
Mobile terminal 300 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away
Exempt to repeat, repeat no more here.
Mobile terminal provided in an embodiment of the present invention, detects whether the touch-screen of mobile terminal meets touch area more than pre-
If the touch exceptional condition of area;Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is met more than default
The reception exceptional condition of conventional receiver amount;If the touch-screen meets the touch exceptional condition, and the reception amount meets institute
Reception exceptional condition is stated, determines the mobile terminal in water.So mobile terminal can be according to the detection touch-screen of itself
It is whether abnormal with the presence or absence of the reception amount for touching infrared light that is abnormal and receiving, independently to judge whether in water, need not
User's manual detection, without the need for labor intensive, is conducive to improving Consumer's Experience.
Fourth embodiment
Referring to Fig. 7, Fig. 7 is the structure chart of the of the invention real 4th mobile terminal for applying offer, as shown in fig. 7, mobile terminal
700 include:At least one processor 701, memory 702, at least one network interface 704 and user interface 703.Mobile terminal
Each component in 700 is coupled by bus system 705.It is understood that bus system 705 be used for realize these components it
Between connection communication.Bus system 705 except including in addition to data/address bus, also including power bus, controlling bus and status signal
Bus.But for the sake of for clear explanation, various buses are all designated as into bus system 705 in the figure 7.
Wherein, user interface 703 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and which is used as outside height
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 702 of system and method described herein be intended to including but not limited to these and arbitrarily its
It is adapted to the memory of type.
In some embodiments, memory 702 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 7021 and application program 7022.
Wherein, operating system 7021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and process hardware based task.Application program 7022, comprising various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method is may be embodied in application program 7022.
In embodiments of the present invention, by call memory 702 storage program or instruction, specifically, can be application
The program stored in program 7022 or instruction, processor 701 are used for:
Whether the touch-screen of detection mobile terminal meets the touch exceptional condition for touching area more than preset area;Detection connects
Whether the reception amount of the infrared light of the mobile terminal transmitting for receiving meets the reception exceptional condition more than default conventional receiver amount;If
The touch-screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition, determines the movement
Terminal is in water.
The method that the embodiments of the present invention are disclosed is can apply in processor 701, or is realized by processor 701.
A kind of possibly IC chip of processor 701, the disposal ability with signal.During realization, said method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process
Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform and complete, or with the hardware in decoding processor
And software module combination execution is completed.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 702, processor 701 read the information in memory 702, the step of complete said method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.For hardware is realized, processing unit can be realized in one or more special ICs (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software is realized, can be realized herein by the module (such as process, function etc.) of execution function described herein
Described technology.During software code is storable in memory and by computing device.Memory can within a processor or
Realize outside processor.
Optionally, processor 701 is additionally operable to:
Whether the default contact on detection mobile terminal turns on, wherein, the default contact is arranged at the mobile terminal
On back shell;If the default contact conducting on the mobile terminal, if performing the touch-screen, to meet the touch different
Normal condition, and the reception amount meets the reception exceptional condition, determines step of the mobile terminal in water.
Optionally, processor 701 is additionally operable to:
From on mobile terminal, default first contact sends a detection signal;Judge default second on the mobile terminal
Whether contact receives the signal;If second contact receives the detection signal, confirm pre- on mobile terminal
If contact turns on.
Optionally, processor 701 is additionally operable to:
Detect the quantity of the touch point that electric capacity changes in the same time on the touch-screen of the mobile terminal;Based on inspection
The quantity for measuring, the quantity and predetermined threshold value are compared;If the quantity is more than predetermined threshold value, the shifting is determined
The touch-screen of dynamic terminal meets the touch exceptional condition for touching area more than preset area.
Optionally, processor 701 is additionally operable to:
Default underwater mode is opened, to protect the mobile terminal;Prompting is sent to user, move described in user with being reminded
Terminal is in water.
Mobile terminal 700 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here
Repeat no more.
Mobile terminal provided in an embodiment of the present invention, detects whether the touch-screen of mobile terminal meets touch area more than pre-
If the touch exceptional condition of area;Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is met more than default
The reception exceptional condition of conventional receiver amount;If the touch-screen meets the touch exceptional condition, and the reception amount meets institute
Reception exceptional condition is stated, determines the mobile terminal in water.So mobile terminal can be according to the detection touch-screen of itself
It is whether abnormal with the presence or absence of the reception amount for touching infrared light that is abnormal and receiving, independently to judge whether in water, need not
User's manual detection, without the need for labor intensive, is conducive to improving Consumer's Experience.
5th embodiment
Fig. 8 is referred to, Fig. 8 is the structure chart of the mobile terminal that the present invention the 5th implements to provide, as shown in figure 8, mobile whole
End 800 includes radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840, place
Reason device 850, voicefrequency circuit 860, communication module 870, and power supply 880.
Wherein, input block 830 can be used for the numeral or character information of receiving user's input, and produce and mobile terminal
The signal input that 800 user is arranged and function control is relevant.Specifically, in the embodiment of the present invention, the input block 830 can
With including contact panel 831.Contact panel 831, also referred to as touch-screen, can collect user thereon or neighbouring touch operation
(such as user is using the operation of any suitable object or annex on contact panel 831 such as finger, stylus), and according to advance
The formula of setting drives corresponding connection mobile terminal.Optionally, contact panel 831 may include touch detection mobile terminal and touch
Touch two parts of controller.Wherein, touch detection mobile terminal detects the touch orientation of user, and detects what touch operation brought
Signal, transmits a signal to touch controller;Touch controller receives touch information from touch detection mobile terminal, and by it
Contact coordinate is converted into, then gives the processor 850, and the order sent of receiving processor 850 can be performed.Additionally,
Contact panel 831 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch surface
Plate 831, input block 830 can also include other input equipments 832, and other input equipments 832 can include but is not limited to thing
One kind or many in reason keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Kind.
Wherein, display unit 840 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal 800.Display unit 840 may include display floater 841, optionally, can adopt LCD or organic
The forms such as optical diode (Organic Light-Emitting Diode, OLED) are configuring display floater 841.
It should be noted that contact panel 831 can cover display floater 841, touch display screen is formed, when the touch display screen is examined
Measure thereon or after neighbouring touch operation, processor 850 is sent to determine the type of touch event, with preprocessor
850 provide corresponding visual output in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area be used for show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..The touch-screen of the embodiment of the present invention is soft
Property screen, organic nesa coating of CNT is posted in two faces of flexible screen.
Wherein processor 850 is the control centre of mobile terminal 800, using various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module being stored in first memory 821, and call storage
Data in second memory 822, perform the various functions and processing data of mobile terminal 800, so as to mobile terminal 800
Carry out integral monitoring.Optionally, processor 850 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/
Or the data in the second memory 822, processor 850 is used for:
Whether the touch-screen of detection mobile terminal meets the touch exceptional condition for touching area more than preset area;Detection connects
Whether the reception amount of the infrared light of the mobile terminal transmitting for receiving meets the reception exceptional condition more than default conventional receiver amount;If
The touch-screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition, determines the movement
Terminal is in water.
Optionally, processor 850 is additionally operable to:
Whether the default contact on detection mobile terminal turns on, wherein, the default contact is arranged at the mobile terminal
On back shell;If the default contact conducting on the mobile terminal, if performing the touch-screen, to meet the touch different
Normal condition, and the reception amount meets the reception exceptional condition, determines step of the mobile terminal in water.
Optionally, processor 850 is additionally operable to:
From on mobile terminal, default first contact sends a detection signal;Judge default second on the mobile terminal
Whether contact receives the signal;If second contact receives the detection signal, confirm pre- on mobile terminal
If contact turns on.
Optionally, processor 850 is additionally operable to:
Detect the quantity of the touch point that electric capacity changes in the same time on the touch-screen of the mobile terminal;Based on inspection
The quantity for measuring, the quantity and predetermined threshold value are compared;If the quantity is more than predetermined threshold value, the shifting is determined
The touch-screen of dynamic terminal meets the touch exceptional condition for touching area more than preset area.
Optionally, processor 850 is additionally operable to:
Default underwater mode is opened, to protect the mobile terminal;Prompting is sent to user, move described in user with being reminded
Terminal is in water.
Mobile terminal 800 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here
Repeat no more.
Mobile terminal provided in an embodiment of the present invention, detects whether the touch-screen of mobile terminal meets touch area more than pre-
If the touch exceptional condition of area;Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received is met more than default
The reception exceptional condition of conventional receiver amount;If the touch-screen meets the touch exceptional condition, and the reception amount meets institute
Reception exceptional condition is stated, determines the mobile terminal in water.So mobile terminal can be according to the detection touch-screen of itself
It is whether abnormal with the presence or absence of the reception amount for touching infrared light that is abnormal and receiving, independently to judge whether in water, need not
User's manual detection, without the need for labor intensive, is conducive to improving Consumer's Experience.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding
The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through other
Mode is realized.For example, device embodiment described above is only schematic, and for example, the division of the unit is only
A kind of division of logic function, can have when actually realizing other dividing mode, such as multiple units or component can with reference to or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of detection method, is applied to mobile terminal, it is characterised in that include:
Whether the touch-screen of detection mobile terminal meets the touch exceptional condition for touching area more than preset area;
Whether the reception amount of the infrared light of the mobile terminal transmitting that detection is received meets the reception more than default conventional receiver amount
Exceptional condition;
If the touch-screen meets the touch exceptional condition, and the reception amount meets the reception exceptional condition, determines institute
State mobile terminal to be in water.
2. detection method as claimed in claim 1, it is characterised in that if the touch-screen meet it is described touch it is abnormal
Condition, and the reception amount meets the reception exceptional condition, it is before determining the step that the mobile terminal is in water, described
Detection method includes:
Whether the default contact on detection mobile terminal turns on, wherein, the default contact is arranged at the mobile terminal back
On housing;
If the default contact conducting on the mobile terminal, if performing the touch-screen meets the touch exceptional condition,
And the reception amount meets the reception exceptional condition, step of the mobile terminal in water is determined.
3. detection method as claimed in claim 2, it is characterised in that whether lead the default contact on the detection mobile terminal
It is logical, wherein, the default contact is arranged at the step on the mobile terminal back shell, including:
From on mobile terminal, default first contact sends a detection signal;
Judge whether default second contact receives the signal on the mobile terminal;
If second contact receives the detection signal, the default contact conducting on mobile terminal is confirmed.
4. detection method as claimed in claim 1, it is characterised in that whether the touch-screen of the detection mobile terminal meets tactile
Touch area more than preset area touch exceptional condition the step of, including:
Detect the quantity of the touch point that electric capacity changes in the same time on the touch-screen of the mobile terminal;
Based on the quantity for detecting, the quantity and predetermined threshold value are compared;
If the quantity is more than predetermined threshold value, determine that the touch-screen of the mobile terminal meets and area is touched more than preset area
Touch exceptional condition.
5. the detection method as any one of claim 1-4, it is characterised in that determine at the mobile terminal described
After the step of Yu Shuizhong, the detection method includes:
Default underwater mode is opened, to protect the mobile terminal;
Prompting is sent to user, to remind mobile terminal described in user to be in water.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
First detection module, for detecting it is different more than the touch of preset area whether the touch-screen of mobile terminal meets touch area
Normal condition;
Second detection module, for detecting whether the reception amount of the infrared light of the mobile terminal for receiving transmitting is met more than default
The reception exceptional condition of conventional receiver amount;
Determining module, if the touch exceptional condition is met for the touch-screen, and the reception amount meets and described receives different
Often condition, determines the mobile terminal in water.
7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal includes:
Whether the 3rd detection module, the default contact for detecting on mobile terminal turn on, wherein, the default contact is arranged at
On the mobile terminal back shell;
First performing module, if for the default contact conducting on the mobile terminal, if perform the touch-screen meeting
The touch exceptional condition, and the reception amount meets the reception exceptional condition, determines the mobile terminal in water
Step.
8. mobile terminal as claimed in claim 7, it is characterised in that the 3rd detection module includes:
Transmitter unit, sends a detection signal for default first contact from mobile terminal;
Judging unit, for judging whether default second contact receives the signal on the mobile terminal;
Confirmation unit, if receiving the detection signal for second contact, confirms the default contact on mobile terminal
Conducting.
9. mobile terminal as claimed in claim 6, it is characterised in that the first detection module includes:
Detector unit, for detecting the number of the touch point that electric capacity changes in the same time on the touch-screen of the mobile terminal
Amount;
Comparing unit, for based on the quantity for detecting, the quantity and predetermined threshold value being compared;
Determining unit, if being more than predetermined threshold value for the quantity, determines that the touch-screen of the mobile terminal meets and touches area
More than the touch exceptional condition of preset area.
10. the mobile terminal as any one of claim 6-9, it is characterised in that the mobile terminal includes:
Starting module, for opening default underwater mode, to protect the mobile terminal;
Prompting module, for prompting is sent to user, to remind mobile terminal described in user to be in water.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610967530.2A CN106527802A (en) | 2016-10-31 | 2016-10-31 | Detection method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610967530.2A CN106527802A (en) | 2016-10-31 | 2016-10-31 | Detection method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106527802A true CN106527802A (en) | 2017-03-22 |
Family
ID=58325859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610967530.2A Pending CN106527802A (en) | 2016-10-31 | 2016-10-31 | Detection method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106527802A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107255932A (en) * | 2017-08-08 | 2017-10-17 | 深圳市崧森智能科技有限公司 | A kind of triggering device and preparation method applied to intelligent appliance |
CN107607481A (en) * | 2017-08-31 | 2018-01-19 | 维沃移动通信有限公司 | A kind of computational methods and mobile terminal of cooking time information |
CN107643549A (en) * | 2017-10-13 | 2018-01-30 | 国电大渡河流域水电开发有限公司龚嘴水力发电总厂 | Contactless generating set air gap foreign matter on-line checking alarm structure and alarm method |
CN107692998A (en) * | 2017-11-09 | 2018-02-16 | 广东小天才科技有限公司 | One kind is paddled alarm method and wrist wearable device |
CN111352529A (en) * | 2020-02-20 | 2020-06-30 | Oppo(重庆)智能科技有限公司 | Method, device, terminal and storage medium for reporting touch event |
US11036335B2 (en) * | 2019-08-19 | 2021-06-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Method, apparatus and storage medium for calibrating capacitive touch module |
CN112099666B (en) * | 2020-09-10 | 2024-03-29 | 深圳市科航科技发展有限公司 | Touch control method, system, terminal and storage medium applied to capacitive screen |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167063A (en) * | 2011-12-15 | 2013-06-19 | 深圳富泰宏精密工业有限公司 | Automatic protective system and method for watered mobile phone |
CN104217181A (en) * | 2013-06-05 | 2014-12-17 | 维沃移动通信有限公司 | Intelligent waterproof method and system for mobile handheld device |
CN104580654A (en) * | 2013-10-09 | 2015-04-29 | 中兴通讯股份有限公司 | A terminal and an electronic waterproof method |
CN105100486A (en) * | 2015-08-03 | 2015-11-25 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal based water inlet protective treatment method and system and mobile terminal |
-
2016
- 2016-10-31 CN CN201610967530.2A patent/CN106527802A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167063A (en) * | 2011-12-15 | 2013-06-19 | 深圳富泰宏精密工业有限公司 | Automatic protective system and method for watered mobile phone |
CN104217181A (en) * | 2013-06-05 | 2014-12-17 | 维沃移动通信有限公司 | Intelligent waterproof method and system for mobile handheld device |
CN104580654A (en) * | 2013-10-09 | 2015-04-29 | 中兴通讯股份有限公司 | A terminal and an electronic waterproof method |
CN105100486A (en) * | 2015-08-03 | 2015-11-25 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal based water inlet protective treatment method and system and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107255932A (en) * | 2017-08-08 | 2017-10-17 | 深圳市崧森智能科技有限公司 | A kind of triggering device and preparation method applied to intelligent appliance |
CN107607481A (en) * | 2017-08-31 | 2018-01-19 | 维沃移动通信有限公司 | A kind of computational methods and mobile terminal of cooking time information |
CN107643549A (en) * | 2017-10-13 | 2018-01-30 | 国电大渡河流域水电开发有限公司龚嘴水力发电总厂 | Contactless generating set air gap foreign matter on-line checking alarm structure and alarm method |
CN107643549B (en) * | 2017-10-13 | 2024-03-01 | 国能大渡河流域水电开发有限公司龚嘴水力发电总厂 | Non-contact type generator set air gap foreign matter on-line detection alarm structure and alarm method |
CN107692998A (en) * | 2017-11-09 | 2018-02-16 | 广东小天才科技有限公司 | One kind is paddled alarm method and wrist wearable device |
US11036335B2 (en) * | 2019-08-19 | 2021-06-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Method, apparatus and storage medium for calibrating capacitive touch module |
CN111352529A (en) * | 2020-02-20 | 2020-06-30 | Oppo(重庆)智能科技有限公司 | Method, device, terminal and storage medium for reporting touch event |
CN111352529B (en) * | 2020-02-20 | 2022-11-08 | Oppo(重庆)智能科技有限公司 | Method, device, terminal and storage medium for reporting touch event |
CN112099666B (en) * | 2020-09-10 | 2024-03-29 | 深圳市科航科技发展有限公司 | Touch control method, system, terminal and storage medium applied to capacitive screen |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106527802A (en) | Detection method and mobile terminal | |
CN106557240A (en) | A kind of detection method and mobile terminal | |
CN106301604A (en) | A kind of radio frequency path detection method and mobile terminal | |
CN105898705A (en) | Method for controlling scanning frequency of wireless local area network and mobile terminal | |
CN106445495A (en) | Application program interface display method and mobile terminal | |
CN106484303A (en) | A kind of method preventing maloperation and electronic equipment | |
CN107506111A (en) | The encryption and decryption method and terminal of a kind of terminal applies | |
CN107450773A (en) | A kind of false-touch prevention method, terminal and computer-readable recording medium | |
CN106325753A (en) | Payment interface display method and mobile terminal | |
CN106383634A (en) | Picture processing method and electronic equipment | |
CN106445235A (en) | Touch starting position identification method and mobile terminal | |
CN107506130A (en) | A kind of word delet method and mobile terminal | |
CN107450799A (en) | The display methods and mobile terminal of a kind of message | |
CN106557259A (en) | A kind of operational approach and mobile terminal of mobile terminal | |
CN107390854A (en) | A kind of fingerprint detection open method and electronic equipment | |
CN106843885A (en) | The method of controlling operation thereof and mobile terminal of a kind of mobile terminal | |
WO2018192391A1 (en) | Unlocking method and mobile terminal | |
CN108268403A (en) | A kind of Type-C interface protective circuits and method, mobile terminal | |
CN105824524A (en) | Method for starting application program and mobile terminal | |
CN106803844A (en) | A kind of lamp light control method and mobile terminal | |
CN106502567A (en) | A kind of screenshot method and mobile terminal | |
CN107003758A (en) | ghost point processing method and user equipment | |
CN106527850A (en) | Message display method and mobile terminal | |
CN106650406A (en) | Data processing method, mobile terminal and target terminal | |
CN107145776A (en) | A kind of method for secret protection and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |