[go: up one dir, main page]

CN105302441B - A kind of screen size adjusting method and terminal device - Google Patents

A kind of screen size adjusting method and terminal device Download PDF

Info

Publication number
CN105302441B
CN105302441B CN201510708772.5A CN201510708772A CN105302441B CN 105302441 B CN105302441 B CN 105302441B CN 201510708772 A CN201510708772 A CN 201510708772A CN 105302441 B CN105302441 B CN 105302441B
Authority
CN
China
Prior art keywords
screen
size
terminal device
terminal equipment
display screen
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
Application number
CN201510708772.5A
Other languages
Chinese (zh)
Other versions
CN105302441A (en
Inventor
张帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510708772.5A priority Critical patent/CN105302441B/en
Publication of CN105302441A publication Critical patent/CN105302441A/en
Application granted granted Critical
Publication of CN105302441B publication Critical patent/CN105302441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of terminal device, the terminal device includes:Acquiring unit and adjusting unit;Wherein, the acquiring unit, the inclination degree of the display screen for when detecting that the terminal device is in singlehanded mode, obtaining the terminal device;The adjusting unit adjusts the size of the first screen of the terminal device under the singlehanded mode for the inclination degree for showing screen according to the terminal device;Wherein, the screen of mapping relations is generated when first screen is the singlehanded mode with the display screen of the terminal device.The embodiment of the present invention further simultaneously discloses a kind of screen size adjusting method.

Description

Screen size adjusting method and terminal equipment
Technical Field
The invention relates to a screen function management technology in the field of touch control, in particular to a screen size adjusting method and terminal equipment.
Background
With the continuous development of scientific technology and the improvement of user requirements, mobile terminals with large-size screens, such as mobile phones, are more and more popular with users. However, when a user operates a large-size screen mobile phone, two hands are needed for operation; if the mobile phone is held by one hand, the problem that some areas of the screen of the mobile phone cannot be operated occurs when the mobile phone is operated. To address this problem, large screen handsets provide a one-handed mode. In the single-hand mode, the display screen of the mobile phone is mapped to a small screen, and the operation of the small screen by the user can be equivalent to the operation on the large screen.
At present, the size of a small screen in a single-hand mode scheme is fixed, and for different users, the sizes of the hands of the users are different, and the gestures of the users holding mobile phones are also different. Therefore, although the large-size screen mobile phone provides a single-hand mode and provides screen mapping, the problem that the user is difficult to operate in an area where the screen of the mobile phone is far away from the fingers still occurs based on the use habits, the size and other factors of the user, the experience effect of the user is poor, and the operation is inconvenient.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a screen size adjustment method and a terminal device, which solve the problem that in the existing terminal device, the size of a small screen is fixed in a single-hand mode, and it is difficult for a user to operate an area of the screen of the terminal device far from a finger, improve the experience effect of the user, and make the operation more convenient.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, a terminal device is provided, where the terminal device includes: an acquisition unit and an adjustment unit; wherein,
the acquiring unit is used for acquiring the inclination degree of a display screen of the terminal equipment when the terminal equipment is detected to be in a single-hand mode;
the adjusting unit is used for adjusting the size of a first screen of the terminal equipment in the single-hand mode according to the inclination degree of a display screen of the terminal equipment; and the first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in the single-hand mode.
Optionally, the obtaining unit includes: the device comprises a first judgment module and a first processing module; wherein,
the first judging module is used for judging whether a display screen of the terminal equipment is inclined or not when the terminal equipment is detected to enter a single-hand mode;
the first processing module is used for acquiring an included angle between a second edge of the terminal equipment and a horizontal line when the display screen of the terminal equipment rotates along the first edge of the terminal equipment to generate inclination, so as to obtain a first inclination angle of the display screen of the terminal equipment;
the adjusting unit includes: the device comprises a first acquisition module and a first regulation module; wherein,
the first obtaining module is used for obtaining the size of the first screen, which corresponds to a first inclination angle, to be adjusted according to the first inclination angle of the display screen of the terminal device;
the first adjusting module is used for adjusting the side size of the first screen and the second side of the terminal device in the same direction according to the size of the first screen needing to be adjusted.
Optionally, the obtaining unit further includes: the second judgment module and the second processing module; wherein,
the second judging module is used for judging whether a display screen of the terminal equipment is inclined or not when the terminal equipment is detected to enter a single-hand mode;
the second processing module is used for acquiring an included angle between the first edge of the terminal equipment and a horizontal line when the display screen of the terminal equipment rotates along the second edge of the terminal equipment to generate inclination, so as to obtain a second inclination angle of the display screen of the terminal equipment;
the adjusting unit further includes: the second acquisition module and the second adjusting module; wherein,
the second obtaining module is used for obtaining the size, which is required to be adjusted, of the first screen corresponding to a second inclination angle according to the second inclination angle of the display screen of the terminal device;
the second adjusting module is used for adjusting the side size of the first screen of the terminal device, which has the same direction as the first side, according to the size of the first screen needing to be adjusted.
Optionally, the obtaining unit further includes: a third judging module and a third processing module; wherein,
the third judging module is used for judging whether the display screen of the terminal equipment is inclined or not when the terminal equipment is detected to enter the single-hand mode;
the third processing module is configured to, when the display screen of the terminal device rotates along a first edge and a second edge of the terminal device simultaneously to generate an inclination, respectively obtain included angles between the first edge and the horizontal line and between the second edge of the terminal device and the horizontal line, and obtain a third inclination angle of the display screen of the terminal device;
the adjusting unit further includes: a third obtaining module and a third adjusting module; wherein,
the third obtaining module is configured to obtain, according to a third inclination angle of a display screen of the terminal device, a size of the first screen, which corresponds to the third inclination angle, and which needs to be adjusted;
and the third adjusting module is used for adjusting the size of the first screen to be adjusted according to the first screen, and adjusting the side size of the first screen of the terminal device, which has the same direction as the first side of the terminal device and has the same direction as the second side of the terminal device.
Optionally, the terminal device further includes: the device comprises a judging unit, a processing unit and a switching unit; wherein,
the judging unit is used for judging whether the size of the first screen of the terminal equipment is smaller than a preset size or not;
the obtaining unit is further configured to obtain a touch focus position where a user touches the first screen of the terminal device when the size of the first screen of the terminal device is smaller than a preset size;
the processing unit is configured to enlarge a size of a touch area of a corresponding touch object at the touch focus position to a first size, so that the user performs a touch operation on the touch area;
the switching unit is used for switching the size of the touch area enlarged to the first size to the initial size when the first operation of the user on the touch area is received or the touch focusing position is changed; and the initial size is the size of the touch area before amplification processing is carried out.
In a second aspect, a method for adjusting a screen size is provided, where the method is applied in a terminal device, and the method includes:
when the terminal equipment is detected to be in a single-hand mode, acquiring the inclination degree of a display screen of the terminal equipment;
adjusting the size of a first screen of the terminal equipment in the single-hand mode according to the inclination degree of a display screen of the terminal equipment; and the first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in the single-hand mode.
Optionally, when it is detected that the terminal device enters the one-handed mode, receiving a size adjustment instruction obtained by a first operation of the terminal device by a user includes:
when the terminal equipment is detected to enter a single-hand mode, judging whether a display screen of the terminal equipment is inclined or not;
when the display screen of the terminal equipment rotates along the first edge of the terminal equipment to generate inclination, acquiring an included angle between the second edge of the terminal equipment and a horizontal line to obtain a first inclination angle of the display screen of the terminal equipment;
the adjusting the size of the first screen of the terminal device in the single-hand mode according to the inclination degree of the display screen of the terminal device includes:
according to a first inclination angle of a display screen of the terminal equipment, acquiring the size of the first screen, which corresponds to the first inclination angle, and needs to be adjusted;
and adjusting the size of the side of the first screen of the terminal equipment, which has the same direction with the second side, according to the size of the first screen needing to be adjusted.
Optionally, when it is detected that the terminal device enters the one-handed mode, receiving a size adjustment instruction obtained by a first operation of the terminal device by a user includes:
when the terminal equipment is detected to enter a single-hand mode, judging whether a display screen of the terminal equipment is inclined or not;
when the display screen of the terminal equipment rotates along the second edge of the terminal equipment to generate inclination, acquiring an included angle between the first edge of the terminal equipment and a horizontal line to obtain a second inclination angle of the display screen of the terminal equipment;
the adjusting the size of the first screen of the terminal device in the single-hand mode according to the inclination degree of the display screen of the terminal device includes:
according to a second inclination angle of a display screen of the terminal equipment, acquiring the size of the first screen, which corresponds to the second inclination angle, and needs to be adjusted;
and adjusting the size of a side of the first screen of the terminal equipment, which has the same direction as the first side, according to the size of the first screen needing to be adjusted.
Optionally, when it is detected that the terminal device enters the one-handed mode, receiving a size adjustment instruction obtained by a first operation of the terminal device by a user includes:
when the terminal equipment is detected to enter a single-hand mode, judging whether a display screen of the terminal equipment is inclined or not;
when the display screen of the terminal equipment rotates along a first edge and a second edge of the terminal equipment simultaneously to generate inclination, respectively acquiring included angles between the first edge and the second edge of the terminal equipment and a horizontal line to obtain a third inclination angle of the display screen of the terminal equipment;
the adjusting the size of the first screen of the terminal device in the single-hand mode according to the inclination degree of the display screen of the terminal device includes:
according to a third inclination angle of a display screen of the terminal equipment, acquiring the size of the first screen, which corresponds to the third inclination angle, and needs to be adjusted;
and adjusting the size of the first screen of the terminal equipment and the size of the side of the first screen of the terminal equipment, which has the same direction as the first side of the terminal equipment and has the same direction as the second side of the terminal equipment simultaneously according to the size of the first screen needing to be adjusted.
Optionally, the method further includes:
judging whether the size of a first screen of the terminal equipment is smaller than a preset size or not;
when the size of the first screen of the terminal equipment is smaller than a preset size, acquiring a touch control focusing position of a user for touching the first screen of the terminal equipment;
enlarging the size of a touch area of the corresponding touch object at the touch focus position to a first size;
when a first operation of the user on the touch area or the change of the touch focus position is received, switching the size of the touch area enlarged to a first size to an initial size; and the initial size is the size of the touch area before amplification processing is carried out.
According to the screen size adjusting method and the terminal device provided by the embodiment of the invention, when the terminal device is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal device is obtained, and the size of the first screen of the terminal device in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal device, so that when the terminal device is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal device when a user uses the terminal device, the problems that the size of a small screen in the single-hand mode is fixed in the existing terminal device, the operation of the screen of the terminal device by the user is difficult in a region far away from a finger are solved, the experience effect of the user is improved, and the operation is more convenient.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a communication system in which a mobile terminal according to an embodiment of the present invention can operate;
FIG. 3 is a flowchart illustrating a method for adjusting a screen size according to an embodiment of the present invention;
fig. 4 is a schematic entity structure diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a single-handed mode of a terminal device according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating another method for adjusting screen size according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating another method for adjusting a screen size according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a method for adjusting a screen size according to another embodiment of the present invention;
FIG. 9 is a flowchart illustrating another method for adjusting screen size according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal device according to another embodiment of the present invention;
fig. 14 is a schematic structural diagram of another terminal device according to another embodiment of the present invention;
fig. 15 is a schematic structural diagram of another terminal device according to another embodiment of the present invention;
fig. 16 is a schematic structural diagram of a terminal device according to yet another embodiment of the present invention;
fig. 17 is a schematic structural diagram of another terminal device according to yet another embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to fig. 1. 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 themselves. Thus, "module" and "component" may be used in a mixture.
The mobile 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 smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module 115 is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone 122 in a phone call mode, a recording mode, a voice recognition mode, or the like, and is 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 mobile communication module 112 in case of a phone call mode. The microphone 122 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 user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 141 as will be described below in connection with a touch screen.
The interface unit 170 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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device 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 and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal 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 module 152 may 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 module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other Incoming Communication (Incoming Communication) is received, the alarm unit 153 may provide a tactile output (e.g., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC280 interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
An embodiment of the present invention provides a screen size adjusting method, which is applied to a terminal device, and as shown in fig. 3, the method includes the following steps:
step 301, when detecting that the terminal device is in the one-hand mode, acquiring the inclination degree of the display screen of the terminal device.
Specifically, the step 301 of obtaining the inclination degree of the display screen of the terminal device may be implemented by the terminal device. Alternatively, the terminal device may be a mobile terminal.
The screen size adjusting method provided by the invention can be suitable for a mobile terminal with a larger screen size, and optionally can be a mobile phone with a larger screen size as shown in fig. 4. The single-hand mode is mainly used for large-screen mobile phones and is used for solving the problem that some keys are difficult to touch when the screen of the large-screen mobile phone is too large and the mobile phone is operated by one hand; specifically, referring to fig. 5, in the one-hand mode, the screen display content may be reduced to form a first screen according to a certain proportional relationship, and a corresponding mapping relationship exists between the reduced first screen and the display screen of the terminal device, so that a user can conveniently and smoothly operate the terminal device with one hand.
Whether the terminal device is in the one-handed mode or not can be detected by detecting whether the first screen is in the one-handed mode or not on a display screen of the terminal device. When detecting that a first screen appears on a display screen of the terminal equipment, judging that the terminal equipment enters a single-hand mode; at this time, the inclination angle of the display screen of the terminal device needs to be obtained, and the inclination angle of the display screen of the terminal device can be obtained by obtaining an included angle between one side of the display screen of the terminal device and a horizontal line; assuming that any one side of the display screen of the terminal device is a first side, and any one side of sides perpendicular to the first side is a second side, specifically, the first inclination angle of the display screen may be obtained according to an included angle between the second side of the display screen of the terminal device and a horizontal line; or obtaining a second inclination angle of the display screen according to the obtained included angle between the first edge of the display screen of the terminal device and the horizontal line; or, the third inclination angle of the display screen of the terminal device is obtained according to the included angle between the first edge of the terminal device and the horizontal line and the included angle between the second edge of the terminal device and the horizontal line.
The mobile terminal refers to a device which can be used in moving, and broadly includes a mobile phone, a notebook, a tablet computer, and even a vehicle-mounted computer. However, most of the cases refer to mobile phones or smart phones and tablet computers with multiple application functions. With the development of networks and technologies towards increasingly broader bands, the mobile communications industry will move towards a true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing capability of the mobile terminal has already possessed strong processing capability, and the mobile terminal is changing from a simple conversation tool to an integrated information processing platform. This also adds more development space to mobile terminals. Mobile terminals have been developed as simple communication devices with mobile communications for decades. The mobile intelligent terminal is almost instantly changed into a key entrance and a main innovation platform of internet business, a novel media, electronic commerce and information service platform, the most important pivot of internet resources, mobile network resources and environment interaction resources, and an operating system and a processor chip of the mobile intelligent terminal even become strategic high points of the whole information and communication technology industry at present.
Step 302, adjusting the size of the first screen of the terminal device in the one-handed mode according to the inclination degree of the display screen of the terminal device.
The first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in a single-hand mode.
It should be noted that, in step 302, adjusting the size of the first screen of the terminal device in the one-handed mode according to the inclination degree of the display screen of the terminal device may be implemented by the terminal device. Alternatively, the terminal device may be a mobile terminal.
The size of the first screen of the terminal device in the one-handed mode is adjusted according to the inclination degree of the display screen of the terminal device, and the size of different sides of the first screen of the terminal device can be adjusted according to different inclination degrees of the display screen. The first screen is a screen displayed on a display screen of the terminal device when the terminal device is in a one-handed mode, touch operation of a user on the first screen can be mapped onto the display screen of the terminal device correspondingly, and the user can operate the terminal device conveniently through operation on the first screen.
Specifically, the size of the first screen of the terminal device can be adjusted according to the obtained first inclination angle of the display screen of the terminal device; or the size of the first screen of the terminal device can be adjusted according to the obtained second inclination angle of the display screen of the terminal device; or adjusting the size of the first screen of the terminal equipment according to the obtained first inclination angle and the second inclination angle of the display screen of the terminal equipment. When the size of the first screen of the terminal device is adjusted, the size of a side of the first screen of the terminal device, which has the same direction as the second side of the terminal device, can be adjusted according to the first inclination angle of the display screen of the terminal device; or, the size of the side of the first screen of the terminal device, which has the same direction as the first side of the terminal device, is adjusted according to the second inclination angle of the display screen of the terminal device; or, according to the third inclination angle of the display screen of the terminal device, the size of the side of the first screen of the terminal device, which has the same direction as the first side of the terminal device, and the size of the side of the first screen of the terminal device, which has the same direction as the second side of the terminal device, are adjusted simultaneously. It should be noted that, when the size of the first screen of the terminal device is adjusted, the size of the first screen of the terminal device to be adjusted may be obtained according to the obtained first inclination angle, the second inclination angle, and the third inclination angle of the display screen of the terminal device, and then the size of the first edge and the size of the second edge of the first screen of the terminal device may be adjusted according to the size of the first screen to be adjusted.
It should be noted that, when the size of the first screen of the terminal device is adjusted in the embodiment of the present invention, the position of the first screen may be optionally fixed, so that the size of the adjusted first screen may be better convenient for a user to operate the electronic device.
According to the screen size adjusting method provided by the embodiment of the invention, when the terminal equipment is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal equipment is obtained, and the size of the first screen of the terminal equipment in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal equipment, so that when the terminal equipment is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal equipment when a user uses the terminal equipment, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal equipment, and the screen of the terminal equipment is difficult to operate in an area far away from fingers are solved, the experience effect of the user is improved, and the operation is more convenient.
An embodiment of the present invention provides a screen size adjusting method, which is applied to a terminal device, and as shown in fig. 6, the method includes the following steps:
step 401, when it is detected that the terminal device enters the one-handed mode, the terminal device determines whether a display screen of the terminal device is tilted.
The terminal device may be a mobile terminal, optionally a mobile phone with a large-size display screen, and the definition of the size of the mobile phone may be specifically defined according to whether the operation of the mobile phone is conveniently realized when a user operates with a single hand.
Judging whether the display screen of the terminal equipment is inclined or not, wherein the judgment can be obtained by judging whether the display screen of the terminal equipment is parallel to a horizontal plane or not; if the display screen of the terminal device is parallel to the horizontal plane, the display screen of the terminal device is not tilted, and if the display screen of the terminal device is not parallel to the horizontal plane, the display screen of the terminal device is tilted.
Step 402, when the display screen of the terminal device rotates along the first edge of the terminal device to generate an inclination, the terminal device obtains an included angle between the second edge of the terminal device and a horizontal line, and obtains a first inclination angle of the display screen of the terminal device.
The first side may be any one of four sides of the terminal device, and the second side may be any one of two sides perpendicular to the first side. The obtained included angle between the second edge and the horizontal line is the first inclination angle of the display screen of the terminal device, and it should be noted that any scheme capable of obtaining the included angle between the terminal device and the horizontal line in the prior art can be applied to obtain the included angle between the second edge of the terminal device and the horizontal line.
The angle between the second side of the display screen of the terminal device and the horizontal line ranges between zero degrees and ninety degrees, optionally between five degrees and eighty degrees.
Step 403, the terminal device obtains a size, which is required to be adjusted, of the first screen corresponding to the first inclination angle according to the first inclination angle of the display screen of the terminal device.
The first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in a single-hand mode.
Specifically, a relationship correspondence table between the inclination angle of the display screen and the adjustment size may be stored in the terminal device in advance, and after the first inclination angle of the display screen is obtained, the size, which needs to be adjusted, of the first screen of the terminal device corresponding to the first inclination angle of the display screen may be searched in the relationship correspondence table between the inclination angle of the display screen and the adjustment size; or, a proportional relation between the inclination angle of the display screen and the size of the first screen to be adjusted may be stored in the terminal device in advance, and after the first inclination angle of the display screen is obtained, the size of the first screen of the terminal device to be adjusted, which corresponds to the first inclination angle of the display screen, may be calculated according to the proportional relation between the inclination angle of the display screen and the size of the first screen to be adjusted. It should be noted that, in this embodiment, only a method for obtaining the size of the first screen that needs to be adjusted is illustrated, and the method is not limited to be implemented only by using the foregoing method.
And step 404, the terminal device adjusts the size of the side of the terminal device, where the first screen and the second side have the same direction, according to the size of the first screen to be adjusted.
Specifically, the terminal device may correspondingly decrease or increase the size of the edge of the first screen, which has the same direction as the second edge, according to the searched or calculated size of the first screen that needs to be adjusted. When the inclination angle of the first screen is increased, the size of the side of the first screen, which has the same direction as the second side, is correspondingly required to be reduced; when the inclination angle of the first screen becomes smaller, it is necessary to increase the size of the side of the first screen having the same direction as the second side accordingly.
According to the screen size adjusting method provided by the embodiment of the invention, when the terminal equipment is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal equipment is obtained, and the size of the first screen of the terminal equipment in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal equipment, so that when the terminal equipment is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal equipment when a user uses the terminal equipment, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal equipment, and the screen of the terminal equipment is difficult to operate in an area far away from fingers are solved, the experience effect of the user is improved, and the operation is more convenient.
An embodiment of the present invention provides a screen size adjusting method, which is applied to a terminal device and shown in fig. 7, and includes the following steps:
step 501, when detecting that the terminal device enters the one-hand mode, the terminal device judges whether a display screen of the terminal device is inclined.
Step 502, when the display screen of the terminal device rotates along the second edge of the terminal device to generate an inclination, the terminal device obtains an included angle between the first edge of the terminal device and a horizontal line, and obtains a second inclination angle of the display screen of the terminal device.
The first side may be any one of four sides of the terminal device, and the second side may be any one of two sides perpendicular to the first side. The obtained included angle between the first edge and the horizontal line is the second inclination angle of the display screen of the terminal device, and it should be noted that any scheme capable of obtaining the included angle between the terminal device and the horizontal line in the prior art can be applied to obtain the included angle between the first edge of the terminal device and the horizontal line.
The angle between the first edge of the display screen of the terminal device and the horizontal line ranges between zero degrees and ninety degrees, optionally between five degrees and eighty degrees.
Step 503, the terminal device obtains, according to the second inclination angle of the display screen of the terminal device, the size of the first screen, which corresponds to the second inclination angle, that needs to be adjusted.
Specifically, a relationship correspondence table between the inclination angle of the display screen and the adjustment size may be stored in the terminal device in advance, and after the second inclination angle of the display screen is obtained, the size, which needs to be adjusted, of the first screen of the terminal device corresponding to the second inclination angle of the display screen may be searched in the relationship correspondence table between the inclination angle of the display screen and the adjustment size; or, a proportional relation between the inclination angle of the display screen and the size of the first screen to be adjusted may be stored in the terminal device in advance, and after the second inclination angle of the display screen is obtained, the size of the first screen of the terminal device to be adjusted, which corresponds to the second inclination angle of the display screen, may be calculated according to the proportional relation between the inclination angle of the display screen and the size of the first screen to be adjusted. It should be noted that, in this embodiment, only a method for obtaining the size of the first screen that needs to be adjusted is illustrated, and the method is not limited to be implemented only by using the foregoing method.
Step 504, the terminal device adjusts the size of the side of the first screen of the terminal device, which has the same direction as the first side, according to the size of the first screen to be adjusted.
Specifically, the terminal device may correspondingly decrease or increase the size of the edge of the first screen, which has the same direction as the first edge, according to the searched or calculated size of the first screen, which needs to be adjusted. When the inclination angle of the first screen is increased, the size of the side of the first screen, which has the same direction as the first side, is correspondingly required to be reduced; when the inclination angle of the first screen becomes smaller, it is correspondingly necessary to increase the size of the side of the first screen having the same direction as the first side.
It should be noted that, for the explanation of the same steps in this embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here.
According to the screen size adjusting method provided by the embodiment of the invention, when the terminal equipment is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal equipment is obtained, and the size of the first screen of the terminal equipment in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal equipment, so that when the terminal equipment is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal equipment when a user uses the terminal equipment, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal equipment, and the screen of the terminal equipment is difficult to operate in an area far away from fingers are solved, the experience effect of the user is improved, and the operation is more convenient.
An embodiment of the present invention provides a screen size adjusting method, which is applied to a terminal device, and as shown in fig. 8, the method includes the following steps:
step 601, when detecting that the terminal device enters the one-hand mode, the terminal device judges whether a display screen of the terminal device is inclined.
Step 602, when the display screen of the terminal device rotates along the first edge and the second edge of the terminal device simultaneously to generate an inclination, the terminal device respectively obtains included angles between the first edge and the second edge of the terminal device and a horizontal line, and obtains a third inclination angle of the display screen of the terminal device.
The first side may be any one of four sides of the terminal device, and the second side may be any one of two sides perpendicular to the first side. The third inclination angle of the display screen includes: the included angle between the second edge of the terminal equipment and the horizontal line and the included angle between the first edge of the terminal equipment and the horizontal line. It should be noted that any scheme that can obtain the included angle between the terminal device and the horizontal line in the prior art may be applied to obtain the included angle between each of the first edge and the second edge of the terminal device and the horizontal line.
The range of the angle between the first side of the display screen of the terminal device and the horizontal line and the range of the angle between the second side of the display screen of the terminal device and the horizontal line may both be between zero degrees and ninety degrees, optionally between five degrees and eighty degrees.
Step 603, the terminal device obtains, according to the third inclination angle of the display screen of the terminal device, the size of the first screen, which corresponds to the third inclination angle, and which needs to be adjusted.
Specifically, a relationship correspondence table between the inclination angle of the display screen and the adjustment size may be stored in the terminal device in advance, and after the third inclination angle of the display screen is obtained, the size, which needs to be adjusted, of the first screen of the terminal device corresponding to the third inclination angle of the display screen may be searched in the relationship correspondence table between the inclination angle of the display screen and the adjustment size; or, a proportional relation between the inclination angle of the display screen and the size of the first screen to be adjusted may be stored in the terminal device in advance, and after the third inclination angle of the display screen is obtained, the size of the first screen of the terminal device to be adjusted, which corresponds to the third inclination angle of the display screen, may be calculated according to the proportional relation between the inclination angle of the display screen and the size of the first screen to be adjusted. It should be noted that, in this embodiment, only a method for obtaining the size of the first screen that needs to be adjusted is illustrated, and the method is not limited to be implemented only by using the foregoing method.
And step 604, the terminal device adjusts the size of the first screen according to the size of the first screen to be adjusted, and simultaneously adjusts the size of the first screen of the terminal device, which has the same direction as the first side of the terminal device and the same direction as the second side of the terminal device.
Specifically, the terminal device may correspondingly decrease or increase the size of the edge of the first screen having the same direction as the first edge and the size of the edge of the first screen having the same direction as the second edge according to the searched or calculated size of the first screen that needs to be adjusted. When the included angle between the second side of the terminal device and the horizontal line in the third inclination angle of the first screen is increased, the size of the side of the first screen, which has the same direction as the second side, needs to be correspondingly reduced, and when the included angle between the first side of the terminal device and the horizontal line is increased, the size of the side of the first screen, which has the same direction as the first side, needs to be correspondingly reduced; or when the included angle between the second side of the terminal device and the horizontal line in the third inclination angle of the first screen is increased, correspondingly reducing the size of the side of the first screen, which has the same direction as the second side, and simultaneously, when the included angle between the first side of the terminal device and the horizontal line is decreased, correspondingly increasing the size of the side of the first screen, which has the same direction as the first side; or when the included angle between the second side of the terminal device and the horizontal line in the third inclination angle of the first screen is smaller, correspondingly increasing the size of the side of the first screen, which has the same direction as the second side, and simultaneously, when the included angle between the first side of the terminal device and the horizontal line is larger, correspondingly decreasing the size of the side of the first screen, which has the same direction as the first side; or, when the included angle between the second side of the terminal device and the horizontal line in the third inclination angle of the first screen is smaller, the size of the side of the first screen having the same direction as the second side is correspondingly required to be increased, and simultaneously, when the included angle between the first side of the terminal device and the horizontal line is smaller, the size of the side of the first screen having the same direction as the first side is correspondingly required to be increased.
It should be noted that, for the explanation of the same steps in this embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here.
According to the screen size adjusting method provided by the embodiment of the invention, when the terminal equipment is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal equipment is obtained, and the size of the first screen of the terminal equipment in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal equipment, so that when the terminal equipment is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal equipment when a user uses the terminal equipment, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal equipment, and the screen of the terminal equipment is difficult to operate in an area far away from fingers are solved, the experience effect of the user is improved, and the operation is more convenient.
An embodiment of the present invention provides a screen size adjusting method, which is applied to a terminal device, and as shown in fig. 9, the method includes the following steps:
step 701, when detecting that the terminal device is in the one-hand mode, acquiring the inclination degree of the display screen of the terminal device.
Step 702, adjusting the size of the first screen of the terminal device in the one-hand mode according to the inclination degree of the display screen of the terminal device.
The first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in a single-hand mode.
Step 703, the terminal device determines whether the size of the first screen of the terminal device is smaller than a preset size.
The preset size may be set according to a numerical value obtained in the process of operating the terminal device by different users. Here, the size of the preset dimension is not particularly limited.
Step 704, when the size of the first screen of the terminal device is smaller than the preset size, the terminal device obtains a touch focus position of the first screen of the user touch terminal device.
A feasible implementation scheme for acquiring a touch focus position of a first screen of a user touch terminal device is that a position where the time for the user to touch the first screen is greater than a preset time is acquired as the touch focus position; the preset time may be a numerical value set by the user according to the usage habit of the user, for example, 3 seconds, and specifically, if the user touches a certain position on the first screen for more than 3 seconds, the position is the touch focus position.
Step 705, the terminal device enlarges the size of the touch area of the corresponding touch object at the touch focus position to a first size.
The first size may be specifically set according to the thickness of the user's finger, the user's usage habit, the size of the terminal device, and the like, and a value larger than the preset size but not particularly large may be selected as the first size.
And step 706, when a first operation of the touch area by the user or a change of the touch focus position is received, switching the size of the touch area enlarged to the first size to the initial size.
The initial size is the size of the touch area before the touch area is not amplified.
Specifically, the first operation may be an operation of performing a single click or a double click on the touch area by the user, and specifically may be a relatively convenient operation set by the user according to the preference and habit of the user.
It should be noted that, for the explanation of the same steps in this embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here.
According to the screen size adjusting method provided by the embodiment of the invention, when the terminal equipment is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal equipment is obtained, and the size of the first screen of the terminal equipment in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal equipment, so that when the terminal equipment is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal equipment when a user uses the terminal equipment, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal equipment, and the screen of the terminal equipment is difficult to operate in an area far away from fingers are solved, the experience effect of the user is improved, and the operation is more convenient. Meanwhile, misoperation caused by the fact that the size of the first screen is too small can be avoided.
An embodiment of the present invention provides a terminal device 8, which may be applied to a screen size adjustment method provided in embodiments corresponding to fig. 3, 6 to 9, and as shown in fig. 10, the terminal device 8 includes: an acquisition unit 81 and an adjustment unit 82, wherein:
an obtaining unit 81, configured to obtain a tilt degree of a display screen of the terminal device when it is detected that the terminal device is in the one-handed mode.
And an adjusting unit 82, configured to adjust a size of the first screen of the terminal device in the one-handed mode according to the inclination degree of the display screen of the terminal device obtained by the obtaining unit 81.
The first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in a single-hand mode.
According to the terminal device provided by the embodiment of the invention, when the terminal device is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal device is obtained, and the size of the first screen of the terminal device in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal device, so that when the terminal device is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal device when a user uses the terminal device, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal device, and the screen of the terminal device is difficult to operate in an area far away from a finger by the user are solved, the experience effect of the user is improved, and the operation is more convenient.
Specifically, as shown in fig. 11, the acquiring unit 81 includes: a first judgment module 811 and a first processing module 812, wherein:
the first judging module 811 is configured to judge whether the display screen of the terminal device is tilted when it is detected that the terminal device enters the one-handed mode.
The first processing module 812 is configured to, when the display screen of the terminal device rotates along the first edge of the terminal device to generate an inclination, obtain an included angle between the second edge of the terminal device and a horizontal line, and obtain a first inclination angle of the display screen of the terminal device.
Further, referring to fig. 12, the adjusting unit 82 includes: a first obtaining module 821 and a first adjusting module 822, wherein:
the first obtaining module 821 is configured to obtain, according to a first inclination angle of a display screen of the terminal device, a size of the first screen that corresponds to the first inclination angle and needs to be adjusted.
The first adjusting module 822 is configured to adjust the edge size of the first screen and the edge size of the second screen of the terminal device in the same direction according to the size of the first screen to be adjusted.
Specifically, optionally, as shown in fig. 13, the obtaining unit 81 further includes: a second determination module 813 and a second processing module 814, wherein:
a second judging module 813, configured to judge whether the display screen of the terminal device is tilted when it is detected that the terminal device enters the one-handed mode.
The second processing module 814 is configured to, when the display screen of the terminal device rotates along the second edge of the terminal device to generate an inclination, obtain an included angle between the first edge of the terminal device and a horizontal line, and obtain a second inclination angle of the display screen of the terminal device.
Further, referring to fig. 14, the adjusting unit 82 further includes: a second obtaining module 823 and a second adjusting module 824, wherein:
the second obtaining module 823 is configured to obtain, according to a second inclination angle of the display screen of the terminal device, a size of the first screen that corresponds to the second inclination angle and needs to be adjusted.
And a second adjusting module 824, configured to adjust, according to a size of the first screen to be adjusted, an edge size of the first screen of the terminal device, where the first screen and the first edge have the same direction.
Specifically, optionally, as shown in fig. 15, the obtaining unit 81 further includes: a third determining module 815 and a third processing module 816, wherein:
the third determining module 815 is configured to determine whether a display screen of the terminal device is tilted when it is detected that the terminal device enters the one-handed mode.
The third processing module 816 is configured to, when the display screen of the terminal device rotates along the first edge and the second edge of the terminal device simultaneously to generate an inclination, obtain included angles between the first edge and the horizontal line of the terminal device and the second edge of the terminal device, respectively, and obtain a third inclination angle of the display screen of the terminal device.
Further, referring to fig. 16, the adjusting unit further includes: a third obtaining module 825 and a third adjusting module 826, wherein:
and a third obtaining module 825, configured to obtain, according to a third inclination angle of the display screen of the terminal device, a size of the first screen that corresponds to the third inclination angle and needs to be adjusted.
And a third adjusting module 826, configured to adjust the size of the first screen to be adjusted, and adjust the first screen of the terminal device to have an edge size in the same direction as the first edge and in the same direction as the second edge of the terminal device.
Further, referring to fig. 17, the terminal device further includes: a judging unit 83, a processing unit 84, and a switching unit 85, wherein:
and a judging unit 83 for judging whether the size of the first screen of the terminal device is smaller than a preset size.
The obtaining unit 81 is further configured to obtain a touch focus position of the first screen of the terminal device touched by the user when the size of the first screen of the terminal device is smaller than a preset size.
The processing unit 84 is configured to enlarge a size of a touch area of the corresponding touch object at the touch focus position to a first size, so that the user performs a touch operation on the touch area.
A switching unit 85 for switching the size of the touch area enlarged to the first size to an initial size when a first operation of the touch area by the user or a change in the touch focus position is received.
The initial size is the size of the touch area before the touch area is not amplified.
It should be noted that in this embodiment, the interaction process between each unit and each module may refer to the interaction process in the screen size adjustment method provided in the embodiments corresponding to fig. 3 to 7, and details are not described here.
According to the terminal device provided by the embodiment of the invention, when the terminal device is detected to be in the single-hand mode, the inclination degree of the display screen of the terminal device is obtained, and the size of the first screen of the terminal device in the single-hand mode is adjusted according to the inclination degree of the display screen of the terminal device, so that when the terminal device is in the single-hand mode, the size of the first screen in the single-hand mode can be automatically adjusted according to the inclination angle generated by the display screen of the terminal device when a user uses the terminal device, the problems that the size of a small screen is fixed in the single-hand mode in the existing terminal device, and the screen of the terminal device is difficult to operate in an area far away from a finger by the user are solved, the experience effect of the user is improved, and the operation is more convenient. Meanwhile, misoperation caused by the fact that the size of the first screen is too small can be avoided.
In practical applications, the obtaining Unit 81, the adjusting Unit 82, the first judging module 811, the first Processing module 812, the second judging module 813, the second Processing module 814, the third judging module 815, the third Processing module 816, the first obtaining module 821, the first adjusting module 822, the second obtaining module 823, the second adjusting module 824, the third obtaining module 825, the third adjusting module 826, the judging Unit 83, the Processing Unit 84, and the switching Unit 85 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like in the wireless data transmitting device.
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 device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A terminal device, characterized in that the terminal device comprises: an acquisition unit and an adjustment unit; wherein,
the acquiring unit is used for determining that the terminal equipment is in a single-hand mode and acquiring the inclination degree of the display screen of the terminal equipment when detecting that the first screen appears on the display screen of the terminal equipment; the single-hand mode is that the display content of the display screen is reduced according to a certain proportional relation to form the first screen;
the adjusting unit is used for adjusting the size of a first screen of the terminal equipment in the single-hand mode according to the inclination degree of a display screen of the terminal equipment; and the first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in the single-hand mode.
2. The terminal device according to claim 1, wherein the obtaining unit includes: the device comprises a first judgment module and a first processing module; wherein,
the first judging module is used for judging whether a display screen of the terminal equipment is inclined or not when the terminal equipment is detected to enter a single-hand mode;
the first processing module is used for acquiring an included angle between a second edge of the terminal equipment and a horizontal line when the display screen of the terminal equipment rotates along the first edge of the terminal equipment to generate inclination, so as to obtain a first inclination angle of the display screen of the terminal equipment;
the adjusting unit includes: the device comprises a first acquisition module and a first regulation module; wherein,
the first obtaining module is used for obtaining the size of the first screen, which corresponds to a first inclination angle, to be adjusted according to the first inclination angle of the display screen of the terminal device;
the first adjusting module is used for adjusting the side size of the first screen and the second side of the terminal device in the same direction according to the size of the first screen needing to be adjusted.
3. The terminal device according to claim 1, wherein the obtaining unit further comprises: the second judgment module and the second processing module; wherein,
the second judging module is used for judging whether a display screen of the terminal equipment is inclined or not when the terminal equipment is detected to enter a single-hand mode;
the second processing module is used for acquiring an included angle between the first edge of the terminal equipment and a horizontal line when the display screen of the terminal equipment rotates along the second edge of the terminal equipment to generate inclination, so as to obtain a second inclination angle of the display screen of the terminal equipment;
the adjusting unit further includes: the second acquisition module and the second adjusting module; wherein,
the second obtaining module is used for obtaining the size, which is required to be adjusted, of the first screen corresponding to a second inclination angle according to the second inclination angle of the display screen of the terminal device;
the second adjusting module is used for adjusting the side size of the first screen of the terminal device, which has the same direction as the first side, according to the size of the first screen needing to be adjusted.
4. The terminal device according to claim 1, wherein the obtaining unit further comprises: a third judging module and a third processing module; wherein,
the third judging module is used for judging whether the display screen of the terminal equipment is inclined or not when the terminal equipment is detected to enter the single-hand mode;
the third processing module is configured to, when the display screen of the terminal device rotates along a first edge and a second edge of the terminal device simultaneously to generate an inclination, respectively obtain included angles between the first edge and the horizontal line and between the second edge of the terminal device and the horizontal line, and obtain a third inclination angle of the display screen of the terminal device;
the adjusting unit further includes: a third obtaining module and a third adjusting module; wherein,
the third obtaining module is configured to obtain, according to a third inclination angle of a display screen of the terminal device, a size of the first screen, which corresponds to the third inclination angle, and which needs to be adjusted;
and the third adjusting module is used for adjusting the size of the first screen to be adjusted according to the first screen, and adjusting the side size of the first screen of the terminal device, which has the same direction as the first side of the terminal device and has the same direction as the second side of the terminal device.
5. The terminal device according to claim 1, wherein the terminal device further comprises: the device comprises a judging unit, a processing unit and a switching unit; wherein,
the judging unit is used for judging whether the size of the first screen of the terminal equipment is smaller than a preset size or not;
the obtaining unit is further configured to obtain a touch focus position where a user touches the first screen of the terminal device when the size of the first screen of the terminal device is smaller than a preset size;
the processing unit is configured to enlarge a size of a touch area of a corresponding touch object at the touch focus position to a first size, so that the user performs a touch operation on the touch area;
the switching unit is used for switching the size of the touch area enlarged to the first size to the initial size when the first operation of the user on the touch area is received or the touch focusing position is changed; and the initial size is the size of the touch area before amplification processing is carried out.
6. A screen size adjusting method is applied to terminal equipment and is characterized by comprising the following steps:
when detecting that a first screen appears on a display screen of the terminal equipment, determining that the terminal equipment is in a single-hand mode, and acquiring the inclination degree of the display screen of the terminal equipment; the single-hand mode is that the display content of the display screen is reduced according to a certain proportional relation to form the first screen;
adjusting the size of a first screen of the terminal equipment in the single-hand mode according to the inclination degree of a display screen of the terminal equipment; and the first screen is a screen which generates a mapping relation with a display screen of the terminal equipment in the single-hand mode.
7. The method according to claim 6, wherein receiving a first operation of the terminal device by a user to obtain a size adjustment instruction when the terminal device is detected to enter the one-handed mode comprises:
when the terminal equipment is detected to enter a single-hand mode, judging whether a display screen of the terminal equipment is inclined or not;
when the display screen of the terminal equipment rotates along the first edge of the terminal equipment to generate inclination, acquiring an included angle between the second edge of the terminal equipment and a horizontal line to obtain a first inclination angle of the display screen of the terminal equipment;
the adjusting the size of the first screen of the terminal device in the single-hand mode according to the inclination degree of the display screen of the terminal device includes:
according to a first inclination angle of a display screen of the terminal equipment, acquiring the size of the first screen, which corresponds to the first inclination angle, and needs to be adjusted;
and adjusting the size of the side of the first screen of the terminal equipment, which has the same direction with the second side, according to the size of the first screen needing to be adjusted.
8. The method according to claim 6, wherein receiving a first operation of the terminal device by a user to obtain a size adjustment instruction when the terminal device is detected to enter the one-handed mode comprises:
when the terminal equipment is detected to enter a single-hand mode, judging whether a display screen of the terminal equipment is inclined or not;
when the display screen of the terminal equipment rotates along the second edge of the terminal equipment to generate inclination, acquiring an included angle between the first edge of the terminal equipment and a horizontal line to obtain a second inclination angle of the display screen of the terminal equipment;
the adjusting the size of the first screen of the terminal device in the single-hand mode according to the inclination degree of the display screen of the terminal device includes:
according to a second inclination angle of a display screen of the terminal equipment, acquiring the size of the first screen, which corresponds to the second inclination angle, and needs to be adjusted;
and adjusting the size of a side of the first screen of the terminal equipment, which has the same direction as the first side, according to the size of the first screen needing to be adjusted.
9. The method according to claim 6, wherein receiving a first operation of the terminal device by a user to obtain a size adjustment instruction when the terminal device is detected to enter the one-handed mode comprises:
when the terminal equipment is detected to enter a single-hand mode, judging whether a display screen of the terminal equipment is inclined or not;
when the display screen of the terminal equipment rotates along a first edge and a second edge of the terminal equipment simultaneously to generate inclination, respectively acquiring included angles between the first edge and the second edge of the terminal equipment and a horizontal line to obtain a third inclination angle of the display screen of the terminal equipment;
the adjusting the size of the first screen of the terminal device in the single-hand mode according to the inclination degree of the display screen of the terminal device includes:
according to a third inclination angle of a display screen of the terminal equipment, acquiring the size of the first screen, which corresponds to the third inclination angle, and needs to be adjusted;
and adjusting the size of the first screen of the terminal equipment and the size of the side of the first screen of the terminal equipment, which has the same direction as the first side of the terminal equipment and has the same direction as the second side of the terminal equipment simultaneously according to the size of the first screen needing to be adjusted.
10. The method of claim 6, further comprising:
judging whether the size of a first screen of the terminal equipment is smaller than a preset size or not;
when the size of the first screen of the terminal equipment is smaller than a preset size, acquiring a touch control focusing position of a user for touching the first screen of the terminal equipment;
enlarging the size of a touch area of the corresponding touch object at the touch focus position to a first size;
when a first operation of the user on the touch area or the change of the touch focus position is received, switching the size of the touch area enlarged to a first size to an initial size; and the initial size is the size of the touch area before amplification processing is carried out.
CN201510708772.5A 2015-10-27 2015-10-27 A kind of screen size adjusting method and terminal device Active CN105302441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510708772.5A CN105302441B (en) 2015-10-27 2015-10-27 A kind of screen size adjusting method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510708772.5A CN105302441B (en) 2015-10-27 2015-10-27 A kind of screen size adjusting method and terminal device

Publications (2)

Publication Number Publication Date
CN105302441A CN105302441A (en) 2016-02-03
CN105302441B true CN105302441B (en) 2018-11-16

Family

ID=55199759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510708772.5A Active CN105302441B (en) 2015-10-27 2015-10-27 A kind of screen size adjusting method and terminal device

Country Status (1)

Country Link
CN (1) CN105302441B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020698A (en) * 2016-05-25 2016-10-12 努比亚技术有限公司 Mobile terminal and realization method of single-hand mode
CN106657572B (en) * 2016-09-19 2020-04-21 美艾(重庆)科技发展有限公司 Terminal and display method
CN106775199A (en) * 2016-11-11 2017-05-31 北京奇虎科技有限公司 The touch operation method and terminal of screen interface
CN107249056A (en) * 2017-06-06 2017-10-13 上海传英信息技术有限公司 Mobile terminal and the method for realizing one-handed performance mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092514A (en) * 2013-01-09 2013-05-08 中兴通讯股份有限公司 Method for operating large-screen hand-held device by single hand and hand-held device
CN103353827A (en) * 2013-04-16 2013-10-16 深圳市中兴移动通信有限公司 Display equipment and information processing method thereof
CN103383626A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Method and apparatus for moving an object
CN103593138A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method for operating mobile terminal with one hand and mobile terminal
CN104571912A (en) * 2014-12-16 2015-04-29 上海天奕达电子科技有限公司 Interface display method, terminal and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369501A (en) * 2009-02-23 2012-03-07 胜利电子株式会社 Touch screen control method and touch screen device using the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383626A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Method and apparatus for moving an object
CN103092514A (en) * 2013-01-09 2013-05-08 中兴通讯股份有限公司 Method for operating large-screen hand-held device by single hand and hand-held device
CN103353827A (en) * 2013-04-16 2013-10-16 深圳市中兴移动通信有限公司 Display equipment and information processing method thereof
CN103593138A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method for operating mobile terminal with one hand and mobile terminal
CN104571912A (en) * 2014-12-16 2015-04-29 上海天奕达电子科技有限公司 Interface display method, terminal and system

Also Published As

Publication number Publication date
CN105302441A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2016029766A1 (en) Mobile terminal and operation method thereof and computer storage medium
CN106101423B (en) Split screen area size adjusts device and method
CN105138260A (en) Application switching method and terminal
CN104898970A (en) Volume control method and apparatus
CN106648324B (en) Hidden icon control method and device and terminal
CN105183323A (en) Split screen switching method and frameless terminal
CN105791541B (en) Screenshot method and mobile terminal
CN110928708A (en) Icon display method, apparatus, electronic device, and computer-readable storage medium
CN107092418B (en) Terminal and method for operating application floating window
CN105430258B (en) A kind of method and apparatus of self-timer group photo
CN104951229B (en) Screen capture method and device
CN106250130B (en) Mobile terminal and method for responding key operation
CN105302441B (en) A kind of screen size adjusting method and terminal device
CN106873981B (en) Icon processing method and device and terminal
CN105049612A (en) Method of realizing recording and device of realizing recording
CN105260096B (en) A kind of method and mobile terminal controlling user's operation
CN106790994A (en) The triggering method and mobile terminal of control
CN106776240A (en) A kind of Task Progress display terminal and method
CN104639761B (en) The method and mobile terminal of one-handed performance
CN106569670A (en) Application processing apparatus and method
CN105141834A (en) Device and method for controlling picture shooting
CN106896988B (en) Application icon alignment device, terminal and method
CN104932711A (en) Method and device for realizing input mode switching
CN104850351A (en) Method and device for frameless interaction
CN106303080B (en) A method and device for prompting new messages on a display screen

Legal Events

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