CN111949181B - Display adjustment method and device, storage medium and electronic equipment - Google Patents

Display adjustment method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111949181B
CN111949181B CN202010888650.XA CN202010888650A CN111949181B CN 111949181 B CN111949181 B CN 111949181B CN 202010888650 A CN202010888650 A CN 202010888650A CN 111949181 B CN111949181 B CN 111949181B
Authority
CN
China
Prior art keywords
adjustment
display
prompt
target
application interface
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
CN202010888650.XA
Other languages
Chinese (zh)
Other versions
CN111949181A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010888650.XA priority Critical patent/CN111949181B/en
Publication of CN111949181A publication Critical patent/CN111949181A/en
Application granted granted Critical
Publication of CN111949181B publication Critical patent/CN111949181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a display adjustment method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: displaying a text element in an application interface according to a first display size in an application client operated by a terminal; under the condition that an image acquisition component associated with an application client in a terminal is in an activated state, acquiring a target distance between the terminal and a target object which is viewing an application interface currently through the image acquisition component; and under the condition that the target distance is determined to reach the adjustment triggering condition, displaying adjustment prompt information in the application interface, wherein the adjustment prompt information is used for prompting to adjust the first display size of the text element. The invention solves the technical problem that the adjustment method provided by the related technology needs multiple operations, thereby causing the complicated display adjustment operation.

Description

Display adjustment method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a display adjusting method and device, a storage medium and electronic equipment.
Background
Many terminal applications today provide application interfaces that often display many interface elements, such as text, pictures, videos, and the like. However, because the eyesight and usage habits of different users are different, the interface elements displayed in the application interface often need to be resized. The current common mode is as follows: the user actively enters a 'personal center' provided by the terminal application, and searches and selects a specific function item to be adjusted in the 'setting' to complete the adjustment configuration.
However, since the function items are arranged layer by layer through the tree structure, after multiple times of nesting, a specific function item is hidden to a deep position, so that many users are difficult to find the position of the setting entry of the function item. Most of the users, especially the middle-aged and the elderly, have the problems of presbyopia, myopia and the like, and when the size of the displayed content needs to be adjusted, the users often need to click for many times, so that the problem of complicated display adjustment operation occurs.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a display adjustment method and device, a storage medium and electronic equipment, which at least solve the technical problem that the adjustment method provided in the related art needs multiple operations, so that the display adjustment operation is complex.
According to an aspect of an embodiment of the present invention, there is provided a display adjustment method including: displaying a text element in an application interface according to a first display size in an application client operated by a terminal; under the condition that an image acquisition component associated with the application client in the terminal is in an activated state, acquiring a target distance between the terminal and a target object which is viewing the application interface currently through the image acquisition component; and displaying an adjustment prompt message in the application interface under the condition that the target distance is determined to reach an adjustment trigger condition, wherein the adjustment prompt message is used for prompting the adjustment of the first display size of the text element.
According to another aspect of the embodiments of the present invention, there is also provided a display adjustment apparatus including: the first display unit is used for displaying text elements in the application interface according to a first display size in an application client operated by the terminal; an obtaining unit, configured to obtain, by an image acquisition component associated with the application client in the terminal, a target distance between the terminal and a target object currently viewing the application interface when the image acquisition component is in an activated state; and a second display unit, configured to display, in the application interface, an adjustment prompt message when it is determined that the target distance reaches an adjustment trigger condition, where the adjustment prompt message is used to prompt adjustment of the first display size of the text element.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above display adjustment method when running.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores therein a computer program, and the processor is configured to execute the display adjustment method described above through the computer program.
In the embodiment of the invention, after a text element in an application interface is displayed in an application client operated by a terminal according to a first display size, under the condition that an image acquisition component associated with the application client in the terminal is determined to be in an activated state, a target distance between the terminal and a target object which is currently viewing the application interface is acquired through the image acquisition component. And under the condition that the target distance reaches the adjustment triggering condition, automatically displaying adjustment prompting information for prompting to adjust the first display size of the text element on the application interface. The target object does not need to manually search the deep setting entry position nested in the application client, so that the aim of simplifying the display adjustment operation is fulfilled, and the problem of more complex display adjustment operation in the related art is further solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a hardware environment for an alternative display adjustment method according to an embodiment of the invention;
FIG. 2 is a flow chart of an alternative display adjustment method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative display adjustment method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of another alternative display adjustment method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of yet another alternative display adjustment method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of yet another alternative display adjustment method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of yet another alternative display adjustment method according to an embodiment of the invention;
FIG. 8 is a schematic diagram of yet another alternative display adjustment method according to an embodiment of the present invention;
FIG. 9 is a flow chart of another alternative display adjustment method according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an alternative display adjustment apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, there is provided a display adjustment method, optionally, as an optional implementation manner, the display adjustment method may be, but is not limited to be, applied to a display adjustment system shown in a hardware environment as shown in fig. 1, where the display adjustment system may be, but is not limited to be, applied to a terminal device 102 (hereinafter, may be simply referred to as a terminal). An application client (e.g., an information recommendation client) runs in the terminal device 102. The terminal device 102 includes an image capturing component 1020, a human-computer interaction screen 1022, a processor 1024, and a memory 1026. The image acquisition component 1020 is configured to acquire an image and sense a target distance between a target object viewing the application interface and the current terminal device 102 based on the acquired image; the man-machine interaction screen 1022 is configured to display a text element in an application interface (such as an information recommendation interface shown in fig. 1) of the application client, and is further configured to display adjustment prompt information displayed in the application interface when the target distance meets the adjustment trigger condition; the processor 1024 is configured to determine whether an image acquisition component associated with the application client is in an activated state, and determine whether the target distance meets an adjustment triggering condition when the image acquisition component is in the activated state; the memory 1026 is used for storing data in the application client, such as the text elements in the application interface.
The specific process comprises the following steps: target object 100 is viewing an application interface in an application client through terminal device 102, assuming that the application interface of the application client may be displayed as an information recommendation interface (e.g., for recommending information such as news, military, entertainment, and finance) as shown in fig. 1. In step S102, the text element in the application interface is displayed in the application client according to the first display size. Then steps S104-S106 are performed: under the condition that the image acquisition part 1020 in the terminal device 102 is in an activated state, acquiring a target distance L between the current terminal device 102 and the target object 100, and displaying an adjustment prompt message in an application interface through the man-machine interaction screen 1022 under the condition that the processor 1024 determines that the target distance L reaches an adjustment trigger condition. A pop-up window 104 is prompted as shown in fig. 1 to prompt an adjustment to the first display size of the text element.
It should be noted that, in this embodiment, after displaying a text element in an application interface according to a first display size in an application client that is run by a terminal, in a case that it is determined that an image capture component that is associated with the application client in the terminal is in an activated state, a target distance between the terminal and a target object that is currently viewing the application interface is obtained by the image capture component. And under the condition that the target distance reaches the adjustment triggering condition, automatically displaying adjustment prompting information for prompting to adjust the first display size of the text element on the application interface. The target object does not need to manually search the deep setting entry position nested in the application client, so that the aim of simplifying the display adjustment operation is fulfilled, and the problem of more complex display adjustment operation in the related art is further solved.
Optionally, in this embodiment, the terminal device may be a terminal device configured with an application client, and may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. The application client can be a video client, an instant messaging client, a browser client, an education client, an information recommendation client, and the like. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 2, the display adjustment method includes:
s202, displaying text elements in an application interface according to a first display size in an application client operated by the terminal;
s204, under the condition that an image acquisition component associated with the application client in the terminal is in an activated state, acquiring a target distance between the terminal and a target object which is currently viewing the application interface through the image acquisition component;
and S206, under the condition that the target distance is determined to reach the adjustment triggering condition, displaying adjustment prompt information in the application interface, wherein the adjustment prompt information is used for prompting the adjustment of the first display size of the text element.
Optionally, in this embodiment, the display adjustment method may be applied, but not limited to, to each application client running in the terminal and used for presenting text elements in the application interface, where the application client may include, but is not limited to: a browser application client, a news recommendation application client, a video application client, an information sharing community application client, and the like. Here, the application client is an example, and this is not limited in this embodiment.
It should be noted that, in the related art, the setting entry positions of the function items for adjusting the display size are often hidden deeply, so that for an object with limited vision condition, when the current display size does not satisfy the visual condition, it is difficult to quickly find the setting entry positions to adjust the current display size, thereby causing a problem of high complexity of the display adjustment operation.
In order to overcome the above problem, in this embodiment, an image acquisition component associated with the application client in the terminal is used to acquire a target distance between the terminal and a target object currently viewing the application interface, so as to implement automatic display of adjustment prompt information for prompting adjustment of the display size of the text element in the application interface by determining whether the target distance reaches an adjustment trigger condition. And unnecessary searching operation of the target object in the application client is not needed any more to locate the setting entrance position. And then realize simplifying the effect of showing the adjustment operation, the object that is convenient for the eyesight condition is limited can accomplish the display adjustment operation fast to look over required information fast, promoted user experience.
Optionally, in this embodiment, the image capturing component associated with the application client may be, but is not limited to, a camera configured in the terminal, such as a front-facing camera. The front camera here may be, but is not limited to, a depth-sensing camera, and the distance between the target object and the terminal may be determined by scanning key points in a currently acquired picture. Such as by means of a TrueDepth application interface to obtain the distance between the target object and the terminal. In addition, in the present embodiment, the distance between the target object and the terminal may be, but is not limited to, the distance between the pupil of the target object and the front camera of the terminal.
Optionally, in this embodiment, the adjusting the first display size may include, but is not limited to: and respectively executing different adjustment operations according to different types of text elements in the application interface. Wherein text elements may include, but are not limited to: title text, body text, etc. in the application interface.
It should be noted that, in addition to the text element, the interface element currently displayed on the application interface may also include, but is not limited to, other interface elements (such as an image element, a video window element, etc.). When the first display size of the text element is adjusted, the first display size may be adjusted according to, but not limited to, a display style configured for the display screen of the terminal in advance. The display style is used for indicating the typesetting combination style of each interface element in the application interface. Such as a standard style, a large style, a super large style, etc. The scaling adjustment is mainly performed on the display size of the text element, and for the display sizes of other elements, under the condition that the display style is not influenced, proper synchronous scaling adjustment can be selected, and the original display size can also be selected to be reserved. Therefore, the target object can more intuitively view the result of the zoomed text element.
That is, when the text element is adjusted from the first display size to the second display size, where the first display size is smaller than the second display size, the text element is enlarged, the number of words of the enlarged text word in one line is smaller than the number of original words, when the enlarged text word in one line reaches the display boundary of the display screen, automatic line feed is implemented according to the text line feed logic, and other interface elements are synchronously enlarged according to the pre-configured display style (or asynchronously enlarged, the original display size is retained), but the composition of the currently displayed interface elements of the application interface will not substantially change. When the first display size is larger than the second display size, the text elements are reduced, the number of words of the reduced line of text characters is larger than the number of original words, when the reduced line of text characters reaches the display boundary of the display screen, automatic line feed is realized according to text line feed logic, other interface elements are synchronously reduced according to a preset display style (or asynchronously reduced to keep the original display size), but the typesetting combination of the currently displayed interface elements of the application interface cannot be substantially changed.
Optionally, in this embodiment, the size adjustment control may be, but is not limited to, one of the following: progress bar control, menu control, input box control. That is, the target object may adjust the display size by dragging the slider in the progress bar control; or, the target object may select a display size to be adjusted from a drop-down menu list of the menu control; alternatively, the target object may enter the desired display size in the input box control. Here, this is an example, and this is not limited in this embodiment.
In addition, in order to avoid the user's misoperation, a prompt coefficient for controlling the trigger display adjustment operation is also provided in the present embodiment. That is, after the adjustment prompt information is triggered to be displayed for the first time, if the adjustment prompt information is triggered to be displayed again, the prompt coefficient obtained by statistics in the target time period needs to reach the target threshold.
The description is made with reference to the example shown in fig. 3: assuming that the target object uses the information recommendation application client for the first time, when the target object starts to run, the information recommendation interface is displayed according to fig. 3(a), that is, text elements in the information recommendation interface are displayed according to the first display size, and news information, including news 1, news 2, and news 3, is currently displayed as shown in fig. 3 (a). When the depth-sensing camera of the terminal senses that the distance between the target object and the terminal exceeds a visual range (for example, the visual range is 30-45 cm), it is determined that the adjustment triggering condition is reached, adjustment prompt information is displayed in the information recommendation interface, the adjustment prompt information is displayed in the lower right corner of the information recommendation interface as shown in fig. 3(b), and a progress bar control is displayed in the adjustment prompt information.
Assuming that the slider in the progress bar control is slid to the "large" corresponding position at present, the first display size of the information recommendation interface may be adjusted to obtain an interface with a second display size, where the first display size is smaller than the second display size, and the information recommendation interface with the enlarged text element is shown in fig. 3 (b).
Further, after the current adjustment is finished, the display adjustment system corresponding to the application client enters a silent state so as to prevent the target object from being operated by mistake and triggering the popup window again, thereby influencing the normal reading of the user. In the silent state, the depth-sensing camera allows to continue to acquire images, but does not directly trigger the display of the adjustment prompt message, and determines that the adjustment trigger condition is reached only when sensing that the distance between the target object and the terminal exceeds a visible range (for example, the visible range is 30 cm-45 cm) N times (for example, the prompt coefficient N is 5) continuously within a certain period of time, and displays the adjustment prompt message in the information recommendation interface.
According to the embodiment provided by the application, after the text element in the application interface is displayed in the application client operated by the terminal according to the first display size, under the condition that the image acquisition component associated with the application client in the terminal is determined to be in the activated state, the target distance between the terminal and the target object viewing the application interface currently is acquired through the image acquisition component. And under the condition that the target distance reaches the adjustment triggering condition, automatically displaying adjustment prompting information for prompting to adjust the first display size of the text element on the application interface. The target object does not need to manually search the deep setting entry position nested in the application client, so that the aim of simplifying the display adjustment operation is fulfilled, and the problem of more complex display adjustment operation in the related art is further solved.
As an optional scheme, after the adjustment prompt information is displayed in the application interface, the method further includes:
s1, adjusting the first display size to a second display size in response to the adjustment operation executed on the size adjustment control displayed in the adjustment prompt message;
and S2, displaying the text elements in the application interface according to the second display size, and adjusting the display adjustment system corresponding to the application client to be in a silent state, wherein the image acquisition component continues to acquire the image of the target object in the silent state.
Optionally, in this embodiment, after the adjustment prompt information is displayed, the target object may select an adjustment operation performed on a size adjustment control displayed in the adjustment prompt information, and adjust the first display size to the second display size; or the prompt popup window where the current adjustment prompt information is located can be directly closed without executing the adjustment operation.
It should be noted that the display adjustment system may be, but is not limited to, a processing logic program configured in the application client for implementing the display adjustment process. After triggering the display of the adjustment prompt message once, the processing logic may be, but is not limited to, adjusting the processing logic to a silent state, such that the processing logic is temporarily not operated until the prompt factor reaches the target threshold. In this silent state, the operation of the image acquisition component is not affected.
In addition, in this embodiment, the display adjustment system may be directly and permanently turned off in the setting interface of the application client, that is, the processing logic program is suspended, so as to avoid the problem of display interference caused by repeatedly triggering the display adjustment prompt information.
Through the embodiment provided by the application, after the adjustment prompt message is displayed, the adjustment operation executed on the size adjustment control displayed in the adjustment prompt message can be acquired, so that the current first display size can be quickly adjusted to the second display size, an additional interface does not need to be searched and opened to execute the adjustment operation, the display adjustment operation is simplified, and the operation efficiency is improved.
As an optional scheme, before the adjusting the first display size to the second display size, one of the following is further included:
1) acquiring a dragging operation executed on the progress bar control under the condition that the size adjusting control is the progress bar control, and taking the dragging operation as an adjusting operation;
2) under the condition that the size adjusting control is a menu control, acquiring selection operation executed on the menu control, and taking the selection operation as adjusting operation;
3) and under the condition that the size adjusting control is the input box control, acquiring input operation executed on the input box control, and taking the input operation as adjusting operation.
The description is made with reference to the example shown in fig. 4: an application client running in the terminal is assumed to be an information recommendation application client, and a corresponding application interface is an information recommendation interface. After the adjustment prompt 40 is displayed in the application interface as shown in fig. 4, the form of the resizing control displayed in the adjustment prompt here may include, but is not limited to, one of the following:
1) in the case where the progress bar control 402 shown in fig. 4 is displayed in the adjustment prompt information, the drag operation performed on the progress bar control 402 is acquired. The dragging operation is applied to the slider in the progress bar control 402 (e.g., a solid rectangular square in the progress bar control 402 shown in fig. 4), and after the slider is dragged from the "standard" corresponding position in the progress bar control to the "large" corresponding position, the first display size corresponding to the "standard" is determined and adjusted to the second display size corresponding to the "large" so as to achieve the effect of quickly adjusting the display size of the information recommendation interface. The way of dragging the slider is an example, and this is not limited in this embodiment.
2) In a case where a menu control 404 as shown in fig. 4 is displayed in the adjustment prompt information, a selection operation performed on the menu control 404 is acquired. The selection operation is applied to the drop-down list icon in the menu control 404 (e.g., the inverted triangle icon on the right side of the menu control 404 shown in fig. 4), and when the drop-down list icon is clicked, the menu list with the display size is displayed, for example, the menu list includes "standard", "large" and "oversized", and when the "large" option is selected, the first display size corresponding to the "standard" is adjusted to the second display size corresponding to the "large" option, so that the effect of quickly adjusting the display size of the information recommendation interface is achieved. Here, the manner of clicking the drop-down list icon is an example, and this is not limited in this embodiment.
3) In the case where the input control 406 shown in fig. 4 is displayed in the adjustment prompt information, the input operation performed on the input control 406 is acquired. The input operation is performed on the input box (input rectangle shown in fig. 4) in the input control 406, and when "large" is input in the input box, the first display size corresponding to "standard" is determined to be adjusted to the second display size corresponding to "large", so that the effect of quickly adjusting the display size of the information recommendation interface is achieved. Here, the manner of clicking the input box is an example, and this is not limited in this embodiment.
It should be noted that, the display position of the adjustment prompt information shown in fig. 4 in the application interface is an example, and the adjustment prompt information may also be directly displayed on the upper boundary or the lower boundary of the information recommendation interface and presented in a banner format, or directly displayed in the center of the information recommendation interface, so that the user can visually see the adjustment prompt information.
Through the embodiment provided by the application, the controls of different types used for executing the adjustment operation are directly displayed in the adjustment prompt information, so that the time for searching the entry position of the adjustment operation by a user is saved, the adjustment efficiency of the adjustment operation is improved, the adjustment controls of different forms are presented, and the adjustment styles are enriched so as to meet the preferences and use habits of different users.
As an optional scheme, displaying the adjustment prompt information in the application interface includes:
s1, creating a prompt popup in the application interface, wherein the prompt popup is displayed above the text element in a suspension manner;
and S2, displaying the adjustment prompt information in the prompt pop-up window.
Optionally, in this embodiment, when it is determined that the adjustment prompt information is displayed, a new layer may be established below the application interface, and a prompt pop-up window is created in the layer according to a preset transparency, where the prompt pop-up window is to be displayed in a floating manner above the text element. The preset transparency can be selected to completely block the interface element in the original position (as shown in fig. 5), or can be selected to not completely block the interface element in the original position (not shown in the figure).
The description is made with reference to the example shown in fig. 6: an application client running in the terminal is assumed to be an information recommendation application client, and a corresponding application interface is an information recommendation interface. Here, the information recommendation interface includes a text element and an image element as shown in fig. 6(a), wherein the display size of the text element is the first display size.
After the adjustment prompt information is displayed by the method, but not limited to, a prompt popup carrying the adjustment prompt information may be displayed at least one prompt position as shown in fig. 6 (a): prompt position 1 (central position of application interface), prompt position 2 (banner on lower boundary of application interface), and prompt position 3 (banner on upper boundary of application interface). Here, this is an example, and this is not limited in this embodiment.
Then, in response to an adjustment operation performed on the size adjustment control displayed in the adjustment prompt information, the first display size is adjusted to the second display size. Assuming that the first display size is smaller than the second display size as an example, the result of the adjustment here can be as shown in fig. 6 (b): the display size of a word (also referred to as a font size) in a text element is adjusted from a first display size to a second display size, such as font size 10 to font size 14. The layout of each interface element in the application interface is displayed according to a set style, but the font size of the text characters is enlarged, and for each line of text characters, automatic line feed is realized when the display boundary of the display screen of the terminal is reached.
It should be noted that the adjustment prompt information in the floating layer may be displayed in the prompt popup, and further, the prompt popup may be directly closed through a close button of the prompt popup, and the adjustment prompt information is not displayed any more, so as to avoid interference on the user browsing the interface elements in the application interface.
Through the embodiment provided by the application, the prompt popup created in the application interface is displayed with the adjustment prompt information, so that the operation of the size adjustment control displayed in the adjustment prompt information can be conveniently selected to be executed, or the prompt popup where the adjustment prompt information is located can be selected to be closed, and the display interference on the text element in the original application interface can be avoided.
As an optional scheme, after the adjustment prompt information is displayed in the application interface, the method further includes:
and S1, displaying a prompt box in the application interface under the condition that the popup window is closed, wherein the prompt box is used for prompting the operation entrance position of the adjustment configuration item for adjusting the first display size in the application interface.
The description is made with reference to the example shown in fig. 7: assume that, when a closing operation performed on a close key in a prompt popup in which adjustment prompt information is located is acquired as shown in fig. 7(a), the prompt popup is closed, and a prompt box 702 as shown in fig. 7(b) is displayed in the application interface to prompt the target object to manually adjust the operation entry position of the display size again next time.
Through the embodiment provided by the application, under the condition that the popup window where the adjustment prompt information is located is closed, the prompt box used for prompting the operation entrance position where the adjustment configuration item for adjusting the first display size is located is displayed in the application interface. Therefore, the purposes of reminding the user and facilitating the user to operate again are achieved.
As an optional scheme, after the obtaining, by the image acquisition component, a target distance between the terminal and a target object of which the application interface is being viewed, the method further includes:
s1, comparing the target distance with a first boundary threshold and a second boundary threshold in a first target interval to obtain a first comparison result under the condition that the first display size is an original display size pre-configured by the application client, wherein the first boundary threshold is smaller than the second boundary threshold;
and S2, determining that the target distance reaches the adjustment triggering condition under the condition that the first comparison result indicates that the target distance is greater than the second boundary threshold value or the target distance is less than the first boundary threshold value.
Optionally, in this embodiment, the acquiring, by the image acquisition component, a target distance between the terminal and a target object currently viewing the application interface includes: and acquiring a target distance between the terminal and the eyes of the target object through the image acquisition component.
The description is made with reference to the example shown in fig. 8: assuming that the first target interval is an interval of 35cm-45cm from the normal reading distance, a reading distance of less than 35cm triggers a reading distance of near vision, and a reading distance of more than 45cm triggers a reading distance of presbyopia.
When the first display size currently used by the application client is the original display size set by default, the target object using the application client is indicated to not have been subjected to the adjustment operation. If the target distance is detected to be greater than 45cm, the current target object is possibly presbyopia, and the adjustment triggering condition is determined to be reached. And then displaying the adjustment prompt information for the target object in an application interface of the application client so that the target object performs adjustment operation to enable the adjusted content to be matched with the vision condition of the target object. Or, if the target distance is detected to be less than 35cm, the current target object is possibly a myopic eye, and the adjustment triggering condition is determined to be reached. And then displaying the adjustment prompt information for the target object in an application interface of the application client so that the target object performs adjustment operation to enable the adjusted content to be matched with the vision condition of the target object.
According to the embodiment provided by the application, under the condition that the first display size is the original display size pre-configured by the application client, whether the adjustment triggering condition is met can be determined directly according to the first comparison result of the target distance and the first target interval, so that the adjustment prompt information can be rapidly triggered and displayed, the target object can conveniently execute the adjustment operation as soon as possible, and the interface elements in the application interface matched with the vision condition of the target object can be seen.
As an optional scheme, after the obtaining, by the image acquisition component, a target distance between the terminal and a target object of which the application interface is being viewed, the method further includes:
s1, comparing the target distance with a third boundary threshold and a fourth boundary threshold in a second target interval to obtain a second comparison result under the condition that the first display size is not the original display size pre-configured by the application client, wherein the third boundary threshold is smaller than the fourth boundary threshold;
s2, when the second comparison result indicates that the target distance is greater than the fourth boundary threshold value or the target distance is less than the third boundary threshold value, adding one to the prompt coefficient associated with the application client to obtain an updated prompt coefficient, wherein the prompt coefficient is used for indicating the number of times that the target distance continuously exceeds the second target interval;
and S3, determining that the target distance reaches the adjustment triggering condition when the updated prompting coefficient reaches the target threshold value.
Still assume that the second target interval is an interval of 35cm to 45cm from the normal reading distance, a reading distance of less than 35cm triggers a reading distance of near vision, and a reading distance of greater than 45cm triggers a reading distance of presbyopia.
However, in the case where the first display size currently used by the application client is not the original display size set by default, it indicates that the target object that is using the application client has performed the adjustment operation once. And if the target distance is detected to be greater than 45cm, the current target object is possibly presbyopia, and then the prompt coefficient is subjected to addition processing to obtain an updated prompt coefficient. And then under the condition that the updated prompt coefficient reaches a target threshold value, determining that the adjustment trigger condition is reached, and displaying adjustment prompt information for the target object in an application interface of the application client so that the target object executes adjustment operation to enable the adjusted content to be matched with the vision condition of the target object. Or, if the target distance is detected to be less than 35cm, the current target object is possibly a myopic eye, and then a processing is added to the prompt coefficient to obtain an updated prompt coefficient. And then under the condition that the updated prompt coefficient reaches a target threshold value, determining that the adjustment trigger condition is reached, and displaying adjustment prompt information for the target object in an application interface of the application client so that the target object executes adjustment operation to enable the adjusted content to be matched with the vision condition of the target object.
It should be noted that the above-mentioned prompt coefficient may be, but is not limited to, the number of times that the acquired target distance continuously exceeds the second target interval in the target time period after the adjustment is completed last time. That is to say, when the target distance exceeds the second target interval, the number of times that the target distance continuously exceeds the second target interval in the target time period needs to be acquired, and whether the adjustment triggering condition is reached is determined based on the two conditions, so that the problem of misoperation caused by detecting that the target distance exceeds the target interval for multiple times in a short time is avoided. It will also enable limited execution of adjustment operations within the target time period, reducing the damage caused to the eyes of the target object by repeated adjustments.
According to the embodiment provided by the application, under the condition that the first display size is not the original display size pre-configured by the application client, whether the adjustment triggering condition is met or not needs to be determined by combining the second comparison result of the target distance and the first target interval and the current prompt coefficient, so that the adjustment triggered by misoperation of a user is avoided, and the damage to the eyes of the target object is reduced.
The display adjustment method is fully described with reference to the flow shown in fig. 9: assuming that the interface element of the application interface of the application client is a text element, the adjusting process includes:
s902, the target object runs the application client for the first time;
s904, the deep-sense camera is awakened and enters a background to work;
s906, detecting a target distance between a target object (eyes) and the terminal in real time by the depth sensing camera;
s908, judging whether the target distance exceeds a first target interval (range of normal reading distance); if yes, executing step S910, if no, returning to step S904;
s910, under the condition that the target distance is determined to exceed the first target interval, triggering and displaying adjustment prompt information;
s912-1, under the condition that the adjustment operation is obtained from the displayed adjustment prompt information, the font size adjustment of the character elements is executed; s912-2, under the condition that the displayed adjustment prompt information does not obtain the adjustment operation, the character size of the character elements is not adjusted;
s914, under the condition that the prompt pop-up window where the adjustment prompt information is located is closed, prompting the fixed entry position of the character size adjustment in the application client in the form of a bubble prompt box;
s916, displaying that the adjusting system enters a silent state, and the deep-sense camera continuously works in a background;
s918, if it is detected again that the target distance exceeds the second target interval (in the case of the range of the normal reading distance, the number of times that the target distance continuously exceeds the second target interval in the target time period is obtained, it is determined whether the number of times reaches a target threshold (for example, the target threshold is 5), if the determination result is yes, step S910 is executed, if the determination result is no, a prompt coefficient for counting the number of times is added, and the step S916 is returned to, and the depth-sensitive camera is controlled to continuously work in the background, so as to continuously monitor the target distance between the target object (for example, the eyes of the target object) and the terminal.
The flow steps shown in fig. 9 are examples, and the specific execution order and the determination conditions are not limited in this embodiment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided a display adjusting apparatus for implementing the above display adjusting method. As shown in fig. 10, the apparatus includes:
1) a first display unit 1002, configured to display, in an application client running in the terminal, a text element in an application interface according to a first display size;
2) an obtaining unit 1004, configured to obtain, by an image acquisition component associated with an application client in a terminal, a target distance between the terminal and a target object currently viewing an application interface when the image acquisition component is in an activated state;
3) a second display unit 1006, configured to display, in a case that it is determined that the target distance reaches the adjustment trigger condition, an adjustment prompt message in the application interface, where the adjustment prompt message is used to prompt that the first display size of the text element is adjusted.
Optionally, in this embodiment, the display adjustment method may be, but is not limited to, applied to each application client running in the terminal and used for presenting interface elements in the application interface, where the application client may include, but is not limited to: a browser application client, a news recommendation application client, a video application client, an information sharing community application client, and the like. Further, the interface element may include, but is not limited to, at least one of: text elements, image elements, and video elements.
It should be noted that, in the related art, the setting entry positions of the function items for adjusting the display size are often hidden deeply, so that for an object with limited vision condition, when the current display size does not satisfy the visual condition, it is difficult to quickly find the setting entry positions to adjust the current display size, thereby causing a problem of high complexity of the display adjustment operation.
In order to overcome the above problem, in this embodiment, an image acquisition component associated with an application client in the terminal is used to acquire a target distance between the terminal and a target object currently viewing the application interface, so as to implement automatic display of adjustment prompt information for prompting adjustment of the display size in the application interface by determining whether the target distance reaches an adjustment trigger condition. And unnecessary searching operation of the target object in the application client is not needed any more to locate the setting entrance position. And then realize simplifying the effect of showing the adjustment operation, the object that is convenient for the eyesight condition is limited can accomplish the display adjustment operation fast to look over required information fast, promoted user experience.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
As an optional solution, the apparatus further includes:
1) the adjusting unit is used for responding to the adjusting operation executed on the size adjusting control displayed in the adjusting prompt information after the adjusting prompt information is displayed in the application interface, and adjusting the first display size to be the second display size;
2) and the third display unit is used for displaying the text elements in the application interface according to the second display size and adjusting the display adjustment system corresponding to the application client to be in a silent state, wherein the image acquisition component continues to acquire the image of the target object in the silent state.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
As an optional solution, the apparatus further includes one of:
1) the first operation unit is used for acquiring dragging operation executed on the progress bar control piece under the condition that the size adjusting control piece is the progress bar control piece, and taking the dragging operation as adjusting operation;
2) the second operation unit is used for acquiring selection operation executed on the menu control under the condition that the size adjusting control is the menu control, and taking the selection operation as adjusting operation;
3) and the third operation unit is used for acquiring the input operation executed on the input box control under the condition that the size adjusting control is the input box control, and taking the input operation as the adjusting operation.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
As an alternative, the second display unit includes:
1) the establishing module is used for establishing a prompt popup in the application interface, wherein the prompt popup is displayed above the text element in a suspension manner;
2) and the display module is used for displaying the adjustment prompt information in the prompt pop-up window.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
As an optional scheme, the method further comprises the following steps:
1) and the fourth display unit is used for displaying a prompt box in the application interface after the adjustment prompt information is displayed in the application interface and under the condition that the popup window is closed, wherein the prompt box is used for prompting the operation entrance position of the adjustment configuration item for adjusting the first display size in the application interface.
As an optional scheme, the method further comprises the following steps:
1) the first processing unit is used for comparing the target distance with a first boundary threshold and a second boundary threshold in a first target interval to obtain a first comparison result under the condition that the first display size is an original display size preset by an application client after the target distance between the terminal and a target object viewing an application interface is acquired through the image acquisition component, wherein the first boundary threshold is smaller than the second boundary threshold;
2) and the first determining unit is used for determining that the target distance reaches the adjustment triggering condition under the condition that the first comparison result indicates that the target distance is greater than the second boundary threshold value or the target distance is smaller than the first boundary threshold value.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
As an optional scheme, the method further comprises the following steps:
1) the second processing unit is used for comparing the target distance with a third boundary threshold and a fourth boundary threshold in a second target interval to obtain a second comparison result under the condition that the first display size is not an original display size configured in advance by the application client after the target distance between the terminal and a target object viewing the application interface is acquired through the image acquisition component, wherein the third boundary threshold is smaller than the fourth boundary threshold;
2) the updating unit is used for adding one to the prompting coefficient associated with the application client under the condition that the second comparison result indicates that the target distance is greater than the fourth boundary threshold value or the target distance is smaller than the third boundary threshold value to obtain an updated prompting coefficient, wherein the prompting coefficient is used for indicating the number of times that the target distance continuously exceeds the second target interval;
3) and the second determining unit is used for determining that the target distance reaches the adjustment triggering condition under the condition that the updated prompt coefficient reaches the target threshold value.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
As an alternative, the obtaining unit 1004 includes:
1) and the acquisition module is used for acquiring the target distance between the terminal and the eyes of the target object through the image acquisition component.
For a specific embodiment, reference may be made to the above embodiment of the display adjustment method, and details of this embodiment are not described herein again.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the display adjustment method, where the electronic device may be the terminal device shown in fig. 1. As shown in fig. 11, the electronic device comprises a memory 1102 and a processor 1104, wherein the memory 1102 stores a computer program and the processor 1104 is arranged to execute the steps of any of the above method embodiments by means of the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying the text elements in the application interface according to the first display size in the application client operated by the terminal;
s2, under the condition that an image acquisition component associated with the application client in the terminal is in an activated state, acquiring a target distance between the terminal and a target object viewing the application interface currently through the image acquisition component;
and S3, under the condition that the target distance is determined to reach the adjustment triggering condition, displaying adjustment prompt information in the application interface, wherein the adjustment prompt information is used for prompting the adjustment of the first display size of the text element.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 11 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 11 is a diagram illustrating a structure of the electronic device. For example, the electronics may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
The memory 1102 may be used to store software programs and modules, such as program instructions/modules corresponding to the display adjustment method and apparatus in the embodiments of the present invention, and the processor 1104 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1102, that is, the display adjustment is implemented. A method. The memory 1102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1102 can further include memory located remotely from the processor 1104 and such remote memory can be coupled to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1102 may be specifically, but not limited to, used for storing information such as sample characteristics of the item and the target virtual resource account number. As an example, as shown in fig. 11, the memory 1102 may include, but is not limited to, a first display unit 1002, an obtaining unit 1004, and a second display unit 1006 of the display adjustment apparatus. In addition, other module units in the display adjusting apparatus may also be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmitting device 1106 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1106 includes a Network adapter (NIC) that can be connected to a router via a Network cable to communicate with the internet or a local area Network. In one example, the transmission device 1106 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1108, configured to display interface elements in the application interface and adjust the prompt information; and a connection bus 1110 for connecting the respective module components in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the upper display adjustment method. Wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying the text elements in the application interface according to the first display size in the application client operated by the terminal;
s2, under the condition that an image acquisition component associated with the application client in the terminal is in an activated state, acquiring a target distance between the terminal and a target object viewing the application interface currently through the image acquisition component;
and S3, under the condition that the target distance is determined to reach the adjustment triggering condition, displaying adjustment prompt information in the application interface, wherein the adjustment prompt information is used for prompting the adjustment of the first display size of the text element.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A display adjustment method, comprising:
displaying a text element in an application interface according to a first display size in an application client operated by a terminal;
under the condition that an image acquisition component associated with the application client side in the terminal is in an activated state, acquiring a target distance between the terminal and a target object which is viewing the application interface currently through the image acquisition component;
displaying an adjustment prompt message in the application interface under the condition that it is determined that the target distance reaches an adjustment trigger condition, wherein the adjustment prompt message is used for prompting to adjust the first display size of the text element, and the adjustment trigger condition includes: a prompt coefficient obtained through statistics in a target time period reaches a target threshold value, wherein the prompt coefficient is used for indicating the number of times that the target distance continuously exceeds a second target interval;
and adjusting a display adjustment system corresponding to the application client to be in a silent state, wherein the image acquisition component continues to acquire the image of the target object in the silent state.
2. The method of claim 1, after displaying the adjustment prompt message in the application interface, further comprising:
adjusting the first display size to a second display size in response to an adjustment operation performed on a size adjustment control displayed in the adjustment prompt message;
and displaying the text elements in the application interface according to the second display size, and adjusting a display adjustment system corresponding to the application client to be in a silent state, wherein the image acquisition component continues to acquire the image of the target object in the silent state.
3. The method of claim 2, further comprising, prior to the resizing the first display size to the second display size, one of:
under the condition that the size adjusting control is a progress bar control, acquiring a dragging operation executed on the progress bar control, and taking the dragging operation as the adjusting operation;
under the condition that the size adjusting control is a menu control, acquiring selection operation executed on the menu control, and taking the selection operation as the adjusting operation;
and under the condition that the size adjusting control is an input box control, acquiring input operation executed on the input box control, and taking the input operation as the adjusting operation.
4. The method of claim 1, wherein displaying an adjustment prompt in the application interface comprises:
creating a prompt popup in the application interface, wherein the prompt popup is displayed above the text element in a floating manner;
and displaying the adjustment prompt information in the prompt pop-up window.
5. The method of claim 4, after displaying the adjustment prompt message in the application interface, further comprising:
and displaying a prompt box in the application interface under the condition that the prompt pop-up window is closed, wherein the prompt box is used for prompting the operation entrance position of the adjustment configuration item for adjusting the first display size in the application interface.
6. The method according to claim 1, further comprising, after the obtaining, by the image acquisition component, a target distance between the terminal and a target object viewing the application interface:
comparing the target distance with a first boundary threshold and a second boundary threshold in a first target interval to obtain a first comparison result under the condition that the first display size is an original display size pre-configured by the application client, wherein the first boundary threshold is smaller than the second boundary threshold;
determining that the target distance meets the adjustment trigger condition if the first comparison result indicates that the target distance is greater than the second boundary threshold or the target distance is less than the first boundary threshold.
7. The method according to claim 1, further comprising, after the obtaining, by the image acquisition component, a target distance between the terminal and a target object viewing the application interface:
comparing the target distance with a third boundary threshold and a fourth boundary threshold in the second target interval to obtain a second comparison result under the condition that the first display size is not an original display size configured in advance by the application client, wherein the third boundary threshold is smaller than the fourth boundary threshold;
under the condition that the second comparison result indicates that the target distance is greater than the fourth boundary threshold value or the target distance is smaller than the third boundary threshold value, performing addition processing on a prompt coefficient associated with the application client to obtain an updated prompt coefficient;
and under the condition that the updated prompt coefficient reaches a target threshold value, determining that the target distance reaches the adjustment triggering condition.
8. The method according to any one of claims 1 to 7, wherein the obtaining, by the image acquisition component, a target distance between the terminal and a target object currently viewing the application interface comprises:
acquiring the target distance between the terminal and the eye of the target object through the image acquisition component.
9. A display adjustment apparatus, comprising:
the first display unit is used for displaying text elements in the application interface according to a first display size in an application client operated by the terminal;
the acquisition unit is used for acquiring a target distance between the terminal and a target object which is currently viewing the application interface through an image acquisition component under the condition that the image acquisition component associated with the application client in the terminal is in an activated state;
a second display unit, configured to display, in the application interface, an adjustment prompt message when it is determined that the target distance reaches an adjustment trigger condition, where the adjustment prompt message is used to prompt adjustment of the first display size of the text element, and the adjustment trigger condition includes: a prompt coefficient obtained through statistics in a target time period reaches a target threshold value, wherein the prompt coefficient is used for indicating the number of times that the target distance continuously exceeds a second target interval;
the second display unit is further configured to adjust a display adjustment system corresponding to the application client to a silent state, where the image acquisition component continues to acquire the image of the target object in the silent state.
10. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN202010888650.XA 2020-08-28 2020-08-28 Display adjustment method and device, storage medium and electronic equipment Active CN111949181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010888650.XA CN111949181B (en) 2020-08-28 2020-08-28 Display adjustment method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010888650.XA CN111949181B (en) 2020-08-28 2020-08-28 Display adjustment method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111949181A CN111949181A (en) 2020-11-17
CN111949181B true CN111949181B (en) 2021-09-28

Family

ID=73368010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010888650.XA Active CN111949181B (en) 2020-08-28 2020-08-28 Display adjustment method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111949181B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395038B (en) * 2021-01-21 2021-04-13 全时云商务服务股份有限公司 Method and device for adjusting characters during desktop sharing
CN113591193A (en) * 2021-08-05 2021-11-02 广东三维家信息科技有限公司 Graph position adjusting method and device, electronic equipment and storage medium
CN113824832B (en) * 2021-09-22 2023-05-26 维沃移动通信有限公司 Prompting method, prompting device, electronic equipment and storage medium
CN114840117A (en) * 2022-05-10 2022-08-02 北京字跳网络技术有限公司 Element control method, device, equipment and medium of information input page
CN115328346A (en) * 2022-06-30 2022-11-11 北京达佳互联信息技术有限公司 Service identifier adjusting method and device, electronic equipment and storage medium
CN115686292B (en) * 2023-01-03 2023-07-25 京东方艺云(杭州)科技有限公司 Information display method and device, electronic equipment and storage medium
CN116107686B (en) * 2023-04-13 2023-07-11 福建自贸试验区厦门片区Manteia数据科技有限公司 Interface processing method and device of medical software, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774834A (en) * 2016-11-23 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of display font size adjustment
CN108491123A (en) * 2018-02-12 2018-09-04 维沃移动通信有限公司 A kind of adjusting application program image target method and mobile terminal
CN111228802A (en) * 2020-01-15 2020-06-05 腾讯科技(深圳)有限公司 Information prompting method and device, storage medium and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019384B (en) * 2012-12-21 2016-05-11 广东欧珀移动通信有限公司 A kind of method and apparatus of in terminal, display interface being adjusted
US10402159B1 (en) * 2015-03-13 2019-09-03 Amazon Technologies, Inc. Audible user interface system
CN106873759A (en) * 2015-12-14 2017-06-20 北京奇虎科技有限公司 Reading information treating method and apparatus
CN110908571B (en) * 2019-11-28 2022-06-28 腾讯科技(深圳)有限公司 Control method, device and equipment of sliding control and storage medium
CN111414112B (en) * 2020-03-05 2021-10-22 联想(北京)有限公司 Information display method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774834A (en) * 2016-11-23 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of display font size adjustment
CN108491123A (en) * 2018-02-12 2018-09-04 维沃移动通信有限公司 A kind of adjusting application program image target method and mobile terminal
CN111228802A (en) * 2020-01-15 2020-06-05 腾讯科技(深圳)有限公司 Information prompting method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN111949181A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN111949181B (en) Display adjustment method and device, storage medium and electronic equipment
CN111194436A (en) Method for direct manipulation of multi-layer user interface
US20150277686A1 (en) Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format
WO2022089330A1 (en) Method for taking screenshot, apparatus, electronic device, and readable storage medium
CN113114841B (en) Dynamic wallpaper acquisition method and device
AU2013332591A1 (en) User terminal device and control method thereof
CN108694009B (en) Terminal control method and device
CN111880706B (en) Function switching method and device, electronic equipment and readable storage medium
CN106469036B (en) Information display method and client
CN112286614A (en) User interface display method and device, electronic equipment and storage medium
CN113051493A (en) Application program display method and device, storage medium and terminal
CN110912806A (en) Message processing method, device, storage medium and electronic device
US11112938B2 (en) Method and apparatus for filtering object by using pressure
WO2019085810A1 (en) Processing method, device, apparatus, and machine-readable medium
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN111857474B (en) Application program control method and device and electronic equipment
CN116483234A (en) Page display method, device, equipment and storage medium
CN111796736B (en) Application sharing method and device and electronic equipment
CN114780193A (en) Toolbar display method, apparatus, electronic device and storage medium
CN113779293A (en) Image downloading method, device, electronic equipment and medium
KR101634431B1 (en) Content provision method of objects and the apparatus using the method
CN112862558A (en) Method and system for generating product detail page and data processing method
CN111813285B (en) Floating window management method and device, electronic equipment and readable storage medium
CN112596646B (en) Information display method and device and electronic equipment
CN110968786B (en) Visual information recommendation method, device, equipment and storage medium

Legal Events

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