CN108446070A - A kind of method and device for browsing information - Google Patents

A kind of method and device for browsing information Download PDF

Info

Publication number
CN108446070A
CN108446070A CN201810158740.6A CN201810158740A CN108446070A CN 108446070 A CN108446070 A CN 108446070A CN 201810158740 A CN201810158740 A CN 201810158740A CN 108446070 A CN108446070 A CN 108446070A
Authority
CN
China
Prior art keywords
window
information
movement
browsing information
advance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810158740.6A
Other languages
Chinese (zh)
Inventor
许朗朗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chen Sen Century Polytron Technologies Inc
Original Assignee
Beijing Chen Sen Century Polytron Technologies Inc
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 Chen Sen Century Polytron Technologies Inc filed Critical Beijing Chen Sen Century Polytron Technologies Inc
Priority to CN201810158740.6A priority Critical patent/CN108446070A/en
Publication of CN108446070A publication Critical patent/CN108446070A/en
Pending legal-status Critical Current

Links

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/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • 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
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

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 invention discloses a kind of methods for browsing information, including:Receive the click commands for browsing information in window in advance;The click location for browsing information in window in advance is obtained according to the click commands;Obtain the target location for browsing information movement in window in advance;Using the click location for browsing information in window in advance as first position movement of the first position to the second position is completed using the target location for browsing information movement in window in advance as the second position.When solving using mouse roller and gesture sliding browsing information, low precision and the larger sliding of high-precision span can not be done by existing, and while there are problems that browsing information needs repeatedly sliding that can just be moved to preferably to browse position.

Description

A kind of method and device for browsing information
Technical field
This application involves information browse technologies, and in particular to a kind of dress of method and browsing information for browsing information It sets.
Background technology
With the development of information technology, the terminal for browsing information not only has PC, various intelligent terminals also to obtain Prodigious development, such as smart mobile phone, electric paper book not only have mouse action also to have touch screen operation in mode of operation, in individual It on computer when browsing document, is rolled usually using mouse, often the ceaselessly idler wheel of sliding mouse, it sometimes will browsing Content skid off browser window, at this moment can only roll in the opposite direction again return browsing content, scrolled through with correcting last time The problem of spending, and being rolled using mouse roller can not do low precision and the larger rolling of high-precision span.Using touch side When formula browses information on the touchscreen, when such as single hand operation of mobile phone, since the screen of smart mobile phone is increasing, only slide Screen, the position often moved is smaller, and information cannot be moved to the preferable browsing position of screen.Next it also needs to do repetition The action of sliding is to correct the not in place of last time sliding.
Therefore, it can be seen from the prior art that when using mouse roller and gesture sliding browsing information, existing can not Need repeatedly sliding that can just be moved to when doing low precision and the larger sliding of high-precision span, and there is browsing information preferably clear Look at position the problem of.
Invention content
The application provides a kind of method for browsing information, to solve to slide using mouse roller and gesture under the prior art When dynamic browsing information, low precision and the larger sliding of high-precision span can not be done by existing, and while there is browsing information need it is more Secondary sliding can just be moved to the problem of preferably browsing position.
This application provides a kind of methods for browsing information, including:
Receive the click commands for browsing information in window in advance;
The click location for browsing information in window in advance is obtained according to the click commands;
Obtain the target location for browsing information movement in window in advance;
Using the click location for browsing information in window in advance as first position, the target of information movement will be browsed in window in advance Movement of the first position to the second position is completed as the second position in position.
Preferably, the pre- browsing information in the window includes:In webpage information that browser window is shown, APP windows The information that embedding webpage information, other editors or browsing software window is shown.
Preferably, the target location for browsing information movement in the window in advance, for any in the browsing messagewindow Position.
Preferably, the target location for browsing information movement in the window in advance is obtained, specially:
Obtain the position pre-defined by JavaScript scripts in browser window.
Preferably, the target position for browsing information movement in the click location and window of information in advance is browsed in the window in advance It sets, obtains in the following way:
Coordinate system is established in browser window, the window upper left corner is defined as to the coordinate origin of the window, by coordinate origin X-axis of the straight line being linked to be along browsing area top edge to the right as the coordinate system, by coordinate origin down along the browsing area left side The Y-axis of straight line that edge is linked to be and the straight line vertical with X-axis as the coordinate system;
Using the click location of pre- browsing information relative to coordinate origin coordinate position as browsing information in advance in window Click location;
The target location of pre- browsing information movement is used as in window in advance relative to the coordinate position of coordinate origin to browsing is believed Cease mobile target location.
Preferably, further include, according to the target position of the click location for browsing information in window in advance and pre- browsing information movement Set the distance between the target location for obtaining the click location for browsing information in window in advance and pre- browsing information movement.
Preferably, it is browsed in advance in the window between the click location of information and the target location of pre- browsing information movement Distance refers to vertical range or parallel distance.
Preferably, it is browsed in advance in the window between the click location of information and the target location of pre- browsing information movement Distance is calculated by the following method:
The click location of information is browsed in window in advance and the vertical range between the target location of browsing information movement is in advance Browsed in advance in window between the ordinate of the click location of information and the ordinate of the target location of pre- browsing information movement away from From;
The click location of information is browsed in window in advance and the parallel distance between the target location of browsing information movement is in advance Browsed in advance in window between the abscissa of the click location of information and the abscissa of the target location of pre- browsing information movement away from From.
Preferably, further include that the movement for completing first position to the second position is specially:
Movement of the first position to the second position is completed within the set time with movement speed determining as follows;
Wherein, the movement speed is:It is browsed in advance between the click location of information and the target location of movement in window The time of distance divided by the setting.
Preferably, further include that the movement for completing first position to the second position is specially:
Movement of the first position to the second position is completed with the speed of setting within the time determining as follows;
Wherein, the time of the determination is:The click location of pre- browsing information and mobile the distance between target location Divided by the speed of the setting.
Preferably, the completion movement of the first position to the second position refer to, from first position with the smooth side of animation Formula completes the movement to the second position.
Preferably, the completion movement of the first position to the second position, including following any moving direction:To moving up It moves, move down, be moved to the left or move right.
Preferably, the moving direction is determined as follows:
If there is up-down scroll bar in window, the pre- target location for browsing information movement is located at the centre of window, in window in advance The click location of browsing information is located at the below or above of target location, then complete first position to the upward of the second position or to Lower rolling;
If there is left-right scroll bar in window, the pre- target location for browsing information movement is located at the centre of window, in window in advance The click location of browsing information is located at the right or left of target location, then complete first position to the second position to the left or to Right rolling;
If having up-down scroll bar in window, and there is left-right scroll bar, the pre- target location for browsing information movement is located at window Mouthful centre, the click location for browsing information in window in advance is located at the below or above of target location, then complete first position to The second position scrolls up.
Preferably, the movement completed in such a way that animation is smooth from first position to the second position, including:
Within the set time, it according to the movement speed of acquisition, is completed from first position in such a way that animation is smooth The movement of two positions;
With the movement speed of setting, according to the time of acquisition, completed from first position to second in such a way that animation is smooth The movement of position.
Preferably, the target location for browsing information movement in the acquisition window in advance is specially:
Any position in window is again tapped on, as the target location of pre- browsing information movement.
The application provides a kind of device of browsing information simultaneously, including:
Click commands receiving unit, for receiving the click commands for browsing information in window in advance;
Click location acquiring unit obtains the click location for browsing information in window in advance according to the click commands;
Target location acquiring unit, for obtaining the target location for browsing information movement in window in advance;
Position mobile unit will be pre- in window for the click location using information is browsed in window in advance as first position The target location of information is browsed as the second position, completes movement of the first position to the second position.
The application provides a kind of electronic equipment of browsing information simultaneously, including:
Processor;
Memory, the program for storing browsing information approach, described program are held when reading execution by the processor The following operation of row:
Receive the click commands for browsing information in window in advance;
The click location for browsing information in window in advance is obtained according to the click commands;
Obtain the target location for browsing information movement in window in advance;
Using the click location for browsing information in window in advance as first position, the target location of information will be browsed in window in advance As the second position, movement of the first position to the second position is completed.
Compared with prior art, the method provided by the present application for browsing information browses the target of information by setting The information browsed in advance is automatically moved to target location, institute by position by clicking the information browsed in advance in such a way that animation is smooth It is exactly the preferable browsing position being arranged to state target location, when using mouse roller and gesture sliding browsing information to solve, Need repeatedly sliding that could move in the presence of when can not do low precision and the larger sliding of high-precision span, and there is browsing information The problem of to preferable browsing position.
Description of the drawings
Fig. 1 is the method schematic diagram for the browsing information that the application first embodiment provides;
Fig. 2 is that the determination that the application first embodiment is related to browses the click location of information and the signal of target location in advance Figure;
Fig. 3 is the schematic device for the browsing information that the application first embodiment provides;
Fig. 4 is the electronic equipment schematic diagram for the browsing information that the application first embodiment provides.
Specific implementation mode
Many details are elaborated in the following description in order to fully understand the application.But the application can be with Much implement different from other manner described here, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
Fig. 1 is please referred to, which is a kind of method schematic diagram for browsing information that the application first embodiment provides.
Step S101 receives the click commands for browsing information in window in advance.
This step is for determining the information browsed in advance in window.
The information of the pre- browsing, is determined by click commands, for example, using a line text information on webpage as pre- The information of browsing, then by clicking this row text information, just by this row text information on webpage as the letter browsed in advance Breath, and this information can be moved to a specified location point and then be browsed again, and this specified location point is usual It is exactly preferable browsing position, and the setting for preferably browsing position is to be accustomed to according to the browsing of people and freely set.For example, having Webpage developer, it is believed that the centre position of webpage is exactly that preferably browsing position, an and some Web page developer is considered as The position of webpage upper end is a preferably browsing position.So this specified location point is not a fixed location point, it can To be any location point in browser window.
The information browsed in advance in the window, including:Webpage information that browser window is shown, APP windows are embedded The information that webpage information, other editors or browsing software window are shown.The information browsed in advance not only has text information, also picture Information further includes browser window, APP embedded browser window, copy editor's software window and document browsing software window All information of interior display.
Such as when browsing news item in browser window, the information browsed in advance in this news is then clicked, it is described Click includes the click and progress touch-control click on the touchscreen of mouse.In some softwares for editing, such as use Microsoft Word document software for editing opens a document, and the information browsed in advance in document is clicked in documentation window, and such as The information that fruit is browsed in advance is a hyperlinked information, also use usually it is appreciated that click (click) mode, turn on This hyperlinked information, so in order to adapt to this particularity of display information, it by the way of long-press can be to avoid point Hyperlink is opened when hitting, so click described herein refers to that long-press, long-press are a kind of preferred under normal circumstances Realization method.
Step S102 obtains the click location for browsing information in window in advance according to the click commands.
This step is used for, and the click location for browsing information in window in advance is obtained according to the click commands of pre- browsing information.
The click commands also obtain pre- browsing by click commands for obtaining the information browsed in advance in window The click location of information, the click location of the pre- click location i.e. click commands for browsing information.
Such as when browsing news item in browser window, the text information browsed in advance in this news is then clicked, The position so clicked is exactly the click location for browsing information in this news in advance.
Step S103 obtains the target location for browsing information movement in window in advance.
This step is used for, and is obtained in window and is browsed the target location that information claims in advance, according to browsing information in advance in window Click location is determined with mobile target location at a distance between the two.
The target location of the movement can be provided with before clicking the information browsed in advance.For example, browsing When webpage information, the developer of webpage thinks that the centre position of window is the preferable browsing position of viewer, so being opened in webpage When hair, the centre position of window can be defined previously as to mobile target location using JavaScript scripts.And have Web page developer think that the upper end of window is the preferable browsing position of viewer, so in webpage development, use The upper end position of window is defined previously as mobile target location by JavaScript scripts.For another example using When Microsoft word document softwares for editing, the application can be browsed to the application method of information as Microsoft word A plug-in unit, which is recalled by menu facility column, passes through and selects preset three mobile target locations in upper, middle and lower The target location of pre- browsing information movement is set, can also by customized mode any point in browser window be set For mobile target location.
Mobile target location is the relative position in window, does not include the toolbar of upper and lower, left and right in window, such as Set the centre position of webpage to the target location of pre- browsing information, when browsing information in webpage, mobile target location It is the centre position in web page display area, does not include browser or the upper and lower, left and right toolbar of APP.For another example using text Shelves software for editing Microsoft Word are edited or when browsing document, centre position are set to mobile target location, clear Look at information when, mobile target location is the centre position in documents editing region, also do not include in software window it is upper and lower, left, Right toolbar.
Although at this moment can determine the target for being browsed in advance in window and browsing information movement in Information position and window in advance Position, but the two positions are all opposite positions, are not the positions with clear location point, the position of the clear location point It is exactly the position with specific coordinate points.It is pre- clear in the coordinate points and window for browsing Information position in window in advance determining When the coordinate points of the target location of information of looking at movement, it is necessary first to establish coordinate system in browser window, the foundation of coordinate system, It is established when clicking pre- browsing information, it is generally the case that the upper left corner of window is defined as to the origin of coordinate system, why by upper left Angle is defined as the origin of coordinate system, is the coordinate system established because of the upper left corner is defined as the origin of coordinate system, in origin position It is not in scroll bar up and down to set, and when determining coordinate position, program will simplify very much, facilitates the pre- browsing letter of calculating The coordinate of the click location of breath and mobile target location coordinate.If browser window is webpage, just by web displaying area The upper left corner in domain is defined as the coordinate origin of the webpage, just will be literary if browser window is Microsoft Word softwares The upper left corner of shelves editing area is defined as the coordinate origin of the page.Then coordinate origin is connected along display area top edge to the right At X-axis of the straight line as the coordinate system, the straight line that coordinate origin is linked to be down along display area left hand edge is simultaneously vertical with X-axis Y-axis of the straight line as the coordinate system, X-axis intersects at origin with Y-axis.As shown in Fig. 2, Fig. 2 is the determination that the present embodiment is related to The schematic diagram of the click location and target location of pre- browsing information, defines coordinate system, the first position in figure is exactly in window The click location of information is browsed in window in advance, the second position is exactly the target location of pre- browsing information movement.Again by X-axis and Y-axis Divide a unit by every 100 pixel, using the click location of pre- browsing information relative to coordinate origin coordinate position as window The coordinate of the click location of information is browsed in mouthful in advance;Coordinate by the target location of pre- browsing information movement relative to coordinate origin Coordinate of the position as the target location for browsing information movement in window in advance.Obtaining the click position for browsing information in window in advance The coordinate of the coordinate and mobile target location set, so that it may which to obtain the distance between the two coordinate positions, and the two are sat The distance between cursor position refers to vertical range or parallel distance.The click location and pre- browsing for browsing information in window in advance are believed It ceases the vertical range between mobile target location and is equal to the ordinate for the click location for browsing information in window in advance and pre- browsing The distance between the ordinate of target location of information movement;The click location and pre- browsing information for browsing information in window in advance are moved Parallel distance between dynamic target location is equal to the abscissa for the click location for browsing information in window in advance and pre- browsing information The distance between mobile abscissa of target location.
It is vertical between the click location for browsing information in window in advance and the target location of pre- browsing information movement obtaining After distance or parallel distance, if the situation that the time that the click location for browsing information in window in advance is moved to target location determines Under, for example, information is browsed in browser window, if the time that the information browsed in advance is moved to target location is 1 second, i.e., one It is completed in second, then just needing by the way that mobile speed is calculated, the movement speed obtains by the following method:It is mobile Speed is the time of the distance between the click location for browsing information in window in advance and mobile target location divided by setting.So Next just information will be browsed in advance with the movement speed being calculated in window and target location is moved to the speed, and Movement is completed in 1 second.
And obtaining hanging down between the click location for browsing information in window in advance and the target location of pre- browsing information movement After straight distance or parallel distance, if the feelings that the click location for browsing information in window in advance is determined to target location in mobile speed Under condition, for example, carrying out fixed point browsing information in browsing device net page, setting movement speed is 500 pixel per second, then just needing Movement is calculated to fix time really, the time of the determination obtains by the following method:The determining time is pre- browsing information The distance between click location and mobile target location divided by setting speed.So next just it is being calculated really Information will be browsed in window in advance with the speed of 500 pixel per second and completed the movement to target location in fixed time.
Step S104 will browse information in advance using the click location for browsing information in window in advance as first position in window Target location as the second position, complete movement of the first position to the second position.
This step is used for, and according to the coordinate of the coordinate of first position and the second position, determines mobile direction, then by the It completes to move to the second position in such a way that animation is smooth in one position.
First position includes to the moving direction of the second position:It moves up, move down, be moved to the left or move right It is dynamic.If when not needing page turning or rolling view, clicking the information browsed in advance without scroll bar in the window of browsing information in advance It would not be moved to target location.If the second position is set as the top of window, if the rolling in browsing messagewindow in advance When dynamic item arrived bottom, clicking the information browsed in advance would not move to target location.Similarly, if the second position When being set as the leftmost, rightmost, bottom of window, if the scroll bar in browsing messagewindow has reached most respectively in advance The information browsed in advance is clicked when right, leftmost, the top to be moved to target location.
Information is being browsed using browser, the target location of pre- browsing information movement, that is, second position setting is located at window Centre when, cannot be on a screen by all the elements when the content browsed on webpage is more, such as a news content is more When all showing complete, just occur up-down scroll bar in browser window, at this moment clicks the information browsed in advance, it will basis The coordinate system that display window described in step 3 is established determines the coordinate position of first position and the coordinate position of the second position, At this moment the distance between first position and the second position can be further determined that, because browser has up-down scroll bar, First position is exactly that the distance between the ordinate of first position and the ordinate of the second position hang down at a distance from the second position Straight distance.Also it can determine that first position is located at the orientation of the second position, if the below or above positioned at the second position, at this moment If fixed in the mobile time, according to the traveling time of setting, further according to first determined in step 3 Set with the i.e. vertical range of the ordinate of second position distance, in the fixed traveling time, according to the movement speed of acquisition, If first position is located at the lower section of the second position, second is moved upwards up in such a way that animation is smooth from first position It sets;If first position is located at the top of the second position, is moved down into such a way that animation is smooth from first position Two positions.If fixed in mobile speed, according to the movement speed of setting, according to what is determined in step 3 The ordinate of first position and second position distance is vertical range, according to mobile speed, in the traveling time of acquisition, from First position moves either up or down to the second position in such a way that animation is smooth.If the ordinate and second of first position The ordinate set is identical, i.e., first position is parallel with abscissa in connecting line with the second position, then just without movement.
It is described in such a way that animation is smooth, refer to that a kind of dynamic display types, this mode are shown with intuitive way The whole process moved from first position to the second position, when first position is moved to the second position, if first position is located at The lower section of the second position, the display window of browser scroll up the information browsed in advance, until being rolled to the second position, so Stop rolling afterwards, while the information below first position also scrolls up simultaneously, whole process is visible.
For another example browsing information using browser, position is arranged in target location, that is, second position of pre- browsing information movement When the centre of window, when browsing webpage, due to adjusting the resolution ratio of display, occurs left and right flowing in browser window At this moment item clicks the information browsed in advance, the coordinate system at this moment just established according to the display window described in step 3 determines first The coordinate position of the coordinate position and the second position set, at this moment just can determine the distance between first position and the second position, Because it is exactly the abscissa and second of first position at a distance from the second position that browser, which has left-right scroll bar, first position, The distance between abscissa of position is parallel distance.Also it can determine that first position is located at the orientation of the second position, if position Right or left in the second position, it is at this moment if fixed in the mobile time, according to setting it is mobile when Between, it is parallel distance according to the abscissa of the first position and the second position that are determined in step 3 distance, in the traveling time It is interior, according to the movement speed of acquisition, it is moved to the left or right from first position to the second position in such a way that animation is smooth.If It is fixed in mobile speed, then according to the movement speed of setting, according to the first position determined in step 3 and the The abscissa distance of two positions is parallel distance, according to mobile speed, in the traveling time of acquisition, from first position with dynamic Smooth mode is drawn to be moved to the left or right to the second position.If the abscissa phase of the abscissa of first position and the second position Together, i.e., first position is parallel with the abscissa of the second position, then just without movement.
Also a kind of situation is exactly to have upper and lower scroll bar again in the pre- window for browsing information to have the scroll bar of left and right, example When such as the display scale of browser being expanded, or the display scale of Microsoft Word being expanded, can all occur simultaneously on The scroll bar of lower left and right, in this case, if determining that first position is located at the orientation of every two position according further to original method, i.e., It determines that first position is located at the lower section or top of the second position, while the right side that first position is located at the second position is also predefined Side or left, then will show that there are one the sides being moved to the left or right simultaneously for direction that one moves up or down To if browsing information using the present processes, the information in window will be moved up or down first, then to the left or to the right Information in mobile or window is first moved to the left or right, then is moved up or down.At this moment the information browsed is in window Feeling to people is exactly to shake, and this obvious user experience of shaking is very bad, or even affects the use of user.At this moment in order to Better user experience is also unlikely to influence the use of user, can ignore the scroll bar of left and right, can only consider upper and lower rolling Dynamic item.For example, when browsing news item, the display scale of browser is expanded, the part webpage information in window will exceed The range that window is shown, beyond browsing range part webpage information be likely to be advertising information, pay no attention to for users and It will not go to browse, so at this moment only can consider there is the case where up-down scroll bar, obtain hanging down for first position and the second position Then straight distance moves either up or down to the second position from first position in such a way that animation is smooth.Herein why only Scroll bar above and below considering does not consider the scroll bar of left and right, is determined according to practical the case where browsing information, certainly according to reality The scroll bar of left and right can also only be considered by applying situation, ignore upper and lower scroll bar.Window in mobile specific steps and the present embodiment When there was only up-down scroll bar in mouthful, the mode of realization is identical, is just not repeated to describe herein.
The target location that above-described embodiment browses information movement in advance has just been made a reservation for before obtaining pre- browsing information What justice was completed, then being also the target location that pre- browsing information movement can be arranged after obtaining pre- browsing information, specifically Method is after obtaining browsing information in advance, that is, to obtain times in pre- browsing Information position and then window One position, as the target location of pre- browsing information movement.Then will in advance be browsed in window the click location of information as First position is completed to the second position using the target location for browsing information movement in window in advance as the second position in first position Movement.
In the above-described embodiment, a kind of method of browsing information is provided, corresponding, the application provides simultaneously A kind of device of browsing information, please refers to Fig. 3.
A kind of device of search method provided in this embodiment, including:
Click commands receiving unit 301, for receiving the click commands for browsing information in window in advance;
Click location determination unit 302, for obtaining the click position for browsing information in window in advance according to the click commands It sets;
Target location acquiring unit 303, for obtaining the target location for browsing information movement in window in advance;
Position mobile unit 304 will be in window for the click location using information is browsed in window in advance as first position Movement of the first position to the second position is completed as the second position in the target location of pre- browsing information.
A kind of electronic equipment for browsing information that the application provides simultaneously, please refers to Fig. 4.
A kind of electronic equipment for browsing information that the application example provides, including:
Processor 401;
Memory 402, the program for storing browsing information approach, described program are reading execution by the processor When, execute following operation:
Receive the click commands for browsing information in window in advance;
The click location for browsing information in window in advance is obtained according to the click commands;
Obtain the target location for browsing information movement in window in advance;
Using the click location for browsing information in window in advance as first position, the target location of information will be browsed in window in advance As the second position, movement of the first position to the second position is completed.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application Shield range should be subject to the range that the application claim defined.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
1, computer-readable medium can be by any side including permanent and non-permanent, removable and non-removable media Method or technology realize information storage.Information can be computer-readable instruction, data structure, the module of program or other numbers According to.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or Other magnetic storage apparatus or any other non-transmission medium can be used for storage and can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-temporary computer readable media (transitory media), is such as modulated Data-signal and carrier wave.
2, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program production Product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It can be used in the computer that one or more wherein includes computer usable program code moreover, the application can be used The computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Form.

Claims (10)

1. a kind of method for browsing information, it is characterised in that:
Receive the click commands for browsing information in window in advance;
The click location for browsing information in window in advance is obtained according to the click commands;
Obtain the target location for browsing information movement in window in advance;
Using the click location for browsing information in window in advance as first position, the target location of information movement will be browsed in window in advance As the second position, movement of the first position to the second position is completed.
2. the method according to claim 1 for browsing information, which is characterized in that browse information in advance in the window The target location for browsing information movement in click location and window in advance, obtains in the following way:
Coordinate system is established in browser window, the window upper left corner is defined as to the coordinate origin of the window, to the right by coordinate origin X-axis of the straight line being linked to be along browsing area top edge as the coordinate system connects coordinate origin down along browsing area left hand edge At Y-axis as the coordinate system of straight line and the straight line vertical with X-axis;
Using the click location of pre- browsing information relative to coordinate origin coordinate position as the click for browsing information in window in advance Position;
Coordinate position using the target location of pre- browsing information movement relative to coordinate origin is moved as information is browsed in window in advance Dynamic target location.
3. the method according to claim 2 for browsing information, base is characterized in that, further includes, according to pre- clear in window It lookes at the click location of information and the target location of pre- browsing information movement obtains the click location for browsing information in window in advance and pre- Browse the distance between the target location of information movement.
4. the method according to claim 3 for browsing information, base is characterized in that, information is browsed in advance in the window The distance between the target location of click location and pre- browsing information movement, refers to vertical range or parallel distance.
5. the method according to claim 4 for browsing information, which is characterized in that browse information in advance in the window The distance between the target location of click location and pre- browsing information movement, is calculated by the following method:
The vertical range browsed in advance in window between the click location of information and the target location of pre- browsing information movement is window The distance between the ordinate of target location of the ordinate and pre- browsing information movement of the click location of interior pre- browsing information;
The parallel distance browsed in advance in window between the click location of information and the target location of pre- browsing information movement is window The distance between the abscissa of target location of the abscissa and pre- browsing information movement of the click location of interior pre- browsing information.
6. the method according to claim 5 for browsing information, which is characterized in that further include, it is described to complete first Setting the movement to the second position is specially:
Movement of the first position to the second position is completed within the set time with movement speed determining as follows;
Wherein, the movement speed is:The click location of information and mobile the distance between target location are browsed in window in advance Divided by the time of the setting.
7. the method according to claim 5 for browsing information, which is characterized in that further include, it is described to complete first Setting the movement to the second position is specially:
Movement of the first position to the second position is completed with the speed of setting within the time determining as follows;
Wherein, the time of the determination is:The distance between the click location of pre- browsing information and mobile target location divided by The speed of the setting.
8. the method according to claim 1 for browsing information, which is characterized in that the completion first position is to second The movement of position refers to, the movement to the second position is completed in such a way that animation is smooth from first position.
9. the method according to claim 1 for browsing information, which is characterized in that the completion first position is to second The movement of position, including following any moving direction:It moves up, move down, be moved to the left or move right.
10. the method for browsing information according to claim 6 or 8, which is characterized in that it is described from first position with dynamic It draws smooth mode and completes movement to the second position, including:
Within the set time, it according to the movement speed of acquisition, is completed from first position to second in such a way that animation is smooth The movement set;
With the movement speed of setting, according to the time of acquisition, completed from first position to the second position in such a way that animation is smooth Movement.
CN201810158740.6A 2018-02-26 2018-02-26 A kind of method and device for browsing information Pending CN108446070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810158740.6A CN108446070A (en) 2018-02-26 2018-02-26 A kind of method and device for browsing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810158740.6A CN108446070A (en) 2018-02-26 2018-02-26 A kind of method and device for browsing information

Publications (1)

Publication Number Publication Date
CN108446070A true CN108446070A (en) 2018-08-24

Family

ID=63193011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810158740.6A Pending CN108446070A (en) 2018-02-26 2018-02-26 A kind of method and device for browsing information

Country Status (1)

Country Link
CN (1) CN108446070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298817A (en) * 2018-09-05 2019-02-01 武汉斗鱼网络科技有限公司 Entry display methods, device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885712A (en) * 2014-03-21 2014-06-25 小米科技有限责任公司 Method and device for adjusting webpage and electronic device
CN104035690A (en) * 2014-06-25 2014-09-10 联想(北京)有限公司 Subtitle display position adjusting method and electronic equipment
CN104156157A (en) * 2014-08-04 2014-11-19 中国蓝星(集团)股份有限公司 Method and device for displaying functional block in webpage
WO2016188229A1 (en) * 2015-10-20 2016-12-01 中兴通讯股份有限公司 Terminal device and method for dynamically adjusting control position
CN106933446A (en) * 2017-02-27 2017-07-07 东软集团股份有限公司 The location regulation method and device of terminal interface display content
CN107678645A (en) * 2017-09-21 2018-02-09 咪咕音乐有限公司 A kind of presentation of information processing method and processing device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885712A (en) * 2014-03-21 2014-06-25 小米科技有限责任公司 Method and device for adjusting webpage and electronic device
CN104035690A (en) * 2014-06-25 2014-09-10 联想(北京)有限公司 Subtitle display position adjusting method and electronic equipment
CN104156157A (en) * 2014-08-04 2014-11-19 中国蓝星(集团)股份有限公司 Method and device for displaying functional block in webpage
WO2016188229A1 (en) * 2015-10-20 2016-12-01 中兴通讯股份有限公司 Terminal device and method for dynamically adjusting control position
CN106933446A (en) * 2017-02-27 2017-07-07 东软集团股份有限公司 The location regulation method and device of terminal interface display content
CN107678645A (en) * 2017-09-21 2018-02-09 咪咕音乐有限公司 A kind of presentation of information processing method and processing device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298817A (en) * 2018-09-05 2019-02-01 武汉斗鱼网络科技有限公司 Entry display methods, device, terminal and storage medium
CN109298817B (en) * 2018-09-05 2021-01-01 武汉斗鱼网络科技有限公司 Item display method, item display device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US20240094872A1 (en) Navigating through documents in a document viewing application
KR102384130B1 (en) Hover-based interaction with rendered content
CN107272994B (en) Window switching interface
US20170220220A1 (en) Advertisement generation apparatus and terminal device
US10296175B2 (en) Visual presentation of multiple internet pages
CN102629273B (en) Advertising information pushing method based on browser, device and browser system
US10878175B2 (en) Portlet display on portable computing devices
US20140082533A1 (en) Navigation Interface for Electronic Content
US10466875B2 (en) Information processing device, information processing method, information processing program, and recording medium in which information processing program is recorded
US20150058766A1 (en) Information processing methods and electronic devices
CN109074375B (en) Content selection in web documents
US20140281924A1 (en) Systems and methods for horizontally paginating html content
US9792268B2 (en) Zoomable web-based wall with natural user interface
CN108021666A (en) Page adaptation method and apparatus
CN102411614A (en) Display Of Image Search Results
US20170139548A1 (en) Systems and methods for a rotating three-dimensional menu
CN105335071A (en) Method and device for displaying page elements
US11269950B2 (en) Analysis for framework assessment
CN110647272A (en) Display control method and device
CN105094841A (en) Page commenting method and device
US20150019341A1 (en) System and method for displaying information on mobile devices
CN114357345A (en) Picture processing method and device, electronic equipment and computer readable storage medium
CN105224657A (en) A kind of information recommendation method based on search engine and electronic equipment
CN103870191A (en) Method and electronic equipment for saving webpage
CN105320432A (en) Scroll bar display method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180824

RJ01 Rejection of invention patent application after publication