CN112558814A - Screen display method and device and storage medium - Google Patents
Screen display method and device and storage medium Download PDFInfo
- Publication number
- CN112558814A CN112558814A CN202011495431.1A CN202011495431A CN112558814A CN 112558814 A CN112558814 A CN 112558814A CN 202011495431 A CN202011495431 A CN 202011495431A CN 112558814 A CN112558814 A CN 112558814A
- Authority
- CN
- China
- Prior art keywords
- screen display
- target displacement
- acquiring
- position information
- touch position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides a screen display method, a screen display device and a storage medium, wherein the method comprises the steps of obtaining touch position information of a screen display area by the screen display method; acquiring a target displacement according to the touch position information; and adjusting the screen display mode according to the target displacement. According to the embodiment of the application, the display content of the area shielded by the finger can be directly observed when the user inputs the information through the touch screen, and the problem of incomplete display content caused by clicking touch of the finger of the user is avoided.
Description
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a screen display method and apparatus, and a storage medium.
Background
With the development of the touch screen technology and the wide application of the touch screen in the mobile terminal, the number of keys of the mobile terminal is less and less, and more input functions are completed by the touch screen. For example, most mobile terminals perform input operation through touch operation at present, but because human fingers are large, especially the area occupied by an adult finger when the finger is touched in a single click is generally 1-3 square centimeters, for a small-sized device such as a mobile terminal, the area is often too much, a user cannot observe display content below a touch click position, and user experience is poor.
Therefore, there are drawbacks to the prior art, and improvements and developments are needed.
Disclosure of Invention
The embodiment of the application provides a screen display method, a screen display device, a storage medium and a terminal device, when a touch screen is configured in a mobile terminal, a user can input through the touch screen and can directly observe input contents, and the problem of incomplete display contents caused by clicking touch of the user finger is avoided.
The embodiment of the application provides a screen display method, which comprises the following steps:
acquiring touch position information of a screen display area;
acquiring a target displacement according to the touch position information;
and adjusting the screen display mode according to the target displacement.
In some embodiments, the acquiring touch position information of the screen display area specifically includes:
acquiring a central point of touch operation, and acquiring the touch position information according to a preset size of an acquisition area; the size of the acquisition area is a preset fixed size.
In some embodiments, the obtaining a target displacement amount according to the touch position information includes: acquiring an image matrix two-dimensional array set of pixels corresponding to the touch position information; acquiring the target displacement quantity through the two-dimensional array set; and adjusting the screen display mode according to the target displacement.
In some embodiments, the size of the acquisition area for the touch operation includes: the size of the acquisition area is adjusted according to the duration of the initial touch operation; and the size of the acquisition area is adjusted according to the relative displacement of the touch operation.
In some embodiments, said obtaining said target displacement amount by said set of arrays comprises: acquiring the maximum value and the minimum value of the number of rows in the two-dimensional array set; subtracting the maximum value of the number of rows from the minimum value of the number of rows to obtain longitudinal displacement; acquiring the maximum value and the minimum value of the column number in the two-dimensional array set; and subtracting the maximum column number value from the minimum column number value to obtain the transverse displacement.
In some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: when the target displacement amount is the longitudinal displacement amount, performing full-line upward translation on the screen display content with the line number not more than the maximum value of the line number, wherein the translation line number is the longitudinal displacement amount; and when the target displacement is the transverse displacement, performing column-wise leftward translation on the screen display content with the column number not greater than the maximum column number, wherein the column number of translation is the transverse displacement.
The embodiment of the present application further provides a screen display device, which includes: the touch position acquisition module is used for acquiring touch position information of a screen display area; the mobile information acquisition module acquires target displacement according to the touch position information; and the display adjustment module adjusts the screen display mode according to the target displacement.
In some embodiments, the screen display device is characterized in that the device comprises: and the acquisition area control module is used for adjusting the size of the acquisition area of the touch position information.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the steps in the screen display method according to any one of the above claims.
The screen display method provided by the embodiment of the application acquires the touch position information of a screen display area; acquiring a target displacement according to the touch position information; and adjusting the screen display mode according to the target displacement. The display content of the area shielded by the finger can be directly observed when the user inputs the information through the touch screen, and the problem of incomplete display content caused by clicking touch of the finger of the user is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first flowchart of a screen display method according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram illustrating a first effect of the screen display method according to the embodiment of the present application.
Fig. 3 is a diagram illustrating a second effect of the screen display method according to the embodiment of the present application.
Fig. 4 is a second flowchart of the screen display device according to the embodiment of the present application.
Fig. 5 is a schematic view of a first structure of a screen display device according to an embodiment of the present application.
Fig. 6 is a second structural schematic diagram of the screen display device according to the embodiment of the present application.
Fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The embodiment of the application provides a screen display method which can be applied to a mobile terminal. The mobile terminal can be a smart phone, a tablet computer, a desktop computer, a smart watch and other devices.
Referring to fig. 1, fig. 1 is a schematic flow chart of a screen display method according to an embodiment of the present application. The screen display method is applied to a mobile terminal, and the mobile terminal is provided with a screen, a camera and the like. The method may comprise the steps of:
Specifically, the touch position information of the screen display area is acquired according to the touch operation acting on the screen display area.
For example, in some embodiments, acquiring touch position information of the screen display area according to a touch operation applied to the screen display area includes: acquiring a central point of a position of touch operation, and acquiring touch position information according to the size of a preset acquisition area and the shape of the acquisition area, wherein the shape of the acquisition area can be a rectangle, a circle or other polygons or figures; the size of the acquisition region may be a preset fixed size, and the shape of the acquisition region may be a preset shape.
For example, in some embodiments, the size of the acquisition area of the touch operation may be adjusted according to the duration of the initial touch operation; and the size of the acquisition area is adjusted according to the relative displacement of the touch operation.
For example, in some embodiments, the shape of the acquisition section of the touch operation may be a shape of the capture area selected from preset shapes as needed before acquiring the touch position information.
And 102, acquiring a target displacement according to the touch position information.
Specifically, according to the acquired touch position information, acquiring an image matrix two-dimensional array set of pixels corresponding to the touch position information; and acquiring the target displacement through a two-dimensional array set.
For example, in some embodiments, the obtaining the target displacement amount through the array set specifically includes: acquiring the maximum value and the minimum value of the number of rows in the two-dimensional array set; subtracting the maximum value of the number of rows from the minimum value of the number of rows to obtain longitudinal displacement; acquiring the maximum value and the minimum value of the column number in the two-dimensional array set; and subtracting the maximum column number value from the minimum column number value to obtain the transverse displacement.
Optionally, in some embodiments, in the calculation process of obtaining the target displacement amount through the array set, the row number value or the column number value of the two-dimensional array at the center point of the touch operation position may be calculated instead of the row number maximum value/minimum value or the column number maximum value/minimum value, so as to obtain the longitudinal displacement amount or the lateral displacement amount.
And 103, adjusting the screen display mode according to the target displacement.
Specifically, the display mode of the display content in the current screen display area can be adjusted by taking the longitudinal displacement amount as a target displacement amount, so that the display information is not shielded; or the horizontal displacement amount can be used as a target displacement amount to adjust the display mode of the display content of the current screen display area, so that the display information is not shielded.
For example, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the longitudinal displacement, performing full-line upward translation on the screen display content with the line number not greater than the maximum line number, wherein the translation line number is the longitudinal displacement.
Specifically, as shown in fig. 2, three pieces of content a \ B \ C are originally displayed on the display screen, and when a user touches the touch screen with a finger, if an area where the content B is located is touched, the content a \ B is displayed and translated upwards at a plurality of positions, that is, as long as the content is touched, the content and other content above the content are both translated upwards at a plurality of positions, and the translation distance of the displayed content is obtained by subtracting the maximum value Y2 of the two-dimensional array lines from the minimum value Y1 of the lines.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the transverse displacement, performing column-wise leftward translation on the screen display content with the column number not greater than the maximum column number, wherein the column number of translation is the transverse displacement.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the longitudinal displacement, translating the screen display content with the row number not greater than the maximum row number and the column number in the row number value interval of the two-dimensional array set upwards, wherein the translation row number is the longitudinal displacement.
For example, as shown in fig. 3, three pieces of content a \ B \ C are originally displayed on the display screen, and when a user touches the touch screen with a finger, if the area where the content B is located is touched, the content a \ B is displayed and translated upwards at a plurality of positions, that is, as long as the content is touched, the content and other content above the content are both translated upwards at a plurality of positions; the displacement effect may be to obtain a maximum value X2 and a minimum value X1 of the two-dimensional column number of the pixels in the sensed touch area, and then on the former basis, only the column number of the two-dimensional array of the image of the current display content may be in a range from X1 to X2, and the translation distance of the display content is obtained by subtracting the maximum value Y2 of the row number of the two-dimensional array from the minimum value Y1 of the row number.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the transverse displacement, performing whole-column leftward translation on the screen display content with the column number not greater than the maximum column number and the row number in the row number value interval of the two-dimensional array set, wherein the translation column number is the transverse displacement.
As can be seen from the above, the screen display method provided by the embodiment of the present application obtains the touch position information of the screen display area; acquiring a target displacement according to the touch position information; and adjusting the screen display mode according to the target displacement. The display content of the area shielded by the finger can be directly observed when the user inputs the information through the touch screen, and the problem of incomplete display content caused by clicking touch of the finger of the user is avoided.
Fig. 4 is a flowchart of another processing method for display content provided in an embodiment of the present invention, which is optimized based on the above-described embodiment, and the embodiment of the present invention may be combined with various alternatives in one or more of the above-described embodiments. As shown in fig. 3, the method for processing display content provided in the embodiment of the present invention specifically includes the following steps.
Specifically, the touch position information of the screen display area is acquired according to the touch operation acting on the screen display area.
For example, in some embodiments, acquiring touch position information of the screen display area according to a touch operation applied to the screen display area includes: acquiring a central point of a position of touch operation, and acquiring touch position information according to the size of a preset acquisition area and the shape of the acquisition area, wherein the shape of the acquisition area can be a rectangle, a circle or other polygons or figures; the size of the acquisition region may be a preset fixed size, and the shape of the acquisition region may be a preset shape.
And 202, acquiring touch display information according to the touch position information.
Specifically, image information of a corresponding area is obtained according to the touch position information, effective display content in the image information is extracted, and an image matrix two-dimensional array set of pixels corresponding to the effective display content is obtained.
And step 203, acquiring the target displacement according to the touch display information.
Specifically, according to the acquired touch display information, acquiring an image matrix two-dimensional array set of pixels corresponding to the touch display information; and acquiring the target displacement through a two-dimensional array set.
For example, in some embodiments, the obtaining the target displacement amount through the array set specifically includes: acquiring the maximum value and the minimum value of the number of rows in the two-dimensional array set; subtracting the maximum value of the number of rows from the minimum value of the number of rows to obtain longitudinal displacement; acquiring the maximum value and the minimum value of the column number in the two-dimensional array set; and subtracting the maximum column number value from the minimum column number value to obtain the transverse displacement.
Optionally, in some embodiments, in the calculation process of obtaining the target displacement amount through the array set, the row number value or the column number value of the two-dimensional array at the center point of the touch operation position may be calculated instead of the row number maximum value/minimum value or the column number maximum value/minimum value, so as to obtain the longitudinal displacement amount or the lateral displacement amount.
And 204, adjusting the screen display mode according to the target displacement.
And adjusting the display mode of the display content in the current screen display area according to the touch display information of the touch operation, so that the touch display information is not shielded. (ii) a And adjusting the screen display mode according to the target displacement.
Specifically, the display mode of the display content of the current screen display area is adjusted according to the target displacement amount, so that the touch display information is not shielded; or adjusting the display mode of the display content of the current screen display area according to the target displacement amount, so that the touch display information is not shielded.
For example, in some embodiments, adjusting the display mode of the display content in the current screen display area according to the target displacement amount so that the touch display information is not blocked specifically includes:
acquiring an image matrix two-dimensional array set of pixels corresponding to the touch display information; acquiring the target displacement quantity through the two-dimensional array set; and adjusting the screen display mode according to the target displacement.
For example, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the longitudinal displacement, performing full-line upward translation on the screen display content with the line number not greater than the maximum line number, wherein the translation line number is the longitudinal displacement.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the transverse displacement, performing column-wise leftward translation on the screen display content with the column number not greater than the maximum column number, wherein the column number of translation is the transverse displacement.
For example, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the longitudinal displacement, translating the screen display content with the row number not greater than the maximum row number and the column number in the row number value interval of the two-dimensional array set upwards, wherein the translation row number is the longitudinal displacement.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the transverse displacement, performing whole-column leftward translation on the screen display content with the column number not greater than the maximum column number and the row number in the row number value interval of the two-dimensional array set, wherein the translation column number is the transverse displacement.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, in the screen display method provided in the embodiment of the present application, the touch position information of the screen display area is obtained, the touch display information is obtained according to the touch position information, the target displacement amount is obtained according to the touch display information, and the screen display mode is adjusted according to the target displacement amount. The display content of the area shielded by the finger can be directly observed when the user inputs the information through the touch screen, and the problem of incomplete display content caused by clicking touch of the finger of the user is avoided.
The embodiment of the application further provides a screen display device, the screen display device can be integrated in a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer, a desktop computer, a smart watch and other devices.
Referring to fig. 5, fig. 5 is a first structural schematic diagram of a screen display device according to an embodiment of the present application. The screen display device 30 may include:
a touch position acquisition module 31 for acquiring touch position information of a screen display area;
a mobile information obtaining module 32, which obtains the target displacement according to the touch position information;
and the display adjusting module 33 adjusts the screen display mode according to the target displacement.
In some embodiments, the touch position obtaining module 31 is specifically configured to:
and acquiring touch position information of the screen display area according to the touch operation acted on the screen display area.
For example, in some embodiments, acquiring touch position information of the screen display area according to a touch operation applied to the screen display area includes: acquiring a central point of a position of touch operation, and acquiring touch position information according to the size of a preset acquisition area and the shape of the acquisition area, wherein the shape of the acquisition area can be a rectangle, a circle or other polygons or figures; the size of the acquisition region may be a preset fixed size, and the shape of the acquisition region may be a preset shape.
For example, in some embodiments, the size of the acquisition area of the touch operation may be adjusted according to the duration of the initial touch operation; and the size of the acquisition area is adjusted according to the relative displacement of the touch operation.
For example, in some embodiments, the shape of the acquisition section of the touch operation may be a shape of the capture area selected from preset shapes as needed before acquiring the touch position information.
The mobile information obtaining module 32 is configured to obtain a target displacement according to the touch position information, and specifically configured to:
specifically, according to the acquired touch position information, acquiring an image matrix two-dimensional array set of pixels corresponding to the touch position information; and acquiring the target displacement through a two-dimensional array set.
For example, in some embodiments, the obtaining the target displacement amount through the array set specifically includes: acquiring the maximum value and the minimum value of the number of rows in the two-dimensional array set; subtracting the maximum value of the number of rows from the minimum value of the number of rows to obtain longitudinal displacement; acquiring the maximum value and the minimum value of the column number in the two-dimensional array set; and subtracting the maximum column number value from the minimum column number value to obtain the transverse displacement.
Optionally, in some embodiments, in the calculation process of obtaining the target displacement amount through the array set, the row number value or the column number value of the two-dimensional array at the center point of the touch operation position may be calculated instead of the row number maximum value/minimum value or the column number maximum value/minimum value, so as to obtain the longitudinal displacement amount or the lateral displacement amount.
And the display adjusting module 33 adjusts the screen display mode according to the target displacement.
Specifically, the display mode of the display content in the current screen display area can be adjusted by taking the longitudinal displacement amount as a target displacement amount, so that the touch display information is not shielded; or the horizontal displacement amount can be used as a target displacement amount to adjust the display mode of the display content of the current screen display area, so that the touch display information is not shielded.
For example, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the longitudinal displacement, performing full-line upward translation on the screen display content with the line number not greater than the maximum line number, wherein the translation line number is the longitudinal displacement.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the transverse displacement, performing column-wise leftward translation on the screen display content with the column number not greater than the maximum column number, wherein the column number of translation is the transverse displacement.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the longitudinal displacement, translating the screen display content with the row number not greater than the maximum row number and the column number in the row number value interval of the two-dimensional array set upwards, wherein the translation row number is the longitudinal displacement.
Optionally, in some embodiments, the adjusting the screen display mode according to the target displacement amount specifically includes: and when the target displacement is the transverse displacement, performing whole-column leftward translation on the screen display content with the column number not greater than the maximum column number and the row number in the row number value interval of the two-dimensional array set, wherein the translation column number is the transverse displacement.
As can be seen from the above, the screen display device 30 provided in the embodiment of the present application, when a touch operation acting on the screen display area is detected, acquires the touch position information of the screen display area through the touch position acquisition module 31; a mobile information obtaining module 32, which obtains the target displacement according to the touch position information; and the display adjusting module 33 adjusts the screen display mode according to the target displacement. According to the embodiment of the application, the user can directly observe the display content of the area shielded by the finger when inputting through the touch screen, and the problem of incomplete display content caused by clicking touch of the user finger is avoided.
Referring to fig. 6, fig. 6 is a second structural diagram of the screen display device according to the embodiment of the present disclosure, the screen display device 30 includes a memory 120, one or more processors 180, and one or more applications, where the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a touch acquisition module 31, a movement information acquisition module 32, a display adjustment module 33, an acquisition region control module 3101, and a touch display information determination module 3201. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
a touch position acquisition module 31 for acquiring touch position information of a screen display area;
an acquisition region adjustment module 3101 that adjusts the size of an acquisition region of the touch position information;
a mobile information obtaining module 32, which obtains the target displacement according to the touch position information;
and the display adjusting module 33 adjusts the screen display mode according to the target displacement.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The embodiment of the application also provides the mobile terminal. The mobile terminal can be a smart phone, a tablet computer, a desktop computer, a smart watch and other devices.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, where the mobile terminal may be used to implement the screen display method provided in the foregoing embodiment. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 7, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 7 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the screen display method in the above-described embodiments, and the processor 180 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 120. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 120 may further include memory located remotely from processor 180, which may be connected to mobile terminal 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. The display unit 140 is a screen in the above embodiment.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. As for other sensors such as a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 1200, detailed descriptions thereof are omitted.
The mobile terminal 1200, which may assist the user in e-mail, web browsing, and streaming media access through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 7 illustrates the transmission module 170, it is understood that it does not belong to the essential constitution of the mobile terminal 1200, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal 1200 includes a power supply 190 (e.g., a battery) that provides power to various components, which may be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
acquiring touch position information of a screen display area;
acquiring a target displacement according to the touch position information;
and adjusting the screen display mode according to the target displacement.
In some embodiments, the processor 180 is configured to, according to the obtained touch position information of the screen display area, specifically include: acquiring a central point of touch operation, and acquiring the touch position information according to a preset size of an acquisition area; the size of the acquisition area is a preset fixed size.
In some embodiments, the processor 180 is configured to obtain the target displacement amount according to the touch position information, and specifically includes: acquiring an image matrix two-dimensional array set of pixels corresponding to the touch position information; acquiring the target displacement quantity through the two-dimensional array set; and adjusting the screen display mode according to the target displacement.
In some embodiments, the processor 180 is configured to obtain the target displacement amount through the array set, and specifically includes: acquiring the maximum value and the minimum value of the number of rows in the two-dimensional array set; subtracting the maximum value of the number of rows from the minimum value of the number of rows to obtain longitudinal displacement; acquiring the maximum value and the minimum value of the column number in the two-dimensional array set; and subtracting the maximum column number value from the minimum column number value to obtain the transverse displacement.
In some embodiments, the processor 180 is configured to adjust the screen display mode according to the target displacement amount, and specifically includes: when the target displacement amount is the longitudinal displacement amount, performing full-line upward translation on the screen display content with the line number not more than the maximum value of the line number, wherein the translation line number is the longitudinal displacement amount; and when the target displacement is the transverse displacement, performing column-wise leftward translation on the screen display content with the column number not greater than the maximum column number, wherein the column number of translation is the transverse displacement.
In some embodiments, the processor 180 is configured to adjust the screen display mode according to the target displacement amount, and specifically includes: when the target displacement amount is the longitudinal displacement amount, translating the screen display content with the number of lines not greater than the maximum number of lines and the number of columns in the line number value interval of the two-dimensional array set upwards, wherein the number of translated lines is the longitudinal displacement amount; and when the target displacement is the transverse displacement, performing whole-column leftward translation on the screen display content with the column number not greater than the maximum column number and the row number in the row number value interval of the two-dimensional array set, wherein the translation column number is the transverse displacement.
In some embodiments, the processor 180 is configured to adjust the size of the acquisition region, including:
and the size of the acquisition area is adjusted according to the duration of the touch operation or the relative displacement of the touch operation.
As can be seen from the above, an embodiment of the present application provides a mobile terminal 1200, where the mobile terminal 1200 performs the following steps:
the embodiment of the application provides a screen display method, which comprises the following steps: acquiring touch position information of a screen display area according to touch operation acting on the screen display area; acquiring touch display information shielded by touch operation according to the touch position information; and adjusting the display mode of the display content of the current screen display area according to the relevant information of the touch operation, so that the touch display information is not shielded. The display content of the area shielded by the finger can be directly observed when the user inputs the information through the touch screen, and the problem of incomplete display content caused by clicking touch of the finger of the user is avoided.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the screen display method according to any one of the above embodiments.
It should be noted that, for the screen display method described in the present application, it can be understood by those skilled in the art that all or part of the process of implementing the screen display method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of a mobile terminal, and executed by at least one processor in the mobile terminal, and during the execution process, the process of implementing the embodiment of the screen display method can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the screen display device in the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The screen display method and device, the storage medium, the mobile terminal, the storage medium and the terminal device provided by the embodiment of the application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A screen display method is applied to a terminal device, the terminal device comprises a screen display area, and the method comprises the following steps:
acquiring touch position information of a screen display area;
acquiring a target displacement according to the touch position information;
and adjusting the screen display mode according to the target displacement.
2. The screen display method according to claim 1, wherein the acquiring touch position information of the screen display area specifically includes:
acquiring a central point of touch operation, and acquiring the touch position information according to a preset size of an acquisition area;
the size of the acquisition area is a preset fixed size.
3. The screen display method of claim 1, wherein the obtaining a target displacement amount according to the touch position information specifically comprises:
acquiring an image matrix two-dimensional array set of pixels corresponding to the touch position information;
acquiring the target displacement quantity through the two-dimensional array set;
and adjusting the screen display mode according to the target displacement.
4. The screen display method of claim 3, wherein the obtaining the target displacement amount via the array set specifically comprises:
acquiring the maximum value and the minimum value of the number of rows in the two-dimensional array set;
subtracting the maximum value of the number of rows from the minimum value of the number of rows to obtain longitudinal displacement;
acquiring the maximum value and the minimum value of the column number in the two-dimensional array set;
and subtracting the maximum column number value from the minimum column number value to obtain the transverse displacement.
5. The screen display method of claim 4, wherein the adjusting the screen display mode according to the target displacement amount specifically comprises:
when the target displacement amount is the longitudinal displacement amount, performing full-line upward translation on the screen display content with the line number not more than the maximum value of the line number, wherein the translation line number is the longitudinal displacement amount;
and when the target displacement is the transverse displacement, performing column-wise leftward translation on the screen display content with the column number not greater than the maximum column number, wherein the column number of translation is the transverse displacement.
6. The screen display method of claim 4, wherein the adjusting the screen display mode according to the target displacement amount specifically comprises:
when the target displacement amount is the longitudinal displacement amount, translating the screen display content with the number of lines not greater than the maximum number of lines and the number of columns in the line number value interval of the two-dimensional array set upwards, wherein the number of translated lines is the longitudinal displacement amount;
and when the target displacement is the transverse displacement, performing whole-column leftward translation on the screen display content with the column number not greater than the maximum column number and the row number in the row number value interval of the two-dimensional array set, wherein the translation column number is the transverse displacement.
7. The screen display method of claim 2, wherein the size of the capture area is adjustable, comprising:
and the size of the acquisition area is adjusted according to the duration of the touch operation or the relative displacement of the touch operation.
8. A screen display device, comprising:
the touch position acquisition module is used for acquiring touch position information of a screen display area;
the mobile information acquisition module acquires target displacement according to the touch position information;
and the display adjustment module adjusts the screen display mode according to the target displacement.
9. A screen display device as recited in claim 8 wherein said device comprises:
and the acquisition area adjusting module is used for adjusting the size of the acquisition area of the touch position information.
10. A computer-readable storage medium, characterized in that a computer program is stored therein, which when run on a computer, causes the computer to execute the steps in the screen display method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011495431.1A CN112558814A (en) | 2020-12-17 | 2020-12-17 | Screen display method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011495431.1A CN112558814A (en) | 2020-12-17 | 2020-12-17 | Screen display method and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112558814A true CN112558814A (en) | 2021-03-26 |
Family
ID=75064652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011495431.1A Pending CN112558814A (en) | 2020-12-17 | 2020-12-17 | Screen display method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112558814A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014179102A (en) * | 2013-03-14 | 2014-09-25 | Samsung Electronics Co Ltd | Screen display control device comprising touch screen, and screen display control method |
CN107729298A (en) * | 2017-10-31 | 2018-02-23 | 努比亚技术有限公司 | Screen occlusion area processing method, mobile terminal and computer-readable recording medium |
CN109147659A (en) * | 2018-08-23 | 2019-01-04 | 西安蜂语信息科技有限公司 | Control method for screen display, device, equipment and storage medium |
CN110286826A (en) * | 2019-06-27 | 2019-09-27 | 上海闻泰信息技术有限公司 | Show processing method, device, equipment and the storage medium of content |
-
2020
- 2020-12-17 CN CN202011495431.1A patent/CN112558814A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014179102A (en) * | 2013-03-14 | 2014-09-25 | Samsung Electronics Co Ltd | Screen display control device comprising touch screen, and screen display control method |
CN107729298A (en) * | 2017-10-31 | 2018-02-23 | 努比亚技术有限公司 | Screen occlusion area processing method, mobile terminal and computer-readable recording medium |
CN109147659A (en) * | 2018-08-23 | 2019-01-04 | 西安蜂语信息科技有限公司 | Control method for screen display, device, equipment and storage medium |
CN110286826A (en) * | 2019-06-27 | 2019-09-27 | 上海闻泰信息技术有限公司 | Show processing method, device, equipment and the storage medium of content |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762954B (en) | Object sharing method and mobile terminal | |
CN105867751B (en) | Operation information processing method and device | |
US9086749B2 (en) | System and method for improved processing of touch sensor data | |
WO2014086218A1 (en) | Interface adjustment method, device and terminal | |
CN104375886B (en) | Information processing method, device and electronic equipment | |
CN108536509B (en) | Application body-splitting method and mobile terminal | |
CN110531915B (en) | Screen operation method and terminal equipment | |
CN108108113B (en) | Webpage switching method and device | |
CN111078108A (en) | Screen display method and device, storage medium and mobile terminal | |
CN105930077A (en) | Method and device for adjusting size of objects displayed by screens | |
CN107944361A (en) | A kind of finger scan method and apparatus for mobile terminal | |
CN108600498B (en) | Information prompting method and device | |
CN110113525B (en) | Shooting preview method and device, storage medium and mobile terminal | |
CN110007821B (en) | Operation method and terminal equipment | |
CN109491741B (en) | Method and terminal for switching background skin | |
CN107622235B (en) | Fingerprint unlocking method and related product | |
CN105700801B (en) | Interface intercepting method and equipment | |
CN111310165B (en) | Account switching or registering method and electronic equipment | |
CN110213437B (en) | Editing method and mobile terminal | |
CN109634508B (en) | User information loading method and device | |
CN108920090B (en) | Control method of mobile terminal and mobile terminal | |
CN109327605B (en) | Display control method and device and mobile terminal | |
CN108563376B (en) | Application program starting method and mobile terminal | |
CN111443968A (en) | Screenshot method and electronic equipment | |
CN109634503B (en) | Operation response method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210326 |
|
RJ01 | Rejection of invention patent application after publication |