CN112099690A - Page scaling method, device, terminal and storage medium - Google Patents

Page scaling method, device, terminal and storage medium Download PDF

Info

Publication number
CN112099690A
CN112099690A CN202010968526.4A CN202010968526A CN112099690A CN 112099690 A CN112099690 A CN 112099690A CN 202010968526 A CN202010968526 A CN 202010968526A CN 112099690 A CN112099690 A CN 112099690A
Authority
CN
China
Prior art keywords
value
page
interface element
operation signal
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010968526.4A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010968526.4A priority Critical patent/CN112099690A/en
Publication of CN112099690A publication Critical patent/CN112099690A/en
Pending legal-status Critical Current

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Abstract

The embodiment of the application provides a page scaling method, a page scaling device, a terminal and a storage medium. The method comprises the following steps: receiving a first operation signal acting on a target page, wherein the target page is divided into at least one area, the area comprises at least one interface element, and the size of the interface element is set according to an influence factor and a first default size; determining a target area according to the first operation signal; adjusting the value of the influence factor corresponding to the interface element in the target area from a first value to a second value according to the first operation signal; and enlarging or reducing the interface elements in the target area according to the second value. The technical scheme provided by the embodiment of the application allows a user to enlarge or reduce the interface elements in the system native page according to the requirements of the user, so that the display mode of the system native page is more flexible.

Description

Page scaling method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a page scaling method, a page scaling device, a terminal and a storage medium.
Background
The system native page refers to a display page of the most basic layer of the operation base layer, such as a desktop page, a lock screen page and the like.
In the related art, a User Interface (UI) file of a system native page defines the size of each Interface element, such as width, height, number of pixels, and the like, and a terminal displays a page based on the content defined by the UI file.
The related art does not provide a page scaling scheme for system native pages.
Disclosure of Invention
The embodiment of the application provides a page scaling method, a page scaling device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a page scaling method, where the method includes:
receiving a first operation signal acting on a target page, wherein the target page is divided into at least one area, the area comprises at least one interface element, and the size of the interface element is set according to an influence factor and a first default size;
determining a target area according to the first operation signal;
adjusting the value of the influence factor corresponding to the interface element in the target area from a first value to a second value according to the first operation signal;
and enlarging or reducing the interface element in the target area according to the second value.
In another aspect, an embodiment of the present application provides a page scaling apparatus, where the apparatus includes:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving a first operation signal acted on a target page, the target page is divided into at least one area, the area comprises at least one interface element, and the size of the interface element is set according to an influence factor and a first default size;
the area determining module is used for determining a target area according to the first operation signal;
the influence factor adjusting module is used for adjusting the value of the influence factor corresponding to the interface element in the target area from a first value to a second value according to the first operation signal;
and the page zooming module is used for zooming in or zooming out the interface element in the target area according to the second value.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor, a memory and a flexible display screen, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the page scaling method as described above.
In still another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program is loaded and executed by a processor to implement the page scaling method as described above.
In yet another aspect, an embodiment of the present application provides a computer program product, where the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device performs the page scaling method provided in the foregoing aspect or various optional implementations of the aspect.
The technical scheme provided by the embodiment of the application can bring the beneficial effects of at least comprising:
interface elements on a system native page are defined according to the influence factors and a first default size, if a terminal receives an operation signal which acts on the system native page and is used for amplifying or reducing the page, the value of the influence factor corresponding to the interface elements to be amplified or reduced is adjusted according to the operation signal, at the moment, the size of the interface elements to be amplified or reduced is correspondingly changed, the amplification or reduction of the interface elements is further realized, a user can amplify or reduce the interface elements in the system native page according to the self requirement, and the display mode of the system native page is more flexible.
Drawings
FIG. 1 is a flow diagram illustrating a page scaling method in accordance with an exemplary embodiment of the present application;
FIG. 2 is an interface diagram illustrating a split target page according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating dimensions of interface elements according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of an interface illustrating page magnification according to one embodiment of the present application;
FIG. 5 is an interface diagram illustrating page restoration according to an exemplary embodiment of the present application;
FIG. 6 is a flow diagram illustrating a page scaling method according to an exemplary embodiment of the present application;
FIG. 7 is a block diagram of a page scaling apparatus shown in another exemplary embodiment of the present application;
fig. 8 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
According to the technical scheme, the interface elements on the system native page are defined according to the influence factors and the first default size, if the terminal receives the operation signal which acts on the system native page and is used for amplifying or reducing the page, the value of the influence factor corresponding to the interface element to be amplified or reduced is adjusted according to the operation signal, at the moment, the size of the interface element to be amplified or reduced is correspondingly changed, the interface element is further amplified or reduced, the problem that the system native page cannot be amplified or reduced in the related technology is solved, a user can amplify or reduce the interface elements in the system native page according to own requirements, and the display mode of the system native page is more flexible.
According to the technical scheme provided by the embodiment of the application, the execution main body of each step is the terminal. Alternatively, the terminal is a mobile terminal, a Personal Computer (PC), a tablet Computer, or the like.
Referring to fig. 1, a flowchart of a page scaling method according to an embodiment of the present application is shown. The method comprises the following steps:
step 101, receiving a first operation signal acting on a target page.
The target page refers to a system native page, such as an android native page and an IOS native page. Target pages include, but are not limited to: a lock screen page, a home page, a main menu page, a user interface of a system application program, and the like. In an embodiment of the present application, a target page is divided into at least one region. The area is a segment of the destination page, which may also be referred to as a card.
Optionally, the terminal divides the region according to the arrangement mode of the interface elements in the target page. In one possible implementation, the width of the region is the same as the width of the target page, and the length is determined according to the size of the interface element, and the length of the region is exemplarily slightly greater than the length of one interface element. In another possible implementation, the length of the region is the same as the length of the target page, and the width is determined according to the size of the interface element.
With reference to fig. 2, a schematic interface diagram for dividing a target page provided in an embodiment of the present application is shown. The destination page 21 is divided into 5 regions, denoted as card 1, card 2, card 3, card 4, and card 5, respectively. The interface elements included in each of the above cards are shown in fig. 2.
Each zone includes at least one interface element. The interface element refers to a series of elements which are contained in a software or system interface meeting the interactive requirement and meet the interaction requirement of the user. Interface elements include, without limitation: windows, dialog boxes, scroll bars, graphics, navigation bars, status bars, etc.
The size of the interface element includes the length, width, number of occupied pixels, and the like of the interface element. In an embodiment of the present application, the size of the interface element is set according to the impact factor and a first default size. Optionally, the size of the interface element and the value of the influence factor are in a positive correlation. The larger the value of the influence factor is, the larger the size of the interface element is, the smaller the value of the influence factor is, and the smaller the size of the interface element is. Illustratively, the size of the interface element is the product of the value of the impact factor and the first default size. The first default size is customized by the relevant developer, and the embodiment of the present application is not limited thereto.
Referring collectively to fig. 3, a schematic diagram of the dimensions of an interface element provided by one embodiment of the present application is shown. Interface elements 31, 32, and 33 have a width P Tw and a height P Th. Wherein, P is the value of the influence factor, Tw is the width in the first default size, and Th is the height in the first default size.
Optionally, a User Interface (UI) file corresponding to the target page defines the following: the size of the interface element is set according to the value of the influence factor and the first default size, wherein the influence factor is variable, namely the value of the influence factor can be dynamically changed. When the target page does not receive the zoom-in operation signal or the zoom-out operation signal corresponding to the interface element, the value of the impact factor is a default value (i.e., the first value in step 103); when the target page receives the amplification operation signal or the reduction operation signal corresponding to the interface element, the value of the influence factor is correspondingly changed.
Optionally, the size of the region is also set according to the impact factor and a second default size. The second default size is customized by the relevant developer, and the embodiment of the present application is not limited thereto. Referring to fig. 3, the width of the card 34 is P × Cw and the height of the card 34 is P × Ch. Wherein, P is the value of the influencing factor, Cw is the width in the second default size, and Ch is the height in the second default size.
The first operation signal is an operation signal for triggering the interface element in the target area to zoom in or out. The first operation signal may be any one of a single-click operation signal, a double-click operation signal, a sliding operation signal, a long-press operation signal, and a dragging operation signal, which is not limited in this embodiment of the application.
In one possible implementation manner, the operation signal for triggering the enlargement of the interface element in the target area is different from the operation signal for triggering the reduction of the interface element in the target area, and for example, the operation signal for triggering the enlargement of the interface element in the target area is a single-click operation signal, and the operation signal for triggering the enlargement of the interface element in the target area is a drag operation signal.
In another possible implementation manner, the operation signal for triggering the interface element in the target area to be enlarged is the same as the operation signal for triggering the interface element in the target area to be reduced.
Step 102, determining a target area according to the first operation signal.
The target area is the area where the interface element to be zoomed in/out is located. Optionally, the terminal determines an area where the operation position corresponding to the first operation signal is located as the target area.
And 103, adjusting the value of the influence factor corresponding to the interface element in the target area from a first value to a second value according to the first operation signal.
The interface elements in the target area are also the interface elements to be enlarged/reduced. The first value is a default value and is set by a terminal in a default mode or is set by a developer in a self-defined mode. Illustratively, the first value is 1. The first values corresponding to different interface elements may be the same or different. In the embodiment of the present application, only the first values corresponding to each interface element are all 1 as an example for explanation.
In the embodiment of the application, the size of the interface element is set according to the value of the influence factor and the first default size, and when the value of the influence factor is adjusted from the first value to the second value, the size of the interface element is correspondingly changed, so that the interface element of the native page of the system is enlarged or reduced.
And 104, enlarging or reducing the interface elements in the target area according to the second value.
When the second value is larger than the first value, displaying a target page according to the second value, wherein the target page comprises interface elements in the amplified target area; and when the second value is smaller than the first value, displaying the target page according to the second value, wherein the target page comprises the interface elements in the reduced target area.
And the terminal reads the relevant information of the interface element from the UI file of the target page, and re-renders and displays the target page (namely, refreshes the target page), and at the moment, the terminal displays the interface element in the target area according to the second value. Optionally, the terminal reads the relevant information of the interface element in the target area from the UI file of the target page, and re-renders the target area (i.e., local refresh), and at this time, the terminal displays the interface element in the target area according to the second value.
Optionally, the terminal further enlarges or reduces the target area according to the second value.
Referring collectively to FIG. 4, an interface diagram illustrating page zooming in one embodiment of the present application is shown. The terminal receives a click operation signal acting on the target area 411 in the target page 41, determines the interface element 412 as an interface element to be amplified, increases the value of the impact factor from the first value to the second value according to the click operation signal, and then displays the amplified interface element 413 in the target page 411.
To sum up, according to the technical solution provided in this application, interface elements on a native page of a system are defined according to an impact factor and a first default size, and if a terminal receives an operation signal that acts on the native page of the system and is used to enlarge or reduce the page, a value of the impact factor corresponding to the interface element to be enlarged or reduced is adjusted according to the operation signal, and at this time, a size of the interface element to be enlarged or reduced is correspondingly changed, so as to enlarge or reduce the interface element.
The values of the adjustment influencing factors are explained below.
In one possible implementation manner, step 103 is specifically implemented as: determining an adjustment amount according to the operation duration or the operation times of the first operation signal; and determining a second value according to the adjustment amount and the first value.
The operation time length and the adjustment amount are in positive correlation, that is, the longer the operation time length is, the larger the adjustment amount is, the shorter the operation time length is, and the smaller the adjustment amount is. The operation times and the adjustment amount are in positive correlation, namely, the more the operation times, the larger the adjustment amount; the smaller the number of operations, the smaller the adjustment amount.
In a possible implementation manner, the terminal stores a corresponding relationship between the operation duration or the operation frequency and the adjustment amount, and after acquiring the operation duration or the operation frequency of the first operation signal, the terminal queries the corresponding relationship to determine the adjustment amount.
In another possible implementation manner, the terminal stores a functional relation between the operation duration or the operation times and the adjustment amount, and after the terminal obtains the operation duration or the operation times of the first operation signal, the terminal substitutes the operation duration or the operation times into the functional relation to determine the adjustment amount.
Optionally, the terminal determines the sum of the adjustment amount and the first value as a second value, or determines the difference between the first value and the adjustment amount as the second value.
And after the terminal determines the adjustment amount, determining whether the first operation signal is used for amplifying the interface element in the target area or reducing the interface element in the target area. When the first operation signal is used for triggering the interface element in the target area to be amplified, determining the sum of the adjustment amount and the first value as a second value; and when the first operation signal is used for triggering the interface element in the target area to be reduced, determining the difference between the first value and the adjustment amount as a second value.
In another possible implementation manner, step 103 is specifically implemented as: determining an adjustment coefficient according to the operation duration or the operation times of the first operation signal; and determining the product of the adjustment coefficient and the first value as a second value.
The terminal firstly judges that the first operation signal is used for zooming in or zooming out the interface element in the target area, and then determines an adjustment coefficient based on the judgment result.
Optionally, the terminal stores a first corresponding relationship between the operation duration or the operation frequency and the adjustment coefficient when the interface element is enlarged and a second corresponding relationship between the operation duration or the operation frequency and the adjustment coefficient when the interface element is reduced, the terminal acquires the corresponding relationship after acquiring the determination result, and then the terminal queries the acquired corresponding relationship to determine the adjustment coefficient after the terminal acquires the operation duration or the operation frequency based on the first operation signal.
It should be noted that, when the first operation signal is used to trigger the interface element in the target region to be amplified, the adjustment coefficient is greater than 1; when the first operation signal is used for triggering the interface element in the target area to shrink, the adjustment coefficient is smaller than 1 and larger than 0.
The embodiment of the application also provides a flow chart of the page zooming method. The method comprises the following steps:
in step 301, a first operation signal acting on a target page is received.
The target page is divided into at least one region, which includes at least one interface element. The size of the interface element is set according to the impact factor and a first default size.
Step 302, determining a target area according to the first operation signal.
Step 303, according to the first operation signal, adjusting the value of the impact factor corresponding to the interface element in the target area from the first value to a second value.
And step 304, enlarging or reducing the interface elements in the target area according to the second value.
And 305, enlarging or reducing the target area according to the second value.
Step 306, receiving a second operation signal applied to the target page.
The second operation signal is used for triggering the adjustment of the interface element in the target area by the restoration. When the first operation signal is used for triggering and amplifying the interface element in the target area, the second operation signal is used for triggering and reducing the interface element in the target area; when the first operation signal is used for reducing the interface elements in the target area, the second operation signal is used for enlarging the interface elements in the target area.
In one possible implementation, the second operation signal is an operation signal that acts on a non-target area within the target page, and may be a single-click operation signal, a double-click operation signal, a drag operation signal, a slide operation signal, a long-press operation signal, or the like. In another possible implementation manner, the second operation signal is applied to a target area in the target page, and the second operation signal is opposite to the first operation signal in effect, and if the first operation signal is used to reduce the interface elements in the target area, the second operation signal is used to enlarge the interface elements in the target area; and if the first operation signal is used for amplifying the interface element in the target area, the second operation signal is used for reducing the interface element in the target area.
And 307, reducing the second value to the first value according to the second operation signal.
And the terminal updates the value of the influence factor from the second value to the first value according to the second operation signal.
And 308, displaying the interface elements in the target area according to the first value.
The terminal reads the relevant information of the interface element from the UI file of the target page and re-renders and displays the target page (namely, refreshes the target page), at this time, the terminal displays the interface element in the target area according to the first value, the size of the interface element in the enlarged target area is reduced to the original size, or the size of the interface element in the reduced target area is reduced to the original size. Optionally, the terminal reads the relevant information of the interface element in the target area from the UI file of the target page, and re-renders the target area (i.e., local refresh), and at this time, the terminal displays the interface element in the target area according to the first value.
Referring collectively to FIG. 5, an interface diagram illustrating page zooming in one embodiment of the present application is shown. The terminal receives a click operation signal acting on a non-target area of the target area in the target page 51, reduces the value of the impact factor from the second value to the first value according to the click operation signal, and then displays the interface element 512 with the normal size in the target page 511.
To sum up, according to the technical scheme provided by the embodiment of the application, after the interface elements in the target area are enlarged or reduced, the adjustment of the interface elements is restored according to the corresponding operation signals, so that a user is allowed to enlarge or reduce the interface elements in the native page of the system according to the requirement of the user, and the display mode of the native page of the system is more flexible.
In a specific example, the page scaling method includes the following steps:
step 601, monitoring a page scaling event.
Step 602, determining an area of the user finger trigger page, and determining an interface element to be enlarged or reduced.
Step 603, monitoring the occurrence frequency of the page scaling event, and updating the value of the influence factor according to the occurrence frequency.
Illustratively, the adjustment amount corresponding to each page scaling time is 0.25, if the page scaling event is a page reduction event, the initial value of the impact factor is subtracted by 0.25 to obtain an updated value of the impact factor, and if the page scaling event is a page enlargement event, the initial value of the impact factor is added by 0.25 to obtain an updated value of the impact factor.
And step 604, generating the scaled card and the size of the interface element according to the value of the influence factor, and performing local refreshing to enlarge or reduce the interface element.
In the following, embodiments of the apparatus of the present application are described, and for portions of the embodiments of the apparatus not described in detail, reference may be made to technical details disclosed in the above-mentioned method embodiments.
Referring to fig. 7, a block diagram of a page scaling apparatus according to an exemplary embodiment of the present application is shown. The page scaling means may be implemented by software, hardware or a combination of both as all or part of the terminal. The page scaling apparatus includes:
a first receiving module 701, configured to receive a first operation signal acting on a target page, where the target page is divided into at least one area, and the area includes at least one interface element, and a size of the interface element is set according to an influence factor and a first default size.
A region determining module 702, configured to determine a target region according to the first operation signal.
An influence factor adjusting module 703 is configured to adjust, according to the first operation signal, a value of an influence factor corresponding to an interface element in the target area from a first value to a second value.
A page scaling module 704, configured to enlarge or reduce the interface element in the target area according to the second value.
To sum up, according to the technical solution provided in this application, interface elements on a native page of a system are defined according to an impact factor and a first default size, and if a terminal receives an operation signal that acts on the native page of the system and is used to enlarge or reduce the page, a value of the impact factor corresponding to the interface element to be enlarged or reduced is adjusted according to the operation signal, and at this time, a size of the interface element to be enlarged or reduced is correspondingly changed, so as to enlarge or reduce the interface element.
In an optional embodiment provided based on the embodiment shown in fig. 7, the impact factor adjusting module 703 is configured to:
determining an adjustment amount according to the operation duration or the operation times of the first operation signal;
and determining the second value according to the adjustment amount and the first value.
Optionally, the influence factor adjusting module 703 is specifically configured to:
determining the sum of the first value and the adjustment amount as the second value; alternatively, the first and second electrodes may be,
and determining the difference between the first value and the adjustment amount as the second value.
In an optional embodiment provided based on the embodiment shown in fig. 7, the impact factor adjusting module 703 is configured to:
determining an adjustment coefficient according to the operation duration or the operation times of the first operation signal;
and determining the product of the adjustment coefficient and the first value as the second value.
In an alternative embodiment provided based on the embodiment shown in fig. 7, the page scaling module 704 is configured to:
when the second value is larger than the first value, displaying the target page according to the second value, wherein the target page comprises interface elements in the amplified target area;
and when the second value is smaller than the first value, displaying the target page according to the second value, wherein the target page comprises the interface elements in the reduced target area.
In an alternative embodiment provided based on the embodiment shown in fig. 7, the apparatus further comprises: a second receiving module (not shown in fig. 7).
A second receiving module to: and receiving a second operation signal acting on the target page.
The influence factor adjusting module 703 is further configured to reduce the second value to the first value according to the second operation signal.
The page scaling module 704 is configured to display the interface element in the target area according to the first value.
In an alternative embodiment provided based on the embodiment shown in fig. 7, the size of the interface element is in a positive correlation with the influence factor.
In an optional embodiment provided based on the embodiment shown in fig. 7, the target page is divided into the at least one area according to the arrangement of the interface elements, and the size of the area is set according to the influence factor and a second default size;
the device further comprises: a region scaling module (not shown in fig. 7).
The region scaling module is configured to: and enlarging or reducing the target area according to the second value.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 8, a block diagram of a mobile terminal according to an exemplary embodiment of the present application is shown. A mobile terminal in the present application may include one or more of the following components: a processor 810 and a memory 820.
Processor 810 may include one or more processing cores. The processor 810 interfaces with various interfaces and circuitry throughout the mobile terminal to perform various functions of the mobile terminal and to process data by executing or performing instructions, programs, code sets, or instruction sets stored in the memory 820 and invoking data stored in the memory 820. Alternatively, the processor 810 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 810 may integrate one or a combination of a Central Processing Unit (CPU) and a modem. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 810, but may be implemented by a single chip.
Alternatively, the page scaling method provided by the various method embodiments described below is implemented by the processor 810 when executing program instructions in the memory 820.
The Memory 820 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 820 includes a non-transitory computer-readable medium. The memory 820 may be used to store instructions, programs, code sets, or instruction sets. The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the mobile terminal, and the like.
The above-described structure of the mobile terminal is only illustrative, and in actual implementation, the mobile terminal may include more or less components, such as: a camera, etc., and this embodiment does not limit this.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is not intended to be limiting of the mobile terminal 800, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer-readable storage medium is further provided, in which a computer program is stored, the computer program being loaded and executed by a processor of a terminal to implement the page scaling method in the above-described method embodiments.
Alternatively, the computer readable storage medium may be a ROM, a RAM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which includes computer instructions stored in a computer-readable storage medium, which are read by a processor of a computer device from the computer-readable storage medium, and the processor executes the computer instructions to make the computer device execute the page scaling method provided in the foregoing aspect or various optional implementations of the aspect.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. As used herein, the terms "first," "second," and the like, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for page scaling, the method comprising:
receiving a first operation signal acting on a target page, wherein the target page is divided into at least one area, the area comprises at least one interface element, and the size of the interface element is set according to an influence factor and a first default size;
determining a target area according to the first operation signal;
adjusting the value of the influence factor corresponding to the interface element in the target area from a first value to a second value according to the first operation signal;
and enlarging or reducing the interface element in the target area according to the second value.
2. The method according to claim 1, wherein the adjusting, according to the first operation signal, the value of the impact factor corresponding to the interface element in the target area from a first value to a second value includes:
determining an adjustment amount according to the operation duration or the operation times of the first operation signal;
and determining the second value according to the adjustment amount and the first value.
3. The method of claim 2, wherein determining the second value based on the adjustment amount and the first value comprises:
determining the sum of the first value and the adjustment amount as the second value; alternatively, the first and second electrodes may be,
and determining the difference between the first value and the adjustment amount as the second value.
4. The method according to claim 1, wherein the adjusting, according to the first operation signal, the value of the impact factor corresponding to the interface element in the target area from a first value to a second value includes:
determining an adjustment coefficient according to the operation duration or the operation times of the first operation signal;
and determining the product of the adjustment coefficient and the first value as the second value.
5. The method of any one of claims 1 to 4, wherein said zooming in or out of the interface element in the target region according to the second value comprises:
when the second value is larger than the first value, displaying the target page according to the second value, wherein the target page comprises interface elements in the amplified target area;
and when the second value is smaller than the first value, displaying the target page according to the second value, wherein the target page comprises the interface elements in the reduced target area.
6. The method according to any one of claims 1 to 4, wherein after the zooming in or out of the interface element in the target region according to the second value, the method further comprises:
receiving a second operation signal acting on the target page;
reducing the second value to the first value according to the second operation signal;
and displaying the interface elements in the target area according to the first value.
7. The method of any one of claims 1 to 4, wherein the size of the interface element is positively correlated with the impact factor.
8. The method according to any one of claims 1 to 4, wherein the target page is divided into the at least one area according to the arrangement of the interface elements, and the size of the area is set according to the influence factor and a second default size;
after the adjusting the value of the impact factor corresponding to the interface element in the target area from the first value to the second value according to the first operation signal, the method further includes:
and enlarging or reducing the target area according to the second value.
9. A page scaling apparatus, characterized in that the apparatus comprises:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving a first operation signal acted on a target page, the target page is divided into at least one area, the area comprises at least one interface element, and the size of the interface element is set according to an influence factor and a first default size;
the area determining module is used for determining a target area according to the first operation signal;
the influence factor adjusting module is used for adjusting the value of the influence factor corresponding to the interface element in the target area from a first value to a second value according to the first operation signal;
and the page zooming module is used for zooming in or zooming out the interface element in the target area according to the second value.
10. A terminal, characterized in that it comprises a processor and a memory, said memory storing a computer program that is loaded and executed by said processor to implement the page scaling method according to any one of claims 1 to 8.
11. A computer-readable storage medium, in which a computer program is stored, which is loaded and executed by a processor to implement the page scaling method according to any one of claims 1 to 8.
CN202010968526.4A 2020-09-15 2020-09-15 Page scaling method, device, terminal and storage medium Pending CN112099690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010968526.4A CN112099690A (en) 2020-09-15 2020-09-15 Page scaling method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010968526.4A CN112099690A (en) 2020-09-15 2020-09-15 Page scaling method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112099690A true CN112099690A (en) 2020-12-18

Family

ID=73759167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010968526.4A Pending CN112099690A (en) 2020-09-15 2020-09-15 Page scaling method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112099690A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113786607A (en) * 2021-09-29 2021-12-14 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN114281445A (en) * 2021-11-26 2022-04-05 华能酒泉风电有限责任公司 Page display method and 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120311489A1 (en) * 2009-08-10 2012-12-06 Microsoft Corporation Target Element Zoom
CN109308155A (en) * 2018-08-21 2019-02-05 中国平安人寿保险股份有限公司 Adjust method, apparatus, computer equipment and the storage medium of the page
CN110244889A (en) * 2019-06-17 2019-09-17 Oppo广东移动通信有限公司 Picture Zoom method, device, terminal and storage medium
CN110569095A (en) * 2019-08-09 2019-12-13 华为技术有限公司 Method and electronic equipment for displaying page elements

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120311489A1 (en) * 2009-08-10 2012-12-06 Microsoft Corporation Target Element Zoom
CN109308155A (en) * 2018-08-21 2019-02-05 中国平安人寿保险股份有限公司 Adjust method, apparatus, computer equipment and the storage medium of the page
CN110244889A (en) * 2019-06-17 2019-09-17 Oppo广东移动通信有限公司 Picture Zoom method, device, terminal and storage medium
CN110569095A (en) * 2019-08-09 2019-12-13 华为技术有限公司 Method and electronic equipment for displaying page elements

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113786607A (en) * 2021-09-29 2021-12-14 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN113786607B (en) * 2021-09-29 2023-11-03 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN114281445A (en) * 2021-11-26 2022-04-05 华能酒泉风电有限责任公司 Page display method and 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

Similar Documents

Publication Publication Date Title
US11379108B2 (en) Display controlling method, terminal, information processing apparatus, and storage medium
CN112099690A (en) Page scaling method, device, terminal and storage medium
CN107463627B (en) Picture loading method and terminal
AU2017232150B2 (en) Calculating device, graph display method of calculating device, and storage medium retaining graph display program
US8972883B2 (en) Method and device for display time and timescale reset
CN109298909B (en) Window adjusting method, mobile terminal and computer readable storage medium
US20120036428A1 (en) Advanced scrolling
JP2011060301A (en) Improved mobile communications terminal and method
US9747007B2 (en) Resizing technique for display content
CN112214142B (en) Application information display method and device, electronic equipment and storage medium
CN113325985B (en) Desktop management method of terminal equipment and terminal equipment
CN113536173B (en) Page processing method and device, electronic equipment and readable storage medium
CN113282213A (en) Interface display method and device
KR20160104961A (en) Method for processing page and electronic device thereof
CN112256178A (en) Application icon adjusting method, device and system
JPH1011263A (en) Multiwindow system
CN116107531A (en) Interface display method and device
CN114564921A (en) Document editing method and device
CN114491309A (en) Picture processing method and device
CN113805773A (en) Image display method, image display device, computer equipment and storage medium
CN113342222A (en) Application classification method and device and electronic equipment
CN113296661A (en) Image processing method and device, electronic equipment and readable storage medium
CN110908570A (en) Image processing method, device, terminal and storage medium
CN116974420A (en) Display method of terminal equipment, terminal equipment and computer readable storage medium
CN116841421A (en) Interface display method, device, terminal 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