CN107102733A - A kind of electronic equipment touch-screen control method and device - Google Patents
A kind of electronic equipment touch-screen control method and device Download PDFInfo
- Publication number
- CN107102733A CN107102733A CN201710244408.7A CN201710244408A CN107102733A CN 107102733 A CN107102733 A CN 107102733A CN 201710244408 A CN201710244408 A CN 201710244408A CN 107102733 A CN107102733 A CN 107102733A
- Authority
- CN
- China
- Prior art keywords
- screen
- touch
- area
- pressed
- electronic equipment
- 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/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- 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
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- 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
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
Abstract
The invention discloses a kind of electronic equipment touch-screen control method and device, the electronic equipment includes the first touch-screen and the second touch-screen being oppositely arranged, and methods described includes:When first touch-screen and second touch-screen are active, judge whether first touch-screen and/or second touch-screen are pressed;When first touch-screen and/or second touch-screen are pressed, the area pressed of first touch-screen and/or the area pressed of second touch-screen are obtained;According to the feature of the area pressed of first touch-screen and/or the feature of the area pressed of second touch-screen, one in first touch-screen and second touch-screen is set to main screen, another is set to secondary screen.Judge by the way that whether the two sides touch-screen relative to electronic equipment is pressed, main screen can be determined according to the feature of area pressed in the case where there is pressing to touch-screen, effectively increase the accuracy rate of screens switch.
Description
Technical field
The present invention relates to human-computer interaction technique field, and in particular to a kind of electronic equipment touch-screen control method and device.
Background technology
With the further development of double-screen electronic equipment, people to main screen during double-screen electronic equipment use and
The intelligent switching demand more and more higher of secondary screen.For example, the one side of double-screen electronic equipment is general color screen, another side is ink
Water screen, or two-sided is color screen, how conveniently and efficiently to be worked as one of screens switch for user in use
The preceding screen used i.e. main screen, can be obviously improved usage experience of the user to double-screen electronic equipment.
During the use of existing double-screen electronic equipment, acceleration of gravity is generally depended merely in switching of the user to double screen
Count with gyroscope to judge, and complete the switching to main screen and secondary screen, but also there is certain blind area in this switching method.
For example, during the use of Dual-band Handy Phone, when picking up Dual-band Handy Phone in the case that user is in lie position or clinostatism posture,
Only by gravitational accelerometer or gyro sensor be difficult to accurately judge user it is currently used be which screen, no
The correct switching of main screen and secondary screen effectively can be quickly realized, causes user poor to the usage experience of Dual-band Handy Phone.
The content of the invention
In view of this, it is existing to solve the embodiments of the invention provide a kind of electronic equipment touch-screen control method and device
The problem of screens switch of some dual touch screen electronic equipments depends merely on gravitational accelerometer and gyroscope is difficult to accurate switching.
First aspect present invention provides a kind of electronic equipment touch-screen control method, and the electronic equipment includes the first face
Second face relative with first face, first face includes the first touch-screen, and second face includes the second touch-screen,
Methods described includes:When first touch-screen and second touch-screen are active, judge that described first touches
Whether screen and/or second touch-screen are pressed;When first touch-screen and/or second touch-screen are pressed,
Obtain the area pressed of first touch-screen and/or the area pressed of second touch-screen;According to first touch-screen
Area pressed feature and/or second touch-screen area pressed feature, by first touch-screen and described
One in two touch-screens is set to main screen, and another is set to secondary screen.
Judge by the way that whether the two sides touch-screen relative to electronic equipment is pressed, in the feelings for having pressing to touch-screen
The side touch-screen i.e. main screen that user is using further can be determined according to the feature of area pressed under condition, so that real
Correct switching between existing main screen and secondary screen, the screens switch for effectively overcoming existing dual touch screen electronic equipment is depended merely on
The problem of gravitational accelerometer and gyroscope are difficult to accurate switching.
With reference to first aspect present invention, in first aspect present invention first embodiment, the feature bag of the area pressed
Include the area of area pressed, the feature of the area pressed according to first touch-screen and/or second touch-screen
The feature of area pressed, is set to main screen, another sets by one in first touch-screen and second touch-screen
The step of being set to secondary screen, including:By the area of area pressed of first touch-screen and/or pressing for second touch-screen
The area of intermediate pressure section is compared with preset area threshold range respectively;When the area of the area pressed of first touch-screen falls
When entering the preset area threshold range, first touch-screen is set to secondary screen, second touch-screen is set to
Main screen.
Sentenced by the area of the area of the area pressed to the first touch-screen and/or the area pressed of the second touch-screen
It is disconnected, and pressing that generally user produces by handheld device be can determine into pressing as preset area threshold range
The touch-screen that the area in region falls into preset area threshold range is the pressing that user produces by handheld device, and user does not make
With the face touch-screen, so that the face touch-screen is set into secondary screen.
With reference to first aspect present invention and first aspect present invention first embodiment, first aspect present invention second is implemented
In mode, methods described also includes:When first touch-screen and/or second touch-screen are not pressed, obtain described
The attitude information of electronic equipment;The attitude information of the electronic equipment is compared with predetermined attitude information;When the electronics
When the attitude information of equipment is consistent with predetermined attitude information, one in first touch-screen and second touch-screen is set
Main screen is set to, another is set to secondary screen.
When the relative two sides touch-screen of electronic equipment is not pressed, by the posture for obtaining electronic equipment
Information, i.e., by obtaining acceleration of gravity and/or three axis angular rates, and to work as electronic equipment user oriented by presetting
Corresponding electronic equipment attitude information during that face screen, electronic equipment attitude information and its of acquisition are compared, work as appearance
When state information is consistent, you can it is main screen to determine that user oriented face screen of electronic equipment.
Second aspect of the present invention provides a kind of electronic equipment touch screen control device, and the electronic equipment includes the first face
Second face relative with first face, first face includes the first touch-screen, and second face includes the second touch-screen,
Described device includes:Touch-screen presses judge module, for being in activation when first touch-screen and second touch-screen
During state, judge whether first touch-screen and/or second touch-screen are pressed;Area pressed acquisition module, is used for
When first touch-screen and/or second touch-screen are pressed, obtain first touch-screen area pressed and/or
The area pressed of second touch-screen;Screen module is set according to pressing, for the pressing area according to first touch-screen
The feature of the area pressed of the feature in domain and/or second touch-screen, by first touch-screen and second touch-screen
In one be set to main screen, another is set to secondary screen.
Judge by the way that whether the two sides touch-screen relative to electronic equipment is pressed, in the feelings for having pressing to touch-screen
The side touch-screen i.e. main screen that user is using further can be determined according to the feature of area pressed under condition, so that real
Correct switching between existing main screen and secondary screen, the screens switch for effectively overcoming existing dual touch screen electronic equipment is depended merely on
The problem of gravitational accelerometer and gyroscope are difficult to accurate switching.
With reference to second aspect of the present invention, in second aspect of the present invention first embodiment, the feature bag of the area pressed
The area of area pressed is included, it is described to set screen module to include according to pressing:Comparison sub-module, for by first touch-screen
Area pressed area and/or second touch-screen area pressed area respectively with preset area threshold range carry out
Compare;Screen sets submodule, and the area for the area pressed when first touch-screen falls into the preset area threshold value
During scope, first touch-screen is set to secondary screen, second touch-screen is set to main screen.
Sentenced by the area of the area of the area pressed to the first touch-screen and/or the area pressed of the second touch-screen
It is disconnected, and pressing that generally user produces by handheld device be can determine into pressing as preset area threshold range
The touch-screen that the area in region falls into preset area threshold range is the pressing that user produces by handheld device, and user does not make
With the face touch-screen, so that the face touch-screen is set into secondary screen.
With reference to second aspect of the present invention and second aspect of the present invention first embodiment, second aspect of the present invention second is implemented
In mode, described device also includes:Attitude information acquisition module, for when first touch-screen and/or second touch
When screen is not pressed, the attitude information of the electronic equipment is obtained;Comparison module, for by the attitude information of the electronic equipment
It is compared with predetermined attitude information;Screen module is set according to posture, for the attitude information when the electronic equipment and in advance
Determine attitude information it is consistent when, one in first touch-screen and second touch-screen is set to main screen, another
It is set to secondary screen.
When the relative two sides touch-screen of electronic equipment is not pressed, by the posture for obtaining electronic equipment
Information, i.e., by obtaining acceleration of gravity and/or three axis angular rates, and to work as electronic equipment user oriented by presetting
Corresponding electronic equipment attitude information during that face screen, electronic equipment attitude information and its of acquisition are compared, work as appearance
When state information is consistent, you can it is main screen to determine that user oriented face screen of electronic equipment.
Third aspect present invention provide a kind of mobile terminal, the mobile terminal include the first face and with first face
The second relative face, first face includes the first touch-screen, and second face includes the second touch-screen;At least one processing
Device;And the memory being connected with least one described processor communication;Wherein, the memory storage have can by it is described at least
The instruction of one computing device, the instruction is by least one described computing device, so that at least one described processor
Perform following methods:When first touch-screen and second touch-screen are active, judge that described first touches
Whether screen and/or second touch-screen are pressed;When first touch-screen and/or second touch-screen are pressed,
Obtain the area pressed of first touch-screen and/or the area pressed of second touch-screen;According to first touch-screen
Area pressed feature and/or second touch-screen area pressed feature, by first touch-screen and described
One in two touch-screens is set to main screen, and another is set to secondary screen.
Judge by the way that whether the two sides touch-screen relative to mobile terminal is pressed, in the feelings for having pressing to touch-screen
The side touch-screen i.e. main screen that user is using further can be determined according to the feature of area pressed under condition, so that real
Correct switching between existing main screen and secondary screen, the screens switch for effectively overcoming existing dual touch screen mobile terminal is depended merely on
The problem of gravitational accelerometer and gyroscope are difficult to accurate switching.
Brief description of the drawings
The features and advantages of the present invention can be more clearly understood from by reference to accompanying drawing, accompanying drawing is schematical without that should manage
Solve to carry out any limitation to the present invention, in the accompanying drawings:
Fig. 1 shows a kind of structural representation of the entity apparatus of mobile terminal in the embodiment of the present invention;
Fig. 2 shows the flow chart of a kind of electronic equipment touch-screen control method in the embodiment of the present invention;
Fig. 3 shows the flow chart of another electronic device touchscreen control method in the embodiment of the present invention;
Fig. 4 shows the structural representation of a kind of electronic equipment touch screen control device in the embodiment of the present invention;
Fig. 5 shows the structural representation of another electronic device touchscreen control device in the embodiment of the present invention;
Fig. 6 shows the application scenarios schematic diagram of a kind of electronic equipment touch-screen control method in the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not having
There is the every other embodiment made and obtained under the premise of creative work, belong to the scope of protection of the invention.
Shown in Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention.
Electronic device touchscreen control method provided in an embodiment of the present invention can apply to comprising multiple application programs
Electronic equipment, the electronic equipment has two-sided touch-screen, the mobile terminal such as mobile phone or tablet personal computer.The present invention is implemented
The electronic equipment that example is provided is by taking mobile phone as an example, the block diagram of the part-structure of mobile phone, as shown in figure 1, mobile phone includes:Radio frequency
(RadioFrequency, RF) circuit 110, memory 120, input block 130, display unit 140, sensor 150, audio-frequency electric
The parts such as road 160, Wireless Fidelity (wirelessfidelity, WiFi) module 170, processor 180 and power supply 190.Ability
Field technique personnel are appreciated that the handset structure shown in Fig. 1 does not constitute the restriction to mobile phone, can include more more than illustrating
Or less part, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 1:
RF circuits 110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, handled to processor 180;In addition, being sent to base station by up data are designed.Generally, RF circuits 110
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier
(LowNoiseAmplifier, LNA), duplexer etc..In addition, RF circuits 110 can also pass through radio communication and network and other
Equipment communication.
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 120 can mainly include
Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses what is created according to mobile phone
Data (such as voice data, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can be with
Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states
Part.
Input block 130 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with
And the relevant key signals input of function control.Specifically, input block 130 may include that contact panel 131 and other inputs are set
Standby 132.Contact panel 131, also referred to as touch-screen, can be two-sided touch-screens, collect user's touching on or near it
Touching operation, (such as user is using any suitable objects such as finger, stylus or annex on contact panel 131 or in contact panel
Operation near 131), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 131 can be wrapped
Include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects
The signal that touch operation is brought, transmits a signal to touch controller;Touch controller receives touch from touch detecting apparatus
Information, and be converted into contact coordinate, then give processor 180, and the order sent of reception processing device 180 and can be held
OK.Furthermore, it is possible to realize contact panel 131 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Remove
Contact panel 131, input block 130 can also include other input equipments 132.Specifically, other input equipments 132 can be with
Including but not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
In one or more.
Display unit 140 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and mobile phone
Menu.Display unit 140 may include display panel 141, optionally, can use liquid crystal display
(LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) etc.
Form configures display panel 141.Further, contact panel 131 can cover display panel 141, when contact panel 131 is detected
To after the touch operation on or near it, processor 180 is sent to determine the type of touch event, with preprocessor 180
Corresponding visual output is provided on display panel 141 according to the type of touch event.Although in Fig. 1, contact panel 131 with
Display panel 141 is input and the input function that mobile phone is realized as two independent parts, but in certain embodiments,
Can be by contact panel 131 and the input that is integrated and realizing mobile phone of display panel 141 and output function.
Mobile phone may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 141, proximity transducer can close display panel 141 when mobile phone is moved in one's ear
And/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) acceleration
Size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It is used as motion-sensing
One kind of device, gyroscope can detect in all directions the size of (generally three axles) angular speed, available for identification mobile phone posture
(such as pedometer, struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc.;The other sensors such as the barometer, hygrometer, thermometer, the infrared ray sensor that can also configure as mobile phone, herein not
Repeat again.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data received conversion can be transferred to loudspeaker 161, sound is converted to by loudspeaker 161 by road 160
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after turn
It is changed to voice data, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to such as another mobile phone,
Or export voice data to memory 120 so as to further processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 170
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.
Processor 180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform and be stored in software program and/or module in memory 120, and call and be stored in memory 120
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 can be wrapped
Include one or more processing units;It is preferred that, processor 180 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile phone also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
The embodiment of the present invention provide a kind of electronic equipment touch-screen control method, the electronic equipment include the first face and with
The second relative face of first face, first face includes the first touch-screen, and second face includes the second touch-screen.As schemed
This method includes shown in 2:
S201, when first touch-screen and second touch-screen are active, judges that described first touches
Whether screen and/or second touch-screen are pressed.Specifically, described first can be activated by the power button of electronic equipment
Touch-screen and second touch-screen.When first touch-screen and second touch-screen are active, in user
In the case of hand-hold electronic equipments, it will produce pressing to first touch-screen and/or second touch-screen.Judge described
Whether the first touch-screen is pressed, or whether second touch-screen is pressed, or first touch-screen and described second is touched
Screen is touched whether while being pressed.
S202, when first touch-screen and/or second touch-screen are pressed, obtains first touch-screen
The area pressed of area pressed and/or second touch-screen.Specifically, when judging first touch-screen and/or described the
When two touch-screens are pressed, the position of touch-screen where push action determines corresponding area pressed.
S203, according to the feature of the area pressed of first touch-screen and/or the area pressed of second touch-screen
Feature, one in first touch-screen and second touch-screen is set to main screen, another is set to secondary screen
Curtain.Specifically, according to the area pressed of determination, the corresponding feature of the area pressed can be extracted, for example, the feature can be with
It is finger print information of area, the position of area pressed, the shape of area pressed or area pressed of area pressed etc..According to usual
In the case of user's hand-hold electronic equipments when corresponding secondary screen area pressed feature, it may be determined that the threshold value of a default feature
Scope.By the feature of first touch-screen of acquisition and/or the second touch-screen area pressed and the threshold value of default feature
Scope is compared, and the touch-screen corresponding to the area pressed consistent with the threshold range of default feature is secondary screen, so that
Realize the switching between main screen and secondary screen.
Judge by the way that whether the two sides touch-screen relative to electronic equipment is pressed, in the feelings for having pressing to touch-screen
The side touch-screen i.e. main screen that user is using further can be determined according to the feature of area pressed under condition, so that real
Correct switching between existing main screen and secondary screen, the screens switch for effectively overcoming existing dual touch screen electronic equipment is depended merely on
The problem of gravitational accelerometer and gyroscope are difficult to accurate switching.
Preferably, when the feature of the area pressed includes the area of area pressed, above-mentioned steps S203 includes as follows
Sub-step:
S2031a, by the area of the area pressed of first touch-screen and/or the area pressed of second touch-screen
Area be compared respectively with preset area threshold range;
S2031b, will when the area of the area pressed of first touch-screen falls into the preset area threshold range
First touch-screen is set to secondary screen, and second touch-screen is set into main screen.
Sentenced by the area of the area of the area pressed to the first touch-screen and/or the area pressed of the second touch-screen
It is disconnected, and pressing that generally user produces by handheld device be can determine into pressing as preset area threshold range
The touch-screen that the area in region falls into preset area threshold range is the pressing that user produces by handheld device, and user does not make
With the face touch-screen, so that the face touch-screen is set into secondary screen.
As one preferred embodiment, when the area pressed is characterized in the finger print information of area pressed, on
Stating step S203 includes following sub-step:
S2032a, by the pressing of the finger print information of the area pressed of first touch-screen and/or second touch-screen
The finger print information in region is compared with preset fingerprint information respectively.Specifically, can by under user's use state in secondary screen
The finger print information of pressing is used as preset fingerprint information.
S2032b, when the finger print information of the area pressed of first touch-screen is consistent with preset fingerprint information, by institute
State the first touch-screen and be set to secondary screen, second touch-screen is set to main screen.
Believed by the fingerprint of the finger print information of the area pressed to the first touch-screen and/or the area pressed of the second touch-screen
Cease and judged, and using generally user because handheld device is believed in the finger print information that secondary screen is pressed as preset fingerprint
Breath, can determine that the finger print information of area pressed is consistent with preset fingerprint information, the finger print information of the area pressed is corresponding
Touch-screen is the pressing that user produces by handheld device, and simultaneously the face touch-screen is not used in user, so that the face touch-screen be set
It is set to secondary screen.
The feature of corresponding secondary screen area pressed during according to user's hand-hold electronic equipments under normal circumstances, it may be determined that one
The threshold range of individual default feature.By the feature of first touch-screen of acquisition and/or the second touch-screen area pressed
It is compared with the threshold range of default feature, the touch-screen corresponding to the area pressed consistent with the threshold range of default feature
As secondary screen, so as to realize the switching between main screen and secondary screen.
The embodiment of the present invention provides another electronic device touchscreen control method, the electronic equipment include the first face and
Second face relative with first face, first face includes the first touch-screen, and second face includes the second touch-screen.Such as
This method includes shown in Fig. 3:
S301, when first touch-screen and second touch-screen are active, judges that described first touches
Whether screen and/or second touch-screen are pressed.
When first touch-screen and/or second touch-screen are pressed, step S302 is performed.
When first touch-screen and/or second touch-screen are not pressed, step S304 is performed.
S302, when first touch-screen and/or second touch-screen are pressed, obtains first touch-screen
The area pressed of area pressed and/or second touch-screen.
S303, according to the feature of the area pressed of first touch-screen and/or the area pressed of second touch-screen
Feature, one in first touch-screen and second touch-screen is set to main screen, another is set to secondary screen
Curtain.
S304, when first touch-screen and/or second touch-screen are not pressed, obtains the electronic equipment
Attitude information.Specifically, the attitude information of the electronic equipment can include the accelerometer and gyroscope by electronic equipment
The acceleration of gravity and/or the information of three axis angular rates obtained Deng sensor.Acceierometer sensor can be examined under motion state
The size of electronic equipment (generally three axles) acceleration in all directions is surveyed, size and the side of gravity are can detect that when static
To so that it is determined that going out the attitude information of electronic equipment;Gyroscope can detect electronic equipment (generally three axles) in all directions
The size of angular speed, so as to further determine that out the attitude information of electronic equipment.
S305, the attitude information of the electronic equipment is compared with predetermined attitude information.Specifically, predetermined posture letter
Breath can include predetermined acceleration threshold range and/or preset angle threshold speed scope, the predetermined acceleration threshold range bag
Acceleration direction is included, the direction of the predetermined acceleration is opposite with the direction of main screen.Preset when electronic equipment towards with
Corresponding electronic equipment attitude information, makes the predetermined attitude information can correspond to cutting for main screen during that face screen at family
Change.By the acceleration of gravity of the electronic equipment and/or three axis angular rates and predetermined acceleration threshold range and/or preset angle speed
Degree threshold range is compared.
S306, when the attitude information of the electronic equipment is consistent with predetermined attitude information, by first touch-screen and
One in second touch-screen is set to main screen, and another is set to secondary screen.Specifically, when the electronic equipment
When acceleration of gravity and/or three axis angular rates fall into predetermined acceleration threshold range and/or preset angle threshold speed scope, carry out
The switching of main screen.Further, when the direction of the electronic equipment acceleration of gravity is consistent with the direction of predetermined acceleration,
Main screen will be set to towards the touch-screen in opposite direction with the electronic equipment acceleration of gravity.
, will by being set in advance in electronic equipment attitude information corresponding during user oriented that face screen of electronic equipment
Electronic equipment attitude information and its of acquisition are compared, when attitude information is consistent, you can determine electronic equipment user oriented
That face screen be main screen.
Fig. 6 show the application scenarios schematic diagram of a kind of electronic equipment touch-screen control method.Specifically, the electronics is set
Standby can be mobile phone, and mobile phone location is as shown in FIG..When user is in stand up position, now the attitude information of mobile phone includes weight
The information of power acceleration and/or three axis angular rates, downwards, the direction of the first touch-screen is upward, therefore in the direction of acceleration of gravity
First touch-screen is set to by main screen according to the information.When user is in lying position, now believed according to the posture of mobile phone
It is incorrect that first touch-screen is set to main screen by breath, therefore will be according to first in the case where user is in lying position
The area pressed of touch-screen and/or the second touch-screen is judged, the second touch-screen is set into main screen.
The method that above-described embodiment describes the present invention, is illustrated below by embodiment to device.
Referring to Fig. 4, the embodiment of the present invention provides a kind of electronic equipment touch screen control device, the electronic equipment includes
First face and second face relative with first face, first face include the first touch-screen, and second face includes second
Touch-screen, described device includes:
Touch-screen presses judge module 41, for being active when first touch-screen and second touch-screen
When, judge whether first touch-screen and/or second touch-screen are pressed.Specifically, electronic equipment can be passed through
Power button activates first touch-screen and second touch-screen.At first touch-screen and second touch-screen
When state of activation, in the case of user's hand-hold electronic equipments, it will first touch-screen and/or described second are touched
Screen produces pressing.Judge whether first touch-screen is pressed, or whether second touch-screen is pressed, or described first
Whether touch-screen and second touch-screen are pressed simultaneously.
Area pressed acquisition module 42, for when first touch-screen and/or second touch-screen are pressed, obtaining
Take the area pressed of first touch-screen and/or the area pressed of second touch-screen.Specifically, when judgement described first
When touch-screen and/or second touch-screen are pressed, the position of touch-screen where push action determines corresponding pressing area
Domain.
Screen module 43, feature and/or institute for the area pressed according to first touch-screen are set according to pressing
The feature of the area pressed of the second touch-screen is stated, based on a setting in first touch-screen and second touch-screen
Screen, another is set to secondary screen.
Judge by the way that whether the two sides touch-screen relative to electronic equipment is pressed, in the feelings for having pressing to touch-screen
The side touch-screen i.e. main screen that user is using further can be determined according to the feature of area pressed under condition, so that real
Correct switching between existing main screen and secondary screen, the screens switch for effectively overcoming existing dual touch screen electronic equipment is depended merely on
The problem of gravitational accelerometer and gyroscope are difficult to accurate switching.
Preferably, when the feature of the area pressed includes the area of area pressed, screen module is set according to pressing
43 include:Comparison sub-module, for by the area of area pressed of first touch-screen and/or pressing for second touch-screen
The area of intermediate pressure section is compared with preset area threshold range respectively;Screen sets submodule, for when the described first touch
When the area of the area pressed of screen falls into the preset area threshold range, first touch-screen is set to secondary screen, will
Second touch-screen is set to main screen.Pass through the area of the area pressed to the first touch-screen and/or the second touch-screen
The area of area pressed is judged, and regard the pressing that generally user produces by handheld device as preset area threshold
It is worth scope, can determine that the area of area pressed falls into the touch-screen of preset area threshold range and produced for user because of handheld device
Simultaneously the face touch-screen is not used in raw pressing, user, so that the face touch-screen is set into secondary screen.
Referring to Fig. 5, the embodiment of the present invention provides another electronic device touchscreen control device.With the electricity shown in Fig. 4
Sub- equipment touch screen control device is compared, and the device shown in Fig. 5 also includes:
Attitude information acquisition module 51, for when first touch-screen and/or second touch-screen are not pressed,
Obtain the attitude information of the electronic equipment.Specifically, attitude information acquisition module 51 can be by the acceleration of electronic equipment
Acceleration of gravity that meter and the sensor such as gyroscope are obtained and/or the information of three axis angular rates as the electronic equipment posture
Information.
Comparison module 52, for the attitude information of the electronic equipment to be compared with predetermined attitude information.Specifically,
By the acceleration of gravity of the electronic equipment and/or three axis angular rates and predetermined acceleration threshold range and/or default angular speed
Threshold range is compared.
Screen module 53 is set according to posture, it is consistent with predetermined attitude information for the attitude information when the electronic equipment
When, one in first touch-screen and second touch-screen is set to main screen, another is set to secondary screen.Tool
Body, when the acceleration of gravity and/or three axis angular rates of the electronic equipment fall into predetermined acceleration threshold range and/or default
During angular speed threshold range, the switching of main screen is carried out.
When the relative two sides touch-screen of electronic equipment is not pressed, by the posture for obtaining electronic equipment
Information, i.e., by obtaining acceleration of gravity and/or three axis angular rates, to determine that user oriented face screen of electronic equipment, from
And the face screen is set to main screen.
The embodiment of the present invention also provides a kind of mobile terminal, the mobile terminal include the first face and with first face phase
To the second face, first face includes the first touch-screen, and second face includes the second touch-screen, and the mobile terminal also wraps
Include memory and processor.By taking a processor as an example, lead between the first touch-screen, the second touch-screen, memory and processor
Bus interconnection is crossed, memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that the method for at least one described computing device as shown in Figures 2 and 3.
Judge by the way that whether the two sides touch-screen relative to mobile terminal is pressed, in the feelings for having pressing to touch-screen
The side touch-screen i.e. main screen that user is using further can be determined according to the feature of area pressed under condition, so that real
Correct switching between existing main screen and secondary screen, the screens switch for effectively overcoming existing dual touch screen mobile terminal is depended merely on
The problem of gravitational accelerometer and gyroscope are difficult to accurate switching.
It is to lead to it will be understood by those skilled in the art that realizing all or part of flow in above-described embodiment method
Cross computer program to instruct the hardware of correlation to complete, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (ROM) or random access memory (RAM) etc..
Although being described in conjunction with the accompanying embodiments of the invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case of various modification can be adapted and modification, such modifications and variations are each fallen within by appended claims institute
Within the scope of restriction.
Claims (6)
1. a kind of electronic equipment touch-screen control method, the electronic equipment includes the first face and relative with first face the
Two faces, first face includes the first touch-screen, and second face includes the second touch-screen, it is characterised in that methods described bag
Include:
When first touch-screen and second touch-screen are active, first touch-screen and/or institute are judged
State whether the second touch-screen is pressed;
When first touch-screen and/or second touch-screen are pressed, the area pressed of first touch-screen is obtained
And/or the area pressed of second touch-screen;
, will according to the feature of the area pressed of first touch-screen and/or the feature of the area pressed of second touch-screen
One in first touch-screen and second touch-screen is set to main screen, and another is set to secondary screen.
2. according to the method described in claim 1, it is characterised in that the feature of the area pressed includes the face of area pressed
The feature of product, the feature of the area pressed according to first touch-screen and/or the area pressed of second touch-screen,
One in first touch-screen and second touch-screen is set to main screen, another is set to the step of secondary screen
Suddenly, including:
By the area of the area of the area pressed of first touch-screen and/or the area pressed of second touch-screen respectively with
Preset area threshold range is compared;
When the area of the area pressed of first touch-screen falls into the preset area threshold range, described first is touched
Screen is set to secondary screen, and second touch-screen is set into main screen.
3. the method according to any one of claim 1-2, it is characterised in that also include:
When first touch-screen and/or second touch-screen are not pressed, the attitude information of the electronic equipment is obtained;
The attitude information of the electronic equipment is compared with predetermined attitude information;
When the attitude information of the electronic equipment is consistent with predetermined attitude information, first touch-screen and described second are touched
One touched in screen is set to main screen, and another is set to secondary screen.
4. a kind of electronic equipment touch screen control device, the electronic equipment includes the first face and relative with first face the
Two faces, first face includes the first touch-screen, and second face includes the second touch-screen, it is characterised in that described device bag
Include:
Touch-screen presses judge module, for when first touch-screen and second touch-screen are active, sentencing
Whether disconnected first touch-screen and/or second touch-screen are pressed;
Area pressed acquisition module, for when first touch-screen and/or second touch-screen are pressed, obtaining described
The area pressed of the area pressed of first touch-screen and/or second touch-screen;
Screen module is set according to pressing, for the feature of the area pressed according to first touch-screen and/or described second
The feature of the area pressed of touch-screen, main screen is set to by one in first touch-screen and second touch-screen,
Another is set to secondary screen.
5. device according to claim 4, it is characterised in that the feature of the area pressed includes the face of area pressed
Product, it is described to set screen module to include according to pressing:
Comparison sub-module, for by the pressing of the area of the area pressed of first touch-screen and/or second touch-screen
The area in region is compared with preset area threshold range respectively;
Screen sets submodule, and the area for the area pressed when first touch-screen falls into the preset area threshold value model
When enclosing, first touch-screen is set to secondary screen, second touch-screen is set to main screen.
6. the device according to any one of claim 4-5, it is characterised in that also include:
Attitude information acquisition module, for when first touch-screen and/or second touch-screen are not pressed, obtaining institute
State the attitude information of electronic equipment;
Comparison module, for the attitude information of the electronic equipment to be compared with predetermined attitude information;
Screen module is set according to posture, for when the attitude information of the electronic equipment is consistent with predetermined attitude information, inciting somebody to action
One in first touch-screen and second touch-screen is set to main screen, and another is set to secondary screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710244408.7A CN107102733A (en) | 2017-04-14 | 2017-04-14 | A kind of electronic equipment touch-screen control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710244408.7A CN107102733A (en) | 2017-04-14 | 2017-04-14 | A kind of electronic equipment touch-screen control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107102733A true CN107102733A (en) | 2017-08-29 |
Family
ID=59676155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710244408.7A Pending CN107102733A (en) | 2017-04-14 | 2017-04-14 | A kind of electronic equipment touch-screen control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107102733A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621903A (en) * | 2017-09-22 | 2018-01-23 | 上海龙旗科技股份有限公司 | A kind of dual touch screen equipment and its response control mehtod |
CN108021309A (en) * | 2017-12-01 | 2018-05-11 | 珠海市魅族科技有限公司 | Screen method to set up and screen set device |
CN108021344A (en) * | 2017-11-22 | 2018-05-11 | 上海龙旗科技股份有限公司 | The method and apparatus of main screen of mobile terminal switching |
CN109739452A (en) * | 2018-12-11 | 2019-05-10 | 维沃移动通信有限公司 | A kind of double screen operating method and mobile terminal |
CN109766211A (en) * | 2019-01-23 | 2019-05-17 | 努比亚技术有限公司 | Method, terminal and the storage medium of shuangping san false-touch prevention |
CN109901767A (en) * | 2017-12-11 | 2019-06-18 | 北京小米移动软件有限公司 | Screen control method and device, readable storage medium storing program for executing, electronic equipment |
CN109981892A (en) * | 2019-02-27 | 2019-07-05 | 努比亚技术有限公司 | A kind of screen display method, mobile terminal and computer readable storage medium |
CN111756907A (en) * | 2019-03-26 | 2020-10-09 | 北京小米移动软件有限公司 | Operation execution method, device and storage medium |
WO2023006077A1 (en) * | 2021-07-30 | 2023-02-02 | 华为技术有限公司 | Screen switching method for double-sided screen terminal, and device |
US11811961B2 (en) | 2018-05-28 | 2023-11-07 | Huawei Technologies Co., Ltd. | Dual-display electronic device operation during incoming call |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104360797A (en) * | 2014-10-16 | 2015-02-18 | 广州三星通信技术研究有限公司 | Content display method and system for electronic equipment |
CN106155476A (en) * | 2016-06-21 | 2016-11-23 | 努比亚技术有限公司 | Mobile terminal and screen content changing method |
CN106210279A (en) * | 2016-06-30 | 2016-12-07 | 努比亚技术有限公司 | Display screen switching device and method |
CN106254660A (en) * | 2016-08-12 | 2016-12-21 | 青岛海信移动通信技术股份有限公司 | The awakening method of display screen and device |
CN106250091A (en) * | 2016-07-20 | 2016-12-21 | 珠海市魅族科技有限公司 | A kind of method for information display and mobile terminal |
CN106249988A (en) * | 2016-07-18 | 2016-12-21 | 努比亚技术有限公司 | A kind of display packing and terminal |
-
2017
- 2017-04-14 CN CN201710244408.7A patent/CN107102733A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104360797A (en) * | 2014-10-16 | 2015-02-18 | 广州三星通信技术研究有限公司 | Content display method and system for electronic equipment |
CN106155476A (en) * | 2016-06-21 | 2016-11-23 | 努比亚技术有限公司 | Mobile terminal and screen content changing method |
CN106210279A (en) * | 2016-06-30 | 2016-12-07 | 努比亚技术有限公司 | Display screen switching device and method |
CN106249988A (en) * | 2016-07-18 | 2016-12-21 | 努比亚技术有限公司 | A kind of display packing and terminal |
CN106250091A (en) * | 2016-07-20 | 2016-12-21 | 珠海市魅族科技有限公司 | A kind of method for information display and mobile terminal |
CN106254660A (en) * | 2016-08-12 | 2016-12-21 | 青岛海信移动通信技术股份有限公司 | The awakening method of display screen and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621903A (en) * | 2017-09-22 | 2018-01-23 | 上海龙旗科技股份有限公司 | A kind of dual touch screen equipment and its response control mehtod |
CN107621903B (en) * | 2017-09-22 | 2020-10-30 | 上海龙旗科技股份有限公司 | Double-touch-screen equipment and response control method thereof |
CN108021344A (en) * | 2017-11-22 | 2018-05-11 | 上海龙旗科技股份有限公司 | The method and apparatus of main screen of mobile terminal switching |
CN108021309A (en) * | 2017-12-01 | 2018-05-11 | 珠海市魅族科技有限公司 | Screen method to set up and screen set device |
CN109901767A (en) * | 2017-12-11 | 2019-06-18 | 北京小米移动软件有限公司 | Screen control method and device, readable storage medium storing program for executing, electronic equipment |
US11811961B2 (en) | 2018-05-28 | 2023-11-07 | Huawei Technologies Co., Ltd. | Dual-display electronic device operation during incoming call |
CN109739452A (en) * | 2018-12-11 | 2019-05-10 | 维沃移动通信有限公司 | A kind of double screen operating method and mobile terminal |
CN109766211A (en) * | 2019-01-23 | 2019-05-17 | 努比亚技术有限公司 | Method, terminal and the storage medium of shuangping san false-touch prevention |
CN109981892A (en) * | 2019-02-27 | 2019-07-05 | 努比亚技术有限公司 | A kind of screen display method, mobile terminal and computer readable storage medium |
CN111756907A (en) * | 2019-03-26 | 2020-10-09 | 北京小米移动软件有限公司 | Operation execution method, device and storage medium |
WO2023006077A1 (en) * | 2021-07-30 | 2023-02-02 | 华为技术有限公司 | Screen switching method for double-sided screen terminal, and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107102733A (en) | A kind of electronic equipment touch-screen control method and device | |
CN107731146A (en) | Brightness adjusting method and related product | |
CN109828688A (en) | Screen damage processing method, mobile terminal and computer readable storage medium | |
CN107943551A (en) | A kind of screen display method and mobile terminal | |
CN106960146A (en) | Control method and device for the electronic equipment with full frame fingerprint recognition | |
CN107748648A (en) | Prevent the method and terminal device of fingerprint sensor false triggering | |
CN108008859B (en) | Screen control method and mobile terminal | |
CN106970726A (en) | Control method and device for the electronic equipment with full frame fingerprint recognition | |
CN108628521A (en) | A kind of screen operating method and mobile terminal | |
WO2019183772A1 (en) | Fingerprint unlocking method, and terminal | |
CN107102773A (en) | A kind of Touch-control error prevention method, terminal and computer-readable recording medium | |
CN107728838A (en) | A kind of terminal display management method, mobile terminal and computer-readable recording medium | |
CN108595044A (en) | A kind of control method and terminal of touch screen | |
CN109799924A (en) | False-touch prevention control method and device, mobile terminal, computer readable storage medium | |
CN107291280B (en) | Method and device for adjusting sensitivity of touch screen and terminal equipment | |
CN108388396A (en) | A kind of interface switching method and mobile terminal | |
CN107885428A (en) | Terminal split screen starts method, terminal and computer-readable recording medium | |
CN109814799A (en) | Screen response control mehtod and terminal device | |
CN109144228A (en) | A kind of fingerprint identification method and mobile terminal | |
CN109885153A (en) | A kind of screen control method and mobile terminal | |
CN109739394A (en) | A kind of processing method of SAR value, mobile terminal | |
CN108108113A (en) | Webpage switching method and device | |
CN108196781A (en) | The display methods and mobile terminal at interface | |
CN107728923A (en) | The processing method and mobile terminal of a kind of operation | |
CN107422853A (en) | A kind of gesture identification method, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170829 |
|
RJ01 | Rejection of invention patent application after publication |