CN108228048B - Terminal control method, terminal and computer readable storage medium - Google Patents
Terminal control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108228048B CN108228048B CN201711240540.7A CN201711240540A CN108228048B CN 108228048 B CN108228048 B CN 108228048B CN 201711240540 A CN201711240540 A CN 201711240540A CN 108228048 B CN108228048 B CN 108228048B
- Authority
- CN
- China
- Prior art keywords
- parameter
- deformation
- terminal
- zooming
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- 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
-
- 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
- G06F3/0488—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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a terminal control method, a terminal and a computer readable storage medium, wherein the terminal enters a zooming control mode when working parameters meet zooming control conditions, then deformation parameters of the terminal are detected, zooming parameters corresponding to the deformation parameters are determined, and zooming processing is carried out on current display contents. The invention also provides a terminal and a computer readable storage medium, and by implementing the scheme, the use experience of a user is enhanced.
Description
Technical Field
The present invention relates to the field of control, and more particularly, to a terminal control method, a terminal, and a computer-readable storage medium.
Background
With the development of terminal technologies such as smart phones, terminal functions are more and more powerful, correspondingly, dependence of terminal users on mobile terminals is more and more serious, the applications often provide contents such as pictures and texts for users to view, and the users often need to zoom and view some contents when viewing.
The existing zooming modes have the problem of inconvenient operation, for example, a user needs to click a zooming scale below a display screen, or needs two fingers of the user to slide oppositely or oppositely on the screen to realize zooming control, and the zooming modes often need two hands of the user to operate, wherein one hand is used for holding a mobile phone, and the other hand is used for operating on the screen.
Disclosure of Invention
The invention aims to solve the technical problem that the existing zooming mode requires two hands of a user to operate, so that the operation is inconvenient, and provides a terminal control method, a terminal and a computer readable storage medium.
In order to solve the above technical problem, the present invention provides a terminal control method, which includes:
acquiring working parameters of a terminal;
when the working parameters meet the zooming control conditions, entering a zooming control mode;
detecting a current deformation parameter of the terminal;
determining a zooming parameter corresponding to the current deformation parameter according to a mapping relation between a preset deformation parameter and the zooming parameter;
and zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content.
Optionally, the step of obtaining the working parameters of the terminal includes:
judging whether the terminal enters a reading mode or not;
and when the terminal enters a reading mode, judging that the working parameters meet the zooming control conditions.
Optionally, the step of obtaining the working parameters of the terminal includes:
judging whether the terminal enters a reading mode or not;
after the terminal enters a reading mode, detecting whether a zooming function is started or not;
when the zoom function is activated, it is determined that the operating parameter satisfies the zoom control condition.
Optionally, after entering the zoom control mode, the method further includes:
judging whether the terminal finishes reading;
after the terminal finishes reading, ending the zooming control mode;
calling original deformation parameters of the terminal before entering a zooming control mode;
and the control terminal restores to the original deformation parameters.
Optionally, the step of determining, according to the mapping relationship, a scaling parameter corresponding to the current deformation parameter includes:
determining the deformation grade and the deformation direction of the current deformation parameter;
matching corresponding scaling attributes in the mapping relation according to the deformation direction; zoom attributes include zoom in and zoom out;
matching corresponding scaling in the mapping relation according to the deformation grade;
and taking the scaling and the scaling attribute as scaling parameters.
Optionally, the step of determining, according to the mapping relationship, a scaling parameter corresponding to the current deformation parameter includes:
determining a deformation angle and a deformation direction of the current deformation parameter;
calling a calculation formula corresponding to the mapping relation;
determining the positive and negative of the current deformation parameter in the calculation formula according to the deformation direction;
determining the numerical value of the current deformation parameter in the calculation formula according to the deformation angle;
and calculating to obtain the scaling parameter corresponding to the current deformation parameter according to a calculation formula.
Optionally, after the step of entering the zoom control mode, the method further includes:
acquiring an adjusting parameter of a zooming control mode; the adjustment parameters comprise standard scaling and precise scaling;
when the adjustment parameter is standard zooming, zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content;
and when the adjustment parameter is accurate zooming, correcting the zooming parameter corresponding to the current deformation parameter according to the effective zooming parameter corresponding to the previous deformation parameter, taking the corrected zooming parameter as the effective zooming parameter corresponding to the current deformation parameter, and zooming and displaying the current display content according to the effective zooming parameter corresponding to the current deformation parameter.
Optionally, the step of correcting the scaling parameter corresponding to the current deformation parameter according to the effective scaling parameter corresponding to the previous deformation parameter includes:
multiplying the effective zooming parameter corresponding to the previous deformation parameter by the zooming parameter corresponding to the current deformation parameter;
and taking the multiplication result as a modified scaling parameter.
Further, the invention provides a terminal, which comprises a processor, a memory, a communication bus and a deformation component;
the communication bus is used for realizing the connection communication among the processor, the memory and the deformation component;
the deformation component is used for enabling the corresponding part of the terminal to deform under the control of the processor;
the processor is used for executing one or more programs stored in the memory so as to realize the steps of the terminal control method provided by the invention.
Further, the present invention provides a computer-readable storage medium having one or more programs stored thereon, which when executed implement the steps of the terminal control method provided by the present invention.
Advantageous effects
The invention provides a terminal control method, a terminal and a computer readable storage medium, aiming at the problem of inconvenient operation caused by the fact that the existing zooming mode requires double-hand operation of a user, when working parameters of the terminal meet zooming control conditions, the terminal enters a zooming control mode, then deformation parameters of the terminal are detected, zooming parameters corresponding to the deformation parameters are determined, and zooming processing is carried out on the current display content.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a flowchart of a terminal control method according to a first embodiment of the present invention;
fig. 4 is a flowchart of a terminal control method according to a second embodiment of the present invention;
FIG. 5 is a schematic illustration of a scaling mode according to the present invention;
FIG. 6 is a first schematic diagram of a scaling manner according to an embodiment of the present invention;
FIG. 7 is a second schematic diagram of a scaling manner provided by the embodiment of the invention;
FIG. 8 is a third schematic diagram of a scaling manner according to an embodiment of the invention;
FIG. 9 is a fourth exemplary diagram illustrating a scaling manner according to an embodiment of the invention;
FIG. 10 is a fifth exemplary illustration of a scaling manner according to the embodiment of the invention;
FIG. 11 is a sixth exemplary illustration of a scaling manner according to the embodiment of the invention;
fig. 12 is a schematic structural diagram of a terminal according to a third embodiment of the present invention;
fig. 13 is a schematic cross-sectional view of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111, antenna 112, deformation module 113, and the like. The mobile terminal 100 shown in fig. 1 includes at least three groups of antennas 112, where at least one of the three groups of antennas 112 currently communicates with the main transceiving path of the mobile terminal 100 is a main antenna, at least one of the three groups of antennas 112 currently communicates with the auxiliary receiving path of the mobile terminal 100 is an auxiliary antenna, and the rest is an idle antenna, the processor 110 may control on/off of each group of antennas with the main transceiving path and the auxiliary receiving path, respectively, and when the processor 110 controls one group of antennas to communicate with the main transceiving path, the radio frequency unit 101 may receive or transmit signals through the group of antennas, it should be understood that the at least three groups of antennas 112 may be flexibly disposed at any position of the mobile terminal 100, for example, when the mobile terminal 100 includes three groups of antennas 112, the three groups of antennas 112 may be disposed above, below left, and below right of the back of the mobile terminal 100, respectively. Those skilled in the art will also appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
The mobile terminal 100 may further include a deformation module 113 for controlling the terminal to deform, such as an electric motor, an elastic sheet, and the like, and preferably, the deformation module 113 may be logically connected to the processor 110, so as to implement functions of deformation of all or part of the terminal under the control of the processor 110.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a description is given below of a radio communication system to which a mobile terminal of the present invention relates.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the user terminal 100, which is not described herein again, and includes a first user terminal UE2011 used by a first user and a second user terminal UE2012 used by a second user, which are referred to below.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP service 204 may include internet, intranet, IMS (IP Multimedia Subsystem), or other IP services, and in the present invention, the IP service 204 may be an application service, and then, correspondingly, the registration server will also be implemented by a physical device or a virtual device implementing the IP service 204.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
First embodiment
As shown in fig. 5, in the prior art, when zooming, a user needs to click a zoom scale below a display screen, and these zooming manners often require one hand of the user to hold a mobile phone and the other hand of the user to operate on the screen, that is, two hands of the user are required to operate, which causes inconvenience for the user to operate. The embodiment is provided for solving the problem of inconvenient operation caused by the fact that the existing zooming mode requires two hands of a user; fig. 3 is a flowchart of a terminal control method provided in this embodiment, and as can be seen from fig. 3, the terminal control method includes the following steps:
s301, acquiring working parameters of the terminal;
in the invention, the working parameters refer to parameters such as whether the terminal enters a reading mode or not, whether a user starts a zooming function or not and the like. The reading mode refers to a mode in which a user reads an arbitrary document.
In an application scenario of this embodiment, the step includes: judging whether the terminal enters a reading mode or not; when the terminal enters a reading mode, judging that the working parameters meet the zooming control conditions, and needing to enter the zooming control mode; and when the terminal does not enter the reading mode, judging that the working parameters do not meet the zooming control condition, and ending the process without entering the zooming control mode. In the application scenario, the terminal automatically starts the zooming control function in the reading mode, for example, when a user views files such as maps and photos, the user enters the reading mode, and at the moment, the user is considered to be required to zoom the files, and the user enters the zooming control mode after judging that the working parameters meet the zooming control conditions.
In an application scenario of this embodiment, the step includes: judging whether the terminal enters a reading mode or not; after the terminal enters a reading mode, detecting whether a zooming function is started or not; when the zoom function is activated, it is determined that the operating parameter satisfies the zoom control condition. In the application scenario, when the terminal is in the reading mode automatically, whether the user starts the zooming control function needs to be further judged, because the terminal may deform in the process that the user holds the terminal by hand, and misoperation is caused if the terminal is zoomed directly, whether the zooming function is started needs to be judged, and when the zooming function is started, the working parameter is judged to meet the zooming control condition. The method for judging whether the zooming function is started can be realized by judging whether the zooming function key is triggered, whether the user voice trigger is received, whether the deformation parameter is larger than a threshold value and the like.
For example, whether the deformation parameter is greater than the threshold or not is set to 10 degrees, when the deformation angle a in the deformation parameter is less than 10 degrees, the normal deformation generated by the user holding the terminal is considered, and the zooming processing is not needed, and when the deformation angle a is greater than 10 degrees, the normal deformation generated by the user holding the terminal is considered not, that is, the user is considered to try to perform the zooming control and the zooming processing is needed.
And S302, entering a zooming control mode when the working parameters meet zooming control conditions.
In the present invention, the zoom control mode refers to a mode in which the terminal zooms in or zooms out the display content according to some preset rules, some working parameters, and deformation parameters such as bending, and the mode is the basis for implementing the embodiment.
Specifically, the terminal includes deformation members, which may be an integral elastic sheet or a small elastic sheet. As shown in fig. 13, the deformation component 1204 (i.e. the deformation module 113 in fig. 1) is a component composed of a small elastic sheet and a corresponding electric motor, each elastic sheet can be independently deformed under the driving of the electric motor, and a plurality of the elastic sheets cooperate with each other to complete the required deformation, for example, to change the shape of the mobile phone into the effect shown in fig. 6 or 7.
And S303, detecting the current deformation parameters of the terminal.
In the present invention, the deformation parameter refers to a deformation angle and a deformation direction of the first bending portion relative to the second bending portion after the terminal is bent.
Specifically, as shown in fig. 6, the center of the terminal is bent toward the user, and the deformation angle a of the first bent portion relative to the second bent portion is shown in the figure, at this time, the deformation direction is positive; as shown in fig. 7, the terminal center is bent away from the user, and the deformation angle a of the first bent portion relative to the second bent portion is shown, and the deformation direction is negative.
S304, determining a zooming parameter corresponding to the current deformation parameter according to the mapping relation between the preset deformation parameter and the zooming parameter.
In the invention, the mapping relation refers to the corresponding relation between the deformation parameters and the control parameters when the terminal performs the zooming control according to the deformation parameters; the method can be realized by adopting a corresponding relation between the deformation grade and the scaling, and can also be realized by adopting a calculation formula.
Specifically, the manner of using the corresponding relationship between the deformation level and the scaling ratio can be realized by matching the following tables 1 and 2.
Deformation angle (degree) | Grade of deformation |
0-5 | 0 |
5-15 | 1 |
15-25 | 2 |
25-35 | 3 |
35-45 | 4 |
…… | …… |
TABLE 1
TABLE 2
The mapping relation between the deformation direction and the scaling attribute is as follows: when the deformation direction is positive, the corresponding times are amplified, and when the deformation direction is negative, the corresponding times are reduced.
In an application scenario of this embodiment, the step includes: determining the deformation grade and the deformation direction of the current deformation parameter; matching corresponding scaling attributes in the mapping relation according to the deformation direction; zoom attributes include zoom in and zoom out; matching corresponding scaling in the mapping relation according to the deformation grade; and taking the scaling and the scaling attribute as scaling parameters. For example, the user bends the center of the terminal toward the user, where the bending angle a is 30 degrees, according to the description of this embodiment, the zoom attribute corresponding to the current deformation is magnification, the corresponding deformation level is 3, and the corresponding multiple is 4 times, and at this time, the display content may be magnified by 4 times. If the user bends the center of the terminal away from the user, and the bending angle a is 30 degrees, according to the description of this embodiment, the zoom attribute corresponding to the current deformation is reduction, the corresponding deformation level is 3, and the corresponding multiple is 4 times, at this time, the display content is reduced by 4 times, and the size of the display content is 0.25 time.
Specifically, the implementation manner by using the calculation formula is as follows:
the calculation formula is as follows: and y is e ^ (b/30), wherein e is a natural constant, the larger value of b is the same as the deformation angle, and the positive and negative values of b correspond to the deformation direction.
In an application scenario of this embodiment, the step includes: determining a deformation angle and a deformation direction of the current deformation parameter; calling a calculation formula corresponding to the mapping relation; determining the positive and negative of the current deformation parameter in the calculation formula according to the deformation direction; determining the numerical value of the current deformation parameter in the calculation formula according to the deformation angle; and calculating to obtain the scaling parameter corresponding to the current deformation parameter according to a calculation formula. For example, the user may bend the terminal center toward the user, the deformation angle a is 45 degrees, and the deformation direction is positive, according to the description of the present embodiment, b corresponding to the current deformation is +45, at this time, y ═ e (45/30) ^ 4.48 is calculated, and the display content is enlarged by 4.48 times. If the user bends the center of the terminal away from the user, the deformation angle a is 45 degrees, and the deformation direction is negative, according to the description of this embodiment, b corresponding to the current deformation is-45, at this time, y is calculated to be e (-45/30) to be-4.48, and at this time, the display content is reduced by 4.48 times, that is, the display content is about to be 0.22 times.
S305, zooming the currently displayed content according to the zooming parameter corresponding to the current deformation parameter and displaying the zoomed content.
In the present invention, the zoom control mode further includes an adjustment parameter, and the adjustment parameter may be standard zoom or fine zoom. The standard scaling means that only one scaling is related to the current deformation parameter, as shown in fig. 6 or 7, which is a simple way to implement, and the precise scaling means that multiple scaling cooperate to implement precise scaling control, as shown in 4 cases in fig. 8 to 11.
Specifically, the method comprises the following steps: acquiring an adjusting parameter of a zooming control mode; when the adjustment parameter is standard zooming, zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content; and when the adjustment parameter is accurate zooming, correcting the zooming parameter corresponding to the current deformation parameter according to the effective zooming parameter corresponding to the previous deformation parameter, taking the corrected zooming parameter as the effective zooming parameter corresponding to the current deformation parameter, and zooming and displaying the current display content according to the effective zooming parameter corresponding to the current deformation parameter. Specifically, the step of correcting the zoom parameter corresponding to the current deformation parameter according to the effective zoom parameter corresponding to the previous deformation parameter includes: multiplying the effective zooming parameter corresponding to the previous deformation parameter by the zooming parameter corresponding to the current deformation parameter; and taking the multiplication result as a modified scaling parameter.
As shown in fig. 6, the user bends the center of the terminal toward the user, the deformation angle a is 45 degrees, the deformation direction is positive, and according to the description of the present embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e (45/30) to be 4.48, and the display content is enlarged by 4.48 times.
As shown in fig. 7, the user bends the center of the terminal away from the user, the deformation angle a is 45 degrees, and the deformation direction is negative, according to the description of the present embodiment, b corresponding to this deformation is-45, at this time, y is calculated to be e (-45/30) is-4.48, at this time, the display content is reduced by 4.48 times, that is, the display content is about to be 0.22 times.
As shown in fig. 8, at time t1, the user bends the terminal center toward the user, the deformation angle a is 45 degrees, the deformation direction is positive, according to the description of the present embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e ^ (45/30) to be 4.48, and the display content is enlarged by 4.48 times; at the time t2, restoring the terminal, keeping the amplification scale unchanged, and amplifying the display content by 4.48 times; at time t3, the terminal center is bent toward the user, the deformation angle a is 45 degrees, the deformation direction is positive, according to the description of the present embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e ^ (45/30) to be 4.48, and the scaling ratio at time t1 and time t3 is multiplied to obtain the scaling parameter actually required by the user: 4.48 × 4.48 is 20.07, and the display content may be enlarged by 20.07 times.
As shown in fig. 9, at time t1, the user bends the terminal center away from the user, the deformation angle a is 45 degrees, and the deformation direction is negative, according to the description of the present embodiment, b corresponding to this deformation is-45, at this time, y is calculated to be e (-45/30) to-4.48, at this time, the display content is reduced by 4.48 times, that is, 0.22 times; at the time t2, the terminal is restored, the magnification ratio is kept unchanged, and the display content is reduced by 4.48 times; at time t3, the terminal center is bent away from the user, the deformation angle a is 45 degrees, the deformation direction is negative, according to the description of the present embodiment, b corresponding to this deformation is-45, at this time, y is e (-45/30) is calculated to be-4.48, at this time, the display content is reduced by 4.48 times, and the scaling ratio at time t1 and time t3 is multiplied to obtain the scaling parameter actually required by the user: 4.48 × 4.48 — 20.07, the display content may be displayed 0.05 times.
As shown in fig. 10, at time t1, the user bends the terminal center toward the user, the deformation angle a is 45 degrees, the deformation direction is positive, according to the description of the present embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e ^ (45/30) to be 4.48, and the display content is enlarged by 4.48 times; at the time t2, restoring the terminal, keeping the amplification scale unchanged, and amplifying the display content by 4.48 times; at time t3, the terminal center is bent away from the user, the deformation angle a is 45 degrees, the deformation direction is negative, according to the description of the present embodiment, b corresponding to this deformation is-45, at this time, y is e (-45/30) is calculated to be-4.48, at this time, the display content is reduced by 4.48 times, and the scaling ratio at time t1 and time t3 is multiplied to obtain the scaling parameter actually required by the user: 4.48 × 0.22 — 0.96, the display content may be enlarged by 0.96 times.
As shown in fig. 11, at time t1, the user bends the terminal center away from the user, the deformation angle a is 45 degrees, and the deformation direction is negative, according to the description of the present embodiment, b corresponding to this deformation is-45, at this time, y is calculated to be e (-45/30) to be-4.48, at this time, the display content is reduced by 4.48 times, that is, the original content is displayed by 0.22 times; at the time t2, the terminal is restored to the original state, the amplification scale is kept unchanged, and 0.22 time of the display content is required; at time t3, the terminal center is bent toward the user, the deformation angle a is 45 degrees, the deformation direction is positive, according to the description of the present embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e ^ (45/30) to be 4.48, the display content is enlarged by 4.48 times, and the scaling ratio at time t1 and time t3 is multiplied to obtain the scaling parameter actually required by the user: 0.22 × 4.48 is 0.96, and the display content may be enlarged by 0.96 times.
The above calculation only retains the 2 significant digits after the decimal point.
In a scenario where the user ends the reading mode or manually ends the zooming mode, the user is considered to be no longer required to zoom the displayed content. Therefore, after entering the zoom control mode, the present embodiment further includes the following steps: judging whether the terminal finishes reading; after the terminal finishes reading, ending the zooming control mode; calling original deformation parameters of the terminal before entering a zooming control mode; and the control terminal restores to the original deformation parameters. For example, when the terminal ends a reading mode or other scenes, it is determined that the terminal ends a short-distance call, at this time, the zoom control mode is ended, and before the zoom control mode is called, the original deformation parameters of the terminal, such as 90-degree bend, no bend, etc., are controlled to return to the original deformation parameters, so that the user can continue to perform operations before entering the short-distance call.
The current mode of zooming needs the inconvenient problem of operation that user's bimanualness leads to of this embodiment, the terminal when working parameter satisfies the control condition of zooming, get into the control mode of zooming, then detect the deformation parameter of terminal, confirm the scaling parameter that the deformation parameter corresponds, zoom the processing to current display content, at this in-process, the user uses one hand to hold the terminal simultaneously, also can control terminal deformation, the inconvenient problem of operation that current mode of zooming needs user's bimanualness to lead to has been solved, user's use experience has been strengthened.
The present invention will now be further described with reference to specific usage scenarios.
Second embodiment
The present embodiment is illustrated by way of example with fine scaling.
Fig. 4 is a flowchart of a terminal control method provided in this embodiment, and as can be seen from fig. 4, the terminal control method includes the following steps:
s401, obtaining working parameters of the terminal, and entering a zooming control mode when the working parameters meet zooming control conditions.
In this embodiment, the present step includes: judging whether the terminal enters a reading mode or not; after the terminal enters a reading mode, detecting whether a zooming function is started or not; when the zoom function is activated, it is determined that the operating parameter satisfies the zoom control condition. For example, the user manually turns on the zoom function in the precision mode, and enters the zoom control mode after considering that zoom processing is required.
S402, detecting a first deformation parameter of the terminal, and determining a scaling parameter corresponding to the current deformation parameter.
The method specifically comprises the following steps: determining a deformation angle and a deformation direction of the current deformation parameter; calling a calculation formula corresponding to the mapping relation; determining the positive and negative of the current deformation parameter in the calculation formula according to the deformation direction; determining the numerical value of the current deformation parameter in the calculation formula according to the deformation angle; and calculating to obtain the scaling parameter corresponding to the current deformation parameter according to a calculation formula.
At time t1, the user bends the terminal to generate a first deformation parameter, bends the center of the terminal toward the user, where the deformation angle a is 45 degrees and the deformation direction is positive, and according to the description of this embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e ^ (45/30) to be 4.48, and the display content is enlarged by 4.48 times.
And S403, restoring the deformation and keeping the scaling unchanged.
At time t2, the user may restore the terminal, keep the magnification constant, and magnify the displayed content by 4.48 times.
S404, detecting a second deformation parameter of the terminal, and determining a scaling parameter corresponding to the current deformation parameter.
At time t3, the terminal center is bent toward the user, the deformation angle a is 45 degrees, the deformation direction is positive, according to the description of the present embodiment, b corresponding to this deformation is +45, at this time, y is calculated to be e ^ (45/30) to be 4.48, and the scaling ratio at time t1 and time t3 is multiplied to obtain the scaling parameter actually required by the user: 4.48 × 4.48 is 20.07, and the display content may be enlarged by 20.07 times.
S405, the terminal exits the zooming control mode and restores to the original state.
For example, at time t4, the terminal ends the reading mode, exits the zoom control mode, and controls the terminal to return to the original deformation parameters before the terminal is called to enter the automatic deformation mode, such as bending by 90 degrees, not bending, and the like, so that the user can continue to perform the operations before entering the short-distance communication.
This embodiment needs the inconvenient problem of operation that user's bimanualness leads to current mode of zooming, the terminal enters the zoom control mode when working parameter satisfies the zoom control condition, then detect the deformation parameter of terminal, confirm the zoom parameter that the deformation parameter corresponds, zoom the processing to current display content, at this in-process, the user uses one hand to hold the terminal simultaneously, also can control terminal deformation, the inconvenient problem of operation that current mode of zooming needs user's bimanualness to lead to has been solved, user's use experience has been strengthened.
Third embodiment
The present embodiment provides a terminal, as shown in fig. 12, including a processor 1201, a memory 1202, a communication bus 1203, and a deformation member 1204;
the communication bus 1203 is used for realizing connection communication among the processor 1201, the memory 1202 and the deformation member 1204;
the deformation component 1204 is used for enabling the corresponding part of the terminal to deform under the control of the processor 1201;
the processor 1201 is configured to execute one or more programs stored in the memory to perform the steps of:
acquiring working parameters of a terminal;
when the working parameters meet the zooming control conditions, entering a zooming control mode;
detecting a current deformation parameter of the terminal;
determining a zooming parameter corresponding to the current deformation parameter according to a mapping relation between a preset deformation parameter and the zooming parameter;
and zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
judging whether the terminal enters a reading mode or not;
and when the terminal enters a reading mode, judging that the working parameters meet the zooming control conditions.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
judging whether the terminal enters a reading mode or not;
after the terminal enters a reading mode, detecting whether a zooming function is started or not;
when the zoom function is activated, it is determined that the operating parameter satisfies the zoom control condition.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
judging whether the terminal finishes reading;
after the terminal finishes reading, ending the zooming control mode;
calling original deformation parameters of the terminal before entering a zooming control mode;
and the control terminal restores to the original deformation parameters.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
determining the deformation grade and the deformation direction of the current deformation parameter;
matching corresponding scaling attributes in the mapping relation according to the deformation direction; zoom attributes include zoom in and zoom out;
matching corresponding scaling in the mapping relation according to the deformation grade;
and taking the scaling and the scaling attribute as scaling parameters.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
determining a deformation angle and a deformation direction of the current deformation parameter;
calling a calculation formula corresponding to the mapping relation;
determining the positive and negative of the current deformation parameter in the calculation formula according to the deformation direction;
determining the numerical value of the current deformation parameter in the calculation formula according to the deformation angle;
and calculating to obtain the scaling parameter corresponding to the current deformation parameter according to a calculation formula.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
after the step of entering the zoom control mode, acquiring an adjustment parameter of the zoom control mode; the adjustment parameters comprise standard scaling and precise scaling;
when the adjustment parameter is standard zooming, zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content;
and when the adjustment parameter is accurate zooming, correcting the zooming parameter corresponding to the current deformation parameter according to the effective zooming parameter corresponding to the previous deformation parameter, taking the corrected zooming parameter as the effective zooming parameter corresponding to the current deformation parameter, and zooming and displaying the current display content according to the effective zooming parameter corresponding to the current deformation parameter.
In some embodiments, the processor 1201 is further configured to execute one or more programs stored in the memory 1202 to perform the steps of:
multiplying the effective zooming parameter corresponding to the previous deformation parameter by the zooming parameter corresponding to the current deformation parameter;
and taking the multiplication result as a modified scaling parameter.
Specifically, referring to fig. 13, the electronic hardware layer refers to hardware layers such as a battery and a circuit board in a terminal such as a mobile phone, the electric motor layer is provided with a plurality of micro motors (not shown) for driving the elastic sheets, the elastic sheet layer includes a plurality of elastic sheets, and the display screen layer includes components such as a display screen such as a flexible screen, an earphone and a microphone (not shown).
The present invention also provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
acquiring working parameters of a terminal;
when the working parameters meet the zooming control conditions, entering a zooming control mode;
detecting a current deformation parameter of the terminal;
determining a zooming parameter corresponding to the current deformation parameter according to a mapping relation between a preset deformation parameter and the zooming parameter;
and zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
judging whether the terminal enters a reading mode or not;
and when the terminal enters a reading mode, judging that the working parameters meet the zooming control conditions.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
judging whether the terminal enters a reading mode or not;
after the terminal enters a reading mode, detecting whether a zooming function is started or not;
when the zoom function is activated, it is determined that the operating parameter satisfies the zoom control condition.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
after entering a zooming control mode, judging whether the terminal finishes reading;
after the terminal finishes reading, ending the zooming control mode;
calling original deformation parameters of the terminal before entering a zooming control mode;
and the control terminal restores to the original deformation parameters.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
determining the deformation grade and the deformation direction of the current deformation parameter;
matching corresponding scaling attributes in the mapping relation according to the deformation direction; zoom attributes include zoom in and zoom out;
matching corresponding scaling in the mapping relation according to the deformation grade;
and taking the scaling and the scaling attribute as scaling parameters.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
determining a deformation angle and a deformation direction of the current deformation parameter;
calling a calculation formula corresponding to the mapping relation;
determining the positive and negative of the current deformation parameter in the calculation formula according to the deformation direction;
determining the numerical value of the current deformation parameter in the calculation formula according to the deformation angle;
and calculating to obtain the scaling parameter corresponding to the current deformation parameter according to a calculation formula.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
acquiring an adjusting parameter of a zooming control mode; the adjustment parameters comprise standard scaling and precise scaling;
when the adjustment parameter is standard zooming, zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content;
and when the adjustment parameter is accurate zooming, correcting the zooming parameter corresponding to the current deformation parameter according to the effective zooming parameter corresponding to the previous deformation parameter, taking the corrected zooming parameter as the effective zooming parameter corresponding to the current deformation parameter, and zooming and displaying the current display content according to the effective zooming parameter corresponding to the current deformation parameter.
In some embodiments, the one or more programs are executable by the one or more processors to perform the steps of:
multiplying the effective zooming parameter corresponding to the previous deformation parameter by the zooming parameter corresponding to the current deformation parameter;
and taking the multiplication result as a modified scaling parameter.
The invention provides a terminal control method, a terminal and a computer readable storage medium, aiming at the problem of inconvenient operation caused by the fact that the existing zooming mode requires double-hand operation of a user, when working parameters of the terminal meet zooming control conditions, the terminal enters a zooming control mode, then deformation parameters of the terminal are detected, zooming parameters corresponding to the deformation parameters are determined, and zooming processing is carried out on the current display content.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (9)
1. A terminal control method, comprising:
acquiring working parameters of a terminal;
when the working parameters meet the zooming control conditions, entering a zooming control mode;
detecting a current deformation parameter of the terminal;
determining a zooming parameter corresponding to the current deformation parameter according to a mapping relation between a preset deformation parameter and the zooming parameter;
obtaining an adjusting parameter of the zooming control mode according to a zooming parameter corresponding to the current deformation parameter;
the adjustment parameters include standard scaling and fine scaling; when the adjustment parameter is standard zooming, zooming the current display content according to the zooming parameter corresponding to the current deformation parameter and displaying the current display content; and when the adjustment parameter is accurate zooming, correcting the zooming parameter corresponding to the current deformation parameter according to the effective zooming parameter corresponding to the previous deformation parameter, taking the corrected zooming parameter as the effective zooming parameter corresponding to the current deformation parameter, and zooming and displaying the current display content according to the effective zooming parameter corresponding to the current deformation parameter.
2. The terminal control method of claim 1, wherein the step of obtaining the operating parameters of the terminal comprises:
judging whether the terminal enters a reading mode or not;
and when the terminal enters a reading mode, judging that the working parameters meet the zooming control conditions.
3. The terminal control method of claim 1, wherein the step of obtaining the operating parameters of the terminal comprises:
judging whether the terminal enters a reading mode or not;
after the terminal enters a reading mode, detecting whether a zooming function is started or not;
when the zoom function is activated, it is determined that the operating parameter satisfies a zoom control condition.
4. The terminal control method of claim 1, further comprising, after entering a zoom control mode:
judging whether the terminal finishes reading;
after the terminal finishes reading, ending the zooming control mode;
calling original deformation parameters of the terminal before entering a zooming control mode;
and controlling the terminal to recover to the original deformation parameters.
5. The terminal control method according to claim 1, wherein the step of determining the scaling parameter corresponding to the current morphing parameter according to the mapping relationship comprises:
determining the deformation grade and the deformation direction of the current deformation parameter;
according to the deformation direction, matching corresponding scaling attributes in the mapping relation; the zoom attribute includes zoom in and zoom out;
according to the deformation grade, matching a corresponding scaling in the mapping relation;
and taking the scaling and the scaling attribute as the scaling parameters.
6. The terminal control method according to claim 1, wherein the step of determining the scaling parameter corresponding to the current morphing parameter according to the mapping relationship comprises:
determining a deformation angle and a deformation direction of the current deformation parameter;
calling a calculation formula corresponding to the mapping relation;
determining the positive and negative of the current deformation parameter in the calculation formula according to the deformation direction;
determining the numerical value of the current deformation parameter in the calculation formula according to the deformation angle;
and calculating to obtain a scaling parameter corresponding to the current deformation parameter according to the calculation formula.
7. The terminal control method according to claim 1, wherein the step of modifying the scaling parameter corresponding to the current morphing parameter according to the effective scaling parameter corresponding to the previous morphing parameter comprises:
multiplying the effective zooming parameter corresponding to the previous deformation parameter by the zooming parameter corresponding to the current deformation parameter;
taking the multiplication result as the modified scaling parameter.
8. A terminal, comprising a processor, a memory, a communication bus, and a morphing member;
the communication bus is used for realizing the connection communication among the processor, the memory and the deformation component;
the deformation component is used for enabling the corresponding part of the terminal to deform under the control of the processor;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the terminal control method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon one or more programs which, when executed, implement the steps of the terminal control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240540.7A CN108228048B (en) | 2017-11-30 | 2017-11-30 | Terminal control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240540.7A CN108228048B (en) | 2017-11-30 | 2017-11-30 | Terminal control method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108228048A CN108228048A (en) | 2018-06-29 |
CN108228048B true CN108228048B (en) | 2020-12-22 |
Family
ID=62653078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711240540.7A Active CN108228048B (en) | 2017-11-30 | 2017-11-30 | Terminal control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228048B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110286827B (en) * | 2019-06-27 | 2021-07-13 | 广州视源电子科技股份有限公司 | Element scaling control method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104220963A (en) * | 2012-04-08 | 2014-12-17 | 三星电子株式会社 | Flexible display apparatus and operating method thereof |
CN104781778A (en) * | 2012-10-04 | 2015-07-15 | 三星电子株式会社 | Flexible display apparatus and control method thereof |
CN106201205A (en) * | 2016-07-11 | 2016-12-07 | 百度在线网络技术(北京)有限公司 | Display packing and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677610A (en) * | 2012-09-21 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic device |
KR20140089816A (en) * | 2013-01-07 | 2014-07-16 | 삼성전자주식회사 | Image zooming method and terminal implementing the same |
US9645726B2 (en) * | 2013-06-08 | 2017-05-09 | Apple Inc. | Mapping application with interactive dynamic scale and smart zoom |
CN106371781B (en) * | 2015-12-18 | 2019-09-20 | 北京智谷睿拓技术服务有限公司 | Display methods, display device and user equipment based on the controllable display screen of deformation |
CN105808099B (en) * | 2016-02-29 | 2019-05-31 | 努比亚技术有限公司 | Content of text display methods, device and the mobile terminal of mobile terminal |
CN107247545A (en) * | 2017-05-18 | 2017-10-13 | 上海斐讯数据通信技术有限公司 | The information preview method and flexible screen equipment of a kind of flexible screen equipment |
-
2017
- 2017-11-30 CN CN201711240540.7A patent/CN108228048B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104220963A (en) * | 2012-04-08 | 2014-12-17 | 三星电子株式会社 | Flexible display apparatus and operating method thereof |
CN104781778A (en) * | 2012-10-04 | 2015-07-15 | 三星电子株式会社 | Flexible display apparatus and control method thereof |
CN106201205A (en) * | 2016-07-11 | 2016-12-07 | 百度在线网络技术(北京)有限公司 | Display packing and device |
Also Published As
Publication number | Publication date |
---|---|
CN108228048A (en) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108513070B (en) | Image processing method, mobile terminal and computer readable storage medium | |
CN110007816B (en) | Display area determining method, terminal and computer readable storage medium | |
CN108108081B (en) | Information display method based on double-sided screen, mobile terminal and readable storage medium | |
CN108449513B (en) | Interactive regulation and control method, equipment and computer readable storage medium | |
CN108196777B (en) | Flexible screen application method and device and computer readable storage medium | |
CN109710159B (en) | Flexible screen response method and device and computer readable storage medium | |
CN107979727A (en) | A kind of document image processing method, mobile terminal and computer-readable storage medium | |
CN108334266B (en) | Control method of flexible terminal, flexible terminal and computer readable storage medium | |
CN108563388B (en) | Screen operation method, mobile terminal and computer-readable storage medium | |
CN107729104B (en) | Display method, mobile terminal and computer storage medium | |
CN109683778B (en) | Flexible screen control method and device and computer readable storage medium | |
CN109491577B (en) | Holding interaction method and device and computer readable storage medium | |
CN108762709B (en) | Terminal control method, terminal and computer readable storage medium | |
CN112437472B (en) | Network switching method, equipment and computer readable storage medium | |
CN109947298B (en) | System calling method, terminal and computer readable storage medium | |
CN109710168B (en) | Screen touch method and device and computer readable storage medium | |
CN109710149B (en) | Interactive display method, equipment and computer readable storage medium | |
CN112153305A (en) | Camera starting method, mobile terminal and computer storage medium | |
CN109669616B (en) | Side screen interaction control method and device and computer readable storage medium | |
CN107273006A (en) | A kind of method for information display, equipment and computer-readable recording medium | |
CN109561221B (en) | Call control method, device and computer readable storage medium | |
CN109683796B (en) | Interaction control method, equipment and computer readable storage medium | |
CN108228048B (en) | Terminal control method, terminal and computer readable storage medium | |
CN108897417B (en) | Working mode adjusting method, mobile terminal and computer readable storage medium | |
CN107831998B (en) | Interface moving 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |