CN111164559A - Screen zoom adjustment method and device, terminal and computer readable storage medium - Google Patents
Screen zoom adjustment method and device, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN111164559A CN111164559A CN201780095275.XA CN201780095275A CN111164559A CN 111164559 A CN111164559 A CN 111164559A CN 201780095275 A CN201780095275 A CN 201780095275A CN 111164559 A CN111164559 A CN 111164559A
- Authority
- CN
- China
- Prior art keywords
- screen
- zoom
- scaling
- focus
- area
- 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
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000013507 mapping Methods 0.000 claims description 35
- 238000004590 computer program Methods 0.000 claims description 19
- 238000005516 engineering process Methods 0.000 claims description 15
- 210000005252 bulbus oculi Anatomy 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 230000000007 visual effect Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a screen zooming adjusting method and device, a terminal and a computer readable storage medium. The method comprises the following steps: setting a plurality of screen scaling ratios; correspondingly configuring a plurality of zooming areas on the screen according to the zooming proportion; detecting the focus of attention of a user; determining a position area of the focus of attention on the screen; determining a target zoom region surrounding the location region of the focus of interest; calculating a dwell time of the focus of interest within an area encompassed by the target zoom region; and when the staying time exceeds a preset time threshold, adjusting the current size of the screen according to the scaling corresponding to the target scaling area. By adopting the method and the device, the corresponding scaling of the current display interface of the screen can be quickly adjusted, so that the size of the current display interface of the screen is adjusted to the display size expected by a user, convenience is brought to the user, and the user experience effect can be improved.
Description
The present invention relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for adjusting screen zoom, a terminal, and a computer-readable storage medium.
With the development of electronic technology and mobile communication technology, mobile terminals are widely used. In the actual use process, a user generally needs to adjust the scaling of the terminal screen according to different display requirements so as to adjust the display interface of the screen to a proper size. The conventional method for adjusting the size of the display interface of the screen usually needs to manually adjust the display interface of the screen from one scaling ratio to another scaling ratio, and a change process exists between the two scaling ratios, so that the display interface of the screen cannot be immediately adjusted to the size required by a user, and the user experience effect is poor.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for adjusting screen zooming, a terminal and a computer-readable storage medium, so that a user can quickly adjust a zooming ratio corresponding to a current display interface of a screen, thereby improving a user experience effect.
The invention provides a screen zooming adjusting method on one hand, which comprises the following steps:
setting a plurality of screen scaling ratios;
correspondingly configuring a plurality of zooming areas on the screen according to the zooming proportion;
detecting the focus of attention of a user;
determining a mapping position of the focus of attention on the screen;
determining a scaling region where the mapping position is located as a target scaling region;
calculating a dwell time of the focus of interest within the target zoom region;
and when the staying time exceeds a preset time threshold, adjusting the size of the current display interface of the screen according to the scaling corresponding to the target scaling area.
Another aspect of the present invention provides a screen zoom adjustment apparatus, including:
the setting module is used for setting a plurality of screen scaling ratios;
the configuration module is used for correspondingly configuring a plurality of zooming areas on the screen according to the zooming proportion;
the detection module is used for detecting the focus of attention of a user;
the positioning module is used for determining the mapping position of the focus of attention on the screen;
a determining module, configured to determine a scaling region where the mapping position is located as a target scaling region;
the timing module is used for calculating the dwell time of the focus of interest in the target zooming area;
and the adjusting module is used for adjusting the size of the current display interface of the screen according to the scaling corresponding to the target scaling area when the staying time exceeds a preset time threshold.
Yet another aspect of the present invention provides a terminal, which includes a processor, and the processor is configured to implement the steps of the screen zoom adjustment method according to any one of the above embodiments when executing a computer program stored in a memory.
Yet another aspect of the present invention provides a computer readable storage medium, on which computer instructions are stored, the computer instructions, when executed by a processor, implement the steps of the screen zoom adjustment method according to any of the above embodiments.
By adopting the screen zooming adjusting method, the screen zooming adjusting device and the terminal, the zooming proportion corresponding to the current display interface of the screen can be quickly adjusted, so that the size of the current display interface of the screen is adjusted to the display size expected by a user, the operation of the user is facilitated, and the user experience effect can be improved.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a screen zoom adjustment method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a zoom region of the first embodiment.
Fig. 3 is a schematic diagram of a zoom region of the second embodiment.
Fig. 4 is a schematic diagram of a zoom region of the third embodiment.
Fig. 5 is a schematic structural diagram of a screen zoom adjustment apparatus according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Description of the main elements
Screen zoom adjusting device 10
Detecting module 13
Adjusting module 17
Computer program 40
Closed frames a, a1, a2, aN, b1, b2, bN, c1, c2, cN,
Zoom region A, A1, A2, AN, B1, B2, BN, C1, C2, CN,
Focus of attention P
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a screen zoom adjustment method according to an embodiment of the present invention, where the screen zoom adjustment method is applied to a terminal. The terminal can be a computer device with a display function, such as a smart phone, a tablet computer, a notebook computer, a television and the like. It should be noted that the method for adjusting screen zoom according to the embodiment of the present invention is not limited to the steps and the sequence in the flowchart shown in fig. 1. Steps in the illustrated flowcharts may be added, removed, or changed in order according to various needs.
As shown in fig. 1, the screen zoom adjustment method includes the steps of:
And 102, correspondingly configuring a plurality of zooming areas on the screen according to the zooming proportion.
In the first embodiment, the step 102 specifically includes:
configuring a plurality of annular closed frames according to the plurality of scaling ratios;
configuring the annular closed frames on the screen in a way of a ferrule, wherein the areas surrounded by the annular closed frames are not overlapped with each other;
and respectively determining the annular areas surrounded by the annular closed frames as a scaling area.
Specifically, in one embodiment, as shown in fig. 2, a plurality of zoom regions a formed by a plurality of annular closed frames a are disposed around the inner edge of the screen 50, wherein the shape of the frame line of each of the annular closed frames a1, a2, …, aN substantially matches the shape of the screen 50, that is, the shape of the frame line of each of the annular closed frames a1, a2, …, aN is square.
Alternatively, the size of the inner outline or the outer outline of each of the annular closed boxes a1, a2, …, aN may be substantially equal to the product of the corresponding zoom ratio of the corresponding annular closed box and the size of the maximum display interface of the screen 50.
It is understood that in other embodiments, the sizes of the wire of the annular closed frames a1, a2, …, aN may be set to any size, and the shapes of the wire of the annular closed frames a1, a2, …, aN may be set to any shape, such as a circle, aN ellipse, a polygon, etc.
In another embodiment, as shown in fig. 3, a plurality of zoom regions B formed by a plurality of ring-shaped closed frames B are disposed at one side or a corner of the screen 50. Wherein, the shape of each annular closed frame b1, b2, …, bN can be set to any shape, such as square, circle, ellipse, polygon, etc.
It is understood that the non-overlapping areas surrounded by the annular closed frames means that the size of the inner frame line of the annular closed frame with a larger size may be greater than or equal to the size of the outer frame line of the annular closed frame with a smaller size in two adjacent annular closed frames, so that a certain distance is formed between the two adjacent annular closed frames, or the inner frame line of the annular closed frame with a larger size overlaps with the outer frame line of the annular closed frame with a smaller size.
In a second embodiment, the step 102 specifically includes:
configuring a plurality of closed frames according to the plurality of scaling ratios;
configuring the plurality of closed frames in a preset area of the screen in a side-by-side mode;
and determining the area enclosed by each closed frame as a scaling area.
Specifically, as shown in fig. 4, the sizes of the closed frames C are respectively proportional to the scaling ratios corresponding thereto, so that the areas of the scaling regions C formed by the closed frames C are also respectively proportional to the scaling ratios corresponding thereto.
It is understood that in other embodiments, the sizes of the plurality of closed boxes C are the same, so that the areas of the plurality of zoom regions C formed by the plurality of closed boxes C are also the same.
Wherein the preset area includes a side or corner position of the screen 50. The shape of each of the closed frames c1, c2, …, cN may be set to any shape, such as a square, a circle, an ellipse, a polygon, etc.
In one embodiment, the screen zoom adjustment method further includes:
the closed frame and/or the zooming area are visibly configured on the screen, so that a user can accurately, intuitively and quickly adjust the size of the display interface of the screen to the size expected by the user.
For example, as shown in FIGS. 2-4, the outline of the closed boxes a, b, or C may be displayed as a colored (e.g., black) line, and the zoom regions A, B or C may be displayed as transparent or blank regions.
Alternatively, the outline of the closed box a, b, or C may be displayed as a colored line, and the zoom region A, B or C may be displayed as a colored region.
Alternatively, the outline of the closed box a, b, or C may be displayed as a transparent line, and the zoom region A, B or C may be displayed as a colored region.
Alternatively, the frame line of the closed frame a, b, or c overlapping with the current display interface of the screen 50 may be displayed as a dotted line, and the frame line of the closed frame a, b, or c not overlapping with the current display interface of the screen 50 may be displayed as a solid line. Similarly, the zoom region A, B or C that overlaps with the current display interface of the screen 50 may be displayed as a transparent region, and the zoom region A, B or C that does not overlap with the current display interface of the screen 50 may be displayed as a transparent, blank, or colored region.
In another embodiment, the screen zoom adjustment method further includes:
and the closed frame and the zooming area are hidden and configured on the screen in an invisible mode so as to avoid the display of the closed frame and the zooming area from influencing the visual effect of a user.
In still another embodiment, the screen zoom adjustment method further includes:
and configuring part of the closed frame and/or part of the zooming area on the screen in a visible mode, and configuring part of the closed frame and part of the zooming area in a hidden mode on the screen in an invisible mode.
For example, for the frame line of the closed box a, b or C and the corresponding zoom region A, B or C, the portion overlapping with the current display interface of the screen 50 may be hidden, and the portion not overlapping with the current display interface of the screen 50 may be displayed, so as to avoid that the display of the frame line of the closed box a, b or C and the corresponding zoom region A, B or C overlapping with the current display interface of the screen 50 affects the visual effect of the user.
Optionally, in an embodiment, the screen zoom adjustment method further includes:
and displaying a corresponding scaling ratio (as shown in fig. 4) on each scaling area so as to facilitate the user to accurately and quickly adjust the display interface of the screen to the size expected by the user.
In one embodiment, the step 103 specifically includes:
detecting a corresponding position point of the eyeball of the user staring at the screen by utilizing an eyeball tracking technology or a fixation point technology of a gyroscope, and determining the corresponding position point as the focus of attention.
It can be understood that the eyeball tracking technology and the fixation point technology of the gyroscope are prior art, are not important points of the present invention, and are not described herein again.
In another embodiment, the step 103 specifically includes:
and detecting that an external input device inputs a preset operation event on the screen, and determining a corresponding position point where the preset operation event occurs as the focus of attention.
The input device may be a mouse, and the preset operation may be a long press.
Optionally, the input device may be a stylus pen or a finger, and the preset operation may be long pressing, multi-point touch, sliding touch, or the like. Accordingly, the screen is a touch screen with a touch recognition function.
And 104, determining the mapping position of the focus of attention on the screen.
In this embodiment, the step 104 specifically includes:
acquiring coordinates of a projection position of the focus of interest on the screen;
and determining the mapping position of the projection position on the screen according to the coordinates of the projection position.
And 105, determining the scaling region where the mapping position is located as a target scaling region.
For example, as shown in fig. 2, the mapping position of the focus of attention P is located within a zoom region a2 constituted by an annular closed box a2, and thus the zoom region a2 is determined as the target zoom region.
And 106, calculating the dwell time of the focus of interest in the target zooming area.
In this embodiment, the step 106 specifically includes:
starting timing when the mapping position of the focus of interest falls into the target scaling region;
detecting whether the mapping position of the focus of interest exceeds the range of the target zooming area in real time;
if the mapping position of the focus of interest does not exceed the range of the target zooming area, continuing timing;
and if the mapping position of the focus of interest exceeds the range of the target scaling region, stopping timing.
And 107, when the staying time exceeds a preset time threshold, adjusting the size of the current display interface of the screen according to the scaling corresponding to the target scaling area.
In one embodiment, the values of the screen scales are greater than or equal to a preset threshold and less than or equal to 1. The step of adjusting the size of the current display interface of the screen according to the scaling corresponding to the target scaling region specifically includes:
acquiring the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;
calculating the product of the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;
resizing a currently displayed interface of the screen to a size consistent with the product.
It can be understood that the preset threshold may be set to 0, so that when the zoom ratio corresponding to the zoom region where the focus of attention is located is the preset threshold, the current display interface of the screen may be minimized.
Similarly, when the zoom scale corresponding to the zoom area where the focus of attention is located is 1, the current display interface of the screen can be maximized.
It is understood that, in other embodiments, before the step 106, the screen zoom adjustment method may further include:
judging whether the scaling corresponding to the current display interface of the screen is consistent with the scaling corresponding to the target scaling area;
if the scaling corresponding to the current display interface of the screen is consistent with the scaling corresponding to the target scaling area, ending the process;
and if the scaling corresponding to the current display interface of the screen is not consistent with the scaling corresponding to the target scaling area, executing the steps 106-107.
By adopting the screen zooming adjusting method provided by the invention, the zooming proportion corresponding to the current display interface of the screen can be quickly adjusted, so that the size of the current display interface of the screen is adjusted to the display size expected by a user, the operation of the user is facilitated, and the user experience effect can be improved.
Please refer to fig. 5, which is a schematic structural diagram of a screen zoom adjustment apparatus 10 according to an embodiment of the present invention, wherein the screen zoom adjustment apparatus 10 is applied in a terminal. The terminal can be a computer device with a display function, such as a smart phone, a tablet computer, a notebook computer, a television and the like. The screen zoom apparatus 10 may include one or more modules stored in a memory of the terminal and configured to be executed by one or more processors (one processor in this embodiment) to complete the present invention. For example, referring to fig. 5, the screen zoom adjustment apparatus 10 may include a setting module 11, a configuration module 12, a detection module 13, a positioning module 14, a determination module 15, a timing module 16, and an adjustment module 17. The modules referred to in the embodiments of the present invention may be program segments that perform a specific function, and are more suitable than programs for describing the execution process of software in a processor. It is understood that, corresponding to the embodiments of the screen zoom adjusting method, the screen zoom adjusting apparatus 10 may include some or all of the functional modules shown in fig. 5, and the functions of the modules 11 to 17 will be described in detail below.
In this embodiment, the setting module 11 is used for setting several screen scales.
The configuration module 12 is configured to configure a plurality of zoom areas on the screen according to the zoom ratio.
In the first embodiment, the configuration module 12, when correspondingly configuring a plurality of zoom regions on the screen according to the zoom ratio, is specifically configured to:
configuring a plurality of annular closed frames according to the plurality of scaling ratios;
configuring the annular closed frames on the screen in a way of a ferrule, wherein the areas surrounded by the annular closed frames are not overlapped with each other;
and respectively determining the annular areas surrounded by the annular closed frames as a scaling area.
Specifically, in aN embodiment, as shown in fig. 2, the configuration module 12 may be configured to surround several zoom regions a formed by several annular closed frames a on the inner edge of the screen 50, wherein the shape of the frame line of each annular closed frame a1, a2, …, aN substantially matches the shape of the screen 50, that is, the shape of the frame line of each annular closed frame a1, a2, …, aN is square.
Alternatively, the size of the inner outline or the outer outline of each of the annular closed boxes a1, a2, …, aN may be substantially equal to the product of the corresponding zoom ratio of the corresponding annular closed box and the size of the maximum display interface of the screen 50.
It is understood that in other embodiments, the sizes of the wire of the annular closed frames a1, a2, …, aN may be set to any size, and the shapes of the wire of the annular closed frames a1, a2, …, aN may be set to any shape, such as a circle, aN ellipse, a polygon, etc.
In another embodiment, as shown in fig. 3, the configuration module 12 may be configured to configure a plurality of zoom regions B composed of a plurality of annular closed frames B at one side or a corner of the screen 50. Wherein, the shape of each annular closed frame b1, b2, …, bN can be set to any shape, such as square, circle, ellipse, polygon, etc.
It is understood that the non-overlapping areas surrounded by the annular closed frames means that the size of the inner frame line of the annular closed frame with a larger size may be greater than or equal to the size of the outer frame line of the annular closed frame with a smaller size in two adjacent annular closed frames, so that a certain distance is formed between the two adjacent annular closed frames, or the inner frame line of the annular closed frame with a larger size overlaps with the outer frame line of the annular closed frame with a smaller size.
In the second embodiment, the configuration module 12, when correspondingly configuring a plurality of zoom regions on the screen according to the zoom ratio, is specifically configured to:
configuring a plurality of closed frames according to the plurality of scaling ratios;
configuring the plurality of closed frames in a preset area of the screen in a side-by-side mode;
and determining the area enclosed by each closed frame as a scaling area.
Specifically, as shown in fig. 4, the sizes of the closed frames C are respectively proportional to the scaling ratios corresponding thereto, so that the areas of the scaling regions C formed by the closed frames C are also respectively proportional to the scaling ratios corresponding thereto.
It is understood that in other embodiments, the sizes of the plurality of closed boxes C are the same, so that the areas of the plurality of zoom regions C formed by the plurality of closed boxes C are also the same.
Wherein the preset area includes a side or corner position of the screen 50. The shape of each of the closed frames c1, c2, …, cN may be set to any shape, such as a square, a circle, an ellipse, a polygon, etc.
In one embodiment, the configuration module 12 is further configured to visually configure the closed frame and/or the zoom area on the screen 50, so as to facilitate the user to accurately, intuitively, and quickly adjust the size of the display interface of the screen to the size desired by the user.
For example, as shown in FIGS. 2-4, the configuration module 12 may configure the outline of the closed boxes a, b, or C as colored (e.g., black) lines and the zoom regions A, B or C as transparent or blank regions.
Optionally, the configuration module 12 may configure the outline of the closed frame a, b or C as a colored line and the zoom region A, B or C as a colored region.
Optionally, the configuration module 12 may configure the outline of the closed frame a, b or C as a transparent line and the zoom region A, B or C as a colored region.
Alternatively, the configuration module 12 may configure the outline of the closed box a, b or C overlapping with the current display interface of the screen 50 as a dotted line, configure the outline of the closed box a, b or C not overlapping with the current display interface of the screen 50 as a solid line, configure the zoom region A, B or C overlapping with the current display interface of the screen 50 as a transparent region, and configure the zoom region A, B or C not overlapping with the current display interface of the screen 50 as a transparent, blank or colored region.
In another embodiment, the configuration module 12 is further configured to configure the closed frame and the zoom area on the screen 50 in an invisible manner, so as to avoid the display of the closed frame and the zoom area from affecting the visual effect of the user.
In yet another embodiment, the configuration module 12 is further configured to visually configure a portion of the closed frame and/or a portion of the zoom area on the screen 50, and to invisibly configure a portion of the closed frame and a portion of the zoom area on the screen 50.
For example, for the frame line of the closed box a, b or C and the corresponding zoom region A, B or C, the configuration module 12 may hide the portion overlapping with the current display interface of the screen 50 and display the portion not overlapping with the current display interface of the screen 50, so as to avoid that the display of the frame line of the closed box a, b or C and the corresponding zoom region A, B or C overlapping with the current display interface of the screen 50 affects the visual effect of the user.
Optionally, in an embodiment, the configuration module 12 may be further configured to display a corresponding zoom scale on each zoom region (as shown in fig. 4) so as to facilitate the user to accurately and quickly adjust the display interface of the screen 50 to the size desired by the user.
The detecting module 13 is used for detecting the focus of attention of the user.
In one embodiment, the detecting module 13 is specifically configured to, when detecting the focus of attention of the user:
detecting a corresponding position point of the eyeball of the user staring at the screen by utilizing an eyeball tracking technology or a fixation point technology of a gyroscope, and determining the corresponding position point as the focus of attention.
It can be understood that the eyeball tracking technology and the fixation point technology of the gyroscope are prior art, are not important points of the present invention, and are not described herein again.
In another embodiment, the detecting module 13 is specifically configured to, when detecting the focus of attention of the user:
and detecting that an external input device inputs a preset operation event on the screen, and determining a corresponding position point where the preset operation event occurs as the focus of attention.
The input device may be a mouse, and the preset operation may be a long press.
Optionally, the input device may be a stylus pen or a finger, and the preset operation may be long pressing, multi-point touch, sliding touch, or the like. Accordingly, the screen is a touch screen with a touch recognition function.
The positioning module 14 is configured to determine a mapping position of the focus of attention on the screen.
In this embodiment, the positioning module 14, when determining the mapping position of the focus of attention on the screen, is specifically configured to:
acquiring coordinates of a projection position of the focus of interest on the screen;
and determining the mapping position of the projection position on the screen according to the coordinates of the projection position.
The determining module 15 is configured to determine a scaling region where the mapping position is located as a target scaling region.
For example, as shown in fig. 2, the mapping position of the focus of attention P is located within a zoom region a2 formed by an annular closed box a2, and thus the determination module 15 determines the zoom region a2 as the target zoom region.
The timing module 16 is configured to calculate a dwell time of the focus of interest within the target zoom region.
In this embodiment, the detecting module 13 is further configured to detect whether the mapping position of the focus of interest exceeds the range of the target zooming area in real time.
The timing module 16 is specifically configured to, when calculating the dwell time of the focus of interest in the target zoom region:
starting timing when the mapping position of the focus of interest falls into the target scaling region;
when the mapping position of the focus of interest does not exceed the range of the target scaling region, continuing timing;
and stopping timing when the mapping position of the focus of interest exceeds the range of the target scaling region.
The adjusting module 17 is configured to adjust the size of the current display interface of the screen according to the scaling corresponding to the target scaling region when the staying time exceeds a preset time threshold.
In one embodiment, the values of the screen scales are greater than or equal to a preset threshold and less than or equal to 1. The adjusting module 17 is specifically configured to, when adjusting the size of the current display panel of the screen according to the scaling corresponding to the target scaling region:
acquiring the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;
calculating the product of the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;
adjusting the size of the current display panel of the screen to a size consistent with the product.
It can be understood that the preset threshold may be set to 0, so that when the zoom ratio corresponding to the zoom region where the focus of attention is located is the preset threshold, the adjusting module 17 may minimize the current display interface of the screen 50.
Similarly, when the zoom ratio corresponding to the zoom area where the focus of attention is located is 1, the adjusting module 17 may maximize the current display interface of the screen 50.
By adopting the screen zooming adjusting device provided by the invention, the zooming proportion corresponding to the current display interface of the screen can be quickly adjusted, so that the size of the current display interface of the screen is adjusted to the display size expected by a user, the operation of the user is facilitated, and the user experience effect can be improved.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the steps of the screen zoom adjustment method described in the foregoing embodiment when executing the program.
Fig. 6 is a schematic structural diagram of the terminal 100 according to an embodiment of the present invention. As shown in fig. 6, the terminal 100 includes at least a processor 20, a memory 30, a computer program 40 (e.g., a screen zoom adjustment program) stored in the memory 30 and operable on the processor 20, and a screen 50.
The terminal 100 may be a computer device with a display function, such as a smart phone, a tablet computer, a notebook computer, and a television. It will be understood by those skilled in the art that the schematic diagram 6 is merely an example of the terminal 100 for implementing the screen zoom adjustment method of the present invention, and does not constitute a limitation of the terminal 100, and may include more or less components than those shown in the drawings, or combine some components, or different components, for example, the terminal 100 may further include an input and output device, a network access device, and the like.
The processor 20, when executing the computer program 40, implements the steps of the above-mentioned various screen zoom adjustment method embodiments, such as the steps 101 to 107 shown in fig. 1. Alternatively, the processor 20 executes the computer program 40 to implement the functions of the modules/units, such as the modules 11 to 17, in the embodiment of the screen zoom adjustment apparatus 10.
Illustratively, the computer program 40 may be partitioned into one or more modules/units that are stored in the memory 30 and executed by the processor 20 to implement the present invention. The one or more modules/units may be a series of computer program 40 instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program 40 in the terminal 100. For example, the computer program 40 can be divided into the setting module 11, the configuring module 12, the detecting module 13, the positioning module 14, the determining module 15, the timing module 16 and the adjusting module 17 shown in fig. 5, and the specific functions of each of the modules 11 to 17 are described in detail in the foregoing for brevity and to avoid redundancy, which is not repeated herein.
The Processor 20 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 20 is a control center of the terminal 100 and connects the various parts of the whole screen zoom apparatus 10/terminal 100 by using various interfaces and lines.
The memory 30 can be used for storing the computer program 40 and/or the module/unit, and the processor 20 can implement various functions of the screen zoom apparatus 10/the terminal 100 by running or executing the computer program 40 and/or the module/unit stored in the memory 30 and calling data stored in the memory 30. The memory 30 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (e.g., a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the terminal 100 (e.g., audio data, a phonebook, data set, acquired by applying the above-described screen zoom adjustment method, etc.), and the like. In addition, the memory 30 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the screen zoom adjustment method described in the above embodiments.
The screen zoom apparatus 10/terminal 100/computer apparatus integrated module/unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
In the embodiments provided in the present invention, it should be understood that the disclosed screen zoom adjusting method and apparatus can be implemented in other ways. For example, the screen zoom apparatus embodiments described above are merely illustrative, and for example, the division of the modules is only one logical function division, and there may be another division manner when the actual implementation is performed.
In addition, each functional module in each embodiment of the present invention may be integrated into the same processing module, or each module may exist alone physically, or two or more modules may be integrated into the same module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the apparatus claims may also be embodied by one and the same item or means in software or hardware.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the above preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (20)
- A screen zoom adjustment method, comprising:setting a plurality of screen scaling ratios;correspondingly configuring a plurality of zooming areas on the screen according to the zooming proportion;detecting the focus of attention of a user;determining a mapping position of the focus of attention on the screen;determining a scaling region where the mapping position is located as a target scaling region;calculating a dwell time of the focus of interest within the target zoom region;and when the staying time exceeds a preset time threshold, adjusting the size of the current display interface of the screen according to the scaling corresponding to the target scaling area.
- The screen zoom adjustment method of claim 1, wherein the step of configuring a plurality of zoom areas on the screen according to the zoom ratio accordingly comprises:configuring a plurality of annular closed frames according to the plurality of scaling ratios;configuring the annular closed frames on the screen in a way of a ferrule, wherein the areas surrounded by the annular closed frames are not overlapped with each other;and respectively determining the annular areas surrounded by the annular closed frames as a scaling area.
- The screen zoom adjustment method of claim 2, wherein the plurality of zoom regions are circumferentially disposed at an inner edge of the screen; orThe zooming areas are configured at one side or corner positions of the screen.
- The screen zoom adjustment method of claim 1, wherein the step of configuring a plurality of zoom areas on the screen according to the zoom ratio accordingly comprises:configuring a plurality of closed frames according to the plurality of scaling ratios;configuring the plurality of closed frames in a preset area of the screen in a side-by-side mode;and determining the area enclosed by each closed frame as a scaling area.
- The screen zoom adjustment method of any one of claims 2 to 4, wherein the screen zoom adjustment method further comprises:visually configuring the closed box and/or the zoom area on the screen; orInvisibly configuring the closed frame and the zoom area on the screen; orAnd configuring part of the closed frame and/or part of the zooming area on the screen in a visible mode, and configuring part of the closed frame and part of the zooming area in a hidden mode on the screen in an invisible mode.
- The screen zoom adjustment method of any one of claims 2 to 4, wherein the screen zoom adjustment method further comprises:displaying a corresponding zoom scale on each of the zoom regions.
- The screen zoom adjustment method of claim 1, wherein the step of detecting the focus of attention of the user comprises:detecting a corresponding position point of the eyeball of the user staring at the screen by utilizing an eyeball tracking technology or a fixation point technology of a gyroscope, and determining the corresponding position point as the focus of attention; orAnd detecting that an external input device inputs a preset operation event on the screen, and determining a corresponding position point where the preset operation event occurs as the focus of attention.
- The screen zoom adjustment method of claim 1, wherein the step of determining the mapped position of the focus of attention on the screen comprises:acquiring coordinates of a projection position of the focus of interest on the screen;and determining the mapping position of the projection position on the screen according to the coordinates of the projection position.
- The screen zoom adjustment method of claim 1 or 8, wherein the step of calculating the dwell time of the focus of attention within the target zoom region comprises:starting timing when the mapping position of the focus of interest falls into the target scaling region;detecting whether the mapping position of the focus of interest exceeds the range of the target zooming area in real time;if the mapping position of the focus of interest does not exceed the range of the target zooming area, continuing timing;and if the mapping position of the focus of interest exceeds the range of the target scaling region, stopping timing.
- The method of claim 1, wherein values of the screen scales are greater than or equal to a preset threshold and less than or equal to 1, and the step of adjusting the size of the current display interface of the screen according to the scale corresponding to the target scaling region comprises:acquiring the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;calculating the product of the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;resizing a currently displayed interface of the screen to a size consistent with the product.
- A screen zoom adjustment apparatus, comprising:the setting module is used for setting a plurality of screen scaling ratios;the configuration module is used for correspondingly configuring a plurality of zooming areas on the screen according to the zooming proportion;the detection module is used for detecting the focus of attention of a user;the positioning module is used for determining the mapping position of the focus of attention on the screen;a determining module, configured to determine a scaling region where the mapping position is located as a target scaling region;the timing module is used for calculating the dwell time of the focus of interest in the target zooming area;and the adjusting module is used for adjusting the size of the current display interface of the screen according to the scaling corresponding to the target scaling area when the staying time exceeds a preset time threshold.
- The screen zoom apparatus of claim 11, wherein the configuration module, when correspondingly configuring a plurality of zoom regions on the screen according to the zoom ratio, is specifically configured to:configuring a plurality of annular closed frames according to the plurality of scaling ratios;configuring the annular closed frames on the screen in a way of a ferrule, wherein the areas surrounded by the annular closed frames are not overlapped with each other;and respectively determining the annular areas surrounded by the annular closed frames as a scaling area.
- The screen zoom apparatus of claim 11, wherein the configuration module, when correspondingly configuring a plurality of zoom regions on the screen according to the zoom ratio, is specifically configured to:configuring a plurality of closed frames according to the plurality of scaling ratios;configuring the plurality of closed frames in a preset area of the screen in a side-by-side mode;and determining the area enclosed by each closed frame as a scaling area.
- The screen zoom apparatus of claim 12 or 13, wherein the configuration module is further configured to:visually configuring the closed box and/or the zoom area on the screen; orInvisibly configuring the closed frame and the zoom area on the screen; orAnd configuring part of the closed frame and/or part of the zooming area on the screen in a visible mode, and configuring part of the closed frame and part of the zooming area in a hidden mode on the screen in an invisible mode.
- The screen zoom apparatus of claim 11, wherein the detecting module, when detecting the focus of attention of the user, is specifically configured to:detecting a corresponding position point of the eyeball of the user staring at the screen by utilizing an eyeball tracking technology or a fixation point technology of a gyroscope, and determining the corresponding position point as the focus of attention; orAnd detecting that an external input device inputs a preset operation event on the screen, and determining a corresponding position point where the preset operation event occurs as the focus of attention.
- The screen zoom adjustment device of claim 11, wherein the positioning module, when determining the mapped location of the focus of interest on the screen, is specifically configured to:acquiring coordinates of a projection position of the focus of interest on the screen;and determining the mapping position of the projection position on the screen according to the coordinates of the projection position.
- The screen zoom apparatus of claim 11 or 16, wherein the detecting module is further configured to detect whether the mapping position of the focus of interest exceeds the range of the target zoom area in real time;the timing module is specifically configured to, when calculating the dwell time of the focus of interest in the target zoom region:starting timing when the mapping position of the focus of interest falls into the target scaling region;when the mapping position of the focus of interest does not exceed the range of the target scaling region, continuing timing;and stopping timing when the mapping position of the focus of interest exceeds the range of the target scaling region.
- The screen zoom adjustment apparatus of claim 11, wherein values of the screen zoom ratios are greater than or equal to a preset threshold and less than or equal to 1, and the adjustment module is specifically configured to, when adjusting the size of the current display panel of the screen according to the zoom ratio corresponding to the target zoom region:acquiring the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;calculating the product of the size of the maximum display interface of the screen and the scaling corresponding to the target scaling area;resizing a currently displayed interface of the screen to a size consistent with the product.
- A terminal, characterized in that the terminal comprises a processor for implementing the steps of the screen zoom adjustment method according to any one of claims 1-10 when executing a computer program stored in a memory.
- A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the screen zoom adjustment method according to any one of claims 1-10.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/105422 WO2019071398A1 (en) | 2017-10-09 | 2017-10-09 | Method and device for adjusting screen scaling, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111164559A true CN111164559A (en) | 2020-05-15 |
Family
ID=66100222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780095275.XA Pending CN111164559A (en) | 2017-10-09 | 2017-10-09 | Screen zoom adjustment method and device, terminal and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111164559A (en) |
WO (1) | WO2019071398A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797933A (en) * | 2020-07-10 | 2020-10-20 | 百度在线网络技术(北京)有限公司 | Template matching method and device, electronic equipment and storage medium |
CN113721879A (en) * | 2021-09-02 | 2021-11-30 | 北京城市网邻信息技术有限公司 | Image processing method, device, equipment and computer readable storage medium |
CN114265526A (en) * | 2021-12-10 | 2022-04-01 | 北京金堤科技有限公司 | Map scaling method and device, storage medium and electronic equipment |
WO2023221041A1 (en) * | 2022-05-19 | 2023-11-23 | 京东方科技集团股份有限公司 | Operation method and apparatus, electronic device, and computer-readable storage medium |
WO2024128512A1 (en) * | 2022-12-13 | 2024-06-20 | 삼성전자주식회사 | Electronic device for identifying external object while projecting screen, and method therefor |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050047629A1 (en) * | 2003-08-25 | 2005-03-03 | International Business Machines Corporation | System and method for selectively expanding or contracting a portion of a display using eye-gaze tracking |
CN101893934A (en) * | 2010-06-25 | 2010-11-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for intelligently adjusting screen display |
CN103677269A (en) * | 2013-12-11 | 2014-03-26 | 小米科技有限责任公司 | Method and device for displaying content and terminal device |
CN104007909A (en) * | 2013-02-25 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Page automatic adjusting method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679466B (en) * | 2013-11-29 | 2018-09-07 | 腾讯科技(深圳)有限公司 | A kind of method for displaying image, device and electronic equipment |
-
2017
- 2017-10-09 CN CN201780095275.XA patent/CN111164559A/en active Pending
- 2017-10-09 WO PCT/CN2017/105422 patent/WO2019071398A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050047629A1 (en) * | 2003-08-25 | 2005-03-03 | International Business Machines Corporation | System and method for selectively expanding or contracting a portion of a display using eye-gaze tracking |
CN101893934A (en) * | 2010-06-25 | 2010-11-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for intelligently adjusting screen display |
CN104007909A (en) * | 2013-02-25 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Page automatic adjusting method and device |
CN103677269A (en) * | 2013-12-11 | 2014-03-26 | 小米科技有限责任公司 | Method and device for displaying content and terminal device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797933A (en) * | 2020-07-10 | 2020-10-20 | 百度在线网络技术(北京)有限公司 | Template matching method and device, electronic equipment and storage medium |
CN111797933B (en) * | 2020-07-10 | 2023-07-28 | 百度在线网络技术(北京)有限公司 | Template matching method, device, electronic equipment and storage medium |
CN113721879A (en) * | 2021-09-02 | 2021-11-30 | 北京城市网邻信息技术有限公司 | Image processing method, device, equipment and computer readable storage medium |
CN113721879B (en) * | 2021-09-02 | 2022-09-30 | 北京城市网邻信息技术有限公司 | Image processing method, device, equipment and computer readable storage medium |
CN114265526A (en) * | 2021-12-10 | 2022-04-01 | 北京金堤科技有限公司 | Map scaling method and device, storage medium and electronic equipment |
WO2023221041A1 (en) * | 2022-05-19 | 2023-11-23 | 京东方科技集团股份有限公司 | Operation method and apparatus, electronic device, and computer-readable storage medium |
WO2024128512A1 (en) * | 2022-12-13 | 2024-06-20 | 삼성전자주식회사 | Electronic device for identifying external object while projecting screen, and method therefor |
Also Published As
Publication number | Publication date |
---|---|
WO2019071398A1 (en) | 2019-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111164559A (en) | Screen zoom adjustment method and device, terminal and computer readable storage medium | |
US11354825B2 (en) | Method, apparatus for generating special effect based on face, and electronic device | |
CN109064390B (en) | Image processing method, image processing device and mobile terminal | |
CN107958439B (en) | Image processing method and device | |
CN111147749A (en) | Photographing method, photographing device, terminal and storage medium | |
US20160078291A1 (en) | Image data processing method and electronic device supporting the same | |
US10317777B2 (en) | Automatic zooming method and apparatus | |
JP7383714B2 (en) | Image processing method and device for animal faces | |
CN111414114A (en) | Display adjustment method and device, electronic equipment and storage medium | |
CN110648296B (en) | Pupil color correction method, correction device, terminal device and storage medium | |
EP3822758A1 (en) | Method and apparatus for setting background of ui control | |
CN111290684B (en) | Image display method, image display device and terminal equipment | |
TWI752473B (en) | Image processing method and apparatus, electronic device and computer-readable storage medium | |
WO2016107229A1 (en) | Icon displaying method and device, and computer storage medium | |
CN109410295B (en) | Color setting method, device, equipment and computer readable storage medium | |
CN111818385B (en) | Video processing method, video processing device and terminal equipment | |
WO2020199970A1 (en) | Method for simulating light effect of access device in interface, computer apparatus, and computer-readable storage medium | |
US11770603B2 (en) | Image display method having visual effect of increasing size of target image, mobile terminal, and computer-readable storage medium | |
CN107239248B (en) | Display device and method | |
US11810336B2 (en) | Object display method and apparatus, electronic device, and computer readable storage medium | |
CN115562539A (en) | Control display method and device, electronic equipment and readable storage medium | |
US20160155428A1 (en) | Method, apparatus and computer storage medium for displaying incoming call interface | |
CN112286430B (en) | Image processing method, apparatus, device and medium | |
CN115514945A (en) | Doodling method and device, terminal equipment and storage medium | |
CN113986175A (en) | Color selection method and device, electronic equipment and readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20231117 |
|
AD01 | Patent right deemed abandoned |