CN111090381B - Display position adjusting method and device and electronic equipment - Google Patents

Display position adjusting method and device and electronic equipment Download PDF

Info

Publication number
CN111090381B
CN111090381B CN201811242819.3A CN201811242819A CN111090381B CN 111090381 B CN111090381 B CN 111090381B CN 201811242819 A CN201811242819 A CN 201811242819A CN 111090381 B CN111090381 B CN 111090381B
Authority
CN
China
Prior art keywords
target object
target
adjustment
page
adjusting
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
CN201811242819.3A
Other languages
Chinese (zh)
Other versions
CN111090381A (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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201811242819.3A priority Critical patent/CN111090381B/en
Publication of CN111090381A publication Critical patent/CN111090381A/en
Application granted granted Critical
Publication of CN111090381B publication Critical patent/CN111090381B/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/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/0486Drag-and-drop
    • 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/04842Selection of displayed objects or displayed text elements
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

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

Abstract

The embodiment of the invention provides a display position adjusting method, a display position adjusting device and electronic equipment, wherein the method comprises the following steps: after obtaining a position adjusting instruction, determining a target object to be adjusted in position, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted; in the process of detecting that a user performs dragging operation on a target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position; under the condition that a release instruction of a user to a target object is detected, the target object is adjusted to a target adjusting position, and the target adjusting position is as follows: when a release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is as follows: the user triggers an instruction based on the displayed preset hint line. The method for adjusting the display position of the mobile terminal is more intelligent, so that the user does not need to judge whether the position is proper or not by visual inspection, and the user experience is improved to a certain extent.

Description

Display position adjusting method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for adjusting a display position, and an electronic device.
Background
Currently, when a user adjusts the position of a page in a document, that is, adjusts the order of pages in the document, the adjustment process generally includes: in a page thumbnail list corresponding to a document, selecting a page thumbnail of a page to be adjusted in position, in the process of monitoring that a user executes dragging operation on the selected medium page thumbnail, when a release instruction of the user on the selected medium page thumbnail is monitored, determining a target position corresponding to the position of the selected medium page thumbnail when the release instruction is monitored, adjusting the selected page thumbnail to the target position, and realizing the adjustment of the position of the page corresponding to the selected page thumbnail in the document. The page thumbnail list corresponding to the document comprises: thumbnails of the pages contained in the document.
It can be seen that, in the process of adjusting the order of pages in a document, a user is required to visually observe whether the selected thumbnail can be dragged to a position to which the user expects to adjust, and the position visually observed by the user has an error to a certain extent. The user needs to readjust the position of the page thumbnail according to the situation, so that trouble is brought to the user to a certain extent, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention aims to provide a display position adjusting method, a display position adjusting device and electronic equipment, so that a more intelligent display position adjusting method is provided for a user, the user does not need to judge whether the position is proper or not by visual inspection, and the user experience is improved to a certain extent. The specific technical scheme is as follows:
in one aspect, an embodiment of the present invention provides a display position adjustment method, where the method includes:
after obtaining a position adjusting instruction, determining a target object to be adjusted in position, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted;
in the process of detecting that a user performs dragging operation on the target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
under the condition that a release instruction of the user to the target object is detected, adjusting the target object to a target adjustment position, wherein the target adjustment position is as follows: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
Optionally, after obtaining the position adjustment instruction, the step of determining the target object whose position is to be adjusted includes:
after obtaining the position adjustment instruction, obtaining a page thumbnail list corresponding to the currently displayed document, wherein the page thumbnail list comprises: page thumbnails corresponding to all pages contained in the document;
determining a target object of a position to be adjusted according to the selection operation of the user on the page thumbnail list, wherein the target object is as follows: and selecting the page thumbnail corresponding to the operation.
Optionally, the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
Optionally, in the process of detecting that the user performs the dragging operation on the target object, the step of determining an alternative adjustment position corresponding to the position where the target object is located, and displaying a preset prompt line at the alternative adjustment position includes:
in the process of detecting that a user performs dragging operation on a target object, determining the position of the target object;
judging whether the target object meets a preset condition or not based on the position of the target object, wherein the preset condition is as follows: the area of the lower part of the first object covered by the target object in a floating way is larger than the area of the upper part of the first object covered by the target object in a floating way, and the first object is as follows: any other page thumbnail except the page thumbnail serving as the target object in the page thumbnail list;
when the target object meets the preset condition, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
when the target object does not meet the preset condition, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position.
Optionally, after the step of adjusting the target object to a target adjustment position in a case where the release instruction of the target object by the user is detected, the method further includes:
and determining and saving the current display sequence of each page in the document, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
Optionally, the step of adjusting the target object to a target adjustment position includes:
judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
In another aspect, an embodiment of the present invention provides a display position adjustment apparatus, where the apparatus includes:
the determining module is used for determining a target object with a position to be adjusted after obtaining a position adjusting instruction, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted;
the determining and displaying module is used for determining an alternative adjusting position corresponding to the position of the target object in the process of detecting that the user performs the dragging operation on the target object, and displaying a preset prompt line at the alternative adjusting position;
an adjusting module, configured to, when a release instruction of the target object by the user is detected, adjust the target object to a target adjustment position, where the target adjustment position is: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
Optionally, the determining module includes:
an obtaining unit, configured to obtain a page thumbnail list corresponding to a currently displayed document after obtaining a position adjustment instruction, where the page thumbnail list includes: page thumbnails corresponding to all pages contained in the document;
the determining unit is used for determining a target object of a position to be adjusted according to the selection operation of the user on the page thumbnail list, wherein the target object is as follows: and selecting the page thumbnail corresponding to the operation.
Optionally, the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
Optionally, the determining and displaying module is specifically used for
In the process of detecting that a user performs dragging operation on a target object, determining the position of the target object;
judging whether the target object meets a preset condition or not based on the position of the target object, wherein the preset condition is as follows: the area of the lower part of the first object covered by the target object in a floating way is larger than the area of the upper part of the first object covered by the target object in a floating way, and the first object is as follows: any other page thumbnail except the page thumbnail serving as the target object in the page thumbnail list;
when the target object meets the preset condition, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
when the target object does not meet the preset condition, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position.
Optionally, the apparatus further comprises:
and the determining and saving module is used for determining and saving the current display sequence of each page in the document after the target object is adjusted to a target adjustment position under the condition that the release instruction of the user to the target object is detected, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
Optionally, the adjustment module is specifically configured for
Judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
On the other hand, the embodiment of the invention provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
the processor is configured to implement any of the above display position adjustment method steps provided in the embodiments of the present invention when executing the computer program stored in the memory.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method for adjusting a display position according to any one of the above-mentioned steps is implemented.
According to the technical scheme provided by the embodiment of the invention, after the position adjusting instruction is obtained, the target object of the position to be adjusted is determined, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted; in the process of detecting that a user performs dragging operation on a target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position; under the condition that a release instruction of a user to a target object is detected, the target object is adjusted to a target adjusting position, wherein the target adjusting position is as follows: when a release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is as follows: the user triggers an instruction based on the displayed preset hint line.
Therefore, in the process of detecting that the user drags the target object, the preset prompt line is displayed for the alternative adjusting position corresponding to the position where the target object is located, so that the user can clearly see whether the release instruction of the target object can be triggered, and reference is provided for the trigger time of the release instruction of the target object by the user. The method for adjusting the display position more intelligently is provided for the user, so that the user does not need to judge whether the position is proper or not by visual observation, namely whether the selected thumbnail can be dragged to the expected position to be adjusted or not is judged, the error rate of position adjustment caused by position errors generated by visual observation judgment of the user is reduced to a certain extent, the effect of position adjustment in place at one time is realized to a certain extent, and the user experience is improved. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a display position adjustment method according to an embodiment of the present invention;
FIG. 2 is another schematic flow chart illustrating a method for adjusting a display position according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a display position adjustment process;
fig. 4 is a schematic structural diagram of a display position adjustment apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an 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.
The embodiment of the invention provides a display position adjusting method, a display position adjusting device and electronic equipment, and aims to provide a more intelligent display position adjusting method for a user, so that the user does not need to judge whether the position is proper or not by visual inspection, and the user experience is improved to a certain extent.
As shown in fig. 1, an embodiment of the present invention provides a display position adjustment method, which may include the following steps:
s101: after the position adjusting instruction is obtained, determining a target object of a position to be adjusted;
wherein the position adjustment instruction is: instructions to indicate a target object for which a position is determined to be adjusted;
it can be understood that the display position adjusting method provided by the embodiment of the present invention can be applied to any type of electronic device, and the electronic device can be a computer, a mobile phone, an all-in-one machine, and the like. In one case, the functional software for implementing the display position adjustment method provided by the embodiment of the present invention may exist in the form of special client software; or may exist in the form of any plug-in to client software that may present multiple target objects.
In one implementation, the position adjustment instruction may be manually triggered by a user, and the user may trigger the position adjustment instruction by performing a specific operation on a predetermined function key. Further, the electronic device may obtain the position adjustment instruction, and determine a target object of the position to be adjusted. In one case, the electronic device may determine the target object of the position to be adjusted based on a selection instruction triggered by a user, where the selection instruction is triggered for the target object, specifically, the selection instruction may carry an identifier of the target object, and the electronic device determines the target object of the position to be adjusted based on the selection instruction carrying the identifier of the target object.
In one implementation, the target object may be a page in the document or a thumbnail corresponding to the page in the document, or the like. The Document may be a PDF (Portable Document Format) Format Document, may be a WORD Format Document, or may be a ppt (power point) Format Document, which is all possible. In another implementation, the target object may also be an icon or the like.
S102: in the process of detecting that a user performs dragging operation on a target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
s103: under the condition that a release instruction of a user to the target object is detected, adjusting the target object to a target adjustment position;
wherein, the target adjustment position is: when a release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is as follows: the user triggers an instruction based on the displayed preset hint line.
In the embodiment of the invention, after the electronic equipment determines the target object of the position to be adjusted, the electronic equipment can detect the target object in real time or at regular time. In the process of detecting that the user performs the dragging operation on the target object, the position to which the target object is dragged, namely the position where the target object is located, can be detected in real time or at regular time, and then the alternative adjusting position corresponding to the position where the target object is located is determined, and furthermore, in order to enable the user to clearly know the alternative adjusting position corresponding to the position where the target object is located, a preset prompt line is displayed at the alternative adjusting position to remind the user that the alternative adjusting position corresponding to the position to which the target object is currently dragged, namely the alternative adjusting position corresponding to the position where the target object is located, so that the user can check whether the alternative adjusting position is the target position expected by the user, namely the position to which the target object is adjusted, which is expected by the user.
When the user determines that an alternative adjusting position is the expected target position, the target object can be released after the target object is dragged to the position where the target object corresponding to the alternative adjusting position is located; and under the condition that the electronic equipment detects a release instruction of the user to the target object, adjusting the target object to a target adjusting position.
In an implementation manner, in order to better improve the use experience of the user, in the embodiment of the present invention, after the target object is adjusted to the target adjustment position, the position where the current target object is located, that is, the target adjustment position, may also be determined and saved, and then, when the target object is displayed next time, the target object is displayed at the target adjustment position.
In one case, the preset indication line may be a wavy line or a straight line, and the shape of the preset indication line is not limited in the embodiments of the present invention. Any line that can prompt the user can be used as the preset prompt line provided by the embodiment of the present invention. In order to better play a role of prompting the user, the preset prompt line can be in a bright color so as to be more noticeable to the user.
In one case, the drag operation may be an operation triggered when the user long-presses and drags the target object through the left mouse button. Or an operation triggered when the user's finger presses and drags the target object for a long time. This is all possible.
In one implementation, there is a need for position adjustment of a target object, typically requiring a change in the display order between multiple objects presented. In one case, the target object may move along with the dragging operation of the user, when the user performs the dragging operation on the target object, a vacancy may occur at the original position of the target object, and in order to ensure the aesthetic property when the object is displayed, when the object exists after the original position of the target object, the positions corresponding to the existing objects may be moved forward by one position to fill the vacancy occurring at the original position of the target object. Wherein, the target object is set as: the position of the target object when not adjusted.
In another case, the target object does not perform position movement with the drag operation of the user until the electronic device adjusts the target object from the home position to the target adjustment position in a case where a release instruction of the target object by the user is detected. In the process of executing the dragging operation on the target object by the user, the movement of the mouse or the finger or the touch control pen of the user is always performed. At this time, it may be: when the electronic equipment adjusts the target objects to the target adjusting positions, the targets are sequentially ordered in a vacancy-free mode according to the display sequence of the currently determined targets.
By applying the embodiment of the invention, in the process of detecting the dragging of the target object by the user, the preset prompt line is displayed according to the alternative adjusting position corresponding to the position of the target object, so that the user can clearly see whether the release instruction of the target object can be triggered, and reference is provided for the trigger time of the release instruction of the target object by the user. The method for adjusting the display position more intelligently is provided for the user, so that the user does not need to judge whether the position is proper or not by visual observation, namely whether the selected thumbnail can be dragged to the expected position to be adjusted or not is judged, the error rate of position adjustment caused by position errors generated by visual observation judgment of the user is reduced to a certain extent, the effect of position adjustment in place at one time is realized to a certain extent, and the user experience is improved.
In one case, after a document file is opened by the user, when the display order of pages included in the document needs to be adjusted, the position adjustment instruction may be triggered, at this time, the user may click a predetermined position of the document or a preset function key set for the document, that is, the position adjustment instruction is triggered, and then the electronic device obtains the position adjustment instruction, and the electronic device obtains a page thumbnail list corresponding to the document, where the page thumbnail list includes page thumbnails of each page included in the document, and the page thumbnails included in the page thumbnail list may be arranged based on the arrangement order of each page corresponding to the document. And the user can operate the page thumbnails included in the page thumbnail list, and the electronic device detects the operation of the user to determine the target object of the position to be adjusted, so as to execute the subsequent display position adjustment process provided by the embodiment of the invention. In one case, the list of page thumbnails may be displayed on one side, e.g., the left side, of a display screen to which the electronic device is connected, with pages of the document being displayed on the right side.
In one implementation, the step of determining the target object to be position-adjusted after obtaining the position adjustment instruction may include:
after obtaining the position adjustment instruction, obtaining a page thumbnail list corresponding to the currently displayed document, wherein the page thumbnail list comprises: page thumbnails corresponding to all pages contained in the document;
determining a target object of a position to be adjusted according to the selection operation of a user on the page thumbnail list, wherein the target object is as follows: and selecting the page corresponding to the page thumbnail corresponding to the operation.
In an implementation manner, the page thumbnail list corresponding to the currently displayed document may be pre-stored in advance for the document, and after the electronic device obtains the position adjustment instruction for the page included in the document, the page thumbnail list corresponding to the currently displayed document may be directly obtained. In another implementation, the page thumbnail list can be generated based on the document after the electronic device obtains a position adjustment instruction for pages contained in the document.
The process of generating the page thumbnail list based on the document may be to generate a page thumbnail corresponding to each page included in the document, and further to arrange the page thumbnails corresponding to each page based on the sorting order of each page in the document to generate the page thumbnail list.
Furthermore, after the electronic device obtains the page thumbnail list, the page thumbnail list is displayed through the connected display so that the user can select the object of the position required to be adjusted. When the electronic equipment detects the selection operation of the user on the page thumbnail list, the target object of the position to be adjusted is determined according to the selection operation. It is understood that the selection operation may carry an identifier of an object selected by the user, and the electronic device may determine the target object to be adjusted in position based on the identifier carried by the selection operation. The object is a page thumbnail, and the target object is a page thumbnail corresponding to the selected operation, namely the page thumbnail selected by the user. Subsequently, the electronic device may adjust the position of the page corresponding to the target object in the document based on the adjusted position of the target object.
In one case, when the electronic device displays the page thumbnail list through the connected display, a user may select a page thumbnail through a mouse or a finger or a touch pen, and the selected page thumbnail is the target object.
In one implementation, the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
The first page thumbnail can refer to a page thumbnail at the first position, namely the first position, in the page thumbnail list corresponding to the displayed document. The last page thumbnail may refer to a page thumbnail at the last position in the page thumbnail list corresponding to the displayed document.
It can be understood that, in the embodiment of the present invention, when the position of the target object is adjusted, the target object may be inserted into a position between any two adjacent objects; or inserting the target object before the first page thumbnail as a new first page thumbnail; the target object may be inserted into the last page thumbnail to be used as a new last page thumbnail.
In one implementation manner, the determining, during the process of detecting that the user performs the dragging operation on the target object, an alternative adjustment position corresponding to a position where the target object is located, and displaying a preset prompt line at the alternative adjustment position may include:
determining the position of a target object in the process of detecting that a user performs dragging operation on the target object;
judging whether the target object meets a preset condition or not based on the position of the target object, wherein the preset condition is as follows: the area of the lower part of the first object covered by the target object in a floating way is larger than the area of the upper part of the first object covered by the target object in a floating way, and the first object is as follows: any other page thumbnail except the page thumbnail as the target object in the page thumbnail list;
when the target object meets a preset condition, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
and when the target object does not meet the preset condition, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position.
The electronic equipment can detect the position to which the target object is dragged in real time or at regular time in the process of detecting that the user performs dragging operation on the target object, namely, the position of the target object is determined, and then whether the target object meets a preset condition or not is determined based on the position of the target object, and then an alternative adjusting position corresponding to the position of the target object is determined based on a judgment result.
When the target object meets the preset condition, namely the target object is suspended above the first object, and the area covering the lower part of the first object is larger than the area covering the upper part of the first object in a suspending manner, namely the area covering the lower part of the first object in a suspending manner by the target object is larger than the area covering the upper part of the first object in a suspending manner by the target object; and determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position. It is understood that when the target object satisfies the preset condition, the position between the first object and the previous object of the first object is taken as the alternative adjustment position corresponding to the position where the target object is located.
When the target object does not meet the preset condition, namely the target object is suspended above the first object, and the area covering the lower part of the first object is not larger than the area covering the upper part of the first object in a suspending manner, namely the area covering the lower part of the first object in a suspending manner by the target object is not larger than the area covering the upper part of the first object in a suspending manner by the target object; and determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position. It can be understood that when the target object does not satisfy the preset condition, the position between the first object and the subsequent object of the first object is taken as an alternative adjustment position corresponding to the position of the target object; or when the first object is the last page thumbnail in the page thumbnail list, taking the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object.
In one implementation, the position of the target object may be identified by coordinates of edge points of the target object. In one case, the lower portion of the first object may refer to a portion below a midline of the first object, and the lower portion of the first object may refer to a portion above the midline of the first object. For example, when a pixel point at the lower left corner of the electronic device is taken as an origin, the row of the pixel point is taken as a horizontal axis, and the column of the pixel point is taken as a vertical axis, so as to establish a coordinate system. The lower portion of the first object may refer to a portion of the first object corresponding to a ordinate value smaller than an ordinate value of a center line of the first object. The upper portion of the first object may refer to a portion of the first object corresponding to a ordinate value not less than an ordinate value of a center line of the first object.
In one implementation, after the step of adjusting the target object to the target adjustment position in the case that the release instruction of the target object by the user is detected, the method may further include:
and determining and saving the current display sequence of each page in the document, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
In the embodiment of the invention, in order to achieve the purpose of really adjusting the position of the target object and improve the user experience, after the position of the target object is adjusted, the current display sequence of each page in the document is determined and stored, so that each page of the document is displayed in the stored current display sequence when the document is displayed again.
In one implementation, as shown in fig. 2, an embodiment of the present invention may include the following steps:
s201: after the position adjusting instruction is obtained, determining a target object of a position to be adjusted;
wherein the position adjustment instruction is: instructions to indicate a target object for which a position is determined to be adjusted;
s202: in the process of detecting that a user performs dragging operation on a target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
the S201 is the same as S101 shown in fig. 1, and the S202 is the same as S102 shown in fig. 1.
S203: under the condition that a release instruction of a user to a target object is detected, judging whether other objects exist after the position of the target is adjusted;
wherein, the other objects are: objects except the target object with the corresponding display position behind the target adjustment position;
s204: when other objects exist after the target adjustment position is judged, sequentially moving the size of the target object backwards at the display position corresponding to each other object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
s205: and inserting the target object into the target adjusting position.
Wherein, the target adjustment position is: when a release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is as follows: the user triggers an instruction based on the displayed preset prompt line;
in the embodiment of the present invention, when the target object is adjusted to the target adjustment position, and when other objects exist after the target adjustment position, the other objects need to be sequentially moved backward by one position, that is, the display position corresponding to each existing other object is sequentially moved backward by the size of the target object, so as to leave an insertion position for the target object at the target adjustment position. And subsequently, inserting the target object into the target adjusting position, and sequentially displaying the corresponding other objects at the new display position of each other object.
The following describes a display position adjustment method according to an embodiment of the present invention.
After a user opens a document through the electronic device, when the user has a need to adjust the display position for a page in the document, a position adjustment instruction may be triggered. And the electronic equipment obtains the position adjusting instruction and obtains a page thumbnail list corresponding to the currently displayed document. As shown in fig. 3, a partial list of a page thumbnail list corresponding to a document currently displayed by the electronic device, wherein the partial list of the page thumbnail list can represent: the page corresponding to the page thumbnail numbered "1" is currently being presented, and the highlighted portion may represent: the part of the page corresponding to the page thumbnail with the reference number of "1" currently shown on the display connected with the electronic device can be represented by the shaded part: the method comprises the steps that a part of a page corresponding to a page thumbnail with the reference number of 1, which is not displayed currently, of a display connected with the electronic equipment is displayed; and the page corresponding to the page thumbnail numbered as "2" and the page corresponding to the page thumbnail numbered as "3" are not displayed to the user at all, and the page thumbnail numbered as "2" and the page thumbnail numbered as "3" are both highlighted. Wherein the identification of the page thumbnail is indicated by a reference numeral, as shown in fig. 3.
The user may select a page thumbnail of a desired adjustment position with respect to the page thumbnail list to adjust the position of the page of the selected page thumbnail object in the document. The electronic equipment determines a target object of a position to be adjusted according to the selection operation of a user on the page thumbnail list, wherein the selection operation carries an identifier of a page thumbnail selected by the user, and the electronic equipment takes the page thumbnail selected by the user as the target object of the position to be adjusted. As shown in fig. 3, the user may select the page thumbnail numbered "1" through the left mouse button, and the electronic device takes the page thumbnail numbered "1" selected by the user as a target object.
A user triggers a dragging operation on the target object through a mouse, a finger or a touch pen, the electronic equipment determines an alternative adjusting position corresponding to the position of the target object in the process of detecting that the user performs the dragging operation on the target object, and displays a preset prompt line at the alternative adjusting position; specifically, it may be: and judging whether the target object meets a preset condition or not based on the position of the target object, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object when the target object meets the preset condition, namely the area of the lower part of the first object covered by the target object in a suspending manner is larger than the area of the upper part of the first object covered by the target object in a suspending manner, and displaying a preset prompt line at the alternative adjusting position. And when the target object does not meet the preset condition, namely the area of the lower part of the first object covered by the target object in a floating mode is not larger than the area of the upper part of the first object covered by the target object in a floating mode, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position. Here, the preset hint line is displayed as a straight line displayed at a position between the page thumbnail numbered "3" and the page thumbnail numbered "2" shown in fig. 3.
The user can identify whether the alternative adjusting position currently determined by the electronic equipment is the target position to which the user expects to adjust or not based on the displayed preset prompt line, and when the user determines that the alternative adjusting position currently determined by the electronic equipment is the target position to which the user expects to adjust, the target object can be released. At this time, when the electronic device detects a release instruction of the target object by the user, the target object is adjusted to the target adjustment position. Furthermore, the electronic device may select a current location of the page thumbnail corresponding to the operation based on the target object, and display the page corresponding to the page thumbnail corresponding to the selected operation, that is, the electronic device may display each page of the document based on the sequence of each page thumbnail in the currently adjusted page thumbnail list.
The process of releasing the target object may be: when the user selects the middle and drags the target object through the left mouse button, the user releases the left mouse button; when the user finger or the touch pen selects and drags the target object, the user finger or the touch pen leaves the display screen connected with the electronic equipment. The target position may be: the position to which the target object is adjusted as intended by the user.
Corresponding to the above method embodiment, an embodiment of the present invention provides a display position adjustment apparatus, as shown in fig. 4, the apparatus may include:
a determining module 410, configured to determine a target object to be position-adjusted after obtaining a position adjustment instruction, where the position adjustment instruction is: instructions to indicate a target object for which a position is determined to be adjusted;
a determining and displaying module 420, configured to determine, in a process of detecting that a user performs a dragging operation on the target object, an alternative adjustment position corresponding to a position where the target object is located, and display a preset prompt line at the alternative adjustment position;
an adjusting module 430, configured to, when a release instruction of the target object by the user is detected, adjust the target object to a target adjustment position, where the target adjustment position is: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
By applying the embodiment of the invention, in the process of detecting the dragging of the target object by the user, the preset prompt line is displayed according to the alternative adjusting position corresponding to the position of the target object, so that the user can clearly see whether the release instruction of the target object can be triggered, and reference is provided for the trigger time of the release instruction of the target object by the user. The method for adjusting the display position more intelligently is provided for the user, so that the user does not need to judge whether the position is proper or not by visual observation, namely whether the selected thumbnail can be dragged to the expected position to be adjusted or not is judged, the error rate of position adjustment caused by position errors generated by visual observation judgment of the user is reduced to a certain extent, the effect of position adjustment in place at one time is realized to a certain extent, and the user experience is improved.
In one implementation, the determining module 410 may include:
an obtaining unit, configured to obtain a page thumbnail list corresponding to a currently displayed document after obtaining a position adjustment instruction, where the page thumbnail list includes: page thumbnails corresponding to all pages contained in the document;
the determining unit is used for determining a target object of a position to be adjusted according to the selection operation of the user on the page thumbnail list, wherein the target object is as follows: and selecting the page thumbnail corresponding to the operation.
In one implementation, the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
In one implementation, the determination display module 420 is specifically configured to
In the process of detecting that a user performs dragging operation on a target object, determining the position of the target object;
judging whether the target object meets a preset condition or not based on the position of the target object, wherein the preset condition is as follows: the area of the lower part of the first object covered by the target object in a floating way is larger than the area of the upper part of the first object covered by the target object in a floating way, and the first object is as follows: any other page thumbnail except the page thumbnail serving as the target object in the page thumbnail list;
when the target object meets the preset condition, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
when the target object does not meet the preset condition, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position.
In one implementation, the apparatus further comprises:
and the determining and saving module is used for determining and saving the current display sequence of each page in the document after the target object is adjusted to a target adjustment position under the condition that the release instruction of the user to the target object is detected, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
In one implementation, the adjusting module 430 is specifically configured to
Judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
Corresponding to the above method embodiments, the embodiment of the present invention further provides an electronic device, as shown in fig. 5, including a processor 510, a communication interface 520, a memory 530 and a communication bus 540, where the processor 510, the communication interface 520, and the memory 530 complete mutual communication through the communication bus 540,
a memory 530 for storing a computer program;
the processor 510 is configured to, when executing the computer program stored in the memory 530, implement any of the display position adjustment method steps provided in the embodiments of the present invention:
after obtaining a position adjusting instruction, determining a target object to be adjusted in position, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted;
in the process of detecting that a user performs dragging operation on the target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
under the condition that a release instruction of the user to the target object is detected, adjusting the target object to a target adjustment position, wherein the target adjustment position is as follows: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
By applying the embodiment of the invention, in the process of detecting the dragging of the target object by the user, the preset prompt line is displayed according to the alternative adjusting position corresponding to the position of the target object, so that the user can clearly see whether the release instruction of the target object can be triggered, and reference is provided for the trigger time of the release instruction of the target object by the user. The method for adjusting the display position more intelligently is provided for the user, so that the user does not need to judge whether the position is proper or not by visual observation, namely whether the selected thumbnail can be dragged to the expected position to be adjusted or not is judged, the error rate of position adjustment caused by position errors generated by visual observation judgment of the user is reduced to a certain extent, the effect of position adjustment in place at one time is realized to a certain extent, and the user experience is improved.
In one implementation, the step of determining the target object whose position is to be adjusted after obtaining the position adjustment instruction includes:
after obtaining the position adjustment instruction, obtaining a page thumbnail list corresponding to the currently displayed document, wherein the page thumbnail list comprises: page thumbnails corresponding to all pages contained in the document;
determining a target object of a position to be adjusted according to the selection operation of the user on the page thumbnail list, wherein the target object is as follows: and selecting the page thumbnail corresponding to the operation.
In one implementation, the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
In one implementation manner, in the process of detecting that the user performs the drag operation on the target object, the step of determining an alternative adjustment position corresponding to the position where the target object is located and displaying a preset prompt line at the alternative adjustment position includes:
in the process of detecting that a user performs dragging operation on a target object, determining the position of the target object;
judging whether the target object meets a preset condition or not based on the position of the target object, wherein the preset condition is as follows: the area of the lower part of the first object covered by the target object in a floating way is larger than the area of the upper part of the first object covered by the target object in a floating way, and the first object is as follows: any other page thumbnail except the page thumbnail serving as the target object in the page thumbnail list;
when the target object meets the preset condition, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
when the target object does not meet the preset condition, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position.
In one implementation, after the step of adjusting the target object to a target adjustment position in a case where the release instruction of the target object by the user is detected, the method further includes:
and determining and saving the current display sequence of each page in the document, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
In one implementation, the step of adjusting the target object to a target adjustment position includes:
judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Corresponding to the above method embodiments, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements any of the display position adjustment method steps provided by the embodiments of the present invention:
after obtaining a position adjusting instruction, determining a target object to be adjusted in position, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted;
in the process of detecting that a user performs dragging operation on the target object, determining an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
under the condition that a release instruction of the user to the target object is detected, adjusting the target object to a target adjustment position, wherein the target adjustment position is as follows: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
By applying the embodiment of the invention, in the process of detecting the dragging of the target object by the user, the preset prompt line is displayed according to the alternative adjusting position corresponding to the position of the target object, so that the user can clearly see whether the release instruction of the target object can be triggered, and reference is provided for the trigger time of the release instruction of the target object by the user. The method for adjusting the display position more intelligently is provided for the user, so that the user does not need to judge whether the position is proper or not by visual observation, namely whether the selected thumbnail can be dragged to the expected position to be adjusted or not is judged, the error rate of position adjustment caused by position errors generated by visual observation judgment of the user is reduced to a certain extent, the effect of position adjustment in place at one time is realized to a certain extent, and the user experience is improved.
In one implementation, the step of determining the target object whose position is to be adjusted after obtaining the position adjustment instruction includes:
after obtaining the position adjustment instruction, obtaining a page thumbnail list corresponding to the currently displayed document, wherein the page thumbnail list comprises: page thumbnails corresponding to all pages contained in the document;
determining a target object of a position to be adjusted according to the selection operation of the user on the page thumbnail list, wherein the target object is as follows: and selecting the page thumbnail corresponding to the operation.
In one implementation, the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
In one implementation manner, in the process of detecting that the user performs the drag operation on the target object, the step of determining an alternative adjustment position corresponding to the position where the target object is located and displaying a preset prompt line at the alternative adjustment position includes:
in the process of detecting that a user performs dragging operation on a target object, determining the position of the target object;
judging whether the target object meets a preset condition or not based on the position of the target object, wherein the preset condition is as follows: the area of the lower part of the first object covered by the target object in a floating way is larger than the area of the upper part of the first object covered by the target object in a floating way, and the first object is as follows: any other page thumbnail except the page thumbnail serving as the target object in the page thumbnail list;
when the target object meets the preset condition, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position;
when the target object does not meet the preset condition, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object, and displaying a preset prompt line at the alternative adjusting position.
In one implementation, after the step of adjusting the target object to a target adjustment position in a case where the release instruction of the target object by the user is detected, the method further includes:
and determining and saving the current display sequence of each page in the document, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
In one implementation, the step of adjusting the target object to a target adjustment position includes:
judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A display position adjustment method, characterized by comprising:
after obtaining a position adjusting instruction, determining a target object to be adjusted in position, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted;
in the process of detecting that the user performs the dragging operation on the target object, when the area of the lower part of the first object covered by the target object in a floating mode is larger than the area of the upper part of the first object covered by the target object in a floating mode, determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object, and when the area of the lower part of the first object covered by the target object in a floating mode is not larger than the area of the upper part of the first object covered by the target object in a floating mode, determining the bottom position of the first object as an alternative adjusting position corresponding to the position of the target object; displaying a preset prompt line at the alternative adjusting position; wherein the target object is: selecting a page thumbnail corresponding to the operation, wherein the first object is as follows: any other page thumbnail except the page thumbnail of the target object;
under the condition that a release instruction of the user to the target object is detected, adjusting the target object to a target adjustment position, wherein the target adjustment position is as follows: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
2. The method of claim 1, wherein the step of determining the target object to be positionally adjusted after obtaining the position adjustment instruction comprises:
after obtaining the position adjustment instruction, obtaining a page thumbnail list corresponding to the currently displayed document, wherein the page thumbnail list comprises: page thumbnails corresponding to all pages contained in the document;
and determining a target object at the position to be adjusted according to the selection operation of the user on the page thumbnail list.
3. The method according to claim 2, wherein the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
4. The method according to claim 2, wherein after the step of adjusting the target object to a target adjustment position in case of detecting a release instruction of the target object by the user, the method further comprises:
and determining and saving the current display sequence of each page in the document, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
5. The method according to any one of claims 1-4, wherein the step of adjusting the target object to a target adjustment position comprises:
judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
6. A display position adjustment apparatus, characterized in that the apparatus comprises:
the determining module is used for determining a target object with a position to be adjusted after obtaining a position adjusting instruction, wherein the position adjusting instruction is as follows: instructions to indicate a target object for which a position is determined to be adjusted;
the determining and displaying module is used for determining the top position of the first object as an alternative adjusting position corresponding to the position of the target object when the area of the lower part of the first object covered by the target object in a floating mode is larger than the area of the upper part of the first object covered by the target object in a floating mode in the process of detecting that the user performs the dragging operation on the target object, and determining the bottom position of the first object as the alternative adjusting position corresponding to the position of the target object when the area of the lower part of the first object covered by the target object in a floating mode is not larger than the area of the upper part of the first object covered by the target object in a floating mode; displaying a preset prompt line at the alternative adjusting position; wherein the target object is: selecting a page thumbnail corresponding to the operation, wherein the first object is as follows: any other page thumbnail except the page thumbnail of the target object;
an adjusting module, configured to, when a release instruction of the target object by the user is detected, adjust the target object to a target adjustment position, where the target adjustment position is: when the release instruction is detected, the alternative adjustment position corresponding to the position where the target object is located is determined, where the release instruction is: the user triggers an instruction based on the displayed preset hint line.
7. The apparatus of claim 6, wherein the determining module comprises:
an obtaining unit, configured to obtain a page thumbnail list corresponding to a currently displayed document after obtaining a position adjustment instruction, where the page thumbnail list includes: page thumbnails corresponding to all pages contained in the document;
and the determining unit is used for determining a target object at a position to be adjusted according to the selection operation of the user on the page thumbnail list.
8. The apparatus of claim 7, wherein the alternative adjustment position is a position between two adjacent page thumbnails in the page thumbnail list; or, the top position of the first page thumbnail in the page thumbnail list; or, the lower position of the last page thumbnail in the page thumbnail list.
9. The apparatus of claim 7, further comprising:
and the determining and saving module is used for determining and saving the current display sequence of each page in the document after the target object is adjusted to a target adjustment position under the condition that the release instruction of the user to the target object is detected, so that each page of the document is displayed in the saved current display sequence when the document is displayed again.
10. Device according to any of claims 6 to 9, characterized in that the adjustment module, in particular for adjusting the position of the device, is provided
Judging whether other objects exist after the target position is adjusted, wherein the other objects are as follows: objects other than the target object with the corresponding display positions after the target adjustment position;
when other objects exist after the target adjustment position is judged, sequentially moving the display position corresponding to each other object backward by the size of the target object to obtain a new display position corresponding to each other object, and displaying the corresponding other objects at the new display position corresponding to each other object;
and inserting the target object at the target adjustment position.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the display position adjustment method steps of any one of claims 1 to 5 when executing the computer program stored in the memory.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the display position adjustment method steps of any one of claims 1 to 5.
CN201811242819.3A 2018-10-24 2018-10-24 Display position adjusting method and device and electronic equipment Active CN111090381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811242819.3A CN111090381B (en) 2018-10-24 2018-10-24 Display position adjusting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811242819.3A CN111090381B (en) 2018-10-24 2018-10-24 Display position adjusting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111090381A CN111090381A (en) 2020-05-01
CN111090381B true CN111090381B (en) 2021-11-19

Family

ID=70392098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811242819.3A Active CN111090381B (en) 2018-10-24 2018-10-24 Display position adjusting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111090381B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710268A (en) * 2009-12-17 2010-05-19 深圳华为通信技术有限公司 Method and device for adjusting page layout
CN103238126A (en) * 2010-09-01 2013-08-07 帕勒·伊斯有限责任公司 System and method for presentation creation
CN104881232A (en) * 2015-05-15 2015-09-02 青岛海信移动通信技术股份有限公司 Page ordering method and device for operation interface
CN105892869A (en) * 2016-04-28 2016-08-24 北京小米移动软件有限公司 Image position adjusting method and device
CN106598412A (en) * 2016-11-25 2017-04-26 杭州日阅通讯有限公司 Digital book interactive rearrangement system and implementation method therefor
CN106998391A (en) * 2017-04-05 2017-08-01 网易(杭州)网络有限公司 Method, device and the computer-readable recording medium adjusted for calendar picture sequence
EP3258679A1 (en) * 2009-01-23 2017-12-20 Samsung Electronics Co., Ltd. Mobile terminal having dual touch screen and method of controlling content therein

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7596760B2 (en) * 2005-04-07 2009-09-29 Microsoft Corporation System and method for selecting a tab within a tabbed browser
US8276098B2 (en) * 2006-12-22 2012-09-25 Apple Inc. Interactive image thumbnails
CN101937461A (en) * 2010-09-01 2011-01-05 百度在线网络技术(北京)有限公司 Page turning operation-based method and equipment for optimizing web browsing
US9183658B2 (en) * 2011-11-14 2015-11-10 Microsoft Technology Licensing, Llc Animation creation and management in presentation application programs
US8963962B2 (en) * 2012-03-06 2015-02-24 Apple Inc. Display of multiple images
CN104484613A (en) * 2014-11-26 2015-04-01 形山科技(深圳)有限公司 Picture processing method and device
US10104282B2 (en) * 2015-09-30 2018-10-16 Ricoh Co., Ltd. Yaw user interface
CN105657289B (en) * 2016-03-28 2018-05-08 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN107450809B (en) * 2016-05-30 2020-10-27 创新先进技术有限公司 Page interaction method and device and electronic terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3258679A1 (en) * 2009-01-23 2017-12-20 Samsung Electronics Co., Ltd. Mobile terminal having dual touch screen and method of controlling content therein
CN101710268A (en) * 2009-12-17 2010-05-19 深圳华为通信技术有限公司 Method and device for adjusting page layout
CN103238126A (en) * 2010-09-01 2013-08-07 帕勒·伊斯有限责任公司 System and method for presentation creation
CN104881232A (en) * 2015-05-15 2015-09-02 青岛海信移动通信技术股份有限公司 Page ordering method and device for operation interface
CN105892869A (en) * 2016-04-28 2016-08-24 北京小米移动软件有限公司 Image position adjusting method and device
CN106598412A (en) * 2016-11-25 2017-04-26 杭州日阅通讯有限公司 Digital book interactive rearrangement system and implementation method therefor
CN106998391A (en) * 2017-04-05 2017-08-01 网易(杭州)网络有限公司 Method, device and the computer-readable recording medium adjusted for calendar picture sequence

Also Published As

Publication number Publication date
CN111090381A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
US11301126B2 (en) Icon control method and terminal
US9519369B2 (en) Touch screen selection
WO2017032189A1 (en) Screen capture method and apparatus
CN105373326B (en) Data processing system and method
US20180121076A1 (en) Drawing processing method, drawing program, and drawing device
CN107608668B (en) Method and device for making and compatibly displaying H5 page, terminal equipment and storage medium
US20100039449A1 (en) Menu controlling method
JP2017504877A (en) Method and apparatus for click object enlargement based on floating touch
CN106325663B (en) Mobile terminal and its screenshotss method
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
CN106201234A (en) The inspection method of content of pages and device
EP2902897A1 (en) Word processing method and apparatus for touchscreen intelligent device
US8954873B2 (en) Information processing apparatus, information processing method and computer readable medium
CN106648281B (en) Screenshot method and device
CN106201235A (en) The method of object choice, device and terminal
CN104778007A (en) Screen capturing method and screen capturing device
CN107391914B (en) Parameter display method, device and equipment
CN106201295B (en) Message copying method and device and intelligent terminal
CN111143731A (en) Display method and device for webpage interface zooming and terminal equipment
CN111090381B (en) Display position adjusting method and device and electronic equipment
JP2016110604A (en) Page turning system and method
CN105573610A (en) Spreadsheet operation methods and apparatuses
US20160357395A1 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
CN112947805A (en) Icon sorting method and device
CN111832270B (en) Method and device for displaying line numbers and column labels of tables in non-table document and electronic equipment

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