CN110083246A - Terminal control method, mobile terminal and computer readable storage medium - Google Patents
Terminal control method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110083246A CN110083246A CN201910360029.3A CN201910360029A CN110083246A CN 110083246 A CN110083246 A CN 110083246A CN 201910360029 A CN201910360029 A CN 201910360029A CN 110083246 A CN110083246 A CN 110083246A
- Authority
- CN
- China
- Prior art keywords
- terminal
- parameter
- control instruction
- folding
- control method
- 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
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Telephone Function (AREA)
Abstract
Terminal control method, mobile terminal and computer readable storage medium provided in an embodiment of the present invention, by the folding operation for receiving predeterminated position;Detect the parameter of predeterminated position corresponding to the folding operation;According to the parameter, the corresponding control instruction of the folding operation is determined;The terminal is controlled according to the control instruction.It can be in the case where not unlocking, the movement or curved movement of certain folding are formed by curved screens, rapid switch can directly be opened, quickly open some application, even jump directly to some interface of some application, it eliminates using the process searched, also eliminates the complex operations that application interface is clicked layer by layer.The program simplifies the process for opening rapid switch, eliminates the lookup time of application, improve the operating efficiency of user, increase the technology sense of product, improve the usage experience of user under conditions of not increasing hardware cost.
Description
Technical field
The present invention relates to field of terminal technology, more specifically to a kind of terminal control method, mobile terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
Folding screen compares traditional screen, more frivolous in volume, and original device is lower than in power consumption, facilitates promotion and sets
Standby cruising ability, and contrast is higher compared to original device, has superior display to imitate on color and clarity
Fruit.In addition, flexible screen can also achieve the effect that curling is flexible by force-extension, it is clear without influencing to accomplish that size arbitrarily switches
Degree.
Currently, a kind of configuration of terminal is also higher and higher, and memory is increasing, CPU with the development of mobile terminal technology
Processing capacity it is higher.In addition, with the development of network application, the every field of network application covering life is able to satisfy people
Various needs.
Therefore when mobile terminal installation is using in more situation, opening some application, or certain of application is opened
A interface, or some rapid switch is opened, cumbersome, user experience is very poor.
Summary of the invention
The technical problem to be solved in the present invention is that mobile terminal installation using in more situation, open some and answer
With, it perhaps opens some interface of application or opens some rapid switch, cumbersome, the very poor problem of user experience, needle
To the technical problem, a kind of terminal control method, mobile terminal and computer readable storage medium are provided.
In order to solve the above technical problems, the present invention provides a kind of terminal control method, terminal control method includes: to receive in advance
If the folding operation of position;Detect the parameter of predeterminated position corresponding to the folding operation;According to the parameter, determine described in
The corresponding control instruction of folding operation;The terminal is controlled according to the control instruction.
Optionally, according to the parameter, before the step of determining the folding operation corresponding control instruction, comprising:
Preset the mapping table between the parameter and the control instruction.
Optionally, according to the parameter, the step of determining the folding operation corresponding control instruction, comprising:
The parameter that will test is matched with the mapping table;
Determine the parameter corresponding control instruction in the parameter area of the mapping table.
Optionally, the step of terminal being controlled according to the control instruction, further includes:
According to the control instruction, key-press event is converted by actuation time corresponding to the control instruction;
The key-press event is reported into application layer;
The application layer controls the terminal according to the key-press event type.
Optionally, according to the key-press event type, carry out control to the terminal includes: the application layer
It is quick described in bridge instruction execution by calling Android to debug if the key-press event type is to open prompt operation
Operation;
Optionally, the application layer controls the terminal according to the key-press event type, further includes:
If the key-press event type is to open application operating, judge whether the terminal locks;
If the terminal locking prompts to unlock, and executes the opening application operating.
Optionally, the folding operation includes: outer folding, interior folding, torsion folding.
Optionally, the predeterminated position for receiving folding operation is variable.
Further, the present invention also provides a kind of mobile terminal, which includes processor, memory and communication
Bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing one or more program stored in memory, to realize the terminal control of as above any one
The step of method processed.
Further, the present invention also provides a kind of computer readable storage medium, which is deposited
One or more program is contained, one or more program can be executed by one or more processor, such as be taken up an official post to realize
The step of one terminal control method.
Beneficial effect
Terminal control method, mobile terminal and computer readable storage medium provided in an embodiment of the present invention, pass through reception
The folding operation of predeterminated position;Detect the parameter of predeterminated position corresponding to the folding operation;According to the parameter, institute is determined
State the corresponding control instruction of folding operation;The terminal is controlled according to the control instruction.It can be in the feelings not unlocked
Under condition, the movement or curved movement of certain folding are formed by curved screens, so that it may directly opening rapid switch, quickly
Some application is opened, some interface of some application is even jumped directly to, eliminates using the process searched, also eliminates
The complex operations that application interface is clicked layer by layer.The program simplifies opening rapid switch under conditions of not increasing hardware cost
Process, eliminate the lookup time of application, improve the operating efficiency of user, increase the technology sense of product, improve use
The usage experience at family.The embodiment of the present invention also provides a kind of mobile terminal and a kind of computer readable storage medium, the movement
Terminal support user folding operation control, allow user by curved screens formed certain folding movement or it is curved move
Make, so that it may directly opening rapid switch or application, and control operation is more smooth, enhances user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of hardware structural diagram of embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of flexible terminal of the present invention;
Fig. 4 is a kind of flow chart of the terminal control method provided in first embodiment of the invention;
Fig. 5 is a kind of flow chart of the terminal control method provided in second embodiment of the invention;
Fig. 6 is a kind of flow chart of the terminal control method provided in third embodiment of the invention;
Fig. 7 is a kind of hardware structural diagram for the mobile terminal that fourth embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The mobile terminal provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. are mobile
Terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, the mobile terminals such as smart phone
It can also be used as mobile terminal.The mobile terminal provided in the embodiment of the present invention may include: that (Radio Frequency, is penetrated RF
Frequently unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display unit, user's input)
The components such as unit, interface unit, memory, processor and power supply.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, referring to Fig. 1, its each embodiment to realize the present invention
A kind of mobile terminal hardware structural diagram, which may include: RF (Radio Frequency, radio frequency)
Unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display
The components such as unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This
Field technical staff is appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, mobile terminal
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list
Uplink information can be sent to base station by member 101, after the downlink information that in addition can also be sent base station receives, be sent to movement
The processor 110 of terminal is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent according to radio frequency unit 101
Uplink information generate, be also possible to after the information update for detecting mobile terminal actively to push to radio frequency unit 101,
For example, base station can be to the radio frequency unit 101 of mobile terminal after detecting that geographical location locating for mobile terminal changes
The message informing of geographical location variation is sent, radio frequency unit 101 can send out the message informing after receiving the message informing
The processor 110 for giving mobile terminal is handled, and the processor 110 of mobile terminal can control the message informing and be shown in movement eventually
On the display panel 1061 at end;In general, radio frequency unit 101 include but is not limited to antenna, at least one amplifier, transceiver,
Coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication with network and other set
Standby communication, specifically may include: by wireless communication with the server communication in network system, for example, mobile terminal can be with
File resource is downloaded from server by wireless communication, for example application program can be downloaded from server, in mobile terminal
After the downloading of a certain application program is completed, if the corresponding file resource of the application program updates in server, the server
It can be by wireless communication to the message informing of mobile terminal push resource updates, to remind user to carry out more the application program
Newly.Any communication standard or agreement, including but not limited to GSM (Global System can be used in above-mentioned wireless communication
OfMobile communication, global system for mobile communications), GPRS (General Packet Radio Service, lead to
With grouping wireless service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000),
WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time
Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE
(Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE
(Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
In one embodiment, mobile terminal 100 can access existing communication network by insertion SIM card.
In another embodiment, mobile terminal 100 can be by being arranged esim card (Embedded-SIM), Lai Shixian
Existing communication network is accessed, by the way of esim card, the inner space of mobile terminal can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its
And it is not belonging to must be configured into for mobile terminal, it can according to need within the scope of not changing the essence of the invention and omit completely.,
Mobile terminal 100 can realize the communication connection with other equipment or communication network separately through wifi module 102, the present invention
Embodiment is not limited thereto.
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
In one embodiment, mobile terminal 100 includes one or more cameras, by opening camera, energy
Enough captures realized to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In one embodiment, mobile terminal 100 further includes proximity sensor, mobile by using proximity sensor
Terminal can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, mobile terminal 100 further includes heart rate sensor, when wearing, by close to user,
It can be realized the detecting of heart rate.
In one embodiment, mobile terminal 100 can also include fingerprint sensor, by reading fingerprint, Neng Goushi
The functions such as existing safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, using the mobile terminal of flexible display screen
When wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen body
And graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, and the present embodiment is simultaneously
It is not limited.
In one embodiment, the display panel 1061 of mobile terminal can take rectangle, surround when convenient for wearing.
In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of mobile terminal 100.Button can be real
The various ways such as existing short-press, long-pressing, rotation, to realize a variety of operating effects.The quantity of button can be to be multiple, and different presses
It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.For example, when by radio frequency unit 101 receive the message informing of a certain application program when, processor 110 can control by
The message informing is shown in a certain predeterminable area of display panel 1061, a certain area of the predeterminable area and touch panel 1071
Domain is corresponding, can be in corresponding region on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071
The message informing of display is controlled.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
In one embodiment, mobile terminal 100 interface unit 108 using contact structure, by contact with it is right
The other equipment connection answered, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.Mobile terminal
100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes the user equipment of successively communication connection
(UserEquipment, UE) 201, evolved UMTS Terrestrial radio access network (Evolved UMTS Terrestrial
RadioAccess Network, E-UTRAN) 202, evolved packet-based core networks (Evolved Packet Core, EPC) 203
With the IP operation 204 of operator.
Generally, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include mobility management entity (Mobility Management Entity, MME) 2031, ownership
Client server (Home Subscriber Server, HSS) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and policy and rate functional entity
(Policy and Charging Rules Function, PCRF) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IP multimedia subsystem (IP Multimedia
Subsystem, IMS) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is a kind of configuration diagram of flexible terminal of the present invention, and wherein flexible terminal 10 can accurately obtain screen folding
The folding degree of region and screen, and then support is provided for subsequent screen control.
In Fig. 3, flexible terminal 10 includes flexible base board 101, flexible display screen 102, controller 103, and the flexibility is aobvious
Display screen 102 fits on the flexible base board 101, in the side towards the flexible display screen 102 on the flexible base board 101
Also be deployed with array of pressure sensors 104 in matrix, 104 linearly connected of array of pressure sensors in the controller 103,
The controller 103 is used to receive the sensing data of the array of pressure sensors 104.
In the present embodiment, array of pressure sensors 104 is distributed on flexible substrates in dot matrix, and and flexible display screen
102 fit closely, i.e., constitute the coordinate map of a width sensing points by each pressure sensor put.If flexible at this time whole
End occurs to fold or other deformation, the pressure sensor of deformation region lead to the position institute inherently by the extruding folded
A degree of variation occurs for the pressure being subject to.So when controller 103 transmit receiving array of pressure sensors 104
Sensing data after, the sensing data that a default value mutation occurs can be screened out from it, and it is corresponding to position corresponding sense data
Pressure sensor, will be by the most straight line of sensors with auxiliary electrode as the fold line of 10 fold domain of flexible terminal.
In the present embodiment, the fold line of the fold domain of the flexible terminal 10 is determined in the controller 103
Later, the sensing data of pressure sensor on above-mentioned straight line are further analyzed, and judge the flexibility according to these sensing data
The folding degree of terminal 10.In the above-described embodiment, controller 103 can pre-establish between folding angles and pressure value
Positive incidence relationship, i.e. pressure value are bigger, and folding angles are bigger, conversely, smaller.It is pressed on obtaining fold domain, that is, above-mentioned straight line
After the sensing data of force snesor, directly according to above-mentioned incidence relation, the folding angles of current flexible terminal are obtained.
First embodiment
In order to solve the technical problem to be solved in the present invention is that mobile terminal installation using in more situation, beat
Some application is opened, some interface of application is perhaps opened or opens some rapid switch, cumbersome, user experience is very poor
The problem of, the present embodiment provides a kind of terminal control method, refer to a kind of flow chart of the terminal control method shown in Fig. 4:
S402: the folding operation of predeterminated position is received;
In the present embodiment, flexible terminal receives user in the folding operation of predeterminated position.The control instruction of flexible terminal
In addition to existing key, touch-control, pressing or voice etc. are one or more kinds of, flexible terminal can also receive folding operation.
Optionally, the predeterminated position can be located at the fixed fold region of the flexible terminal;The reception folding operation
Predeterminated position it is variable.If the predeterminated position is the fixed fold region of flexible terminal, the fixed fold region be can be
System is pre-set, is also possible to user's self-setting according to demand.If system and user are not previously set described pre-
If position, then the folding position is variable, is not limited to determine that position then executes in the present embodiment when detecting folding operation
Subsequent step.It is more than a certain threshold value when detecting user in a certain position folding operation, then the position is determined as predeterminated position.
Optionally, folding operation includes but is not limited to outer folding, interior folding, torsion folding.In the present embodiment, using inspection
The mode for surveying display screen angle folding determines its folding operation.When the folding angles for detecting display screen are negative within the scope of 180 degree, i.e.,
Screen direction folds opposite to each other, then the folding operation is outer folding;When the folding angles for detecting display screen are positive 180 degree range
Interior, i.e., screen direction is folded toward, then the folding operation is interior folding;When detection sweep display screen folding angles be it is multiple,
Then the folding operation is that torsion folds.
S404: the parameter of predeterminated position corresponding to the folding operation is detected.
The folding operation of flexible terminal can cause the deformation of the predeterminated position, pass through the sensing under flexible terminal display screen
Device detects the parameter of the predeterminated position.The folding parameter includes: direction, angle, bending radius.The flexible terminal is shown
The lower sensor of screen is the bending of sensing flexible terminal, the sensor include but is not limited to pressure sensor, bending sensor,
Deformeter etc., specifically, can identify the folding direction of the flexible terminal, angle folding by bending sensor and deformeter
Degree, bending radius.The tension of the predeterminated position can be identified by pressure sensor.
S406: according to the parameter, the corresponding control instruction of the folding operation is determined.
The flexible terminal needs to preset the mapping table between the parameter and the control instruction.The mapping table can
Be related to fold parameter one or more.According to actual needs, when control instruction is less, the folding parameter that is related to compared with
Few, when control instruction is multiple, multiple folding parameters meet the mapping table.When the sensor of flexible terminal detects folding ginseng
When number meets the condition of mapping table, the corresponding control instruction of folding parameter is determined.It should be noted that referring in parameter and control
In the mapping table of order, parameter is a range, rather than a determining value.
Specifically, the parameter that will test is matched with the mapping table;Pass through detection device in flexible terminal
After detecting the folding operation that user issues, it needs to be determined that the corresponding control instruction of the folding operation that user issues out, because
For the even same control instruction, but possibility that user issues at different times or that different user issues its parameter
Not identical namely user can not make a certain folding operation of very standard every time.In this case, work as flexibility
Terminal detects after the folding operation that user currently issues, it will passes through the parameter and mapping table progress to the folding operation
Match.
It, can be simultaneously in parallel by parameter and more it should be appreciated that flexible terminal is in match parameter and when control instruction
A control instruction is matched;One can also be only matched in matching process each time, only it fails to match determining this
Later, it just will start to next matching.Certainly, may also there can be flexible terminal in some cases and have matched all ginsengs
After number, the case where not finding control instruction still, at this point, flexible terminal can will test the behaviour of folding detected by device
It is used as maloperation, directly ignores, is not controlled according to the folding gesture operation.
Determine the parameter corresponding control instruction in the parameter area of the mapping table.The control instruction can be
It for the control that the flexible terminal carries out, such as unlocks, opens rapid switch, open application.
In some examples of the present embodiment, the mapping being stored between parameter and control instruction in flexible terminal is closed
System, i.e. parameter-command mappings relationship.For example, in a kind of example, parameter-command mappings relationship by way of table come
Embody the mapping relations between parameter and each control instruction, user can sets itself mapping table according to actual needs.It please join
It is shown in Table 1, is the mapping table of the corresponding instruction of a parameter:
Table 1
Folding angles | Control instruction |
0-90 | Return to a upper interface |
90-180 | Open prompt operation |
…… | …… |
270-360 | Open application |
S408: the terminal is controlled according to the control instruction.
After determining to fold control instruction corresponding to parameter, mobile terminal can be according to the control instruction determined
Realize corresponding control purpose.Such as, if it is determined that control instruction corresponding to folding operation is to return to upper interface, then terminal
It can control screen and exit current interface, and upper interface is shown;If it is determined that control corresponding to folding operation refers to
Order is to open prompt operation, then terminal can control application layer, by calling Android to debug prompt operation described in bridge instruction execution.
Specifically, converting key-press event for action event corresponding to the control instruction according to the control instruction;
The key-press event is reported into application layer;
The application layer controls the terminal according to the key-press event type.
Action event is converted to key-press event by processor, is parsed the key-press event and is obtained the key of the key-press event
Value, gets the key value of the key-press event and reports in application layer, and application layer receives the press key message, according to the key value,
Judge the key-press event type, the terminal is controlled.
It is quick described in bridge instruction execution by calling Android to debug if the key-press event type is to open prompt operation
Operation;
Specifically, Android Debug Bridge, referred to as adb, are a very powerful command-line tools, pass through
This tool can be interacted with android equipment, send number order by adb, control android equipment executes correspondence
Some movements.
If the key-press event type is to open application operating, judge whether the terminal locks;
If the terminal locking prompts to unlock, and executes the opening application operating.
The folding operation that terminal control method provided in this embodiment passes through reception predeterminated position;Detect the folding operation
The parameter of corresponding predeterminated position;According to the parameter, the corresponding control instruction of the folding operation is determined;According to the control
System instruction controls the terminal.The movement of certain folding can be formed by curved screens in the case where not unlocking
Or curved movement, so that it may directly control flexible terminal, save complex operations, so that control operation is more smooth, enhance
User experience.
Second embodiment
The advantages of in order to make those skilled in the art more understand terminal control method in previous embodiment and details, this reality
Applying example will continue to be illustrated terminal control method in conjunction with specific example, refer to Fig. 5:
S502: the mapping table folded between parameter and control instruction is preset.
According to the introduction of previous embodiment it is found that user can sets itself mapping table according to actual needs.Pass through table
The form of lattice embodies the mapping relations between parameter and each control instruction.Folding direction and folding angles are chosen in the present embodiment
The two fold parameter, refer to table 2, fold mapping table between parameter and control instruction in the present embodiment:
Table 2
Folding direction & folding angles | Control instruction |
Interior folding & (0~90 degree) | Open Alipay |
Interior folding & (90~180 degree) | Open WIFI |
… | … |
S504: the folding operation of predeterminated position is received;
In the present embodiment, the predeterminated position is the fixed fold region of the flexible terminal, on the right side of flexible terminal
Inferior horn receives folding operation.The lower right corner is folded 120 degree by user.
S506: the parameter of predeterminated position corresponding to the folding operation is detected;
Bending sensor under the flexible terminal display screen detects the parameter for the folding operation that user implements, Foldable square
To for interior folding, folding angles are 120 degree.
S508: according to the parameter, the corresponding control instruction of the folding operation is determined.
Query argument-command mappings table 2 determines 120 degree of corresponding control instructions of interior folding to open WIFI.
S510: according to the control instruction, key-press event is converted by the corresponding action event of the control instruction;It will
" opening WIFI " corresponding action event is converted into key-press event.
S512: the key-press event is reported into application layer;The key-press event of " opening WIFI " is reported into application layer, and is sentenced
The key-press event type of disconnected " opening WIFI " is to open prompt operation.
S514: the application layer controls the terminal according to the key-press event type.
System debugs bridge instruction by Android, and the service for handling the WIFI either on or off is xxxService, corresponding life
Order is adb shell am startservice-n xxx/xxxService-es wifi_enable " on ", opens WIFI.
The folding operation that terminal control method provided in this embodiment passes through reception predeterminated position;Detect the folding operation
The parameter of corresponding predeterminated position;According to the parameter, the corresponding control instruction of the folding operation is determined;According to the control
System instruction controls the terminal.The movement of certain folding can be formed by curved screens in the case where not unlocking
Or curved movement, it directly controls flexible terminal and opens prompt operation, save complex operations, so that control operation is more smooth,
Enhance user experience.
3rd embodiment
The advantages of in order to make those skilled in the art more understand terminal control method in previous embodiment and details, this reality
Applying example will continue to be illustrated terminal control method in conjunction with specific example, refer to Fig. 6:
S602: the mapping table folded between parameter and control instruction is preset.
According to the introduction of previous embodiment it is found that user can sets itself mapping table according to actual needs.Pass through table
The form of lattice embodies the mapping relations between parameter and each control instruction.Folding direction and folding angles are chosen in the present embodiment
The two fold parameter, refer to table 2, fold mapping table between parameter and control instruction in the present embodiment:
Table 2
Folding direction & folding angles | Control instruction |
Interior folding & (0~90 degree) | Open Alipay |
Interior folding & (90~180 degree) | Open WIFI |
… | … |
S604: the folding operation of predeterminated position is received;
In the present embodiment, the predeterminated position is the fixed fold region of the flexible terminal, on the right side of flexible terminal
Inferior horn receives folding operation.The lower right corner is folded 45 degree by user.
S606: the parameter of predeterminated position corresponding to the folding operation is detected;
Bending sensor under the flexible terminal display screen detects the parameter for the folding operation that user implements, Foldable square
To for interior folding, folding angles are 45 degree.
S608: according to the parameter, the corresponding control instruction of the folding operation is determined.
Query argument-command mappings table 2 determines 45 degree of corresponding control instructions of interior folding to open Alipay.
S610: according to the control instruction, key-press event is converted by the corresponding action event of the control instruction;It will
" opening Alipay " corresponding action event is converted into key-press event.
S612: the key-press event is reported into application layer;The key-press event of " opening Alipay " is reported into application layer, and
The key-press event type of " opening Alipay " is judged to open application operating.
S614: judge whether present terminal unlocks;If locking turns to step S616.
S616: having adjusted unlock interface, prompts to unlock and execute " opening Alipay " operation.
The folding operation that terminal control method provided in this embodiment passes through reception predeterminated position;Detect the folding operation
The parameter of corresponding predeterminated position;According to the parameter, the corresponding control instruction of the folding operation is determined;According to the control
System instruction controls the terminal.The movement of certain folding can be formed by curved screens in the case where not unlocking
Or curved movement, it directly controls flexible terminal and opens application operating, save complex operations, so that control operation is more smooth,
Enhance user experience.
Fourth embodiment
The present embodiment will provide a kind of computer readable storage medium and a kind of mobile terminal, computer-readable to this first
Storage medium is introduced:
One or more computers for reading, compiling or executing for memory are stored in the computer readable storage medium
Program, wherein just including mobile terminal control program, which executes to realize above-mentioned for processor
The terminal control method provided in embodiment.
Refer to the hardware structural diagram of the mobile terminal of Fig. 7 offer: mobile terminal 7 includes processor 111, memory
112 and the communication bus 113 for connecting processor 111 Yu memory 112, wherein memory 112 can be aforementioned storage
There is the computer readable storage medium of mobile terminal control program.The processor 111 of mobile terminal 11 can execute memory 112
The mobile terminal control program of middle storage is to realize the terminal control method in previous embodiment:
The folding operation of the reception predeterminated position of processor 111;Detect the ginseng of predeterminated position corresponding to the folding operation
Number;According to the parameter, the corresponding control instruction of the folding operation is determined;The terminal is carried out according to the control instruction
Control.
Optionally, according to the parameter, the step of processor 111 determines the folding operation corresponding control instruction it
Before, comprising:
Processor 111 presets the mapping table between the parameter and the control instruction.
Optionally, according to the parameter, the step of determining the folding operation corresponding control instruction, comprising:
The parameter that processor 111 will test is matched with the mapping table;
Processor 111 determines parameter corresponding control instruction in the parameter area of the mapping table.
Optionally, the step of terminal being controlled according to the control instruction, further includes:
Processor 111 is converted into key thing according to the control instruction, by actuation time corresponding to the control instruction
Part;
The key-press event is reported application layer by processor 111;
The application layer controls the terminal according to the key-press event type.
Optionally, according to the key-press event type, carry out control to the terminal includes: the application layer
If the key-press event type is to open prompt operation, processor 111 is held by calling Android to debug bridge instruction
The row prompt operation;
Optionally, the application layer controls the terminal according to the key-press event type, processor 111, also
Include:
If the key-press event type is to open application operating, processor 111 judges whether the terminal locks;
If the terminal locking, the prompt unlock of processor 111, and execute the opening application operating.
Optionally, the folding operation includes: outer folding, interior folding, torsion folding.
Optionally, the predeterminated position for receiving folding operation is variable.
Mobile terminal and computer readable storage medium provided in this embodiment support the folding operation of user to control,
Allow user by curved screens formed certain folding movement or curved movement, so that it may directly open rapid switch or
Using, and control operation is more smooth, enhances user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of terminal control method, it is applied to flexible terminal, which is characterized in that the terminal control method includes:
Receive the folding operation of predeterminated position;
Detect the parameter of predeterminated position corresponding to the folding operation;
According to the parameter, the corresponding control instruction of the folding operation is determined;
The terminal is controlled according to the control instruction.
2. terminal control method as described in claim 1, which is characterized in that according to the parameter, determine the folding operation
Before the step of corresponding control instruction, comprising:
Preset the mapping table between the parameter and the control instruction.
3. terminal control method as claimed in claim 2, which is characterized in that according to the parameter, determine the folding operation
The step of corresponding control instruction, comprising:
The parameter that will test is matched with the mapping table;
Determine the parameter corresponding control instruction in the parameter area of the mapping table.
4. terminal control method as described in claim 1, which is characterized in that controlled according to the control instruction terminal
The step of, further includes:
According to the control instruction, key-press event is converted by actuation time corresponding to the control instruction;
The key-press event is reported into application layer;
The application layer controls the terminal according to the key-press event type.
5. terminal control method as claimed in claim 4, which is characterized in that the application layer is according to the key-press event class
Type, carrying out control to the terminal includes:
If the key-press event type is to open prompt operation, fast grasped by calling Android to debug described in bridge instruction execution
Make.
6. terminal control method as claimed in claim 4, which is characterized in that the application layer is according to the key-press event class
Type controls the terminal, further includes:
If the key-press event type is to open application operating, judge whether the terminal locks;
If the terminal locking prompts to unlock, and executes the opening application operating.
7. terminal control method as claimed in any one of claims 1 to 6, which is characterized in that the folding parameter include: tension,
Direction, angle, bending radius.
8. the terminal control method as described in claim 1-6, which is characterized in that the predeterminated position for receiving folding operation can
Become.
9. a kind of mobile terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of terminal control method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in terminal control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910360029.3A CN110083246A (en) | 2019-04-30 | 2019-04-30 | Terminal control method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910360029.3A CN110083246A (en) | 2019-04-30 | 2019-04-30 | Terminal control method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110083246A true CN110083246A (en) | 2019-08-02 |
Family
ID=67418045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910360029.3A Pending CN110083246A (en) | 2019-04-30 | 2019-04-30 | Terminal control method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083246A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995904A (en) * | 2019-12-13 | 2020-04-10 | 云谷(固安)科技有限公司 | Foldable display device, selection display method, and storage medium |
CN111031398A (en) * | 2019-12-10 | 2020-04-17 | 维沃移动通信有限公司 | Video control method and electronic equipment |
CN111694498A (en) * | 2020-05-27 | 2020-09-22 | 维沃移动通信有限公司 | Interface display method and device and electronic equipment |
CN115174738A (en) * | 2022-06-30 | 2022-10-11 | 深圳传音控股股份有限公司 | Control method, intelligent terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105242828A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | Method and apparatus for displaying control on interface of mobile terminal |
US20170078468A1 (en) * | 2014-03-03 | 2017-03-16 | Lg Electronics Inc. | Mobile device and method of controlling the same |
CN108227833A (en) * | 2017-11-30 | 2018-06-29 | 努比亚技术有限公司 | Control method, terminal and the computer readable storage medium of flexible screen terminal |
CN108334266A (en) * | 2018-01-26 | 2018-07-27 | 努比亚技术有限公司 | Control method, flexible terminal and the computer readable storage medium of flexible terminal |
-
2019
- 2019-04-30 CN CN201910360029.3A patent/CN110083246A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170078468A1 (en) * | 2014-03-03 | 2017-03-16 | Lg Electronics Inc. | Mobile device and method of controlling the same |
CN105242828A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | Method and apparatus for displaying control on interface of mobile terminal |
CN108227833A (en) * | 2017-11-30 | 2018-06-29 | 努比亚技术有限公司 | Control method, terminal and the computer readable storage medium of flexible screen terminal |
CN108334266A (en) * | 2018-01-26 | 2018-07-27 | 努比亚技术有限公司 | Control method, flexible terminal and the computer readable storage medium of flexible terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111031398A (en) * | 2019-12-10 | 2020-04-17 | 维沃移动通信有限公司 | Video control method and electronic equipment |
CN110995904A (en) * | 2019-12-13 | 2020-04-10 | 云谷(固安)科技有限公司 | Foldable display device, selection display method, and storage medium |
CN111694498A (en) * | 2020-05-27 | 2020-09-22 | 维沃移动通信有限公司 | Interface display method and device and electronic equipment |
CN111694498B (en) * | 2020-05-27 | 2022-01-28 | 维沃移动通信有限公司 | Interface display method and device and electronic equipment |
CN115174738A (en) * | 2022-06-30 | 2022-10-11 | 深圳传音控股股份有限公司 | Control method, intelligent terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083246A (en) | Terminal control method, mobile terminal and computer readable storage medium | |
CN107809536A (en) | Display screen fingerprint recognition processing method, mobile terminal and storage medium | |
CN108345426A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN107203305A (en) | It is switched fast method, mobile terminal and the computer-readable recording medium of application | |
CN108089791A (en) | Screen resolution method of adjustment, mobile terminal and computer readable storage medium | |
CN110381201A (en) | Screen management method, mobile terminal and computer readable storage medium | |
CN107748638A (en) | A kind of region method of adjustment, terminal and computer-readable recording medium | |
CN107273035A (en) | Application program recommends method and mobile terminal | |
CN107580350A (en) | A kind of signal intensity switching method, equipment and computer-readable recording medium | |
CN108037887A (en) | Construction method, terminal and the computer-readable recording medium of terminal virtual key | |
CN109195213A (en) | Mobile terminal screen control method, mobile terminal and computer readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN109218527A (en) | screen brightness control method, mobile terminal and computer readable storage medium | |
CN108958625A (en) | A kind of screen interaction regulation method, equipment and computer readable storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN107390856A (en) | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption | |
CN107329572A (en) | Control method, mobile terminal and computer-readable recording medium | |
CN109587329A (en) | Screen lighting method, mobile terminal and computer readable storage medium | |
CN108334266A (en) | Control method, flexible terminal and the computer readable storage medium of flexible terminal | |
CN107340949A (en) | Aligning method, mobile terminal and the computer-readable recording medium of application icon | |
CN110096213A (en) | Terminal operation method, mobile terminal and readable storage medium storing program for executing based on gesture | |
CN110007817A (en) | A kind of message treatment method and mobile terminal, computer readable storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN110096173A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN110018779A (en) | Browsing control method, terminal and computer readable storage 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190802 |