CN104866136A - Terminal operation mode determining method and apparatus - Google Patents

Terminal operation mode determining method and apparatus Download PDF

Info

Publication number
CN104866136A
CN104866136A CN201510236061.2A CN201510236061A CN104866136A CN 104866136 A CN104866136 A CN 104866136A CN 201510236061 A CN201510236061 A CN 201510236061A CN 104866136 A CN104866136 A CN 104866136A
Authority
CN
China
Prior art keywords
touch screen
contact
operator scheme
screen district
border touch
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.)
Granted
Application number
CN201510236061.2A
Other languages
Chinese (zh)
Other versions
CN104866136B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510236061.2A priority Critical patent/CN104866136B/en
Publication of CN104866136A publication Critical patent/CN104866136A/en
Application granted granted Critical
Publication of CN104866136B publication Critical patent/CN104866136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention discloses a terminal operation mode determining method and apparatus, and belongs to the technical field of touch screen operation. The process comprises the following steps of: detecting contacts in a left bezel touch screen region and a right bezel touch screen region of a terminal; calculating the number and area of the contacts in the left bezel touch screen region and the right frame touch screen region; determining a current operation mode according to a calculation result; and receiving a confirmation instruction of the operation mode. The method and apparatus provided by the present invention can be used to determine the terminal operation mode, thereby significantly saving resources of a terminal.

Description

A kind of method and device determining terminal operating mode
Technical field
The present invention relates to contact action technical field, particularly relate to a kind of method and the device of determining terminal operating mode.
Background technology
Mobile terminal with touch-screen has become an indispensable part in people's life because it is easy to use, as touch-screen mobile phone, touch-screen reader, touch-screen camera etc.Different users uses operating habit during mobile terminal different, some user habit one-handed performance, such as to go forward side by side line operate with the right hand or left-handed mobile terminal, or hands grasping mobile terminal operates, in order to be suitable for various operating habit, prior art first judges the gripping pattern of mobile terminal usually, and then different according to different gripping model selections touch screen display modes shows, thus facilitates user to operate.But prior art judges the general all more complicated of the process of the gripping pattern of mobile terminal, often takies the ample resources of mobile terminal, the travelling speed of influential system, and easily occurs wrongheaded situation.
Summary of the invention
Fundamental purpose of the present invention is to propose a kind of method and device determining terminal operating mode, and the deterministic process being intended to solve prior art terminal operating mode is complicated, takies the defect that resource is too much.
For achieving the above object, a kind of method determining terminal operating mode provided by the invention, described method comprises step:
The left border touch screen district of sense terminals and the contact in Right Border touch screen district;
Calculate quantity and the area of the contact in described left border touch screen district and described Right Border touch screen district;
Current operator scheme is determined according to result of calculation;
Receive the confirmation instruction of described operator scheme.。
There is provided a kind of method as above, described method also comprises:
According to current operator scheme, call the display mode corresponding with described operator scheme.
There is provided a kind of method as above, described method also comprises:
When detecting that operator scheme changes, current display mode is switched to change after display mode corresponding to operator scheme.
A kind of method as above is provided, determines current operator scheme according to result of calculation, comprising:
When the quantity of the contact in described left border touch screen district is greater than the quantity of the contact in described Right Border touch screen district and the area of each contact in described left border touch screen district is all less than the area of the contact in described Right Border touch screen district, determine that current mode is right-handed mode;
When the quantity of the contact in described Right Border touch screen district is greater than the quantity of the contact in described left border touch screen district and the area of each contact in described Right Border touch screen district is all less than the contact area in described left border touch screen district, determine that current mode is left-handed mode;
Otherwise, determine that current mode is non-singlehanded pattern.
There is provided a kind of method as above, before described reception operator scheme confirms instruction, method also comprises:
Prompting user confirms current operator scheme.
In addition, for achieving the above object, the present invention also proposes a kind of device determining terminal operating mode, and described device comprises:
Detecting unit, for the left border touch screen district of sense terminals and the contact in Right Border touch screen district;
Computing unit, for calculating quantity and the area of the contact in described left border touch screen district and described Right Border touch screen district;
Pattern determining unit, for determining current operator scheme according to the result of calculation of described computing unit;
Receiving element, for receiving the confirmation instruction of described operator scheme.
There is provided a kind of device as above, described device also comprises:
Display unit, for according to current operator scheme, calls the display mode corresponding with described operator scheme.
There is provided a kind of as above device, described display unit, also for when detecting that operator scheme changes, current display mode is switched to change after display mode corresponding to operator scheme.
A kind of device as above is provided, described pattern determining unit, for determining that current operator scheme comprises according to the result of calculation of described computing unit: when the quantity of the contact in described left border touch screen district is greater than the quantity of the contact in described Right Border touch screen district and the area of each contact in described left border touch screen district is all less than the area of the contact in described Right Border touch screen district, determine that current mode is right-handed mode, when the quantity of the contact in described Right Border touch screen district is greater than the quantity of the contact in described left border touch screen district and the area of each contact in described Right Border touch screen district is all less than the contact area in described left border touch screen district, determine that current mode is left-handed mode, otherwise, determine that current mode is non-singlehanded pattern.
There is provided a kind of device as above, described device also comprises:
Tip element, before confirming instruction in reception operator scheme, prompting user confirms current operator scheme.
The method of the determination terminal operating mode that the present invention proposes and device, only need detect the contact in left border touch screen district and Right Border touch screen district, then just current operator scheme can be determined according to the quantity of the contact in left border touch screen district and Right Border touch screen district and area, deterministic process is very simple, save the resource of terminal greatly, and, after determining current mode, can according to current operator scheme adjustment display mode, and before calling different display modes, again can be confirmed operator scheme by user, not only have followed the wish of user, and the inconvenience avoided because operator scheme misjudgment brings to user.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
A kind of process flow diagram determining the method for terminal operating mode that Fig. 3 provides for first embodiment of the invention;
Fig. 4 is touch-control reporting events process flow diagram in method shown in Fig. 3;
Fig. 5 is a kind of in method shown in Fig. 3 schematic diagram of special subregion
The division schematic diagram that Fig. 6 is left border touch screen district in method shown in Fig. 3 and Right Border touch screen district;
Fig. 7 determines the process flow diagram of the method for terminal operating mode for another kind that second embodiment of the invention provides;
Fig. 8 is right-handed mode schematic diagram in second embodiment of the invention;
Fig. 9 is left-handed mode schematic diagram in second embodiment of the invention;
Figure 10 is non-singlehanded pattern diagram in second embodiment of the invention;
A kind of module diagram determining the device of terminal operating mode that Figure 11 provides for third embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180 and power supply unit 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the wireless communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO @) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in storer 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (GPS).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating position and temporal information uses three satellites and by using the error of the position that goes out of an other satellite correction calculation and temporal information.In addition, GPS module 115 can carry out computing velocity information by Continuous plus current location information in real time.
A/V input block 120 is for audio reception or vision signal.A/V input block 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in storer 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of sound signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power supply unit 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other coupling arrangement.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, sound signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, mobile terminal 100 can comprise two or more display units (or other display device), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in storer 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loudspeaker, hummer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other calling communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrate) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Storer 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, storer 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of sound signal.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power supply unit 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such embodiment can be implemented in controller 180.For implement software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or Physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA) (TDMA), CDMA (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several GPS (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
As shown in Figure 3, first embodiment of the invention proposes a kind of method determining terminal operating mode, comprising:
The left border touch screen district of S310, sense terminals and the contact in Right Border touch screen district.
In practical application, the touch-screen of terminal can be divided into two subregions, and distribute an input equipment for each subregion, a subregion in these two subregions is special subregion, and the point that system Ke Duigai district reports carries out special processing.Concrete methods of realizing comprises the steps:
When touch screen drives initialization, two region allocation, two input equipments are respectively by input_allocate_device (), and register two input equipments by input_register_device (), two regions comprise a special subregion;
Receive touch control operation, when this touch control operation is in this special subregion, report this touch control operation by the input equipment corresponding to this special subregion;
Special processing is carried out to this touch control operation.
In practical application, at the interface driving this special subregion of layer setting and modifying, this special subregion can also be revised on upper strata by this interface.
It should be noted that, the upper strata that the present invention is somebody's turn to do is often referred to framework (Framework) layer, application layer etc., in the system of mobile terminal, such as android, the custom-built systems such as IOS, generally include bottom (Physical layer, drive layer) and upper strata (ccf layer, application layer), the trend of signal stream is: Physical layer (contact panel) receives the touch control operation of user, physical depression changes electric signal TP into, TP is passed to driving layer, the position of layer to pressing is driven to resolve, obtain the concrete coordinate of location point, duration, pressure and other parameters, this parameter is uploaded to ccf layer, ccf layer realizes by corresponding interface to driving the communication of layer, ccf layer receives the input equipment (input) driving layer, resolve this input equipment, thus Response to selection or do not respond this input equipment, and upwards pass to which application concrete by effectively inputting, different application operatings is performed according to different events to meet application layer.
Concrete touch-control reporting events flow process, refers to Fig. 4.
Drive layer by physical hardware as touch-screen receives touch-control event, and judge that touch control operation occurs in A district or C district, and by A district or C district device file node reported event.Native floor reads event from the device file in A district, C district, and processes the event in A district, C district, as coordinate calculates, is distinguished, finally distribute A district and C district event respectively by the event of device id to A, C district.Wherein A district event walks primary flow process, processes, that is, processed by multichannel mechanism by common mode to A district event; C district event then distributes from the C district designated lane being registered to Native floor in advance, inputted by Native port, system port exports the event ends with system service of C district to, monitor C district event by audiomonitor (listener), then report to each application by C district event reception external interface.The present invention utilizes the driving layer identification code of mobile terminal just can realize freely customizing of anti-error contact area and special subregion, therefore the realization of technical solution of the present invention is in driving layer but not in firmware, this makes the Software for Design of equipment break away from the constraint of touch screen IC supplier, realize more flexible, cost is lower.
In practical application, also can carry out freely customizing and adjusting according to the parameters such as the quantity to special subregion, position, size that need on upper strata.Namely special subregion of the present invention is not changeless, but can ensue change along with the switching of display interface or application, comprises the change of quantity, position and size.
Special subregion is preferably rectangular, can certainly be set to other shape as required, as half ellipse etc.When special subregion is rectangle, can be Set_zone (id, X0, Y0, X1, Y1) at driving layer setting interface.Wherein, as shown in Figure 5, (X0, Y0) and (X1, Y1) is respectively the coordinate of special subregion 20 two pairs of angular vertexs, and two determine position and the size of this rectangle to the coordinate of angular vertex.Position and the size that can layer or upper strata driven to revise special subregion 20; Id represents the sequence number of special subregion, can be adjusted the quantity of special subregion by this sequence number.
As shown in Figure 6, when special subregion is divided in the bezel locations of touch-screen, i.e. C leftand C rightdistrict, this special subregion just becomes frame touch screen district, and whole touch-screen center section is A district.For the terminal of Rimless or narrow frame, can mark off a region at touch-screen edge, this region becomes virtual frame touch screen district.In figure, stain represents the contact in frame touch screen district,
S320, the quantity calculating the contact in this left border touch screen district and this Right Border touch screen district and area.
S330, determine current operator scheme according to result of calculation.
Concrete, determine that current operator scheme comprises according to result of calculation: when the quantity of the contact in this left border touch screen district is greater than the quantity of the contact in this Right Border touch screen district and the area of each contact in this left border touch screen district is all less than the area of the contact in this Right Border touch screen district, determine that current mode is right-handed mode;
When the quantity of the contact in this Right Border touch screen district is greater than the quantity of the contact in this left border touch screen district and the area of each contact in this Right Border touch screen district is all less than the contact area in this left border touch screen district, determine that current mode is left-handed mode;
Otherwise, determine that current mode is non-singlehanded pattern.
S340, receive the confirmation instruction of this operator scheme.
Concrete, after confirming current operator scheme according to result of calculation, by the confirmation instruction of user's input operation pattern again, the erroneous judgement to operator scheme can be prevented.
Further, in a preferred scheme, the method also comprises:
According to current operator scheme, call the display mode corresponding with this operator scheme.
Further, in a preferred scheme, the method also comprises:
When detecting that operator scheme changes, current display mode is switched to change after display mode corresponding to operator scheme.
This this this further, in a preferred scheme, before this reception operator scheme confirms instruction, method also comprises:
Prompting user confirms current operator scheme.
The method of the determination terminal operating mode of the present embodiment, only need detect the contact in left border touch screen district and Right Border touch screen district, then just current operator scheme can be determined according to the quantity of the contact in left border touch screen district and Right Border touch screen district and area, deterministic process is very simple, save the resource of terminal greatly, and, after determining current mode, the erroneous judgement that may occur can be got rid of according to the confirmation instruction of the operator scheme received, so when according to current operator scheme adjustment display mode, again can be confirmed operator scheme by user, not only have followed the wish of user, and the inconvenience avoided because operator scheme misjudgment brings to user.
On the basis of above-described embodiment, second embodiment of the invention provides the method that another kind determines terminal operating mode, refers to Fig. 7, and the present embodiment corresponds to example with current display mode and non-singlehanded pattern and is described, and method flow comprises:
The contact in S710, sense terminals left border touch screen district and Right Border touch screen district.
S720, the quantity calculating the contact in this left border touch screen district and this Right Border touch screen district and area.
S730, judge that the quantity of the contact in left border touch screen district is greater than the quantity of the contact in this Right Border touch screen district, and the area of each contact in left border touch screen district is all less than the area of the contact in this Right Border touch screen district, if so, perform step S731, otherwise, perform step S740;
In practical application, when user's one-handed performance, usually adopt four finger holding mobile phones, operate touch-screen with thumb, now thumb refers to that root place is separated with side.Refer to Fig. 8, when user grips terminal with the right hand, can detect that left border touch screen district will detect four contacts, and Right Border touch screen can detect a contact, and the area of the contact in left side is all little than the area of the contact on right side, now can think that current operator scheme is right-handed mode.
S731, judge whether to receive operator scheme and confirm instruction, if receive operator scheme to confirm instruction, perform step S732.
This step is anti-erroneous judgement operation.In practical application, after determining current operator scheme, can by ejecting prompted dialog frame or pointing out user to confirm current operator scheme by modes such as voice messages.User is when confirming, can confirm instruction by the validation testing input operation pattern preset, such as length was by volume enlargement key two seconds or click the acknowledgement key etc. that prompting is dialog box.Certainly, also can cancel operator scheme by the validation testing input preset and cancel instruction.
S732, call the display mode corresponding with right-handed mode.
Refer to Fig. 8, when determining that current mode is right-handed mode, the display mode corresponding with right-handed mode will be called: be presented at by the operation interface breviary being convenient to right-hand operated near right touch-screen lower right place (i.e. the zone of action of hand thumb).
It should be noted that, in practical application, only just need not call or switch the display mode corresponding with current mode to time corresponding at current mode with display mode.
S740, judge whether the quantity of the contact in Right Border touch screen district is greater than the quantity of the contact in this left border touch screen district, and whether the area of each contact in Right Border touch screen district is all less than the area of the contact in this left border touch screen district, if so, step S741 is performed.
Refer to Fig. 9, when user grips terminal with the right hand, can detect that left border touch screen district will detect four contacts, and Right Border touch screen can detect a contact, and the area of the contact in left side is all little than the area of the contact on right side, now determine that current operator scheme is right-handed mode.
S741, judge whether to receive operator scheme and confirm instruction, if receive operator scheme to confirm instruction, perform step S742.
S742, call the display mode corresponding with left-handed mode.
Refer to Fig. 9, when determining that current mode is right-handed mode, the display mode corresponding with left-handed mode will be called: be presented at by the operation interface breviary being convenient to left-handed operation near left touch-screen lower right place (i.e. the zone of action of left hand thumb).
In practical application, the operator scheme of real-time monitoring terminal whether can change, when terminal operating mode becomes non-singlehanded pattern from left-handed mode or right-handed mode, then can continue to perform following steps:
Judge whether that receiving operator scheme confirms instruction;
If receive operator scheme to confirm instruction, then call the display mode corresponding with right-handed mode.
Refer to Figure 10, when user's hands grasping terminal, can detect that left border touch screen district and Right Border touch screen district all only have a contact, namely not meet the condition for right-handed mode, do not meet the condition of left-handed mode, now then think that user has exited singlehanded operator scheme yet.It should be noted that, when terminal is placed in the certain situation such as desktop or special support, also there will be the condition not meeting one-handed performance, for convenience, non-one-hand operating format is referred to as non-singlehanded pattern by the present invention.
When determining that current mode is non-singlehanded pattern, then full screen display operation interface.
In practical application, if when detecting that operator scheme becomes non-singlehanded pattern from left-handed mode or right-handed mode, directly current operation interface can be switched to full screen display.
The method of the determination terminal operating mode of the present embodiment, only need detect the contact in left border touch screen district and Right Border touch screen district, then just current operator scheme can be determined according to the quantity of the contact in left border touch screen district and Right Border touch screen district and area, deterministic process is very simple, saves the resource of terminal greatly.After determining current mode, can switch between different display modes according to current operator scheme, before calling different display modes, again can be confirmed operator scheme by user, not only have followed the wish of user, and avoid the inconvenience because operator scheme misjudgment brings to user.
On the basis of above-described embodiment, the present invention further provides a kind of device determining terminal operating mode, with reference to Figure 11, this device comprises:
Detecting unit 1101, for the left border touch screen district of sense terminals and the contact in Right Border touch screen district;
Computing unit 1102, for calculating quantity and the area of the contact in this left border touch screen district and this Right Border touch screen district;
Pattern determining unit 1103, for determining current operator scheme according to the result of calculation of this computing unit 1102, comprise: when the quantity of the contact in this left border touch screen district is greater than the quantity of the contact in this Right Border touch screen district and the area of each contact in this left border touch screen district is all less than the area of the contact in this Right Border touch screen district, determine that current mode is right-handed mode, when the quantity of the contact in this Right Border touch screen district is greater than the quantity of the contact in this left border touch screen district and the area of each contact in this Right Border touch screen district is all less than the contact area in this left border touch screen district, determine that current mode is left-handed mode, otherwise, determine that current mode is non-singlehanded pattern.
Receiving element 1105, confirms instruction for receiving operator scheme.Further, in a preferred scheme, this device also comprises: display unit 1104, for according to current operator scheme, calls the display mode corresponding with this operator scheme.
Further, in a preferred scheme, display unit 1104, also for when detecting that operator scheme changes, current display mode is switched to change after display mode corresponding to operator scheme.
This this further, in a preferred scheme, this device also comprises: Tip element 1106, and before confirming instruction in reception operator scheme, prompting user confirms current operator scheme.
The device of the determination terminal operating mode of the present embodiment, detecting unit only need detect the contact in left border touch screen district and Right Border touch screen district, quantity and the area of the left border touch screen district then calculated according to computing unit by pattern determining unit and the contact in Right Border touch screen district just can determine current operator scheme, deterministic process is very simple, saves the resource of terminal greatly.After determining current mode, display unit can switch between different display modes according to current operator scheme, and before calling different display modes, again can be confirmed operator scheme by user, not only have followed the wish of user, and avoid the inconvenience because operator scheme misjudgment brings to user.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. determine a method for terminal operating mode, it is characterized in that, described method comprises step:
The left border touch screen district of sense terminals and the contact in Right Border touch screen district;
Calculate quantity and the area of the contact in described left border touch screen district and described Right Border touch screen district;
Current operator scheme is determined according to result of calculation;
Receive the confirmation instruction of described operator scheme.
2. method according to claim 1, is characterized in that, described method also comprises:
According to current operator scheme, call the display mode corresponding with described operator scheme.
3. method according to claim 1 and 2, is characterized in that, described method also comprises:
When detecting that operator scheme changes, current display mode is switched to change after display mode corresponding to operator scheme.
4. method according to claim 3, is characterized in that, describedly determines current operator scheme according to result of calculation, comprising:
When the quantity of the contact in described left border touch screen district is greater than the quantity of the contact in described Right Border touch screen district and the area of each contact in described left border touch screen district is all less than the area of the contact in described Right Border touch screen district, determine that current mode is right-handed mode;
When the quantity of the contact in described Right Border touch screen district is greater than the quantity of the contact in described left border touch screen district and the area of each contact in described Right Border touch screen district is all less than the contact area in described left border touch screen district, determine that current mode is left-handed mode;
Otherwise, determine that current mode is non-singlehanded pattern.
5. method according to claim 4, is characterized in that, before described reception operator scheme confirms instruction, method also comprises:
Prompting user confirms current operator scheme.
6. determine a device for terminal operating mode, it is characterized in that, described device comprises:
Detecting unit, for the left border touch screen district of sense terminals and the contact in Right Border touch screen district;
Computing unit, for calculating quantity and the area of the contact in described left border touch screen district and described Right Border touch screen district;
Pattern determining unit, for determining current operator scheme according to the result of calculation of described computing unit;
Receiving element, for receiving the confirmation instruction of described operator scheme.
7. device according to claim 6, is characterized in that, described device also comprises:
Display unit, for according to current operator scheme, calls the display mode corresponding with described operator scheme.
8. the device according to claim 6 or 7, is characterized in that, described display unit, also for when detecting that operator scheme changes, current display mode is switched to change after display mode corresponding to operator scheme.
9. device according to claim 8, it is characterized in that, described pattern determining unit, for determining that current operator scheme comprises according to the result of calculation of described computing unit: when the quantity of the contact in described left border touch screen district is greater than the quantity of the contact in described Right Border touch screen district and the area of each contact in described left border touch screen district is all less than the area of the contact in described Right Border touch screen district, determine that current mode is right-handed mode, when the quantity of the contact in described Right Border touch screen district is greater than the quantity of the contact in described left border touch screen district and the area of each contact in described Right Border touch screen district is all less than the contact area in described left border touch screen district, determine that current mode is left-handed mode, otherwise, determine that current mode is non-singlehanded pattern.
10. device according to claim 9, is characterized in that, described device also comprises:
Tip element, before confirming instruction in reception operator scheme, prompting user confirms current operator scheme.
CN201510236061.2A 2015-05-11 2015-05-11 A kind of method and device of determining terminal operating mode Active CN104866136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510236061.2A CN104866136B (en) 2015-05-11 2015-05-11 A kind of method and device of determining terminal operating mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510236061.2A CN104866136B (en) 2015-05-11 2015-05-11 A kind of method and device of determining terminal operating mode

Publications (2)

Publication Number Publication Date
CN104866136A true CN104866136A (en) 2015-08-26
CN104866136B CN104866136B (en) 2019-02-15

Family

ID=53912010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510236061.2A Active CN104866136B (en) 2015-05-11 2015-05-11 A kind of method and device of determining terminal operating mode

Country Status (1)

Country Link
CN (1) CN104866136B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700882A (en) * 2016-01-12 2016-06-22 北京小米移动软件有限公司 Terminal control method and apparatus
CN105930004A (en) * 2016-04-22 2016-09-07 广东欧珀移动通信有限公司 Terminal-use mode recognition method and apparatus
CN106445351A (en) * 2016-11-19 2017-02-22 奇酷互联网络科技(深圳)有限公司 Interface control method and device
CN107800177A (en) * 2017-12-07 2018-03-13 奇酷互联网络科技(深圳)有限公司 Charge switching method, device, readable storage medium storing program for executing and mobile terminal
CN108271416A (en) * 2016-10-31 2018-07-10 深圳市汇顶科技股份有限公司 Hand-held pose detection method, capacitance touch-control device and electronic equipment
CN108803998A (en) * 2017-04-28 2018-11-13 国基电子(上海)有限公司 Handheld device and its operation interface control method
CN110351424A (en) * 2019-05-30 2019-10-18 华为技术有限公司 Gesture interaction method and terminal
CN111124100A (en) * 2019-12-17 2020-05-08 上海摩软通讯技术有限公司 Message response method of curved screen, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101601262A (en) * 2007-01-12 2009-12-09 诺基亚公司 The mobile communication terminal that comprises the motion sensor of the locking and unlocking user interface
CN101714055A (en) * 2008-10-06 2010-05-26 三星电子株式会社 Method and apparatus for displaying graphical user interface depending on a user's contact pattern
CN102473060A (en) * 2010-05-18 2012-05-23 松下电器产业株式会社 Coordinate determination device, coordinate determination method and coordinate determination program
CN103140822A (en) * 2010-10-13 2013-06-05 Nec卡西欧移动通信株式会社 Mobile terminal device and display method for touch panel in mobile terminal device
CN103917943A (en) * 2014-01-28 2014-07-09 华为终端有限公司 A terminal device treatment method and a terminal device
CN104216657A (en) * 2014-09-05 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and operating method thereof
CN104252292A (en) * 2014-08-29 2014-12-31 惠州Tcl移动通信有限公司 Display method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101601262A (en) * 2007-01-12 2009-12-09 诺基亚公司 The mobile communication terminal that comprises the motion sensor of the locking and unlocking user interface
CN101714055A (en) * 2008-10-06 2010-05-26 三星电子株式会社 Method and apparatus for displaying graphical user interface depending on a user's contact pattern
CN102473060A (en) * 2010-05-18 2012-05-23 松下电器产业株式会社 Coordinate determination device, coordinate determination method and coordinate determination program
CN103140822A (en) * 2010-10-13 2013-06-05 Nec卡西欧移动通信株式会社 Mobile terminal device and display method for touch panel in mobile terminal device
CN103917943A (en) * 2014-01-28 2014-07-09 华为终端有限公司 A terminal device treatment method and a terminal device
CN104252292A (en) * 2014-08-29 2014-12-31 惠州Tcl移动通信有限公司 Display method and mobile terminal
CN104216657A (en) * 2014-09-05 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and operating method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高剑林: "《Linux内核探秘 深入解析文件系统和设备驱动的架构与设计》", 30 January 2014, 机械工业出版社 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700882A (en) * 2016-01-12 2016-06-22 北京小米移动软件有限公司 Terminal control method and apparatus
CN105700882B (en) * 2016-01-12 2019-03-19 北京小米移动软件有限公司 Terminal control method and device
CN105930004A (en) * 2016-04-22 2016-09-07 广东欧珀移动通信有限公司 Terminal-use mode recognition method and apparatus
CN108271416A (en) * 2016-10-31 2018-07-10 深圳市汇顶科技股份有限公司 Hand-held pose detection method, capacitance touch-control device and electronic equipment
CN108271416B (en) * 2016-10-31 2021-09-10 深圳市汇顶科技股份有限公司 Handheld gesture detection method, capacitive touch device and electronic equipment
CN106445351A (en) * 2016-11-19 2017-02-22 奇酷互联网络科技(深圳)有限公司 Interface control method and device
CN108803998A (en) * 2017-04-28 2018-11-13 国基电子(上海)有限公司 Handheld device and its operation interface control method
CN107800177A (en) * 2017-12-07 2018-03-13 奇酷互联网络科技(深圳)有限公司 Charge switching method, device, readable storage medium storing program for executing and mobile terminal
CN110351424A (en) * 2019-05-30 2019-10-18 华为技术有限公司 Gesture interaction method and terminal
US11558500B2 (en) 2019-05-30 2023-01-17 Huawei Technologies Co., Ltd. Gesture interaction method and terminal
CN111124100A (en) * 2019-12-17 2020-05-08 上海摩软通讯技术有限公司 Message response method of curved screen, electronic device and storage medium

Also Published As

Publication number Publication date
CN104866136B (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN104866136A (en) Terminal operation mode determining method and apparatus
CN104731507A (en) Application switching method of mobile terminal and mobile terminal
CN104731510A (en) Method and device for displaying mobile terminal operation control in concentrated mode
CN104750417A (en) Frameless terminal application switching method and frameless terminal
CN104850259A (en) Combination operation method, combination operation apparatus, touch screen operating method and electronic device
CN104765543A (en) Audio playing parameter adjustment method and device
CN105260083A (en) Mobile terminal and method for realizing split screens
CN104869230A (en) Mobile terminal control method and apparatus
CN105389110A (en) Fast touch apparatus and method
CN104731339A (en) Holding mode recognition method and device for mobile terminal
CN104834463A (en) Holding recognition method and device of mobile terminal
CN104731483A (en) Method and terminal for fast adjusting set parameters
CN105487802A (en) Screen projection management method, device and system
CN104866135A (en) Method and device for inputting numeric characters through frame of touch screen
CN105094555A (en) Method and device for switching application program through swipe gesture
CN104731504A (en) Application control method and device based on border-free terminal
CN105262883A (en) Mobile terminal and volume adjusting method thereof
CN104778067A (en) Sound effect starting method and terminal equipment
CN104850349A (en) Page displaying method and apparatus
CN105117241A (en) Firmware upgrade method and apparatus
CN105094673A (en) Rapid starting method and apparatus for applications
CN104850343A (en) Method and device for starting one-hand operation mode
CN104898978A (en) Method and device for selecting application menu
CN104915127A (en) Touch key setting method and device, and mobile terminal
CN105141738A (en) Volume adjusting method and device

Legal Events

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