Method, apparatus and system of displaying webpages
First Claim
1. A method of displaying a webpage, the method comprising:
- receiving, by a website server, a first request message from a client requesting to browse a webpage;
sending, by the website server, a second request message to the client requesting a screen resolution adopted by the client;
receiving, by the website server, from the client, information indicative of the screen resolution adopted by the client;
selecting, by the website server, a font size, wherein the selecting of the font size comprises;
comparing the screen resolution with a first resolution threshold;
in the event that the screen resolution exceeds the first resolution threshold;
comparing the screen resolution with a second resolution threshold;
in the event that the screen resolution exceeds the second resolution threshold, selecting a first font size as the font size; and
in the event that the screen resolution does not exceed the second resolution threshold, selecting the font size according to the screen resolution adopted by the client and a predetermined correlation between screen resolutions and font sizes; and
in the event that the screen resolution does not exceed the first resolution threshold, selecting a second font size as the font size;
generating, by the website server, the webpage in a scale corresponding to the screen resolution adopted by the client and the selected font size; and
sending, by the website server, the webpage to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of displaying a webpage includes: receiving a first request message from a client requesting to browse a webpage; sending a second request message to the client requesting for a screen resolution adopted by the client; receiving, form the client, information indicative of the screen resolution adopted by the client; selecting a font size corresponding to the screen resolution adopted by the client according to the screen resolution adopted by the client and a predetermined correlation between screen resolutions and font sizes; generating the webpage in a scale corresponding to the screen resolution adopted by the client and the selected font size; and sending the webpage to the client. Therefore, the website server is enabled to generate webpages with font sizes to facilitate optimal webpage browsing according to the screen resolution currently adopted, thereby effectively improving the display performance of the webpage, enhancing the quality of service of a website system, and significantly improving the user experience. A website server and a website system are also disclosed.
-
Citations
18 Claims
-
1. A method of displaying a webpage, the method comprising:
-
receiving, by a website server, a first request message from a client requesting to browse a webpage; sending, by the website server, a second request message to the client requesting a screen resolution adopted by the client; receiving, by the website server, from the client, information indicative of the screen resolution adopted by the client; selecting, by the website server, a font size, wherein the selecting of the font size comprises; comparing the screen resolution with a first resolution threshold; in the event that the screen resolution exceeds the first resolution threshold; comparing the screen resolution with a second resolution threshold; in the event that the screen resolution exceeds the second resolution threshold, selecting a first font size as the font size; and in the event that the screen resolution does not exceed the second resolution threshold, selecting the font size according to the screen resolution adopted by the client and a predetermined correlation between screen resolutions and font sizes; and in the event that the screen resolution does not exceed the first resolution threshold, selecting a second font size as the font size; generating, by the website server, the webpage in a scale corresponding to the screen resolution adopted by the client and the selected font size; and sending, by the website server, the webpage to the client. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of displaying a webpage, comprising:
-
receiving, by a website server from a client, a request to browse a webpage and information indicative of a screen resolution adopted by the client; selecting, by the website server, a font size, wherein the selecting of the font size comprises; comparing the screen resolution with a first resolution threshold; in the event that the screen resolution exceeds the first resolution threshold; comparing the screen resolution with a second resolution threshold; in the event that the screen resolution exceeds the second resolution threshold, selecting a first font size as the font size; and in the event that the screen resolution does not exceed the second resolution threshold, selecting the font size according to the screen resolution adopted by the client and a predetermined correlation between screen resolutions and font sizes; and in the event that the screen resolution does not exceed the first resolution threshold, selecting a second font size as the font size; generating, by the website server, the webpage in a scale corresponding to the screen resolution adopted by the client and the selected font size; and sending, by the website server, the webpage to the client. - View Dependent Claims (9, 10)
-
-
11. A website server, comprising:
-
one or more processors; and computer-readable storage media having stored thereon computer executable components comprising; a communication module at the web server that receives from a client a first request message requesting to browse a webpage, receives from the client information indicative of a screen resolution adopted by the client, and further receives from the client information indicative of a screen resolution reset by the client; a selection module at the web server that selects a font size, wherein the selecting of the font size comprises; comparing the screen resolution with a first resolution threshold; in the event that the screen resolution exceeds the first resolution threshold; comparing the screen resolution with a second resolution threshold; in the event that the screen resolution exceeds the second resolution threshold, selecting a first font size as the font size; and in the event that the screen resolution does not exceed the second resolution threshold, selecting the font size corresponding to a ratio between the screen resolution adopted by the client prior to the reset and the screen resolution reset by the client; and in the event that the screen resolution does not exceed the first resolution threshold, selecting a second font size as the font size; and a generation module at the web server that generates a webpage proportionally scaled according to the ratio. - View Dependent Claims (12, 13, 14)
-
-
15. A website server, comprising:
-
one or more processors; and computer-readable storage media having stored thereon computer executable components comprising; a communication module at the web server that receives from a client a request message including a request to browse a webpage and a screen resolution; a storing module that defines a predetermined correlation between different screen resolutions and corresponding font sizes in a cascading stylesheet (CSS); a selection module at the web server that selects a font size, wherein the selecting of the font size comprises; comparing the screen resolution with a first resolution threshold; in the event that the screen resolution exceeds the first resolution threshold; comparing the screen resolution with a second resolution threshold; in the event that the screen resolution exceeds the second resolution threshold, selecting a first font size as the font size; and in the event that the screen resolution does not exceed the second resolution threshold, selecting the font size according to the screen resolution and the predetermined correlation between screen resolutions and font sizes; and in the event that the screen resolution does not exceed the first resolution threshold, selecting a second font size as the font size; and a generation module at the web server that, according to the screen resolution and the selected font size, generates the webpage in a corresponding scale and sends the generated webpage to the client via the communication module.
-
-
16. A website system, comprising:
-
a website server including; one or more processors; and computer-readable storage media having stored thereon computer executable components that are executable by the processor to perform actions comprising; receiving a first request message from a client requesting to browse a webpage; sending a second request message to the client to request for information indicative of a screen resolution adopted by the client; selecting a font size, wherein the selecting of the font size comprises; comparing the screen resolution with a first resolution threshold; in the event that the screen resolution exceeds the first resolution threshold; comparing the screen resolution with a second resolution threshold; in the event that the screen resolution exceeds the second resolution threshold, selecting a first font size as the font size; and in the event that the screen resolution does not exceed the second resolution threshold, selecting the font size according to the screen resolution and a predetermined correlation between screen resolutions and font sizes; and in the event that the screen resolution does not exceed the first resolution threshold, selecting a second font size as the font size; generating the webpage in a scale corresponding to the screen resolution and the selected font size; and sending the generated webpage to the client; when the screen resolution is reset to a user-set screen resolution at a time after sending the webpage to the client, selecting a new font size corresponding to the user-set screen resolution based on the predetermined correlation between screen resolutions and font sizes; and generating a revised webpage in a scale corresponding to the user-set screen resolution and the new font size. - View Dependent Claims (17, 18)
-
Specification