CN109901768B - Interface image amplification display method and device, storage medium and computer equipment - Google Patents

Interface image amplification display method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN109901768B
CN109901768B CN201910146806.4A CN201910146806A CN109901768B CN 109901768 B CN109901768 B CN 109901768B CN 201910146806 A CN201910146806 A CN 201910146806A CN 109901768 B CN109901768 B CN 109901768B
Authority
CN
China
Prior art keywords
preset
interface image
icon
image
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910146806.4A
Other languages
Chinese (zh)
Other versions
CN109901768A (en
Inventor
秦艳龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Waterward Software Technology Co ltd
Original Assignee
深圳市沃特沃德软件技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市沃特沃德软件技术有限公司 filed Critical 深圳市沃特沃德软件技术有限公司
Priority to CN201910146806.4A priority Critical patent/CN109901768B/en
Publication of CN109901768A publication Critical patent/CN109901768A/en
Application granted granted Critical
Publication of CN109901768B publication Critical patent/CN109901768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a method, a device, a storage medium and computer equipment for amplifying and displaying an interface image, wherein the method comprises the following steps: amplifying a current interface image of a screen according to a preset scale, taking the amplified current interface image as an amplified interface image, and storing the amplified interface image in a background, wherein the current interface image is all images currently displayed on the screen; acquiring a touch point of a user on the screen in real time, and acquiring a corresponding target position of the touch point on the enlarged interface image in real time; and displaying a local amplified image corresponding to the target position in the amplified interface image in a preset amplification display window according to a preset rule. The method and the device realize continuous and smooth amplification display of the current interface image along with sliding of the touch point of the touch screen of the user.

Description

Interface image amplification display method and device, storage medium and computer equipment
Technical Field
The application relates to the field of mobile terminals, in particular to an interface image amplification display method, an interface image amplification display device, a storage medium and computer equipment.
Background
With the rapid development of smart phones, the user population of smart phones is becoming wider and wider. More and more elderly people start using smartphones and use various application software on smartphones. However, in the existing smart phone, screen fonts and icons are small, and the old often cannot clearly see characters, application software icons and the like on the screen when using the smart phone, so that the smart phone is inconvenient to use. Some old people mobile phones specially aiming at the old people are on the market, characters, icons and the like on a screen are all amplified through integrally amplifying interface images on the screen, but content information displayed on a current interface of a display screen of a smart phone is greatly reduced, and the old people are limited to select from a small number of old people mobile phones. At present, some application software for locally amplifying an interface image of a smart phone is also available, and when a finger touches a screen, a local image of a current interface of the screen corresponding to a finger touch point is amplified and displayed. However, when the device is used, a certain processing time is needed for calculating the amplified local image in the background, and a certain time difference exists between the moment when the finger touches the screen and the moment when the amplified local image appears, so that when the finger slides, the amplified local image cannot be smoothly displayed in real time, and the user experience is greatly influenced.
Disclosure of Invention
The application aims to provide an interface image amplification display method, an interface image amplification display device, a storage medium and computer equipment, and aims to solve the problem that in the prior art, a current interface image cannot be continuously and smoothly amplified and displayed along with the sliding of a touch point of a user touching a screen.
The application provides an amplification display method of an interface image, which comprises the following steps:
amplifying a current interface image of a screen according to a preset scale, taking the amplified current interface image as an amplified interface image, and storing the amplified interface image in a background, wherein the current interface image is all images currently displayed on the screen;
acquiring a touch point of a user on the screen in real time, and acquiring a corresponding target position of the touch point on the enlarged interface image in real time;
and displaying a local amplified image corresponding to the target position in the amplified interface image in a preset amplified display window according to a preset rule.
Further, before the step of magnifying the current interface image of the screen according to the preset scale, taking the magnified current interface image as a magnified interface image, and storing the magnified interface image in the background, the method includes:
judging whether information for starting a preset application program is detected;
if yes, displaying an enlarged icon on the screen;
judging whether the information that the magnified icon is clicked is detected;
and if so, intercepting the current interface image.
Further, the step of acquiring a touch point of a user on the screen in real time and acquiring a corresponding target position of the touch point on the enlarged interface image in real time includes:
judging whether the magnified icon slides on the screen;
if so, determining the icon position corresponding to the magnified icon on the current interface image in real time, wherein the magnified icon position is the same as the touch point position;
and calculating a corresponding designated position of the magnified icon on the magnified interface image according to the preset scale, and taking the designated position as the target position.
Further, the step of displaying, according to a preset rule, a locally enlarged image corresponding to the target position in the enlarged interface image in a preset enlarged display window includes:
acquiring preset size data of the preset amplification display window;
selecting a local area which takes the target position as the center and has a range corresponding to the preset size data from the enlarged interface image;
and displaying the local enlarged image contained in the local area in the preset enlarged display window.
Further, after the step of displaying, according to a preset rule, a locally enlarged image corresponding to the target position in the enlarged interface image in a preset enlarged display window, the method includes:
judging whether the magnified icon stays on the screen or not;
if yes, judging whether the local amplified image contains a preset icon or not;
if so, acquiring a preset function voice corresponding to the preset icon;
and playing the preset function voice.
Further, the step of obtaining a preset function voice corresponding to the preset icon includes:
judging whether the category of the preset icon is a preset reading icon or not, wherein the category of the preset icon comprises the preset reading icon and a preset explanation icon;
if yes, acquiring character and symbol information contained in the preset reading icon, and generating corresponding first function voice according to the character and symbol information;
if not, acquiring prestored explanation information corresponding to the preset explanation icon, and generating a corresponding second function voice according to the explanation information.
Further, before the step of determining whether the preset application program startup information is detected, the method includes:
when detecting that a user uses a password to unlock or start up, acquiring age information corresponding to the password from a pre-stored password library, wherein the pre-stored password library stores the password set by the user and the age information of the user in a pre-associated manner;
judging whether the user is the old or not according to the age information;
and if so, starting the preset application program.
The present application further provides an enlarged display device of an interface image, including:
the device comprises a first image acquisition unit, a second image acquisition unit and a display unit, wherein the first image acquisition unit is used for amplifying a current interface image of a screen according to a preset scale, taking the amplified current interface image as an amplified interface image and storing the amplified interface image in the background, and the current interface image is all images currently displayed on the screen;
the target position acquisition unit is used for acquiring a touch point of a user on the screen in real time and acquiring a corresponding target position of the touch point on the enlarged interface image in real time;
and the local amplification display unit is used for displaying the local amplification image corresponding to the target position in the amplification interface image in a preset amplification display window according to a preset rule.
The present application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, the computer program, when executed, implementing the method for displaying an interface image in an enlarged manner as described in any one of the above.
The application also provides a computer device, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the computer program, the processor realizes the amplification display method of the interface image.
The beneficial effect of this application:
according to the interface image amplification display method, the interface image amplification display device, the storage medium and the computer equipment, the current interface image of the screen is amplified according to the preset scale to obtain an amplified interface image, and the amplified interface image is stored in the background; because the whole enlarged image of the current interface image is stored as the enlarged interface image, when a user finger slides on the current interface image of the foreground screen, the enlarged calculation of the local interface image is not needed to be carried out for one time, but only the target position corresponding to the touch point is determined on the enlarged interface image, and the local enlarged image corresponding to the target position is displayed in the preset enlarged display window, so that the calculation amount of the local enlargement of the interface image is greatly reduced, and the continuous and smooth enlarged display of the current interface image is realized when the user finger slides on the screen.
Drawings
Fig. 1 is a schematic flowchart of a method for displaying an interface image in an enlarged manner according to an embodiment of the present application;
FIG. 2 is a block diagram schematically illustrating a structure of an enlarged display device for an interface image according to an embodiment of the present application;
FIG. 3 is a block diagram schematically illustrating a structure of an enlarged display device of an interface image according to still another embodiment of the present application;
FIG. 4 is a block diagram schematically showing the structure of the target position acquiring unit in FIG. 3;
FIG. 5 is a block diagram schematically illustrating a structure of a partially enlarged display unit in FIG. 3;
FIG. 6 is a block diagram schematically illustrating a structure of an enlarged display device of an interface image according to still another embodiment of the present application;
FIG. 7 is a block diagram schematically illustrating the structure of the speech retrieving unit in FIG. 6;
fig. 8 is a block diagram schematically illustrating a structure of an enlarged display device of an interface image according to still another embodiment of the present application;
FIG. 9 is a block diagram illustrating the structure of one embodiment of a storage medium of the present application;
FIG. 10 is a block diagram illustrating the structure of one embodiment of a computer device of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
In addition, descriptions in this application as to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit to the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Referring to fig. 1, the application provides a method for displaying an interface image in an enlarged manner, including:
s1, amplifying the current interface image of the screen according to a preset scale, taking the amplified current interface image as an amplified interface image, and storing the amplified interface image in the background, wherein the current interface image is all images currently displayed on the screen;
s2, acquiring a touch point of a user on the screen in real time, and acquiring a corresponding target position of the touch point on the enlarged interface image in real time;
and S3, displaying the local enlarged image corresponding to the target position in the enlarged interface image in a preset enlarged display window according to a preset rule.
In this embodiment, in the step S1, the screen is a display screen of a terminal device, such as a smartphone screen. The current interface image is all images currently displayed on the screen. The current interface image may be captured by capturing a screen shot or the like. And storing the intercepted current interface image in a bitmap form. The preset scale is an amplification scale for locally amplifying the current interface image. And amplifying the current interface image according to a preset scale to obtain the amplified interface image. And if the current interface image contains the whole content of the whole screen, the obtained enlarged interface image also contains the whole content of the whole screen. The whole enlarged interface image is stored in the background cache and is not displayed on the foreground interface of the screen.
In the step S2, when the user touches the screen with a finger or the like, the mobile terminal may obtain a corresponding position of the touch point on the current interface image, and then determine the target position of the touch point on the enlarged interface image according to the preset scale. Taking the current interface image as a rectangle with a width of 6cm and a length of 8cm, setting the lower left corner of the interface image as the origin (0,0), the upper right corner coordinates as (6,8), and the preset scale as 4 times (the width is enlarged by 2 times and the length is enlarged by 2 times), for example, if the corresponding position of the touch point on the current interface image is (1,1.5), the corresponding target position of the touch point on the enlarged interface image is (1 x 2,1.5 x 2), that is, (2, 3).
In step S3, the enlarged partial image is a partial image having a target position as a center point in the enlarged interface image, for example, if the target position is (2,3) and the diameter of the preset enlarged display window is 2cm, the enlarged partial image is a circular image having the target position (2,3) as a center point and the diameter of 2cm (the diameter of the preset enlarged display window) as a diameter in the enlarged interface image. The preset enlarged display window is a preset display window suspended on the current interface image of the screen and used for displaying the local enlarged image. The preset magnified display window may be disposed near the touch point, which is convenient for a user to read, for example: acquiring the hand habits of users; for a user who is accustomed to touching the screen by the right hand, the position of the preset amplification display window is arranged at the upper left of the position of the touch point; and for a user who is accustomed to touching the screen by the left hand, setting the position of the preset amplification display window at the upper right part of the position of the touch point.
In the interface image magnification display method of the embodiment, the current interface image of the screen is magnified according to a preset scale to obtain a magnified interface image, and the magnified interface image is stored in the background; because the whole enlarged image of the current interface image is stored as the enlarged interface image, when a user finger slides on the current interface image of the foreground screen, the enlarged calculation of the local interface image is not needed to be carried out for one time, but only the target position corresponding to the touch point is determined on the enlarged interface image, and the local enlarged image corresponding to the target position is displayed in the preset enlarged display window, so that the calculation amount of the local enlargement of the interface image is greatly reduced, and the continuous and smooth enlarged display of the current interface image is realized when the user finger slides on the screen.
In an embodiment, before the step S1 of magnifying the current interface image of the screen according to the preset scale, taking the magnified current interface image as a magnified interface image, and storing the magnified interface image in the background, the method includes:
s01, judging whether the information of the starting of the preset application program is detected;
s02, if yes, displaying an enlarged icon on the screen;
s03, judging whether the clicked information of the magnified icon is detected;
and S04, if yes, intercepting the current interface image.
In this embodiment, in the steps S01 to S02, the preset application is an application for starting the zoom-in function. The magnifying icon appears after the preset application program is started and is suspended on the current interface image, for example, the magnifying icon may be set as a magnifying glass icon. In the above steps S03 to S04, when the user clicks the enlargement icon on the screen after the enlargement function is started, the current interface image is captured.
Further, if the user does not click the zoom-in icon after starting the preset application program, the current interface image cannot be intercepted, the interface image cannot be locally zoomed in, and the user still normally operates the mobile phone. And after the fact that the preset time is exceeded and the magnified icon is not clicked yet is detected, the magnified icon can be further adjusted to be in a semi-transparent display state and is suspended on the current interface image.
In an embodiment, the step S2 of acquiring a touch point of the user on the screen in real time and acquiring a corresponding target position of the touch point on the enlarged interface image in real time includes:
s201, judging whether the magnified icon slides on the screen;
s202, if yes, determining the icon position corresponding to the magnified icon on the current interface image in real time, wherein the magnified icon position is the same as the touch point position;
s203, calculating the corresponding position of the magnified icon on the magnified interface image according to the preset scale, and taking the corresponding position on the magnified interface image as the target position.
In this embodiment, in the steps S201 to S202, when the user touches the magnified icon and does not release the finger from sliding on the screen, the mobile terminal detects that the magnified icon slides on the screen. Specifically, whether the magnified icon is slid or not can be determined by the speed of change in the displacement of the touch point on the screen. The position of a touch point of a user touching the screen is the position of the magnified icon, and the position of the icon is the position of the touch point.
In step S203, taking the current interface image as a rectangle with a width of 6cm and a length of 8cm, setting the lower left corner of the interface image as the origin (0,0), the upper right corner coordinates as (6,8), and the preset scale as 4 times (the width is enlarged by 2 times and the length is enlarged by 2 times), for example, the icon position is (1,1.5), and the corresponding target position of the icon position on the enlarged interface image is (1 × 2,1.5 × 2), that is, (2, 3).
In an embodiment, the step S3 of displaying, according to a preset rule, the partially enlarged image corresponding to the target position in the enlarged interface image in a preset enlarged display window includes:
s301, acquiring preset size data of the preset amplification display window;
s302, selecting a local area which takes the target position as the center and has a range corresponding to the preset size data from the enlarged interface image;
and S303, displaying the local amplified image contained in the local area in the preset amplification display window.
In this embodiment, in the step S301, the shape and size of the preset enlarged display window are preset, for example, the preset enlarged display window may be a circle with a diameter of 2cm, and the preset size data is a diameter of 2 cm. The position of the preset magnified display window continuously moves along with the movement of the magnified icon, for example, when the user moves the magnified icon in the horizontal direction, the preset magnified display window continuously moves in the horizontal direction along with the movement of the magnified icon. The relationship between the position of the preset amplification display window and the preset position of the amplification icon is preset by a developer in a development stage.
In the step S302, taking the target position as (2,3) and the diameter of the preset enlarged display window as 2cm as an example, the local area is a circular image with the target position (2,3) as a central point and the diameter of 2cm (the diameter of the preset enlarged display window) as a diameter in the enlarged interface image.
In step S303, the image included in the local area in the enlarged interface image is the local enlarged image. And displaying the local amplified image in the preset amplification display window, so that a user can see the amplified local image from the preset amplification display window of the current interface of the screen.
In an embodiment, after the step S3 of displaying, according to a preset rule, the locally enlarged image corresponding to the target position in the enlarged interface image in a preset enlarged display window, the method includes:
s4, judging whether the magnified icon stays on the screen;
s5, if yes, judging whether the local amplified image contains a preset icon or not;
s6, if yes, acquiring a preset function voice corresponding to the preset icon;
and S7, playing the preset function voice.
In this embodiment, the reading-aloud and/or interpretation function is further enabled for the partially enlarged image through the above steps S4 to S7.
In the above steps S4 to S5, when it is detected that the magnified icon stops on the screen for more than a predetermined length of time, it is determined that the magnified icon stays on the screen. The preset icons are preset icons, and comprise status bar icons, desktop application programs, characters, address book contacts and the like.
In the above steps S6 to S7, the preset function voices corresponding to each preset icon are pre-stored in the mobile terminal, for example, the explanation voices corresponding to the status bar icons are pre-stored in the mobile terminal. And if the local amplified image is judged to contain the preset icon, calling a preset function voice corresponding to the preset icon from the mobile terminal for playing. When the user uses the device, the user drags the magnified icon, the locally magnified image is smoothly displayed in the preset magnified display window in real time, and if the user wants to further know the content in the locally magnified image, the magnified icon can be stopped without dragging, and preset function voice of the icon in the locally magnified image can be played, such as an explanation status bar icon, an explanation application program use instruction and the like. On the basis of helping the user to clearly see the screen content, the screen content is further explained, and the use experience of the user (especially the old user) is greatly improved.
In an embodiment, the step S6 of obtaining the preset function voice corresponding to the preset icon includes:
s601, judging whether the type of the preset icon is a preset reading icon or not, wherein the type of the preset icon comprises the preset reading icon and a preset explanation icon;
s602, if yes, acquiring character and symbol information contained in the preset reading icon, and generating corresponding first function voice according to the character and symbol information;
and S603, if not, acquiring prestored explanation information corresponding to the preset explanation icon, and generating a corresponding second function voice according to the explanation information.
In this embodiment, the preset icons are classified in advance into preset reading icons and preset explanation icons, where the preset reading icons include status bar icons, characters, address book contacts, and the like, and the preset explanation icons include desktop applications and the like. The preset function voice includes the first function voice and the second function voice. For the preset reading icon, reading characters and symbols on the icon through the first function voice; and reading the preset explanation information through the second functional voice for the preset explanation icon.
In an embodiment, before the step S01 of determining whether the preset application start information is detected, the method includes:
s001, when detecting that a user uses a password to unlock or start the mobile phone, acquiring age information corresponding to the password from a pre-stored password library, wherein the pre-stored password library stores the password set by the user and the age information of the user in a pre-associated manner;
s002, judging whether the user is the old or not according to the age information;
and S003, if so, starting the preset application program.
In this embodiment, in step S001, when the user sets the power-on password or the screen unlock password, for example, the fingerprint password, the voiceprint password, or the digital password, the user may be required to input the age, and store the age of the user and the password in the pre-stored password library in an associated manner. Furthermore, when the user sets the voiceprint password for starting or unlocking the screen, the age of the user can be directly identified through the existing voiceprint identification technology, the user does not need to manually input the age, and the identified age of the user and the voiceprint password are stored in a prestored password library in a correlated manner. And when the user is detected to input the password, searching user age information corresponding to the password from a pre-stored password library.
In the steps S002 to S003, it is determined whether the age of the user is greater than a preset age, and if so, it is determined that the user is an elderly person. If the user is the old, when the fact that the magnifying icon stays on the screen is detected, the preset application program is automatically started, the magnifying icon is displayed on the screen, the old does not need to find the preset application program from a plurality of application programs, and convenience of the user of the old in using the magnifying display function is greatly improved.
Referring to fig. 2, the present application provides an enlarged display device of an interface image, including:
the first image obtaining unit 10 is configured to amplify a current interface image of a screen according to a preset scale, use the amplified current interface image as an amplified interface image, and store the amplified interface image in a background, where the current interface image is all images currently displayed on the screen;
the target position acquiring unit 20 is configured to acquire a touch point of a user on the screen in real time, and acquire a target position corresponding to the touch point on the enlarged interface image in real time;
and the local amplification display unit 30 is configured to display a local amplification image corresponding to the target position in the amplification interface image in a preset amplification display window according to a preset rule.
In this embodiment, in the first image obtaining unit 10, the screen is a display screen of a terminal device, such as a smartphone screen. The current interface image is all images currently displayed on the screen. The current interface image may be captured by capturing a screen shot or the like. And storing the intercepted current interface image in a bitmap form. The preset scale is an amplification scale for locally amplifying the current interface image. The current interface image is magnified by the first image obtaining unit 10 according to a preset scale, so as to obtain the magnified interface image. And if the current interface image contains the whole content of the whole screen, the obtained enlarged interface image also contains the whole content of the whole screen. The whole enlarged interface image is stored in the background cache and is not displayed on the foreground interface of the screen.
In the target position obtaining unit 20, when the user touches the screen with a finger or the like, the mobile terminal may obtain a corresponding position of the touch point on the current interface image, and then determine the target position of the touch point on the enlarged interface image according to the preset scale through the target position obtaining unit 40. Taking the current interface image as a rectangle with a width of 6cm and a length of 8cm, setting the lower left corner of the interface image as the origin (0,0), the upper right corner coordinates as (6,8), and the preset scale as 4 times (the width is enlarged by 2 times and the length is enlarged by 2 times), for example, if the corresponding position of the touch point on the current interface image is (1,1.5), the corresponding target position of the touch point on the enlarged interface image is (1 x 2,1.5 x 2), that is, (2, 3).
In the local enlarged display unit 30, the local enlarged image is a local image having a target position as a center point in the enlarged interface image, for example, if the target position is (2,3) and the diameter of the preset enlarged display window is 2cm, the local enlarged image is a circular image having the target position (2,3) as a center point and the diameter of 2cm (the diameter of the preset enlarged display window) as a diameter in the enlarged interface image. The preset enlarged display window is a preset display window suspended on the current interface image of the screen and used for displaying the local enlarged image. The preset magnified display window may be disposed near the touch point, which is convenient for a user to read, for example: acquiring the hand habits of users; for a user who is accustomed to touching the screen by the right hand, the position of the preset amplification display window is arranged at the upper left of the position of the touch point; and for a user who is accustomed to touching the screen by the left hand, setting the position of the preset amplification display window at the upper right part of the position of the touch point.
The interface image magnification display device of the embodiment obtains a magnified interface image by magnifying a current interface image of a screen according to a preset scale, and stores the magnified interface image in a cache; because the whole enlarged image of the current interface image is stored as the enlarged interface image, when a user finger slides on the current interface image of the foreground screen, the enlarged calculation of the local interface image is not needed to be carried out for one time, but only the target position corresponding to the touch point is determined on the enlarged interface image, and the local enlarged image corresponding to the target position is displayed in the preset enlarged display window, so that the calculation amount of the local enlargement of the interface image is greatly reduced, and the continuous and smooth enlarged display of the current interface image is realized when the user finger slides on the screen.
Referring to fig. 3, in an embodiment, the apparatus for magnifying and displaying an interface image further includes:
the first judging unit 01 is used for judging whether information for starting a preset application program is detected;
the magnified icon display unit 02 is used for displaying a magnified icon on the screen if the information of starting the preset application program is detected;
a second judging unit 03, configured to judge whether the information that the magnified icon is clicked is detected;
and the second image acquisition unit 04 is configured to intercept the current interface image if the information that the magnified icon is clicked is detected.
In this embodiment, in the first determining unit 01 and the magnified icon displaying unit 02, the predetermined application is an application for starting a magnification function. The magnifying icon appears after the preset application program is started and is suspended on the current interface image, for example, the magnifying icon may be set as a magnifying glass icon. In the second judging unit 03 and the second image obtaining unit 04, when the zoom-in function is started, and the user clicks the enlarged icon on the screen with a finger, the current interface image is captured.
Further, if the user does not click the zoom-in icon after starting the preset application program, the current interface image cannot be intercepted, the interface image cannot be locally zoomed in, and the user still normally operates the mobile phone. And after the fact that the preset time is exceeded and the magnified icon is not clicked yet is detected, the magnified icon can be further adjusted to be in a semi-transparent display state and is suspended on the current interface image.
Referring to fig. 4, in an embodiment, the target position obtaining unit 20 includes:
a first judging subunit 201, configured to judge whether the magnified icon slides on the screen;
an icon position determining subunit 202, configured to determine, in real time, a corresponding icon position of the magnified icon on the current interface image if the magnified icon slides on the screen, where the magnified icon position is the same as the touch point position;
and the target position determining subunit 203 is configured to calculate, according to the preset scale, a corresponding position of the magnified icon on the magnified interface image, and use the corresponding position on the magnified interface image as the target position.
In this embodiment, in the first determining subunit 201 and the icon position determining subunit 202, when the user touches the magnified icon and does not release the finger to slide on the screen, the mobile terminal detects that the magnified icon slides on the screen. Specifically, the first determination subunit 201 may determine whether the magnified icon has slid or not by the speed of change in the displacement of the touch point on the screen. The position of a touch point of a user touching the screen is the position of the magnified icon, and the position of the icon is the position of the touch point.
In the target position determining subunit 203, taking the current interface image as a rectangle with a width of 6cm and a length of 8cm, setting the lower left corner of the interface image as the origin (0,0), the upper right corner coordinates as (6,8), and the preset scale as 4 times (the width is enlarged by 2 times and the length is enlarged by 2 times), for example, the icon position is (1,1.5), and the target position corresponding to the icon position on the enlarged interface image is (1 × 2,1.5 × 2), that is, (2, 3).
Referring to fig. 5, in an embodiment, the partial enlargement display unit 30 includes:
a size obtaining subunit 301, configured to obtain preset size data of the preset enlarged display window;
a local area selecting subunit 302, configured to select, from the enlarged interface image, a local area that is centered at the target position and has a range corresponding to the preset size data;
and an enlarged image display subunit 303, configured to display the locally enlarged image included in the local area in the preset enlarged display window.
In this embodiment, in the size obtaining subunit 301, the shape and size of the preset enlarged display window are preset, for example, the preset enlarged display window may be set to be a circle with a diameter of 2cm, and the preset size data is 2cm in diameter. The position of the preset magnified display window continuously moves along with the movement of the magnified icon, for example, when the user moves the magnified icon in the horizontal direction, the preset magnified display window continuously moves in the horizontal direction along with the movement of the magnified icon. The relationship between the position of the preset amplification display window and the preset position of the amplification icon is preset by a developer in a development stage.
In the local area selection subunit 302, taking the target position as (2,3) and the diameter of the preset enlarged display window as 2cm as an example, the local area is a circular image with the target position (2,3) as a central point and the diameter of 2cm (the diameter of the preset enlarged display window) as a diameter in the enlarged interface image.
In the magnified image display subunit 303, the image included in the local area in the magnified interface image is a locally magnified image. And displaying the local amplified image in the preset amplification display window, so that a user can see the amplified local image from the preset amplification display window of the current interface of the screen.
Referring to fig. 6, in an embodiment, the apparatus for displaying an interface image in an enlarged manner further includes:
a third judging unit 40 configured to judge whether the magnified icon stays on the screen;
a fourth judging unit 50, if the local magnified image stays on the screen, judging whether a preset icon is included in the local magnified image;
a voice calling unit 60, configured to, if a preset icon is included, call a preset function voice corresponding to the preset icon;
and a voice playing unit 70, configured to play the preset functional voice.
In this embodiment, the third determining unit 40, the fourth determining unit 50, the voice retrieving unit 60, and the voice playing unit 70 further enable the reading and/or interpreting functions on the locally enlarged image.
In the third determining unit 40, when it is detected that the magnified icon stops on the screen for more than a preset duration, it is determined that the magnified icon stays on the screen. In the fourth determining unit 50, the preset icons are preset icons, including status bar icons, desktop applications, characters, contact persons in the address list, and the like.
In the voice retrieving unit 60, a preset function voice corresponding to each preset icon is pre-stored in the mobile terminal, for example, for the status bar icon, an explanatory voice corresponding to the status bar icon is pre-stored. If the local enlarged image is judged to contain the preset icon, a preset function voice corresponding to the preset icon is called from the mobile terminal through the voice calling unit 60, and then played through the voice playing unit 70. When the user uses the device, the user drags the magnified icon, and the locally magnified image is smoothly displayed in the preset magnified display window in real time, and if the user wants to further know the content in the locally magnified image, the magnified icon can be left without dragging, and the preset function voice of the icon in the locally magnified image, such as an explanation status bar icon, an explanation application program use instruction, etc., can be played through the voice playing unit 70. On the basis of helping the user to clearly see the screen content, the screen content is further explained, and the use experience of the user (especially the old user) is greatly improved.
Referring to fig. 7, in an embodiment, the voice retrieving unit 60 includes:
a second judging subunit 601, configured to judge whether a category of the preset icon is a preset reading-aloud icon, where the category of the preset icon includes the preset reading-aloud icon and a preset explanation icon;
a reading subunit 602, configured to, if the preset reading icon is the preset reading icon, obtain text and symbol information included in the preset reading icon, and generate a corresponding first function voice according to the text and symbol information;
an explanation subunit 603, configured to, if the preset explanation icon is the preset explanation icon, obtain pre-stored explanation information corresponding to the preset explanation icon, and generate a corresponding second function voice according to the explanation information.
In this embodiment, the preset icons are classified in advance into preset reading icons and preset explanation icons, where the preset reading icons include status bar icons, characters, address book contacts, and the like, and the preset explanation icons include desktop applications and the like. The preset function voice includes the first function voice and the second function voice. After the second judging subunit 601 judges the category of the preset icon, for the preset reading icon, the text and symbols on the first function voice reading icon are called through the reading subunit 602; for the preset explanation icon, the preset explanation information is read by the second function voice through the explanation subunit 603.
Referring to fig. 8, in an embodiment, the apparatus for displaying an interface image in an enlarged manner further includes:
the age acquiring unit 001 is used for acquiring age information corresponding to a password from a pre-stored password library when detecting that a user uses the password to unlock or start the mobile phone, wherein the pre-stored password library stores the password set by the user and the age information of the user in a pre-associated manner;
a fifth judging unit 002 for judging whether the user is an elderly person or not according to the age information;
and the program starting unit 003 is used for starting the preset application program if the old people are the old people.
In this embodiment, in the age acquiring unit 001, when the user sets a boot password or a screen unlock password, such as a fingerprint password, a voiceprint password, or a digital password, the user may be required to input the age, and store the age of the user and the password in a pre-stored password library in an associated manner. Furthermore, when the user sets the voiceprint password for starting or unlocking the screen, the age of the user can be directly identified through the existing voiceprint identification technology, the user does not need to manually input the age, and the identified age of the user and the voiceprint password are stored in a prestored password library in a correlated manner. When it is detected that the user inputs the password, the age acquiring unit 001 searches the pre-stored password library for the age of the user corresponding to the password.
In the fifth determining unit 002 and the program starting unit 003, the sixth determining unit 002 determines whether the age of the user is greater than a predetermined age, and if so, determines that the user is an elderly person. If the user is the old, when the amplified icon is detected to stay on the screen, the preset application program is automatically started through the program starting unit 003, and the amplified icon is displayed on the screen, so that the old does not need to find the preset application program from a plurality of application programs, and the convenience of the user of the old in using the amplified display function is greatly improved.
Referring to fig. 9, the present application also provides a storage medium 1, in which a computer program 2 is stored in the storage medium 1, and when the computer program runs on a computer, the computer is caused to execute the method for displaying an enlarged interface image described in the above embodiment.
Referring to fig. 10, the present application also provides a computer device 3 containing instructions, which when run on the computer device 3, causes the computer device 3 to execute the enlarged display method of the interface image described in the above embodiment by the processor 4 provided inside thereof.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (8)

1. An interface image magnification display method is characterized by comprising the following steps:
amplifying a current interface image of a screen according to a preset scale, taking the amplified current interface image as an amplified interface image, and storing the amplified interface image in a background, wherein the current interface image is all images currently displayed on the screen;
acquiring a touch point of a user on the screen in real time, and acquiring a corresponding target position of the touch point on the enlarged interface image in real time;
displaying a local amplified image corresponding to the target position in the amplified interface image in a preset amplified display window according to a preset rule;
the method comprises the following steps of amplifying a current interface image of a screen according to a preset scale, taking the amplified current interface image as an amplified interface image, and storing the amplified interface image in a background, wherein the method comprises the following steps:
judging whether information for starting a preset application program is detected;
if yes, displaying an enlarged icon on the screen;
judging whether the information that the magnified icon is clicked is detected;
if yes, intercepting the current interface image;
after the step of displaying the local magnified image corresponding to the target position in the magnified interface image in a preset magnified display window according to a preset rule, the method comprises the following steps:
judging whether the magnified icon stays on the screen or not;
if yes, judging whether the local amplified image contains a preset icon or not;
if so, acquiring a preset function voice corresponding to the preset icon;
and playing the preset function voice.
2. The method for displaying an interface image in an enlarged manner according to claim 1, wherein the step of acquiring the touch point of the user on the screen in real time and acquiring the corresponding target position of the touch point on the enlarged interface image in real time includes:
judging whether the magnified icon slides on the screen;
if so, determining the icon position corresponding to the magnified icon on the current interface image in real time, wherein the magnified icon position is the same as the touch point position;
and calculating a corresponding designated position of the magnified icon on the magnified interface image according to the preset scale, and taking the designated position as the target position.
3. The interface image magnification display method according to claim 2, wherein the step of displaying the partial magnification image corresponding to the target position in the magnification interface image in a preset magnification display window according to a preset rule includes:
acquiring preset size data of the preset amplification display window;
selecting a local area which takes the target position as the center and has a range corresponding to the preset size data from the enlarged interface image;
and displaying the local enlarged image contained in the local area in the preset enlarged display window.
4. The method for displaying an interface image in an enlarged manner according to claim 1, wherein the step of acquiring the preset function voice corresponding to the preset icon includes:
judging whether the category of the preset icon is a preset reading icon or not, wherein the category of the preset icon comprises the preset reading icon and a preset explanation icon;
if yes, acquiring character and symbol information contained in the preset reading icon, and generating corresponding first function voice according to the character and symbol information;
if not, acquiring prestored explanation information corresponding to the preset explanation icon, and generating a corresponding second function voice according to the explanation information.
5. The method for displaying an interface image in an enlarged manner according to claim 1, wherein before the step of determining whether the information indicating the start of the predetermined application is detected, the method comprises:
when detecting that a user uses a password to unlock or start up, acquiring age information corresponding to the password from a pre-stored password library, wherein the pre-stored password library stores the password set by the user and the age information of the user in a pre-associated manner;
judging whether the user is the old or not according to the age information;
and if so, starting the preset application program.
6. An apparatus for magnifying and displaying an interface image, comprising:
the device comprises a first image acquisition unit, a second image acquisition unit and a display unit, wherein the first image acquisition unit is used for amplifying a current interface image of a screen according to a preset scale, taking the amplified current interface image as an amplified interface image and storing the amplified interface image in the background, and the current interface image is all images currently displayed on the screen;
the target position acquisition unit is used for acquiring a touch point of a user on the screen in real time and acquiring a corresponding target position of the touch point on the enlarged interface image in real time;
the local amplification display unit is used for displaying a local amplification image corresponding to the target position in the amplification interface image in a preset amplification display window according to a preset rule;
the above-mentioned enlarged display device of the interface image further includes:
the first judging unit is used for judging whether information for starting a preset application program is detected;
the magnified icon display unit is used for displaying a magnified icon on the screen if the information of starting the preset application program is detected;
a second judging unit, configured to judge whether information that the magnified icon is clicked is detected;
the second image acquisition unit is used for intercepting the current interface image if the information that the magnified icon is clicked is detected;
the interface image magnification display device further comprises:
a third judging unit, configured to judge whether the magnified icon stays on the screen;
a fourth judging unit, if the local magnified image stays on the screen, judging whether the local magnified image contains a preset icon;
the voice calling unit is used for calling a preset function voice corresponding to a preset icon if the preset icon is included;
and the voice playing unit is used for playing the preset function voice.
7. A storage medium, which is a computer-readable storage medium having a computer program stored thereon, the computer program, when executed, implementing a method of displaying an interface image in an enlarged manner according to any one of claims 1 to 5.
8. A computer device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for displaying an interface image according to any one of claims 1 to 5 in an enlarged manner.
CN201910146806.4A 2019-02-27 2019-02-27 Interface image amplification display method and device, storage medium and computer equipment Active CN109901768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910146806.4A CN109901768B (en) 2019-02-27 2019-02-27 Interface image amplification display method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910146806.4A CN109901768B (en) 2019-02-27 2019-02-27 Interface image amplification display method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN109901768A CN109901768A (en) 2019-06-18
CN109901768B true CN109901768B (en) 2022-04-12

Family

ID=66945725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910146806.4A Active CN109901768B (en) 2019-02-27 2019-02-27 Interface image amplification display method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN109901768B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110941375B (en) * 2019-11-26 2023-09-05 腾讯科技(深圳)有限公司 Method, device and storage medium for locally amplifying image
CN112187996A (en) * 2020-09-08 2021-01-05 北京小米移动软件有限公司 Information adjusting method, device and storage medium
CN112346613A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Icon display effect control method, terminal and computer-readable storage medium
CN116204105B (en) * 2023-05-05 2023-07-21 北京睿企信息科技有限公司 Processing system for associated image presentation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013001157A1 (en) * 2011-06-29 2013-01-03 Nokia Corporation An apparatus and associated methods related to touch sensitive displays
CN103135852A (en) * 2013-03-08 2013-06-05 山西大学 Touch screen device and data input method
CN105468253A (en) * 2014-09-28 2016-04-06 中兴通讯股份有限公司 Mobile terminal interface content display method and apparatus and terminal
CN105808046A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Method and device for locally magnifying viewing screen, and mobile terminal
CN106250036A (en) * 2016-07-21 2016-12-21 广东欧珀移动通信有限公司 Control method and control device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090273574A1 (en) * 1995-06-29 2009-11-05 Pryor Timothy R Programmable tactile touch screen displays and man-machine interfaces for improved vehicle instrumentation and telematics
CN102214453A (en) * 2010-04-01 2011-10-12 英业达股份有限公司 Amplifying display system with speech play and method thereof
US9417754B2 (en) * 2011-08-05 2016-08-16 P4tents1, LLC User interface system, method, and computer program product
US10572124B2 (en) * 2013-05-20 2020-02-25 Citrix Systems, Inc. Bound based contextual zoom
CN106412671B (en) * 2016-09-29 2019-03-01 维沃移动通信有限公司 A kind of video broadcasting method and mobile terminal
CN207041358U (en) * 2017-01-18 2018-02-27 青岛科技大学 A kind of band amplification and the exhibition booth of explaining functions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013001157A1 (en) * 2011-06-29 2013-01-03 Nokia Corporation An apparatus and associated methods related to touch sensitive displays
CN103135852A (en) * 2013-03-08 2013-06-05 山西大学 Touch screen device and data input method
CN105468253A (en) * 2014-09-28 2016-04-06 中兴通讯股份有限公司 Mobile terminal interface content display method and apparatus and terminal
CN105808046A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Method and device for locally magnifying viewing screen, and mobile terminal
CN106250036A (en) * 2016-07-21 2016-12-21 广东欧珀移动通信有限公司 Control method and control device

Also Published As

Publication number Publication date
CN109901768A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN109901768B (en) Interface image amplification display method and device, storage medium and computer equipment
CN107153541B (en) Browsing interaction processing method and device
US10318119B2 (en) User interface for application management for a mobile device
US10156966B2 (en) Device, method, and graphical user interface for presenting and installing applications
US9317196B2 (en) Automatic zooming for text selection/cursor placement
US8908973B2 (en) Handwritten character recognition interface
US11068156B2 (en) Data processing method, apparatus, and smart terminal
CN107181858B (en) Method and terminal for displaying notification message
US20170235426A1 (en) Distance-time based hit-testing for displayed target graphical elements
KR102157327B1 (en) Apparatas and method for converting image form of object to text form of object in an electronic device
JP2014194786A (en) Mobile communications device and contextual search method therewith
US20150040065A1 (en) Method and apparatus for generating customized menus for accessing application functionality
CN105389173B (en) Interface switching display method and device based on long connection task
EP3734598A1 (en) Interfacing device and method for supporting speech dialogue
WO2016110217A1 (en) Method, apparatus, terminal and storage medium for saving number during call
US20120221969A1 (en) Scrollable list navigation using persistent headings
CN112068764B (en) Language switching method and device for language switching
CN109783244B (en) Processing method and device for processing
CN111596832A (en) Page switching method and device
US20150234546A1 (en) Method for Quickly Displaying a Skype Contacts List and Computer Program Thereof and Portable Electronic Device for Using the Same
CN107491251B (en) Mobile terminal and fingerprint control method
CN113360048A (en) Quick starting method and equipment
CN111290691A (en) Method and device for operating page, computer equipment and readable storage medium
KR102138095B1 (en) Voice command based virtual touch input apparatus
CN110020244B (en) Method and device for correcting website information

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
TA01 Transfer of patent application right

Effective date of registration: 20220216

Address after: 518000 floor 2, building 3, Dexin Chang wisdom Park, No. 23 Heping Road, Qinghua community, Longhua street, Longhua District, Shenzhen, Guangdong Province

Applicant after: Shenzhen waterward Software Technology Co.,Ltd.

Address before: 518000, block B, huayuancheng digital building, 1079 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN WATER WORLD Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant