CN109062471B - Mobile display method, device, equipment and medium for page elements - Google Patents

Mobile display method, device, equipment and medium for page elements Download PDF

Info

Publication number
CN109062471B
CN109062471B CN201810754917.9A CN201810754917A CN109062471B CN 109062471 B CN109062471 B CN 109062471B CN 201810754917 A CN201810754917 A CN 201810754917A CN 109062471 B CN109062471 B CN 109062471B
Authority
CN
China
Prior art keywords
page
page element
display size
writing
shortest distance
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
CN201810754917.9A
Other languages
Chinese (zh)
Other versions
CN109062471A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810754917.9A priority Critical patent/CN109062471B/en
Publication of CN109062471A publication Critical patent/CN109062471A/en
Application granted granted Critical
Publication of CN109062471B publication Critical patent/CN109062471B/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
    • 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
    • G06F3/0485Scrolling or panning
    • 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

Abstract

The invention discloses a mobile display method, a mobile display device, terminal equipment and a computer readable storage medium of page elements, wherein the method comprises the following steps: receiving a first operation acted on a writing page; wherein the first operation is used for moving page elements on a written page; updating the shortest distance between each visible first page element on the writing page and the boundary of the writing page in the process of moving the page element on the writing page according to the first operation; adjusting the display size of each first page element in the moving process of the first page element according to the initial display size of the first page element and the corresponding shortest distance; the shortest distance and the display size are in positive correlation, a new moving mode is provided for small-window writing software, and the problem that written contents disappear quickly in the current display interface when the writing software moves in a roaming mode is solved.

Description

Mobile display method, device, equipment and medium for page elements
Technical Field
The present invention relates to the field of writing interaction, and in particular, to a method and an apparatus for mobile display of a page element, a terminal device, and a computer-readable storage medium.
Background
In the process of carrying out daily meeting or academic exchange, a speaker may use writing software to write to highlight the key points or key points of a lecture in the process of using an intelligent tablet to assist the lecture, when the writing software is opened, the writing software is globally displayed on the whole display interface of the intelligent tablet, when a user carries out roaming movement on the writing content displayed on a current writing page on the writing software, the writing content of the user may be only moved out of a central display area and does not disappear in the current display interface very quickly, in the process of implementing the invention, the inventor finds that, but when the writing software is set as a smaller display window, the user carries out roaming movement operation on the writing content displayed on the writing software in a small window by the same roaming movement operation on the writing software which is globally displayed, and the writing content of the user disappears in the current display interface very quickly, when the roaming times are too many, the speaker does not know where the specific position of the related writing content is, which is not beneficial to searching and reviewing the subsequent writing content; moreover, in the writing software displayed in the global or in the small window, when the size of the written content is too large, even if the writing software roams to an edge position, other operation processes of the user on the written page are still affected, and the user experience is not good.
Disclosure of Invention
In view of the foregoing problems, an object of the present invention is to provide a method and an apparatus for displaying a page element in a mobile manner, a terminal device, and a computer-readable storage medium, which provide a new mobile manner for a small-window writing software and solve the problem that written content quickly disappears in a current display interface during roaming movement.
In a first aspect, an embodiment of the present invention provides a method for mobile display of a page element, including the following steps:
receiving a first operation acted on a writing page; wherein the first operation is used for moving page elements on a written page;
updating the shortest distance between each visible first page element on the writing page and the boundary of the writing page in the process of moving the page element on the writing page according to the first operation; and
adjusting the display size of each first page element in the moving process of the first page element according to the initial display size of the first page element and the corresponding shortest distance; wherein the shortest distance is in positive correlation with the display size.
In a first implementation manner of the first aspect, the method further includes:
and when detecting the page elements input in the current writing page, saving the initial display sizes of the page elements.
In a second implementation manner of the first aspect, the adjusting the display size of each first page element in the moving process of the first page element according to the initial display size and the corresponding shortest distance of the first page element specifically includes:
in the moving process, determining a scaling coefficient of each first page element according to the shortest distance between each first page element and the boundary of the writing page; wherein the scaling factor is a positive number less than or equal to 1;
and determining the actual display size of each first page element according to the scaling coefficient and the initial display size of each first page element, and displaying each first page element according to the actual display size.
According to a second implementation form of the first aspect, in a third implementation form of the first aspect,
when the shortest distance is larger than a preset threshold value, the scaling coefficient is 1;
when the shortest distance is smaller than a preset threshold value, the scaling coefficient is a positive number smaller than 1, and the scaling coefficient and the shortest distance are in a positive correlation relationship.
In a fourth implementation manner of the first aspect, the adjusting the display size of each first page element in the moving process of the first page element according to the initial display size and the corresponding shortest distance of the first page element specifically includes:
acquiring second page elements to be adjusted and the scaling of each second page element to be adjusted according to the initial display size of each first page element and a preset standard display size; the second page element to be adjusted is a page element of which the initial display size is larger than the standard display size in all the first page elements;
in the moving process, determining the scaling coefficient of each second page element according to the shortest distance between each second page element and the boundary of the writing page and the scaling ratio; wherein the scaling factor is a positive number less than or equal to 1;
and determining the actual display size of each second page element according to the scaling coefficient and the initial display size of each second page element, and displaying according to the actual display size.
According to a fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the method further includes:
generating a standard display size of the page elements on the writing page according to the size of the writing page and the initial display size of each page element; and when the shortest distance is 0, matching the actual display size of the page element with the standard display size.
According to any one of the above implementation manners of the first aspect, in a sixth implementation manner of the first aspect, each page element is provided with a transparent circumscribed rectangle;
the display size of each page element corresponds to the display size of the corresponding circumscribed rectangle.
In a second aspect, an embodiment of the present invention provides a mobile display device for page elements, including:
the mobile operation acquisition module is used for receiving a first operation acted on a writing page; wherein the first operation is used for moving page elements on a written page;
the shortest distance updating module is used for updating the shortest distance between each visible first page element on the writing page and the boundary of the writing page in the process of moving the page element on the writing page according to the first operation; and
the display size adjusting module is used for adjusting the display size of each first page element in the moving process of the first page element according to the initial display size of the first page element and the corresponding shortest distance; wherein the shortest distance is in positive correlation with the display size.
In a third aspect, an embodiment of the present invention provides a mobile display terminal device for a page element, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements a mobile display method for the page element according to any one of the above items when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for mobile display of a page element according to any one of the foregoing items.
The above embodiment has the following beneficial effects:
the page element on the page is write through receiving the first operation removal that acts on writing the page, then write the in-process of the page element on the page in the removal, according to write each visual first page element on the page with the shortest distance on the boundary of writing the page adjusts its display size at the removal in-process, realize the limit and remove the process of zooming the page element simultaneously, for the writing software of small window provides a new mobile mode, solve the problem that the content of writing very fast disappears in current display interface when the roaming is removed, realize the rearrangement distribution of page element at the current display page, make the user be convenient for seek the page element that the roaming removed, also make the page element that removes through zooming not influence other operations of user on writing software, promote user's use experience.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for displaying a page element in a mobile manner according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of a circumscribed rectangle corresponding to each page element according to the first embodiment of the present invention.
Fig. 3 is a schematic diagram of page element moving and zooming provided by the second embodiment of the present invention.
Fig. 4 is a diagram illustrating a standard size and a second page element to be adjusted according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a mobile display device for page elements according to a fifth embodiment of the present invention.
Detailed Description
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.
Referring to fig. 1, a first embodiment of the present invention provides a method for mobile display of a page element, which can be executed by a terminal device, and includes the following steps:
s11, receiving a first operation acting on the writing page; wherein the first operation is to move a page element on a written page.
In the embodiment of the present invention, the terminal device may be a desktop computer, a notebook, a palm computer, a mobile terminal, an intelligent tablet, and other computing devices. Particularly, the terminal device is an intelligent interactive tablet and can be used for carrying out an electronic conference or an academic conference and the like, and the presentation of contents such as conference contents or academic schemes and the like is carried out on the intelligent interactive tablet or the function of the intelligent interactive tablet assists a speaker to explain the contents.
In the embodiment of the present invention, the terminal device detects a touch operation of a user on a written page in real time, and when a movement operation (for example, a multi-finger touch operation) of the user on a page element on the written page is detected, obtains the movement operation to implement movement and zooming of the visualized page element on the written page.
And S12, updating the shortest distance between each visible first page element on the written page and the boundary of the written page in the process of moving the page element on the written page according to the first operation.
In an embodiment of the present invention, the page elements on the written page include a first page element that is visible on the current written page and within the display window, and a third page element that is invisible on the current written page and not within the display window, and the third page element is a page element that is moved out of the display window by a first operation performed on the written page by a user. With the movement of the page elements on the writing page, the distance between the page elements and the boundary of the writing page is also continuously changed, and the terminal equipment updates the shortest distance between each visible first page element on the writing page and the boundary of the writing page in real time in the process of moving the page elements on the writing page according to the first operation.
S13, adjusting the display size of each first page element in the moving process according to the initial display size and the corresponding shortest distance of the first page element; wherein the shortest distance is in positive correlation with the display size.
In an embodiment of the present invention, referring to fig. 2, each page element is provided with a transparent circumscribed rectangle, a display size of each page element corresponds to a display size of a corresponding circumscribed rectangle, it should be noted that, to represent a display effect of the circumscribed rectangle, so that the transparently displayed circumscribed rectangle can be displayed in fig. 2, when the terminal device detects that a new page element is on the written page, the terminal device sets a corresponding transparent circumscribed rectangle for the new page element, where the circumscribed rectangle may be a minimum circumscribed rectangle including the new page element, and then the terminal device stores an initial display size of the new page element corresponding to the circumscribed rectangle thereof, so as to perform a calculation process of moving and zooming based on the initial display size of each page element in the following process.
In the embodiment of the present invention, after acquiring the shortest distance between each first page element and the boundary of the writing page in the moving process in real time, the terminal device adjusts the display size of each first page element in the moving process according to the shortest distance and the initial display size updated in real time by each first page element, calculates the actual display size corresponding to each shortest distance acquired in real time by each first page element, and displays each first page element in the actual display size in the moving process.
To sum up, the first embodiment of the present invention provides a method for moving and displaying page elements, which moves page elements on a writing page by receiving a first operation applied to the writing page, and then adjusts the display size of each visible first page element on the writing page during moving according to the shortest distance between each visible first page element on the writing page and the boundary of the writing page during moving the page elements on the writing page, so as to implement a process of moving and scaling the page elements, thereby providing a new moving manner for the writing software of a small window, solving the problem that written content quickly disappears in the current display interface during roaming movement, and implementing re-typesetting distribution of the page elements on the current display page, so that a user can conveniently find page elements that have roamed and moved, and the page elements that have been scaled and moved do not affect other operations of the user on the writing software, the use experience of the user is improved.
In order to facilitate an understanding of the invention, some preferred embodiments of the invention will now be described.
Second embodiment of the invention:
on the basis of the first embodiment of the present invention, the S13 specifically is:
in the moving process, determining a scaling coefficient of each first page element according to the shortest distance between each first page element and the boundary of the writing page; wherein the scaling factor is a positive number less than or equal to 1.
And determining the actual display size of each first page element according to the scaling coefficient and the initial display size of each first page element, and displaying each first page element according to the actual display size.
In the embodiment of the present invention, the terminal device determines, according to a minimum distance updated in real time between each first page element and a boundary of the written page in the moving process, a scaling coefficient corresponding to each minimum distance updated in real time, where the scaling coefficient is a positive number less than or equal to 1, and when the minimum distance is greater than a preset threshold, the scaling coefficient is 1, that is, when the minimum distance is not within a preset scaling distance, each first page element moves according to a moving operation without changing the size of its own size; when the shortest distance is smaller than a preset threshold, the scaling factor is a positive number smaller than 1, and the scaling factor and the shortest distance are in a positive correlation relationship, that is, when the shortest distance is within a preset scaling distance, each first page element performs a process of edge-moving scaling according to a moving operation, the terminal device determines an actual display size corresponding to each updated shortest distance of each first page element according to the scaling factor corresponding to each shortest distance of each first page element and an initial display size of each first page element, and displays each first page element with the actual display size, referring to fig. 3, where fig. 3 is a process of page element moving scaling, and is a display effect representing moving scaling, so that a moving process of each stage can be shown in fig. 3, setting a preset zooming distance to be 10, wherein the terminal device receives a first operation of a user on the writing page, when the shortest distance between the first page element and the boundary of the writing page is greater than the preset zooming distance, the size of the first page element does not change in the process of moving to the shortest distance and zooming to 10, the shortest distance is continuously reduced along with the corresponding movement of the first page element to the boundary of the writing page through the moving operation, and when the shortest distance is smaller than the preset zooming distance, the first page element needs to be correspondingly zoomed in the moving process at this moment. When the scaling factor is 0.9 times the initial display size of the first page element, the actual display size of the first page element corresponding to the shortest distance of 9 is 9 × 9, when the shortest distance is 5, the actual display size of the first page element corresponding to the calculated shortest distance of 5 is 5 × 5, for example, when the scaling factor is 0.9, the calculated size is 9 × 8.1, when the width and height of the page element is in a decimal form, a rounding mode for rounding a small number may be performed, when the width and height of the page element is a positive number smaller than 1, the actual display size of the page element may be obtained by rounding the width and height of the page element, the first page element with the initial display size of 10 × 9 corresponds to an actual display size of 9 × 8 when the shortest distance is 9.
Third embodiment of the invention:
on the basis of the first embodiment of the present invention, the S13 specifically is:
acquiring second page elements to be adjusted and the scaling of each second page element to be adjusted according to the initial display size of each first page element and a preset standard display size; and the second page element to be adjusted is a page element of which the initial display size is larger than the standard display size in all the first page elements.
In the moving process, determining the scaling coefficient of each second page element according to the shortest distance between each second page element and the boundary of the writing page and the scaling ratio; wherein the scaling factor is a positive number less than or equal to 1.
And determining the actual display size of each second page element according to the scaling coefficient and the initial display size of each second page element, and displaying according to the actual display size.
In an embodiment of the present invention, referring to fig. 4, fig. 4 is a schematic diagram of a standard size and a second page element to be adjusted, in order to show a standard size display effect, so that a transparent standard size can be shown in fig. 4, before the terminal device moves each page element, the terminal device first generates a standard display size of the page element on the written page according to the size of the written page and the initial display size of each page element, so as to confirm the page element to be adjusted with an oversized size, the terminal device first determines, according to the initial display size of each first page element and a preset standard display size, the second page element to be adjusted, of all the first page elements, whose initial display size is larger than the standard display size, and for the first page element whose initial display size is smaller than the standard display size, it is only necessary to perform a conventional moving operation according to the first operation, and it should be noted that the comparison rule for determining the second page element to be adjusted is not limited in the present invention, for example, if the standard display width and height size of the page element on the generated written page is 3 × 3, it can be confirmed that the area of the initial display size in the first page element is greater than 9, and it is determined that the second page element to be adjusted is determined.
In the embodiment of the present invention, after determining the second page element to be adjusted, the terminal device obtains a scaling of each second element according to the actual display size of each second element and the generated standard display size, where the scaling is the actual display size divided by the standard display size, and represents that the actual display size of each second element is larger than a multiple of the standard display size, the shortest distance gradually decreases with the movement of the second page element, and during the movement, the terminal device determines a scaling coefficient of each second page element according to the shortest distance between each second page element and the boundary of the writing page and the scaling, where the scaling coefficient is a positive number less than or equal to 1, the scaling coefficient is the shortest distance divided by the scaling, that is, the shortest distance is set to dx, the scaling is k, the current dx is assumed to be 100, the dx is divided into ten segments, and the scaling k is also divided into ten parts, each time the dx is reduced by a distance (10 pixels), the rectangle a is reduced by one tenth of the scaling k, the terminal device determines the actual display size of each second page element according to the scaling factor and the initial display size of each second page element, and displays the actual display size, for example, the standard display size is 1 × 1, the initial display size of the second page element to be adjusted is 10 × 10, the scaling corresponding to the width and height dimensions of the second page element is 10, when the shortest distance from the second page element to the boundary of the writing page is 10 when the movement is not started, the corresponding scaling factor is 0.9 when the shortest distance becomes 9 during the movement, the actual display size of the corresponding second page element at the position with the shortest distance of 9 is 9 x 9, when the shortest distance is 0, the actual display size of the page element is matched with the standard display size, and at this time, if the second page element continues to move in the same moving direction, the second page element is moved out of the current display window; correspondingly, when the second page element moves from the boundary to the center of the display window, the actual display sizes corresponding to the shortest distances of the second page element in the moving process are calculated in the same way according to the initial display size of the second page element, and the actual display sizes are used for displaying.
The fourth embodiment of the present invention:
on the basis of the third embodiment of the present invention, the present invention further includes:
generating a standard display size of the page elements on the writing page according to the size of the writing page and the initial display size of each page element; and when the shortest distance is 0, matching the actual display size of the page element with the standard display size.
In an embodiment of the present invention, specifically, each of the page elements is provided with a transparent circumscribed rectangle, a display size of each of the page elements corresponds to a display size of the corresponding circumscribed rectangle, when the terminal equipment receives a first operation acting on the written page, the terminal equipment acquires the size of a circumscribed rectangle of each page element through OCR, setting a corresponding transparent external rectangle for each page element, determining the display size of a standard rectangle by the terminal equipment according to the size of the written page and the initial display size of each page element, thereby generating a standard display size of the page elements on the written page, so as to identify the page elements to be resized that are oversized, and during the movement, and when the shortest distance is 0, matching the actual display size of the page element with the standard display size.
Referring to fig. 5, a fifth embodiment of the present invention provides a mobile display device for page elements, including:
the mobile operation acquisition module 11 is used for receiving a first operation acting on a writing page; wherein the first operation is to move a page element on a written page.
And a shortest distance updating module 12, configured to update a shortest distance between each visible first page element on the writing page and a boundary of the writing page in a process of moving a page element on the writing page according to the first operation. And
a display size adjusting module 13, configured to adjust a display size of each first page element in a moving process of the first page element according to an initial display size of the first page element and a corresponding shortest distance; wherein the shortest distance is in positive correlation with the display size.
In a first implementation manner of the fifth embodiment, the method further includes:
and the initial size saving module is used for saving the initial display size of the page element when the page element input on the current writing page is detected.
In a second implementation manner of the fifth embodiment, the display size adjusting module 13 specifically includes:
the first zoom factor acquisition unit is used for determining the zoom factor of each first page element according to the shortest distance between each first page element and the boundary of the writing page in the moving process; wherein the scaling factor is a positive number less than or equal to 1.
And the first actual size acquisition unit is used for determining the actual display size of each first page element according to the scaling coefficient and the initial display size of each first page element, and displaying each first page element according to the actual display size.
According to the second implementation of the fifth embodiment, in the third implementation of the fifth embodiment,
and when the shortest distance is greater than a preset threshold value, the scaling coefficient is 1.
When the shortest distance is smaller than a preset threshold value, the scaling coefficient is a positive number smaller than 1, and the scaling coefficient and the shortest distance are in a positive correlation relationship.
In a fourth implementation manner of the fifth embodiment, the display size adjustment module 13 specifically includes:
the scaling acquiring unit is used for acquiring scaling of second page elements to be adjusted and each second page element to be adjusted according to the initial display size of each first page element and a preset standard display size; and the second page element to be adjusted is a page element of which the initial display size is larger than the standard display size in all the first page elements.
The second zooming coefficient acquisition unit is used for determining the zooming coefficient of each second page element according to the shortest distance between each second page element and the boundary of the writing page and the zooming proportion in the moving process; wherein the scaling factor is a positive number less than or equal to 1.
And the second actual size acquisition unit is used for determining the actual display size of each second page element according to the scaling coefficient and the initial display size of each second page element and displaying the actual display size.
According to a fourth implementation manner of the fifth embodiment, in a fifth implementation manner of the fifth embodiment, the method further includes:
the standard size generating module is used for generating the standard display size of the page elements on the writing page according to the size of the writing page and the initial display size of each page element; and when the shortest distance is 0, matching the actual display size of the page element with the standard display size.
In a sixth implementation form of the fifth embodiment, according to any one of the above implementation forms of the fifth embodiment, each page element is provided with a transparent circumscribed rectangle.
The display size of each page element corresponds to the display size of the corresponding circumscribed rectangle.
A sixth embodiment of the present invention provides a mobile display terminal device for page elements. The mobile display terminal device of the page element of the embodiment includes: a processor, a memory, and a computer program, such as a mobile display program of page elements, stored in the memory and executable on the processor. The processor, when executing the computer program, implements the steps in the above-mentioned embodiments of the method for moving and displaying the page elements, such as step S11 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units in the above device embodiments, such as the moving operation acquiring module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the mobile display terminal device of the page element.
The mobile display terminal device of the page element can be a desktop computer, a notebook, a palm computer, an intelligent tablet and other computing devices. The mobile display terminal device of the page element can include, but is not limited to, a processor and a memory. It will be understood by those skilled in the art that the above-mentioned components are merely examples of the mobile display terminal device of the page element, and do not constitute a limitation of the mobile display terminal device of the page element, and may include more or less components than the above-mentioned components, or combine some components, or different components, for example, the mobile display terminal device of the page element may further include an input-output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor or the like, said processor being the control center of the mobile display terminal device of said page element, the various parts of the mobile display terminal device of the whole page element being connected by means of various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the mobile display terminal device of the page element by executing or executing the computer program and/or module stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The mobile display terminal device integrated module/unit of the page element can be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A mobile display method of page elements is characterized by comprising the following steps:
receiving a first operation acted on a writing page; wherein the first operation is used for moving page elements on a written page;
updating the shortest distance between each visible first page element on the writing page and the boundary of the writing page in the process of moving the page element on the writing page according to the first operation; and
adjusting the display size of each first page element in the moving process of the first page element according to the initial display size of the first page element and the corresponding shortest distance; wherein the shortest distance is in positive correlation with the display size.
2. The method for mobile display of a page element according to claim 1, further comprising:
and when detecting the page elements input in the current writing page, saving the initial display sizes of the page elements.
3. The method according to claim 1, wherein the adjusting the display size of each first page element during the moving process according to the initial display size and the corresponding shortest distance of each first page element specifically comprises:
in the moving process, determining a scaling coefficient of each first page element according to the shortest distance between each first page element and the boundary of the writing page; wherein the scaling factor is a positive number less than or equal to 1;
and determining the actual display size of each first page element according to the scaling coefficient and the initial display size of each first page element, and displaying each first page element according to the actual display size.
4. A method for mobile display of page elements according to claim 3,
when the shortest distance is larger than a preset threshold value, the scaling coefficient is 1;
when the shortest distance is smaller than a preset threshold value, the scaling coefficient is a positive number smaller than 1, and the scaling coefficient and the shortest distance are in a positive correlation relationship.
5. The method according to claim 1, wherein the adjusting the display size of each first page element during the moving process according to the initial display size and the corresponding shortest distance of each first page element specifically comprises:
acquiring second page elements to be adjusted and the scaling of each second page element to be adjusted according to the initial display size of each first page element and a preset standard display size; the second page element to be adjusted is a page element of which the initial display size is larger than the standard display size in all the first page elements;
in the moving process, determining the scaling coefficient of each second page element according to the shortest distance between each second page element and the boundary of the writing page and the scaling ratio; wherein the scaling factor is a positive number less than or equal to 1;
and determining the actual display size of each second page element according to the scaling coefficient and the initial display size of each second page element, and displaying according to the actual display size.
6. The method for mobile display of a page element according to claim 5, further comprising:
generating a standard display size of the page elements on the writing page according to the size of the writing page and the initial display size of each page element; and when the shortest distance is 0, matching the actual display size of the second page element with the standard display size.
7. The method for mobile display of page elements according to any of claims 1 to 6, wherein each of said page elements is provided with a transparent circumscribed rectangle;
the display size of each page element corresponds to the display size of the corresponding circumscribed rectangle.
8. A mobile display device for page elements, comprising:
the mobile operation acquisition module is used for receiving a first operation acted on a writing page; wherein the first operation is used for moving page elements on a written page;
the shortest distance updating module is used for updating the shortest distance between each visible first page element on the writing page and the boundary of the writing page in the process of moving the page element on the writing page according to the first operation; and
the display size adjusting module is used for adjusting the display size of each first page element in the moving process of the first page element according to the initial display size of the first page element and the corresponding shortest distance; wherein the shortest distance is in positive correlation with the display size.
9. A mobile display terminal device of page elements, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the mobile display method of page elements according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method for mobile display of a page element according to any one of claims 1 to 7.
CN201810754917.9A 2018-07-10 2018-07-10 Mobile display method, device, equipment and medium for page elements Active CN109062471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810754917.9A CN109062471B (en) 2018-07-10 2018-07-10 Mobile display method, device, equipment and medium for page elements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810754917.9A CN109062471B (en) 2018-07-10 2018-07-10 Mobile display method, device, equipment and medium for page elements

Publications (2)

Publication Number Publication Date
CN109062471A CN109062471A (en) 2018-12-21
CN109062471B true CN109062471B (en) 2020-11-10

Family

ID=64815856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810754917.9A Active CN109062471B (en) 2018-07-10 2018-07-10 Mobile display method, device, equipment and medium for page elements

Country Status (1)

Country Link
CN (1) CN109062471B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502164B (en) * 2019-07-30 2021-05-14 维沃移动通信有限公司 Interface display method and electronic equipment
CN112578969B (en) * 2019-09-30 2022-08-12 北京国双科技有限公司 Adaptive adjustment method and device for graphic assembly, storage medium and electronic equipment
CN111597010A (en) * 2020-05-27 2020-08-28 北京智美智学科技有限公司 Method and device for generating pictures of Web pages, printing equipment and recording medium
CN112394859A (en) * 2020-11-12 2021-02-23 青岛海信商用显示股份有限公司 Form dynamic adjustment method and terminal equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916156B (en) * 2010-06-17 2013-01-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal information display adjusting method, mobile terminal and system
US8307279B1 (en) * 2011-09-26 2012-11-06 Google Inc. Smooth zooming in web applications
KR101976177B1 (en) * 2012-07-09 2019-05-08 엘지전자 주식회사 Mobile terminal and method for controlling of the same
CN105260089A (en) * 2014-07-14 2016-01-20 宏碁股份有限公司 User interface display method and electronic device
CN105630746A (en) * 2015-12-21 2016-06-01 华为技术有限公司 Page displaying method and terminal equipment
CN106445386B (en) * 2016-09-28 2019-10-25 广州视睿电子科技有限公司 A kind of handwriting display method and device
CN107391148B (en) * 2017-07-28 2020-09-15 广州视源电子科技股份有限公司 View element saving method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN109062471A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN109062471B (en) Mobile display method, device, equipment and medium for page elements
US20180011818A1 (en) Webpage Update Method And Apparatus
EP4187378A1 (en) Application interface switching method and apparatus, and terminal and storage medium
CN107357483B (en) Data sharing method and device, computer equipment and computer readable storage medium
CN109298909B (en) Window adjusting method, mobile terminal and computer readable storage medium
CN108509142B (en) Writing software interaction method and device, terminal equipment and storage medium
CN108804182A (en) A kind of adjusting method and client in barrage region
US11334210B2 (en) Method for window adjustment, mobile terminal, and computer-readable storage medium
CN103902158A (en) Method and terminal for managing application icon
CN110286840B (en) Gesture zooming control method and device of touch equipment and related equipment
CN110580125B (en) Partial refreshing method, device, equipment and medium for display interface
CN107643866B (en) Method and device for operating different-level pictures, terminal equipment and storage medium
CN104808959B (en) Information processing method and electronic equipment
CN105183277A (en) Screen switching method and mobile terminal
CN110728129B (en) Method, device, medium and equipment for typesetting text content in picture
US11899918B2 (en) Method, apparatus, electronic device and storage medium for invoking touch screen magnifier
CN104765542A (en) Control method and terminal of display interface
CN110677586B (en) Image display method, image display device and mobile terminal
CN110286827B (en) Element scaling control method, device, equipment and storage medium
CN112055156A (en) Preview image updating method and device, mobile terminal and storage medium
CN109298818B (en) Window adjusting method, mobile terminal and computer readable storage medium
EP3101527A1 (en) Information processing device, information processing program, and information processing method
CN109085974B (en) Screen control method, system and terminal equipment
CN112470103A (en) Intelligent watch and interface control method thereof
CN103280208B (en) A kind of method of automatic adjustment text importing size and device

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