Embodiment
The large type area navigation reading scheme that the embodiment of the invention proposes is: when the user initiates to be used to activate first trigger event of the navigation page on reading page, activate the navigation page, and in the viewport zone, the navigation page that activates is placed on the reading page, make the mapping point of first trigger event this triggering focus on the triggering focus on the reading page and the navigation page overlapping.
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
Fig. 1 goes into down for the schematic flow sheet of the large type area navigation reading scheme of embodiment of the invention proposition, concrete process description:
Step 101: survey first trigger event that is used to activate the navigation page of initiating on the reading page of user in being in the viewport zone;
The user is when reading the electronic document of the big space of a whole page, reading page is bigger for viewport is regional, as shown in Figure 2, the user at a time, can only see the content on the reading page that is in the viewport zone, when the user reads this content, initiate to be used to activate first trigger event of the navigation page easily on the reading page in being in the viewport zone.
The user can initiate first trigger event by the mode of striking on the reading page of mouse in being in the viewport zone; Striking comprises left mouse button clicking, and/or right mouse button clicks, and/or left mouse button double-clicks, and/or right mouse button is double-clicked; The first trigger event triggering focus is the striking point on the reading page.
Step 102: when detecting described first trigger event, activate the navigation page that reading page is dwindled formation by preset ratio;
During the reading page part of user in reading is in the viewport zone, wish to see the content of the reading page outside the viewport zone, when perhaps wishing to navigate to the reading page part outside the viewport zone, can be by initiating first trigger event, activate the navigation page, the navigation page is exactly the thumbnail of reading page, is about to reading page and dwindles the formation navigation page according to default ratio, and each point all has corresponding mapping point in the reading page in the navigation page.
Step 103: in the viewport zone, the navigation page that activates is placed on the reading page, make described first trigger event first triggering in focus and the navigation page this first to trigger the mapping point of focus overlapping on reading page.
In embodiments of the present invention, not only be used to activate the easy to operate of the navigation page: the user can initiate first trigger event in it reads the zone; And the navigation page that activates makes when the user operates the navigation page on reading page, do not need long apart from rolling mouse; And in the navigation page that activates in this first mapping point that triggers focus and the reading page the first triggering focus overlapping, make the user when the operation navigation page, sight line need not move between the navigation page and reading page repeatedly, thereby guaranteed the continuity that the user reads, promoted user experience.
The large type area navigation reading method that adopts the embodiment of the invention to propose, the read interface when activating the navigation page as shown in Figure 3.
Wherein, the specific implementation step of step 103 is as follows:
1, determines that described first triggers first relative position on focus and the summit of reading page on an orientation;
For example, obtain on the reading page first lateral separation and the fore-and-aft distance that triggers focus (being mouse striking point) and reading page top left corner apex
With
2,, determine the mapping point of this first triggering focus in the navigation page and second relative position on the summit of the navigation page on described orientation based on first relative position and default ratio;
For example, default scaling Scale=10%, the size of the page that promptly navigates is 10% of a reading page size; Based on what get access to
With
, and default Scale=10%, can calculate lateral separation and fore-and-aft distance that navigation page top left corner apex and first triggers the mapping point of focus on the navigation page
With
:
3, based on second relative position and determine according to first position of triggering focus with first trigger this first position of triggering the mapping point of focus in the navigation page of location overlap of focus, determine the position on the summit of the navigation page on described orientation;
First trigger event, first position of triggering focus on reading page can know that for example first horizontal ordinate that triggers focus is
, ordinate is
If make the location overlap of the first triggering focus this triggering focus on mapping point on the navigation page and reading page, then first position of triggering the mapping point of focus on the navigation page also can be known, promptly
,
Foundation is known so
With
, and calculate
With
, can calculate the position of navigation page top left corner apex, the horizontal ordinate of navigation page top left corner apex is X
Navigation vertices, ordinate is Y
Navigation vertices:
4, based on the position on the navigation summit of the page on described orientation, and the length and the width of the navigation page of determining according to the length of reading page and width and default ratio, the third phase of determining the navigation page and reading page is to the position;
Width W idth based on reading page
Reading pageWith height H eight
Reading page, and default Scale can calculate the width W idth of the navigation page
The navigation pageWith height H eight
The navigation page:
Width
The navigation page=Scale * Width
Reading page
Height
The navigation page=Scale * Height
Reading page
Horizontal ordinate X based on the navigation page top left corner apex that calculates
Navigation verticesWith ordinate Y
Navigation vertices, and the width W idth of the navigation page that calculates
The navigation pageWith height H eight
The navigation page, the relative position of can determine the to navigate page and reading page;
5, based on the navigation page of determining and the relative position of reading page, the page that will navigate places on the reading page.
According to the step of above-mentioned 1-5, the page of can realizing navigating places on the reading page, and makes first trigger event first triggering in focus and the navigation page this first to trigger the mapping point of focus overlapping on reading page.
After the page that will navigate by step 103 places on the reading page, also comprise:
Step 104: survey second trigger event that is used for navigator fix that the user initiates on the navigation page;
For example, the user initiates described second trigger event by rolling mouse on the navigation page; The described second triggering focus is that mouse moves back residing location point on the navigation page.Navigation operation is along with mouse moving can be carried out continuously, in the process that to be mouse move on the navigation page, the relative position in reading page and viewport zone is constantly adjusted, with any time in navigation operation, the content of mouse indication position of guaranteeing to navigate on content and the reading page of mouse indication position on the page is consistent, thereby make the user to finish navigation operation, guaranteed the continuity of reading unconsciously.
Step 105: when detecting described second trigger event, adjust the relative position in reading page and viewport zone, make described second trigger event on the navigation page second to trigger the mapping point of this second triggering focus in focus and the reading page overlapping.
In embodiments of the present invention, by step 104-105, the user gets final product the triggered location navigation operation, thereby makes positioning action convenient and swift by rolling mouse on the navigation page; In addition, trigger focus with the location point that moves the back mouse as second, making on the navigation page second, to trigger the mapping point of this second triggering focus in focus and the reading page overlapping, thereby between the navigation page and reading page, exist interactive, the content of user's point of mouse indication on the navigation page, be the content of the point of mouse indication on reading page, make like this behind the navigation page close, the user can directly find the content of wishing reading at mouse point place, thereby has realized accurate navigator fix.
Particularly, the performing step of step 105 is as follows:
1, determines that described second triggers the 4th relative position on focus and the summit of the navigation page on an orientation;
For example, obtain the lateral separation and the fore-and-aft distance of second triggering focus on the navigation page (the residing location point of promptly mobile back mouse) and navigation page top left corner apex
With
2,, determine the mapping point of this second triggering focus in the reading page and the 5th relative position on the summit of reading page on described orientation based on the 4th relative position and default ratio;
For example, based on getting access to
With
, and default Scale, can calculate lateral separation and fore-and-aft distance that reading page top left corner apex and second triggers the mapping point of focus on reading page
With
:
3, this second position of triggering the mapping point of focus in the reading page is determined in the position on summit on described orientation based on the 5th relative position and reading page;
The position of reading page top left corner apex can know that for example the horizontal ordinate of reading page top left corner apex is X
Read the summit, ordinate is Y
Navigation verticesHorizontal ordinate X based on the reading page top left corner apex of knowing
Read the summitWith ordinate Y
Navigation vertices, and the reading page top left corner apex that calculates and second triggers the lateral separation of the mapping point of focus on reading page
And fore-and-aft distance
, can calculate in the reading page this second horizontal ordinate that triggers the mapping point of focus
And ordinate
:
4, based on second position of determining of triggering the mapping point of focus, with second position of triggering focus, adjust the relative position in reading page and viewport zone, make the position of the mapping point of this second triggering focus in the reading page and the location overlap of the second triggering focus.
Calculated the horizontal ordinate of the mapping point of this second triggering focus in the reading page
And ordinate
, can be based on the horizontal ordinate of the second triggering focus
And ordinate
, the relative position in adjustment reading page and viewport zone, the location overlap of the mapping point of this second triggering focus in the position of the second triggering focus and the reading page is promptly feasible in the feasible navigation page
,
After the page that will navigate by step 103 places on the reading page, also comprise:
Step 106: obtain in the navigation page and be in the corresponding zone of reading page in the viewport zone;
Step 107: the boundary in described zone is dosed bounding box.
In embodiments of the present invention, by step 106-107, can navigation demonstrate in the page with the viewport zone in the corresponding viewport frame of reading page part (being that the breviary of viewport zone in the navigation page shows), as shown in Figure 4.
Wherein, the specific implementation process of step 106 and step 107 is as follows:
1, determines that described first triggers the 6th relative position on focus and the summit of viewport zone on an orientation;
For example, obtain the lateral separation and the fore-and-aft distance of the first triggering focus (being mouse striking point) and viewport zone top left corner apex
With
2,, determine the 7th relative position on mapping point and described corresponding zone (the being the viewport frame) summit on described orientation of this first triggering focus in the navigation page based on the 6th relative position and default ratio;
For example, based on getting access to
With
, and default Scale, can calculate the mapping point of this first triggering focus in the navigation page and the lateral separation and the fore-and-aft distance of viewport frame
With
:
3,, determine the position on the summit of described corresponding zone on described orientation based on this first position of triggering the mapping point of focus in the 7th relative position and the described navigation page;
Based on the mapping point of this first triggering focus and the lateral separation of viewport frame in the navigation page that calculates
And fore-and-aft distance
, and the horizontal ordinate of the mapping point of the first triggering focus on the navigation page that in the step 3 of
step 103, calculates
And ordinate
, can calculate the horizontal ordinate X of viewport frame top left corner apex
The viewport summitWith ordinate Y
The viewport summit:
4, based on the position on the summit of described corresponding zone on described orientation, and the length and the width in this corresponding zone of determining according to the length in viewport zone and width and default ratio, determine the 8th relative position of this corresponding zone and the page that navigates;
Width W idth based on the viewport zone
The viewport zoneWith height H eight
The viewport zone, and default Scale can calculate the width W idth of viewport frame
The viewport frameWith height H eight
The viewport frame:
Width
The viewport frame=Scale * Width
The viewport zone
Height
The viewport frame=Scale * Height
The viewport zone
Horizontal ordinate X based on the viewport frame top left corner apex that calculates
The viewport summitWith ordinate Y
The viewport summit, and the width W idth of the viewport frame that calculates
The viewport zoneWith height H eight
The viewport zone, can determine the viewport frame and the relative position of the page that navigates.
5,, dose bounding box at the above regional boundary of the navigation page based on the 8th relative position.
Determine the position of viewport frame,, promptly on the navigation page, demonstrate the thumbnail part in viewport zone for dosing bounding box in the border of this viewport frame region.
At the thumbnail that demonstrates the viewport zone, promptly demonstrate after the viewport frame, also comprise:
Step 108: survey the 5th trigger event that is used for navigator fix that the user initiates on the navigation page, the user initiates described the 5th trigger event by moving described bounding box;
Step 109: when detecting described the 5th trigger event, adjust the relative position in reading page and viewport zone, in reading page, and be in the zone of moving in the back bounding box on the navigation page, corresponding zone places in the viewport zone.
In embodiments of the present invention, the user not only can initiate the operation of navigator fix by second trigger event of describing in the step 104, the user can also initiate the operation of navigator fix by the 5th trigger event, and the 5th trigger event moves the incident of viewport frame for the user, as shown in Figure 5.
In embodiments of the present invention, by step 108-109, the user gets final product the triggered location navigation operation, thereby makes positioning action convenient and swift by mobile viewport frame on the navigation page; In addition, behind the navigator fix EO, the part in reading page in current viewport zone part and the navigation page in the viewport frame is to corresponding, thereby makes and exist interactively between the navigation page and the reading page, promoted user experience.
Wherein, being implemented as follows of step 109:
1, determines the summit of bounding box on an orientation, described mobile back, with the 4th relative position on the summit of the navigation page on this orientation;
For example, calculate navigation page top left corner apex with respect to the lateral separation that moves back bounding box top left corner apex
And fore-and-aft distance
:
Wherein, X
Navigation verticesAnd Y
Navigation verticesHorizontal ordinate and ordinate for navigation page top left corner apex; X
The frame top The pointAnd Y
The frame summitFor moving the horizontal ordinate and the ordinate of back viewport frame top left corner apex.
2,, determine the summit of viewport zone on this orientation, with the 5th relative position on the summit of reading page on this orientation based on the 4th relative position and default ratio;
For example, based on calculating
With
, and default Scale can calculate the viewport zone at the summit in the upper left corner and reading page lateral separation and the fore-and-aft distance on the summit in the upper left corner
With
:
3, the position on summit on described orientation based on the 5th relative position and viewport zone, the relative position in adjustment reading page and viewport zone.
Because the vertex position in the upper left corner, viewport zone (screen) is fixed, suppose that the horizontal ordinate of viewport zone top left corner apex is X
The viewport summit, ordinate is Y
The viewport summit, then based on the viewport zone that calculates in the summit in the upper left corner and reading page lateral separation on the summit in the upper left corner
And fore-and-aft distance
, can know the horizontal ordinate X of the adjusted top left corner apex of reading page
Read the summitWith ordinate Y
Read the summit:
Horizontal ordinate X based on reading page top left corner apex after the adjustment that calculates
Read the summitWith ordinate Y
Read the top The point, adjust the relative position in reading page and viewport zone.
After the page that will navigate by step 103 places on the reading page, also comprise:
Step 110: survey the 3rd trigger event that is used to close the navigation page that the user initiates on the navigation page;
Step 111: when detecting described the 3rd trigger event, close the described navigation page.
Before activating the navigation page, also comprise by step 102:
Step 112: the relative position in record reading page and viewport zone;
Place on the reading page at the page that will navigate by step 103, after the relative position by step 112 record reading page and viewport zone, also comprise:
Step 113: survey the 4th trigger event that is used to cancel navigator fix that the user initiates on the navigation page;
Step 114: when detecting described the 4th trigger event, the relative position in reading page and viewport zone is reverted to the relative position of described record.
When detecting the 4th trigger event, also comprise by step 113:
Step 115: close the described navigation page.
In step 110-115, the user initiates described the 3rd trigger event by press a key in left mouse button or the right button on the navigation page; The user initiates described the 4th trigger event by press another key in left mouse button or the right button on the navigation page.
The embodiment of the invention proposes a kind of device of large type area navigation reading, as shown in Figure 6, comprising: first probe unit 601 is used to survey first trigger event that is used to activate the navigation page of initiating on the reading page of user in being in the viewport zone; Activate unit 602, be used for when detecting described first trigger event, activating the navigation page that reading page is dwindled formation by preset ratio; Dispensing unit 603 is used in the viewport zone, and the navigation page that activates is placed on the reading page, makes described first trigger event first triggering in focus and the navigation page this first to trigger the mapping point of focus overlapping on reading page.
The concrete structure of dispensing unit 603 comprises as shown in Figure 7: first determines subelement 71, is used for determining that described first triggers first relative position on focus and the summit of reading page on an orientation; Second definite subelement 72 is used for based on first relative position and default ratio, determines the mapping point of this first triggering focus in the navigation page and second relative position on the summit of the navigation page on described orientation; The 3rd determines subelement 73, be used for based on second relative position, with determine according to first position of triggering focus with first trigger this first position of triggering the mapping point of focus in the navigation page of location overlap of focus, determine the position on the summit of the navigation page on described orientation; The 4th determines subelement 74, be used for position based on the summit of the navigation page on described orientation, and the length and the width of the navigation page of determining according to the length of reading page and width and default ratio, the third phase of determining the navigation page and reading page is to the position; Configuration subelement 75 is used for based on third phase the position, and the page that will navigate places on the reading page.
Continuation is with reference to Fig. 6, the large type area navigation reading device that the embodiment of the invention proposes also comprises: second probe unit 604, be used for after the page that will navigate places on the reading page, survey second trigger event that is used for navigator fix that the user initiates on the navigation page; First adjustment unit 605, be used for when detecting described second trigger event, adjust the relative position in reading page and viewport zone, make described second trigger event on the navigation page second to trigger the mapping point of this second triggering focus in focus and the reading page overlapping.
Wherein, the concrete structure of first adjustment unit 605 comprises as shown in Figure 8: first determines subelement 81, is used for determining that described second triggers the 4th relative position on focus and the summit of the navigation page on an orientation; Second determines subelement 82, is used for based on the 4th relative position and default ratio, determines the mapping point of this second triggering focus in the reading page and the 5th relative position on the summit of reading page on described orientation; The 3rd determines subelement 83, is used for the position on the summit on described orientation based on the 5th relative position and reading page, determines this second position of triggering the mapping point of focus in the reading page; Adjust subelement 84, be used for based on second position of determining of triggering the mapping point of focus, with second position of triggering focus, adjust the relative position in reading page and viewport zone, make the position of the mapping point of this second triggering focus in the reading page and the location overlap of the second triggering focus.
Continuation is with reference to Fig. 6, and the large type area navigation reading device that the embodiment of the invention proposes also comprises: acquiring unit 606, be used for after the page that will navigate places on the reading page, and obtain in the navigation page and be in the corresponding zone of reading page in the viewport zone; Dose unit 607, be used for dosing bounding box at the boundary in described zone.
Wherein, the structure of acquiring unit 606 comprises specifically as shown in Figure 9: first determines subelement 91, is used for determining that described first triggers the 6th relative position on focus and the summit of viewport zone on an orientation; Second definite subelement 92 is used for based on the 6th relative position and default ratio, determines the 7th relative position on mapping point and the described corresponding zone summit on described orientation of this first triggering focus in the navigation page; The 3rd determines subelement 93, is used for determining the position on the summit of described corresponding zone on described orientation based on this first position of triggering the mapping point of focus in the 7th relative position and the described navigation page; The 4th determines subelement 94, be used for position based on the summit of described corresponding zone on described orientation, and the length and the width in this corresponding zone of determining according to the length in viewport zone and width and default ratio, determine the 8th relative position of this corresponding zone and the page that navigates.
Continuation is with reference to Fig. 6, the large type area navigation reading device that the embodiment of the invention proposes also comprises: the 3rd probe unit 608, be used for after adding bounding box, survey the 5th trigger event that is used for navigator fix that the user initiates on the navigation page, the user initiates described the 5th trigger event by moving described bounding box; Second adjustment unit 609 is used for when detecting described the 5th trigger event, adjusts the relative position in reading page and viewport zone, in reading page, and is in the zone of moving in the back bounding box on the navigation page, and corresponding zone places in the viewport zone.
Wherein, the concrete structure of second adjustment unit 609 comprises as shown in figure 10: first determines subelement 1001, is used for determining the summit of bounding box on an orientation, described mobile back, with the 4th relative position on the summit of the navigation page on this orientation; Second determines subelement 1002, is used for determining the summit of viewport zone on this orientation, with the 5th relative position on the summit of reading page on this orientation based on the 4th relative position and default ratio; Adjust subelement 1003, be used for the position on summit on described orientation, adjust the relative position in reading page and viewport zone based on the 5th relative position and viewport zone.
Continuation is with reference to Fig. 6, the large type area navigation reading device that the embodiment of the invention proposes also comprises: the 4th probe unit 610, be used for after the page that will navigate places on the reading page, survey the 3rd trigger event that is used to close the navigation page that the user initiates on the navigation page; First closing unit 611 is used for closing the described navigation page when detecting described the 3rd trigger event.
The large type area navigation reading device that the embodiment of the invention proposes also comprises: record cell 612 was used for before activating the navigation page relative position in record reading page and viewport zone; The 5th probe unit 613 is used for after the page that will navigate places on the reading page, surveys the 4th trigger event that is used to cancel navigator fix that the user initiates on the navigation page; Recovery unit 614 is used for the relative position in reading page and viewport zone being reverted to the relative position of described record when detecting described the 4th trigger event.
The large type area navigation reading device that the embodiment of the invention proposes also comprises: second closing unit 615 is used for closing the described navigation page when detecting described the 4th trigger event.
The large type area navigation reading scheme that the embodiment of the invention proposes is that a kind of going up at terminal device (for example PC, handheld device etc.) realizes that the big page is quick, the page navigation reading method of smooth location, compare traditional large type area navigation reading method, it is advantageous that the fluency of operation, can produce any influence to user's reading hardly, make the user finish navigation operation unconsciously.Particularly, the user is when the operation navigation page, and the displacement of visual focus is all relative shorter with the mouse moving distance, has guaranteed the continuity that the user reads to greatest extent, thereby has promoted user experience.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.