CN104866202A - Page scaling method and device - Google Patents

Page scaling method and device Download PDF

Info

Publication number
CN104866202A
CN104866202A CN201510330448.4A CN201510330448A CN104866202A CN 104866202 A CN104866202 A CN 104866202A CN 201510330448 A CN201510330448 A CN 201510330448A CN 104866202 A CN104866202 A CN 104866202A
Authority
CN
China
Prior art keywords
interval
zoom
ratio
user
page
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.)
Granted
Application number
CN201510330448.4A
Other languages
Chinese (zh)
Other versions
CN104866202B (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.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510330448.4A priority Critical patent/CN104866202B/en
Publication of CN104866202A publication Critical patent/CN104866202A/en
Application granted granted Critical
Publication of CN104866202B publication Critical patent/CN104866202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

According to the page scaling method and device provided by the embodiment of the invention, the display scale interval and the scaling scale with the preset corresponding relation can be stored through the page scaling configuration file, and when the page scaling operation of a user on the current page is received, the scaling scale corresponding to the display scale interval where the current display scale of the current page is located can be searched from the local page scaling configuration file to serve as the current scaling scale, and the current page is scaled according to the current scaling scale. Therefore, the invention can zoom the page according to the individual will of the user, has better flexibility and meets the individual requirements of the user.

Description

Page zoom-in and zoom-out method and device
Technical field
The present invention relates to page zoom-in and zoom-out technical field, particularly relate to page zoom-in and zoom-out method and device.
Background technology
Along with the development of science and technology, the use of user to electronic equipments such as computing machines is also more and more frequent.
User often browses the various page, as: use browser to surf the web Webpage, use the office software browsing document page.In order to see more clearly or more complete, user usually carries out convergent-divergent to the displaying ratio of the page.Existing page zoom-in and zoom-out technology, when receiving the zoom operations of user, can control the page and carry out convergent-divergent, as 25% according to not revisable scaling.When the displaying ratio of current page is 100%, user carries out a page amplifieroperation, makes the displaying ratio of current page become 125%; User carries out a page amplifieroperation again, then make the displaying ratio of current page become 150%.
But different user is different to the requirement of convergent-divergent, and existing page zoom-in and zoom-out technology cannot carry out convergent-divergent according to the personal inclination of user to the page, dirigibility is inadequate, cannot meet the individuation demand of user.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of page zoom-in and zoom-out method and device, to realize personal inclination according to user to carry out convergent-divergent object to the page.
For achieving the above object, the embodiment of the invention discloses a kind of page zoom-in and zoom-out method, be applied to electronic equipment, described method comprises:
Receive user to operate the page zoom-in and zoom-out of current page;
Obtain the current displaying ratio of current page;
From the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, wherein, the displaying ratio stored in described page zoom-in and zoom-out configuration file is interval is default with the corresponding relation of scaling;
According to described current zoom ratio, convergent-divergent is carried out to current page.
Optionally, the displaying ratio assignment procedure that is interval and scaling in described page zoom-in and zoom-out configuration file with default corresponding relation comprises:
Receive the interval upper limit in the set displaying ratio interval that user is inputted by display setting interface, interval limit and corresponding scaling interval with the displaying ratio set by user;
By the interval upper limit in the displaying ratio interval set by user, interval limit and the scaling corresponding stored corresponding with the displaying ratio interval set by user in page zoom-in and zoom-out configuration file.
Optionally, displaying ratio interval set by user at least comprises the first pre-set interval and the second pre-set interval that do not overlap, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, described method also comprises:
On the interval being not less than described first pre-set interval at the interval limit of described second pre-set interval in limited time, judge whether described second preset ratio is not more than described first preset ratio, if so, then export prompting message and increase described second preset ratio to point out user;
On the interval being not less than described second pre-set interval at the interval limit of described first pre-set interval in limited time, judge whether described first preset ratio is not more than described second preset ratio, if so, then export prompting message and increase described first preset ratio to point out user.
Optionally, when the displaying ratio interval set by user is at least two, described method also comprises:
The scalable ratio of the union judging all displaying ratio intervals set by user whether cover page is interval, if not, export information prompting user and adjust the scalable ratio interval that set displaying ratio interval makes the union cover page in set displaying ratio interval.
Optionally, to show in described display setting interface between the first suggestion setting district, between the second suggestion setting district, the first suggestion scaling and the second suggestion scaling, wherein, corresponding between described first suggestion scaling and described first suggestion setting district, corresponding between described second suggestion scaling and described second suggestion setting district.
A kind of page zoom-in and zoom-out device, be applied to electronic equipment, described device comprises: zoom operations receiving element, displaying ratio obtain unit, ratio-dependent unit and page zoom-in and zoom-out unit,
Described zoom operations receiving element, operates the page zoom-in and zoom-out of current page for receiving user;
Described displaying ratio obtains unit, for obtaining the current displaying ratio of current page; Described ratio-dependent unit, for from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, wherein, the displaying ratio stored in described page zoom-in and zoom-out configuration file is interval is default with the corresponding relation of scaling;
Described page zoom-in and zoom-out unit, for carrying out convergent-divergent to current page according to described current zoom ratio.
Optionally, also comprise: input receiving unit and storage unit,
Described input receiving unit, for receive user to be inputted by display setting interface set by the interval upper limit in displaying ratio interval, interval limit and corresponding scaling interval with the displaying ratio set by user;
Described storage unit, for by the interval upper limit in the displaying ratio interval set by user, interval limit and with the interval corresponding scaling corresponding stored of the displaying ratio set by user in page zoom-in and zoom-out configuration file.
Optionally, described device also comprises: the first Tip element and the second Tip element,
Described first Tip element, the first pre-set interval and the second pre-set interval that do not overlap at least is comprised for the displaying ratio interval set by user, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, on the interval being not less than described first pre-set interval at the interval limit of described second pre-set interval in limited time, judge whether described second preset ratio is not more than described first preset ratio, if, then export prompting message and increase described second preset ratio to point out user,
Described second Tip element, the first pre-set interval and the second pre-set interval that do not overlap at least is comprised for the displaying ratio interval set by user, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, on the interval being not less than described second pre-set interval at the interval limit of described first pre-set interval in limited time, judge whether described first preset ratio is not more than described second preset ratio, if, then export prompting message and increase described first preset ratio to point out user.
Optionally, described device also comprises: Covering judgment unit and the 3rd Tip element,
Described Covering judgment unit, for when the displaying ratio interval set by user is at least two, the scalable ratio of the union judging all displaying ratio intervals set by user whether cover page is interval, if not, triggers described 3rd Tip element;
Described 3rd Tip element, adjusts for exporting information prompting user the scalable ratio interval that set displaying ratio interval makes the union cover page in set displaying ratio interval.
Optionally, to show in described display setting interface between the first suggestion setting district, between the second suggestion setting district, the first suggestion scaling and the second suggestion scaling, wherein, corresponding between described first suggestion scaling and described first suggestion setting district, corresponding between described second suggestion scaling and described second suggestion setting district.
A kind of page zoom-in and zoom-out method that the embodiment of the present invention provides and device, the displaying ratio interval and scaling with default corresponding relation can be preserved by page zoom-in and zoom-out configuration file, when receiving user and operating the page zoom-in and zoom-out of current page, the present invention can from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, according to this current scaling, convergent-divergent is carried out to current page.Therefore, the present invention can carry out convergent-divergent according to the personal inclination of user to the page, has better dirigibility, meets the individuation demand of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of page zoom-in and zoom-out method that Fig. 1 provides for the embodiment of the present invention;
The process flow diagram of a kind of assignment procedure of the interval and scaling of displaying ratio in page zoom-in and zoom-out configuration file in a kind of page zoom-in and zoom-out method that Fig. 2 provides for the embodiment of the present invention;
The process flow diagram of the another kind of assignment procedure of the interval and scaling of displaying ratio in page zoom-in and zoom-out configuration file in a kind of page zoom-in and zoom-out method that Fig. 3 provides for the embodiment of the present invention;
The process flow diagram of the another kind of assignment procedure of the interval and scaling of displaying ratio in page zoom-in and zoom-out configuration file in a kind of page zoom-in and zoom-out method that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of page zoom-in and zoom-out device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of page zoom-in and zoom-out method that the embodiment of the present invention provides, be applied to electronic equipment, the method can comprise:
S100, reception user operate the page zoom-in and zoom-out of current page;
Wherein, current page can be Webpage, and also can be the document file page of office software, can be also other pages, the present invention be in this no limit.
Concrete, the page zoom-in and zoom-out operation of user can have various ways, as pressed convergent-divergent Macintosh, clicking the scaling option, dragging slider bar etc.
The current displaying ratio of S200, acquisition current page;
S300, from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, wherein, the displaying ratio stored in described page zoom-in and zoom-out configuration file is interval is default with the corresponding relation of scaling;
Wherein, the page zoom-in and zoom-out configuration file in the embodiment of the present invention can be generate when the application program can opening current page is installed, and also can be after the application program can opening current page is installed, generate according to the convergent-divergent setting operation of user.After generation page zoom-in and zoom-out configuration file, the displaying ratio interval of user's setting and scaling just can be stored in generated page zoom-in and zoom-out configuration file.Wherein, the convergent-divergent setting operation of user can be specially: user is by the interval upper limit in displaying ratio interval set by the input of display setting interface, interval limit and corresponding scaling interval with the displaying ratio set by user.
Concrete, displaying ratio interval in page zoom-in and zoom-out configuration file can have multiple, each displaying ratio interval is all to there being a scaling, like this, when the displaying ratio of current page is positioned at a certain displaying ratio interval, just convergent-divergent can be carried out according to the interval corresponding scaling of this displaying ratio to current page.
S400, according to described current zoom ratio, convergent-divergent is carried out to current page.
A kind of page zoom-in and zoom-out method that the embodiment of the present invention provides, the displaying ratio interval and scaling with default corresponding relation can be preserved by page zoom-in and zoom-out configuration file, when receiving user and operating the page zoom-in and zoom-out of current page, the present invention can from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, according to this current scaling, convergent-divergent is carried out to current page.Therefore, the present invention can carry out convergent-divergent according to the personal inclination of user to the page, has better dirigibility, meets the individuation demand of user.
As shown in Figure 2, can also comprise in other embodiments of the present invention: have the displaying ratio interval of default corresponding relation and the assignment procedure of scaling in page zoom-in and zoom-out configuration file, this assignment procedure can comprise:
S001, the interval upper limit receiving the set displaying ratio interval that user is inputted by display setting interface, interval limit and corresponding scaling interval with the displaying ratio set by user;
Wherein, display setting interface can receive user to the interface open operation at display setting interface after be presented in the display screen of electronic equipment.
S002, by the interval upper limit in the displaying ratio interval set by user, interval limit and with the interval corresponding scaling corresponding stored of the displaying ratio set by user in page zoom-in and zoom-out configuration file.
Wherein, step S001 to step S002 can perform before step S100 to step S400, also can perform after step S100 to step S400.
Concrete, the concrete implementation of step S002 can comprise: judge whether this locality stores page zoom-in and zoom-out configuration file, if existed, then by the interval upper limit in the displaying ratio interval set by user, interval limit and be stored in the page zoom-in and zoom-out configuration file that this locality stores with the interval corresponding scaling of the displaying ratio set by user is corresponding, otherwise, generate page zoom-in and zoom-out configuration file, by the interval upper limit in the displaying ratio interval set by user, interval limit and being stored in generated page zoom-in and zoom-out configuration file with the interval corresponding scaling of the displaying ratio set by user is corresponding.
Certainly, when page zoom-in and zoom-out configuration file is the generation when the application program can opening current page is installed, step S002 also can not carry out the judgement whether storing page zoom-in and zoom-out configuration file in electronic equipment, directly by the interval upper limit in the displaying ratio interval set by user, interval limit and be stored in page zoom-in and zoom-out configuration file with the interval corresponding scaling of the displaying ratio set by user is corresponding.
Certainly, in other embodiments of the present invention, other informations can also be exported.
Wherein, displaying ratio interval set by user at least comprises the first pre-set interval and the second pre-set interval that do not overlap, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, the assignment procedure shown in Fig. 2 can also comprise:
Steps A, be not less than described first pre-set interval at the interval limit of described second pre-set interval interval in limited time, judge whether described second preset ratio is not more than described first preset ratio, if so, then export prompting message and increase described second preset ratio to point out user;
Step B, be not less than described second pre-set interval at the interval limit of described first pre-set interval interval in limited time, judge whether described first preset ratio is not more than described second preset ratio, if so, then export prompting message and increase described first preset ratio to point out user.
Wherein, steps A and step B can perform between step S001 and step S002, also can perform after step S002 is finished again.
The use sense that the convergent-divergent carrying out same zoom ratio under different displaying ratio brings to user receives larger difference, such as: carry out the increase of 25% when the displaying ratio of current page is 75%, current page will be made to increase 1/3.And the increase of carry out when the displaying ratio of current page is 250% 25%, only make current page increase 1/10.Therefore, for larger displaying ratio, user can set a larger scaling; For less displaying ratio, user can set a less scaling.
In other embodiments of the present invention, can to show in display setting interface between the first suggestion setting district, between the second suggestion setting district, the first suggestion scaling and the second suggestion scaling, wherein, corresponding between described first suggestion scaling and described first suggestion setting district, corresponding between described second suggestion scaling and described second suggestion setting district.
By show between suggestion setting district in display setting interface and suggestion scaling can guide user set more rational, can not to user bring larger experience difference displaying ratio interval and scaling.
Concrete, can be [50%, 200%] between described first suggestion setting district, between described second suggestion setting district can be (200%, 400%], described first suggestion setting ratio can be 5%, and described second suggestion setting ratio can be 50%.
As shown in Figures 3 and 4, when the displaying ratio interval set by user is at least two, the assignment procedure shown in Fig. 2 can also comprise:
S003, the scalable ratio of union whether cover page judging all displaying ratio intervals set by user are interval, if not, perform S004;
S004, output information prompting user adjust set displaying ratio interval makes the scalable ratio of the union cover page in set displaying ratio interval interval.
Wherein, as shown in Figure 3, step S003 can perform between step S001 and step S002, and as shown in Figure 4, step S003 also can perform after step S002.
As shown in Figure 3, when step S003 performs between step S001 and step S002, if to be the scalable ratio of current page interval for the union in displaying ratio interval that S003 judges set by user, then triggered step S002.As shown in Figure 3, after step S004 is finished, can returns and perform step S001.
If the union in the displaying ratio interval that S003 judges set by user is that the scalable ratio of current page is interval, can not process.
When step S003 performs after step S002, after step S004 is finished, can returns and perform step S001.
Corresponding with said method embodiment, the embodiment of the present invention additionally provides a kind of page zoom-in and zoom-out device.
As shown in Figure 5, a kind of page zoom-in and zoom-out device that the embodiment of the present invention provides, be applied to electronic equipment, this device can comprise: zoom operations receiving element 100, displaying ratio obtain unit 200, ratio-dependent unit 300 and page zoom-in and zoom-out unit 400,
Zoom operations receiving element 100, operates the page zoom-in and zoom-out of current page for receiving user;
Wherein, current page can be Webpage, and also can be the document file page of office software, can be also other pages, the present invention be in this no limit.
Concrete, the page zoom-in and zoom-out operation of user can have various ways, as pressed convergent-divergent Macintosh, clicking the scaling option, dragging slider bar etc.
Displaying ratio obtains unit 200, for obtaining the current displaying ratio of current page;
Ratio-dependent unit 300, for from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, wherein, the displaying ratio stored in described page zoom-in and zoom-out configuration file is interval is default with the corresponding relation of scaling;
Wherein, the page zoom-in and zoom-out configuration file in the embodiment of the present invention can be generate when the application program can opening current page is installed, and also can be after the application program can opening current page is installed, generate according to the convergent-divergent setting operation of user.After generation page zoom-in and zoom-out configuration file, the displaying ratio interval of user's setting and scaling just can be stored in generated page zoom-in and zoom-out configuration file.Wherein, the convergent-divergent setting operation of user can be specially: user is by the interval upper limit in displaying ratio interval set by the input of display setting interface, interval limit and corresponding scaling interval with the displaying ratio set by user.
Concrete, displaying ratio interval in page zoom-in and zoom-out configuration file can have multiple, each displaying ratio interval is all to there being a scaling, like this, when the displaying ratio of current page is positioned at a certain displaying ratio interval, just convergent-divergent can be carried out according to the interval corresponding scaling of this displaying ratio to current page.
Page zoom-in and zoom-out unit 400, for carrying out convergent-divergent to current page according to described current zoom ratio.
A kind of page zoom-in and zoom-out device that the embodiment of the present invention provides, the displaying ratio interval and scaling with default corresponding relation can be preserved by page zoom-in and zoom-out configuration file, when receiving user and operating the page zoom-in and zoom-out of current page, the present invention can from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, according to this current scaling, convergent-divergent is carried out to current page.Therefore, the present invention can carry out convergent-divergent according to the personal inclination of user to the page, has better dirigibility, meets the individuation demand of user.
The another kind of page zoom-in and zoom-out device that the embodiment of the present invention provides, can also comprise: input receiving unit and storage unit,
Input receiving unit, for receive user to be inputted by display setting interface set by the interval upper limit in displaying ratio interval, interval limit and corresponding scaling interval with the displaying ratio set by user;
Wherein, display setting interface can receive user to the interface open operation at display setting interface after be presented in the display screen of electronic equipment.
Storage unit, for by the interval upper limit in the displaying ratio interval set by user, interval limit and with the interval corresponding scaling corresponding stored of the displaying ratio set by user in page zoom-in and zoom-out configuration file.
Above-mentioned input receiving unit and storage unit, make user can the interval and corresponding scaling of free setting displaying ratio.
Wherein, storage unit, can comprise: file judgment sub-unit, first preserves subelement, subelement preserved by file generated subelement and second,
Described file judgment sub-unit, for judging whether this locality stores page zoom-in and zoom-out configuration file, if existed, then triggers described first and preserves subelement, otherwise trigger described file generated subelement;
Described first preserves subelement, for being stored in the local page zoom-in and zoom-out configuration file stored by corresponding to the interval upper limit in the displaying ratio interval set by user, interval limit and the scaling corresponding with the displaying ratio interval set by user;
Described file generated subelement, for generating page zoom-in and zoom-out configuration file;
Described second preserves subelement, for by the interval upper limit in the displaying ratio interval set by user, interval limit and be stored in generated page zoom-in and zoom-out configuration file with the interval corresponding scaling of the displaying ratio set by user is corresponding.
Certainly, in other embodiments of the present invention, other informations can also be exported.
The another kind of page zoom-in and zoom-out device that the embodiment of the present invention provides, can also comprise: the first Tip element and the second Tip element,
Described first Tip element, the first pre-set interval and the second pre-set interval that do not overlap at least is comprised for the displaying ratio interval set by user, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, on the interval being not less than described first pre-set interval at the interval limit of described second pre-set interval in limited time, judge whether described second preset ratio is not more than described first preset ratio, if, then export prompting message and increase described second preset ratio to point out user,
Described second Tip element, the first pre-set interval and the second pre-set interval that do not overlap at least is comprised for the displaying ratio interval set by user, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, on the interval being not less than described second pre-set interval at the interval limit of described first pre-set interval in limited time, judge whether described first preset ratio is not more than described second preset ratio, if, then export prompting message and increase described first preset ratio to point out user.
Wherein, can to show in described display setting interface between the first suggestion setting district, between the second suggestion setting district, the first suggestion scaling and the second suggestion scaling, wherein, corresponding between described first suggestion scaling and described first suggestion setting district, corresponding between described second suggestion scaling and described second suggestion setting district.
By show between suggestion setting district in display setting interface and suggestion scaling can guide user set more rational, can not to user bring larger experience difference displaying ratio interval and scaling.
Concrete, can be [50%, 200%] between described first suggestion setting district, between described second suggestion setting district can be (200%, 400%], described first advises that setting ratio can be 5%, and described second advises that the ratio that sets is as can 50%.
The another kind of page zoom-in and zoom-out device that the embodiment of the present invention provides, can also comprise: Covering judgment unit and the 3rd Tip element,
Described Covering judgment unit, for when the displaying ratio interval set by user is at least two, the scalable ratio of the union judging all displaying ratio intervals set by user whether cover page is interval, if not, triggers described 3rd Tip element;
Described 3rd Tip element, adjusts for exporting information prompting user the scalable ratio interval that set displaying ratio interval makes the union cover page in set displaying ratio interval.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a page zoom-in and zoom-out method, is characterized in that, is applied to electronic equipment, and described method comprises:
Receive user to operate the page zoom-in and zoom-out of current page;
Obtain the current displaying ratio of current page;
From the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, wherein, the displaying ratio stored in described page zoom-in and zoom-out configuration file is interval is default with the corresponding relation of scaling;
According to described current zoom ratio, convergent-divergent is carried out to current page.
2. method according to claim 1, is characterized in that, the displaying ratio assignment procedure that is interval and scaling in described page zoom-in and zoom-out configuration file with default corresponding relation comprises:
Receive the interval upper limit in the set displaying ratio interval that user is inputted by display setting interface, interval limit and corresponding scaling interval with the displaying ratio set by user;
By the interval upper limit in the displaying ratio interval set by user, interval limit and the scaling corresponding stored corresponding with the displaying ratio interval set by user in page zoom-in and zoom-out configuration file.
3. method according to claim 2, it is characterized in that, displaying ratio interval set by user at least comprises the first pre-set interval and the second pre-set interval that do not overlap, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, described method also comprises:
On the interval being not less than described first pre-set interval at the interval limit of described second pre-set interval in limited time, judge whether described second preset ratio is not more than described first preset ratio, if so, then export prompting message and increase described second preset ratio to point out user;
On the interval being not less than described second pre-set interval at the interval limit of described first pre-set interval in limited time, judge whether described first preset ratio is not more than described second preset ratio, if so, then export prompting message and increase described first preset ratio to point out user.
4. according to the method in claim 2 or 3, it is characterized in that, when the displaying ratio interval set by user is at least two, described method also comprises:
The scalable ratio of the union judging all displaying ratio intervals set by user whether cover page is interval, if not, export information prompting user and adjust the scalable ratio interval that set displaying ratio interval makes the union cover page in set displaying ratio interval.
5. according to the method in claim 2 or 3, it is characterized in that, to show in described display setting interface between the first suggestion setting district, between the second suggestion setting district, the first suggestion scaling and the second suggestion scaling, wherein, corresponding between described first suggestion scaling and described first suggestion setting district, corresponding between described second suggestion scaling and described second suggestion setting district.
6. a page zoom-in and zoom-out device, is characterized in that, is applied to electronic equipment, and described device comprises: zoom operations receiving element, displaying ratio obtain unit, ratio-dependent unit and page zoom-in and zoom-out unit,
Described zoom operations receiving element, operates the page zoom-in and zoom-out of current page for receiving user;
Described displaying ratio obtains unit, for obtaining the current displaying ratio of current page; Described ratio-dependent unit, for from the page zoom-in and zoom-out configuration file of this locality, search the interval corresponding scaling of displaying ratio at the current displaying ratio place of current page, as current zoom ratio, wherein, the displaying ratio stored in described page zoom-in and zoom-out configuration file is interval is default with the corresponding relation of scaling;
Described page zoom-in and zoom-out unit, for carrying out convergent-divergent to current page according to described current zoom ratio.
7. device according to claim 6, is characterized in that, also comprises: input receiving unit and storage unit,
Described input receiving unit, for receive user to be inputted by display setting interface set by the interval upper limit in displaying ratio interval, interval limit and corresponding scaling interval with the displaying ratio set by user;
Described storage unit, for by the interval upper limit in the displaying ratio interval set by user, interval limit and with the interval corresponding scaling corresponding stored of the displaying ratio set by user in page zoom-in and zoom-out configuration file.
8. device according to claim 7, is characterized in that, described device also comprises: the first Tip element and the second Tip element,
Described first Tip element, the first pre-set interval and the second pre-set interval that do not overlap at least is comprised for the displaying ratio interval set by user, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, on the interval being not less than described first pre-set interval at the interval limit of described second pre-set interval in limited time, judge whether described second preset ratio is not more than described first preset ratio, if, then export prompting message and increase described second preset ratio to point out user,
Described second Tip element, the first pre-set interval and the second pre-set interval that do not overlap at least is comprised for the displaying ratio interval set by user, and the first preset ratio that user's input is corresponding with described first pre-set interval, when user inputs second preset ratio corresponding with described second pre-set interval, on the interval being not less than described second pre-set interval at the interval limit of described first pre-set interval in limited time, judge whether described first preset ratio is not more than described second preset ratio, if, then export prompting message and increase described first preset ratio to point out user.
9. the device according to claim 7 or 8, is characterized in that, described device also comprises: Covering judgment unit and the 3rd Tip element,
Described Covering judgment unit, for when the displaying ratio interval set by user is at least two, the scalable ratio of the union judging all displaying ratio intervals set by user whether cover page is interval, if not, triggers described 3rd Tip element;
Described 3rd Tip element, adjusts for exporting information prompting user the scalable ratio interval that set displaying ratio interval makes the union cover page in set displaying ratio interval.
10. the device according to claim 7 or 8, it is characterized in that, to show in described display setting interface between the first suggestion setting district, between the second suggestion setting district, the first suggestion scaling and the second suggestion scaling, wherein, corresponding between described first suggestion scaling and described first suggestion setting district, corresponding between described second suggestion scaling and described second suggestion setting district.
CN201510330448.4A 2015-06-15 2015-06-15 Page scaling method and device Active CN104866202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510330448.4A CN104866202B (en) 2015-06-15 2015-06-15 Page scaling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510330448.4A CN104866202B (en) 2015-06-15 2015-06-15 Page scaling method and device

Publications (2)

Publication Number Publication Date
CN104866202A true CN104866202A (en) 2015-08-26
CN104866202B CN104866202B (en) 2018-10-16

Family

ID=53912069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510330448.4A Active CN104866202B (en) 2015-06-15 2015-06-15 Page scaling method and device

Country Status (1)

Country Link
CN (1) CN104866202B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933487A (en) * 2017-03-15 2017-07-07 深圳市金立通信设备有限公司 A kind of image-scaling method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588403A (en) * 2009-06-16 2009-11-25 魏新成 Method for browsing web pages on screen of Internet-enabled mobile phone through finger movements
US20100097400A1 (en) * 2008-10-17 2010-04-22 Htc Corporation Method for adjusting page display manner, mobile electronic device, and storage medium thereof
CN102023803A (en) * 2010-12-04 2011-04-20 鸿富锦精密工业(深圳)有限公司 Electronic reading device and preview method thereof
CN102646263A (en) * 2012-03-06 2012-08-22 优视科技有限公司 Scaling regulating method and device
CN103699329A (en) * 2013-12-31 2014-04-02 优视科技有限公司 Page scaling method, page scaling device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100097400A1 (en) * 2008-10-17 2010-04-22 Htc Corporation Method for adjusting page display manner, mobile electronic device, and storage medium thereof
CN101588403A (en) * 2009-06-16 2009-11-25 魏新成 Method for browsing web pages on screen of Internet-enabled mobile phone through finger movements
CN102023803A (en) * 2010-12-04 2011-04-20 鸿富锦精密工业(深圳)有限公司 Electronic reading device and preview method thereof
CN102646263A (en) * 2012-03-06 2012-08-22 优视科技有限公司 Scaling regulating method and device
CN103699329A (en) * 2013-12-31 2014-04-02 优视科技有限公司 Page scaling method, page scaling device and terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933487A (en) * 2017-03-15 2017-07-07 深圳市金立通信设备有限公司 A kind of image-scaling method and terminal

Also Published As

Publication number Publication date
CN104866202B (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US9003283B2 (en) Copying text using parameters displayed on a clipboard
CN103324436B (en) A kind of task processing method and device
CN103092517A (en) Method and device for achieving opening preset program through gesture operation quickly
CN103870092A (en) Desktop icon display method and electronic device
DE102014006318A1 (en) Physical object detection and touchscreen interaction
CN105204756A (en) Method and device used for operating screen of touch screen device
CN104462496A (en) Search method, device and mobile terminal
CN104462516A (en) Information prompt method and mobile terminal
US20110126087A1 (en) Graphical user interface for non mouse-based activation of links
CN103605476A (en) Method and device for selecting objects in display interface
CN104508616A (en) Text input method and device and terminal
CN104516674A (en) Word processing method and device
CN106155542A (en) Image processing method and device
CN109189301A (en) Screen capture method and device
CN103218120A (en) Method for quickly unlocking application program of android terminal
CN105843940A (en) Folder combination method and device
CN104272712B (en) Subscriber equipment and method of controlling operation thereof thereof
CN105718133A (en) User operation guiding method and apparatus
CN112416199B (en) Control method and device and electronic equipment
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN104866202A (en) Page scaling method and device
CN105573593A (en) Shortcut menu display method and apparatus
CN105549837A (en) Method and device for displaying contact items of contact list based on touch-screen apparatus
CN105631036A (en) Method for browsing history inquiry
CN102681974B (en) Display packing, display device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181217

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TR01 Transfer of patent right