WO2015055090A1 - Method, device, and system for obtaining web page data - Google Patents
Method, device, and system for obtaining web page data Download PDFInfo
- Publication number
- WO2015055090A1 WO2015055090A1 PCT/CN2014/088216 CN2014088216W WO2015055090A1 WO 2015055090 A1 WO2015055090 A1 WO 2015055090A1 CN 2014088216 W CN2014088216 W CN 2014088216W WO 2015055090 A1 WO2015055090 A1 WO 2015055090A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- web page
- page data
- data
- client
- configuration parameter
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Definitions
- the present disclosure relates to internet technology field and, more particularly to a method, device and system for obtaining web page data.
- Browser is one of common internet tools to browse internet for people, by which users may obtain web page data from the web servers and display it in local, in order to browse the web pages.
- web page data for different web page version types When the web server stores and maintains the web page data, commonly multiple web page data for multiple web page version types will be stored for one web page. Commonly, web page data for different web page version type has the same or similar essential contents, but their typesetting, functions and displaying quality are distinguishing, thus data quantities are different accordingly.
- the entered website link will not contain parameters of web page version type
- web page data with a default version type After the web server receives a web page request from the terminal, web page data with a default version type will be chosen.
- the default version type can be set according to different demands of the web server, for example, an integral version type with the highest displaying quality, strongest function and best typesetting could be served as the default version type, for publicizing the website.
- the present disclosure provides a method, device and system of obtaining web page data, so as to improving flexibility of loading web page.
- a method of obtaining web page data includes: obtaining an identification of a target web page and a configuration parameter of a client; determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and obtaining web page data of the target web page based on the web page version type from a web server.
- a method of obtaining a web page includes: sending a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; receiving the web page data sent by the backend server; and loading the target web page according to the web page data that is received.
- a method of obtaining a web page includes: a client sending a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client; the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; the backend server obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; and the client loading the target web page according to the web page data that is received.
- a device of obtaining a web page includes: a parameter obtaining module, programmed to obtain an identification of a target web page and a configuration parameter of a client; a determination module, programmed to determine a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and a data obtaining module, programmed to obtain web page data of the target web page based on the web page version type from a web server.
- a device of obtaining a web page includes: a sending module, programmed to send a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, thereby the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; a receiving module, programmed to receive the web page data sent by the backend server; and a loading module, programmed to load the target web page according to the web page data that is received
- a system of obtaining a web page includes a backend server and a client.
- the client is programmed to send a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, receiving web page data sent by the backend server, and loading the target web page according to the web page data.
- the backend server is programmed to receive the web page data request; determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client.
- Fig. 1 is a flowchart of a method of obtaining web page data according to embodiments of the present disclosure
- Figs. 2a, 2b, 2c are displaying view of the web page according to the present disclosure
- Fig. 3 is a flowchart of a method of obtaining web page data according to embodiments of the present disclosure
- Fig. 4 is a flowchart of a method of obtaining web page data according to embodiments of the present disclosure
- Fig. 5 is a block diagram of a device of obtaining web page data according to embodiments of the present disclosure
- Fig. 6 is a block diagram of a device of obtaining web page data according to embodiments of the present disclosure.
- Fig. 7 is a block diagram of a terminal according to embodiments of the present disclosure.
- module may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC) ; an electronic circuit; a combinational logic circuit; a field programmable gate array (FPGA) ; a processor (shared, dedicated, or group) that executes code; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system-on-chip.
- ASIC Application Specific Integrated Circuit
- FPGA field programmable gate array
- processor shared, dedicated, or group
- the term module or unit may include memory (shared, dedicated, or group) that stores code executed by the processor.
- the exemplary environment may include a server, a client, and a communication network.
- the server and the client may be coupled through the communication network for information exchange, such as sending/receiving identification information, sending/receiving data files such as splash screen images, etc.
- information exchange such as sending/receiving identification information, sending/receiving data files such as splash screen images, etc.
- client and one server are displayed in the environment, any number of terminals or servers may be included, and other devices may also be included.
- the communication network may include any appropriate type of communication network for providing network connections to the server and client or among multiple servers or clients.
- communication network may include the Internet or other types of computer networks or telecommunication networks, either wired or wireless.
- the disclosed methods and apparatus may be implemented, for example, in a wireless network that includes at least one client.
- the client may refer to any appropriate user terminal with certain computing capabilities, such as a personal computer (PC) , a work station computer, a server computer, a hand-held computing device (tablet) , a smart phone or mobile phone, or any other user-side computing device.
- the client may include a network access device.
- the client may be stationary or mobile.
- a server may refer to one or more server computers configured to provide certain server functionalities, such as database management and search engines.
- a server may also include one or more processors to execute computer programs in parallel.
- a user may refer to one or more persons or things that control a client.
- the user may control more than one clients or other devices.
- the embodiments provide a method of obtaining web page data. As shown in Fig. 1, the method includes the following steps.
- Step 101 obtaining an identification of a target web page and a configuration parameter of a client.
- Step 102 determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type.
- Step 103 obtaining web page data of the target web page based on the web page version type from a web server.
- the embodiments provide a method of obtaining web page data, with a client (such as a browser) or a backend server of a client served as the executive body. Now this method will be described in detail with a backend server served as the executive body.
- the backend server may store a corresponding relationship between configuration parameter and web page version type.
- the configuration parameter can be information parameter such as network of terminal of the client, hardware, or software, etc. , which may be one or any combination selected from current network type information, hardware configuration information, or system process information.
- the current network type information means the type information of network connection manner currently used, which may include 2G (2 nd Generation) network, 3G (3 rd Generation) network, WiFi (Wireless Fidelity) network, for example.
- the hardware configuration information could be the hardware basic configuration information of the terminal, which may include capacity (such as 8G, 16G) of RAM (random access memory) , dominant frequency of CPU (Central Processing Unit) , etc.
- the system process information could be the relevant information of operating system of the terminal, which may include name and version No. of the operating system, for example Android TM 3.0.
- the web page version type means web page format of different types, one web page version type can be a total of a series of parameters, for example, a certain web page version type defines parameters such as the maximum resolution of web page, the maximum number of colors, operating functions (click, dragging, etc. ) .
- a certain web page version type defines parameters such as the maximum resolution of web page, the maximum number of colors, operating functions (click, dragging, etc. ) .
- several web page version types will be made for one web site. Different web page version types can be made according to actual demands, for example, three web page version types are made for a certain web server, the first one has the highest quality on displaying, the strongest function, and largest data quantity; the second one has the worse quality on displaying, the worse function, and smallest data quantity; ad the third one has moderate quality on displaying, the moderate function, and the moderate data quantity.
- the number of the web page version type is discretional, such as two or four, and the contents of the web page version type are discretional as well.
- Different web page version type could be made by basing on different protocols, for example, web page version type based on WAP (Wireless Application Protocol) 1.0, web page version type based on WAP 2.0, web page version type based on HTML (Hyper Text Markup Language) 5.
- a corresponding relationship table can be built up, in which configuration parameter with different value and different web page version type is recorded correspondingly.
- Table 1 shows a simple example of such a corresponding relationship table.
- the configuration parameter is the current network type information which has three values including WiFi network, 2G network, and 3G network.
- the first, second, and third web page version type can be set as mentioned in the embodiment above, and their displaying effects are shown as Figs. 2a, 2b, 2c.
- Fig. 2a may be displayed in a user terminal when the network connection between the user terminal and the server is WiFi network.
- the displayed webpage more have more media content.
- the webpage may include an image 201a that has more pixels than images 201b and 201c displayed in Fig. 2b and Fig. 2c. The user may swipe the image 201a to get more image content.
- FIG. 2b may be displayed in a user terminal when the network connection between the user terminal and the server is 2G network.
- the webpage may include more texts than the webpages displayed in Fig. 2a and Fig. 2c.
- the displayed image 201b may have relatively low quality so that the image may be displayed promptly with limited bandwidth.
- Fig. 2c may be displayed in a user terminal when the network connection between the user terminal and the server is 3G network.
- the image 201c may have more pixels than image 201b in Fig. 2b and less pixels than image 201a in Fig. 2a.
- WiFi network has the maximum bandwidth and needs no data usage expense, thus the first web page version type with largest data quantity, highest quality on displaying and strongest function is used in WiFi network condition, to improve user experience; 2G network has the minimum bandwidth and needs high data usage expense, thus the second web page version type with smallest data quantity, worse quality on displaying and worse function is used in 2G network; while 3G network has moderate bandwidth and lower cost, thus the third web page version type with moderate data quantity, moderate quality on displaying and moderate function is used in 3G network condition, for ensuring user experience and saving data usage.
- table 1 just shows a simple example; and other complex corresponding relationships could be used in actual practice, such as a combination with multiple configuration parameters.
- Step 101 a backend server obtaining an identification of a target web page and a configuration parameter of a client.
- the identification of the target web page can be the website of the target web page or other identifications.
- the backend server may obtain the web page data of the target web page according to the request of the client, or voluntarily obtain the web page data of the target web page and then push it to the client.
- the step 101 may include:
- the backend server receives the web page data request sent by the client, where the web page data request includes the identification of the target web page and the configuration parameter of the client.
- the backend server obtains the identification of the target web page and the configuration parameter of the client carried in the web page data request.
- the client in the terminal (mobile terminal, such as a mobile phone, tablet) , after the user enters a website of the target web page in the address bar of a browser and clicks it to confirm, or the user clicks the address link of the target web page (such as address link icon) , the client will be triggered to create a web page data request with an identification (such as website address) of the target web page, and obtain the configuration parameter (such as the current network type information) of the client, and then the web page data request will be sent to the backend server.
- the backend server could obtain the identification of the target web page and the parameter information of the client carried in the web page data request.
- Step 102 the backend server determines a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type.
- the backend server may search the corresponding web page version type in the corresponding relationship table, according to the configuration parameter. Therefore, a web page version type matching with the configuration parameter of the client can be set, basing on the configurations in the corresponding relationship. For example, terminals with 2G network choose the web page version type with minimum data quantity, terminals with small RAM (capacity of RAM is within a preset low capacity range) choose the web page version type with lower system resource occupancy.
- Step 103 the backend server obtains web page data of the target web page based on the web page version type from a web server.
- the backend server may determine the web page version type and the parameters thereof, and then the parameters of the web page version type will be added to the website address of the target web page, by which a website address with the parameters is obtained; subsequently, this website address will be carried in the web page data request which will be sent to the web server.
- the web server stores multiple web page data of the target web page based on different web page version types, according to the website address of the web page data request, the web page data of the target web page matching with the desired web page version type can be obtained. Finally, the obtained web page data will be sent to the backend server by the web server.
- the backend server is further programmed to send the obtained web page data to the client.
- the client After receiving the web page data, the client will load the target web page and then display it.
- the backend server could adjust the format of the web page.
- the backend server adjusts the format of the web page according to the obtained web page data, so as to obtain the adjusted web page data.
- the purpose of adjusting the format of the web page is for reducing the data quantity of the web page data.
- the adjusting manner may include at least one of the following: reducing the resolution of the web page, reducing number of color of the web page, or changing trigger ways for some functional keys.
- the adjustment can be compressing image data in the web page data to obtain the adjusted web page.
- the image compression process for the image data includes reducing the resolution of the image, or compressing and coding the image by a preset image compression coding manner with maintaining the original resolution.
- the process of sending web page data to the client includes sending the adjusted web page data to the client.
- the embodiments provide a method of obtaining web page data.
- the process of the client includes:
- Step 301 sending a web page data request to a backend server, and the web page request carrying an identification of a target web page and a configuration parameter of a client, so that, the backend server can determine a web page version type according to the corresponding relationship between configuration parameter and web page version type, and then obtain the web page data of the determined web page version type from the web server, and finally send it to the client.
- Step 302 receiving the web page data sent by the backend server.
- Step 303 loading the target web page according to the web page data that is received.
- the embodiments provide a method of obtaining web page data, and the interactive process between the client and the backend server is shown in Fig. 4, which includes the following steps.
- Step 401 a client sending a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client.
- Step 402 the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type.
- Step 403 the backend server obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client.
- Step 404 the client loading the target web page according to the web page data that is received.
- the embodiments provide a method of obtaining web page data, with a client (such as a browser) or a backend server of a client served as the executive body. Now this embodiment will be described in detail with a client served as the executive body.
- the client can prestored a corresponding relationship between configuration parameter and web page version type.
- Detailed process for the client is similar to that for the backend server in the above embodiments, which is not repeated here.
- Step 101 a client obtaining an identification of a target web page and a configuration parameter of the client.
- the client in the terminal (mobile terminal, such as a mobile phone, tablet) , after the user enters a website of the target web page in the address bar of a browser and clicks it to confirm, or the user clicks the address link of the target web page (such as address link icon) , the client will be triggered to perform the step 101.
- the client may obtain the identification of the target web page (such as website address of target web page) , and the configuration parameter of the client (such as the current network type information) , and then perform the subsequent steps.
- Step 102 the client determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type.
- Step 103 the client obtaining web page data of the target web page based on the web page version type from a web server.
- the client After obtaining the web page data of the target web page, the client can display the target web page on the browser.
- the present disclosure further provides a device of obtaining web page data.
- the device 500 includes a hardware processor 501 and a non-transitory storage medium 502 accessible to the hardware processor 501.
- the non-transitory storage medium 502 is configured to store modules including:
- a parameter obtaining module 510 programmed to obtain an identification of a target web page and a configuration parameter of a client
- a determination module 520 programmed to determine a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type;
- a data obtaining module 530 programmed to obtain web page data of the target web page based on the web page version type from a web server.
- the parameter obtaining module 510 is programmed to receive a web page data request sent by the client, the web page data request carrying the identification of the web page and the configuration parameter of the client; and obtaining the identification of the web page and the configuration parameter of the client which are carried in the web page data request.
- the device further comprises a sending module programmed to send the web page data to the client.
- the data obtaining module 530 is further programmed to adjust page format of the web page data that is obtained, so as to obtain the adjusted web page data; and the sending module is programmed to send the adjusted web page data to the client.
- the data obtaining module 530 is programmed to compress image data in the web page data to obtain the adjusted web page.
- the configuration parameter comprises one or any combination selected from current network type information, hardware configuration information, and system process information.
- the present disclosure further provides a device of obtaining web page data.
- the device 600 includes a hardware processor 601 and a non-transitory storage medium 602 accessible to the hardware processor 601.
- the non-transitory storage medium 602 is configured to store modules including:
- a sending module 610 programmed to send a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, thereby the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client;
- a receiving module 620 programmed to receiving the web page data sent by the backend server
- a loading module 630 programmed to loading the target web page according to the web page data that is received.
- the receiving module 620 is programmed to receiving the adjusted web page data sent by the backend server, and the adjusted web page data is obtained by adjusting page format of the web page data.
- the adjusted web page data is obtained by compressing image data in the web page data.
- the present disclosure further provides a system of obtaining web page data, which includes a backend server and a client.
- the client is programmed to sending a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, receiving web page data sent by the backend server, and loading the target web page according to the web page data.
- the backend server is programmed to receive the web page data request; determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client.
- the backend server is further programmed to adjusting page format of the web page data that is obtained, so as to obtain the adjusted web page data, and sending the adjusted web page data to the client.
- the backend server is further programmed to compressing image data in the web page data to obtain the adjusted web page.
- the present disclosure further provides a backend server including one or more processors, a memorizer, and one or more modules.
- the modules are stored in the memorizer and performed by the processors, and the modules have functions as following:
- step of obtaining an identification of a target web page and a configuration parameter of a client comprises:
- step of sending the web page data to the client comprises sending the adjusted web page data to the client.
- the adjusted web page data is obtained by compressing image data in the web page data.
- the configuration parameter comprises one or any combination selected from current network type information, hardware configuration information, and system process information.
- Fig. 7 shows a block diagram of a terminal having a touch-sensitive surface of the embodiments.
- the terminal may be used for implementing the slide control mentioned in the above embodiments.
- the terminal 700 includes a radio frequency (RF) circuit 110, a memorizer 120 including one or more computer-readable storage mediums, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180 including one or more processing cores, and a power supply 190, etc.
- RF radio frequency
- the RF circuit 110 is programmed to receive and sending signals during calling or process of receiving and sending message. Specially, the RF circuit 110 will receive downlink information from the base station and send it to the processor 180; or send uplink data to the base station.
- the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA) , a diplexer, and the like.
- the RF circuit 110 can communicate with network or other devices by wireless communication.
- Such wireless communication can use any one communication standard or protocol, which includes, but is not limited to, Global System of Mobile communication (GSM) , (General Packet Radio Service, GPRS) , (Code Division Multiple Access, CDMA) , (Wideband Code Division Multiple Access, WCDMA) , (Long Term Evolution, LTE) , email, or (Short Messaging Service, SMS) .
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- SMS Short Messaging Service
- the memorizer 120 is programmed to store software program and module which will be run by the processor 180, so as to perform multiple functional applications of the mobile phone and data processing.
- the memorizer 120 mainly includes storing program area and storing data area.
- the storing program area can store the operating system, at least one application program with required function (such as sound playing function, image playing function, etc. ) .
- the storing data area can store data established by the terminal 700 according to actual using demand (such as audio data, phonebook, etc. )
- the memorizer 120 can be high-speed random access memory, or nonvolatile memory, such as disk storage, flash memory device, or other volatile solid-state memory devices.
- the memorizer 120 may further include a storage controller, so as to allow the processor 180 and the input unit 130 to access the memorizer 120.
- the input unit 130 is programmed to receive the entered number or character information, and the entered key signal related to user setting and function control.
- the input unit 130 includes a touch-sensitive panel 131 or other input devices 132.
- the touch-sensitive panel 131 is also called as touch screen or touch panel, which can collect user’s touch operations thereon or nearby (for example the operations generated by fingers of user or touchpen, and the like, touching on the touch-sensitive panel 131 or touching near the touch-sensitive panel 131) , and drive the corresponding connection device according to the preset program.
- the touch-sensitive panel 131 includes two portions including a touch detection device and a touch controller. Specifically, the touch detection device is programmed to detect touch position of the user and detecting signals accordingly, and then sending the signals to the touch controller.
- the touch controller receives touch information from the touch detection device, and converts it to contact coordinates which are to be sent to the processor 180, and then receives command sent by the processor 180 to perform.
- the touch-sensitive panel 131 can be implemented is forms of resistive type, capacitive type, infrared type and surface acoustic wave type.
- the input unit 130 can include, but is not limited to other input devices 132, such as one or more selected from physical keyboard, function keys (such as volume control keys, switch key-press, etc. ) , a trackball, a mouse, and an operating lever, etc.
- the display unit 140 is programmed to display information entered by the user or information supplied to the user, and menus of the mobile phone.
- the display unit 140 includes a display panel 141, such as a Liquid Crystal Display (LCD) , or an Organic Light-Emitting Diode (OLED) .
- the display panel 141 can be covered by the touch-sensitive panel 131, after touch operations are detected on or near the touch-sensitive panel 131, they will be sent to the processor 180 to determine the type of the touching event. Subsequently, the processor 180 supplies the corresponding visual output to the display panel 141 according to the type of the touching event.
- the touch panel 131 and the display panel 141 are two individual components to implement input and output of the mobile phone, but they can be integrated together to implement the input and output in some embodiments.
- the terminal 700 includes at least one sensor 150, such as light sensors, motion sensors, or other sensors.
- the light sensors includes ambient light sensors for adjusting brightness of the display panel 141 according to the ambient light, and proximity sensors for turning off the display panel 141 and/or maintaining backlight when the mobile phone is moved to the ear side.
- Accelerometer sensor as one of the motion sensors can detect the magnitude of accelerations in every direction (Triaxial, generally) , and detect the magnitude and direction of gravity in an immobile status, which is applicable to applications of identifying attitudes of the mobile (such as switching between horizontal and vertical screens, related games, magnetometer attitude calibration, etc. ) , vibration recognition related functions (such as pedometer, percussion, etc. ) .
- the terminal 700 also can configure other sensors (such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. ) whose detailed descriptions are omitted here.
- the audio circuit 160, the speaker 161 and the microphone 162 supply an audio interface between the user and the terminal 700. Specifically, the audio data is received and converted to electrical signals by audio circuit 160, and then transmitted to the speaker 161, which are converted to sound signal to output. On the other hand, the sound signal collected by the speaker is then converted to electrical signals which will be received and converted to audio data. Subsequently, the audio data are output to the processor 180 to process, and then sent to another mobile phone via the RF circuit 110, or sent to the memorizer 120 to process further.
- the audio circuit 160 may further include earplug jack to support communication between the earphone and the terminal 700.
- WiFi pertains to short-range wireless transmission technology providing a wireless broadband Internet, by which the terminal 700 can help the user to receive and send email, browse web, and access streaming media, etc.
- WiFi module 170 is illustrated in Fig. 7, it should be understood that, WiFi module 170 is not a necessary for the terminal 700, which can be omitted according the actual demand without changing the essence of the present disclosure.
- the processor 180 is a control center of the terminal 700, which connects with every part of the terminal 700 by various interfaces or circuits, and performs various functions and processes data by running or performing software program/module stored in the memorizer 120 or calling data stored in the memorizer 120, so as to monitor the terminal 700.
- the processor 180 may include one or more processing units.
- the processor 180 can integrate with application processors and modem processors, for example, the application processors include processing operating system, user interface and applications, etc. ; the modern processors are used for performing wireless communication. It can be understood that, it’s an option to integrate the modern processors to the processor 180.
- the terminal 700 may include the power supply 190 (such as battery) supplying power for each component, preferably, the power supply can connect with the processor 180 by power management system, so as to manage charging, discharging and power consuming.
- the power supply 190 may include one or more DC or AC power supplies, recharging system, power failure detection circuit, power converter or inverters, or power status indicator, and the like.
- the terminal 700 may include a camera, and a Bluetooth module, etc. , which are not illustrated.
- the display unit of the terminal 700 is a touch screen displayer.
- the terminal 700 further includes storages, and one or more programs stored in the storages.
- One or more processors perform one or more programs which include instructions as following:
- the configuration parameter includes one or any combination selected from current network type information, hardware configuration information, and system process information.
- one or more program is stored in the storages, and one or more processors perform one or more programs which include instructions as following:
- the backend server can determine a web page version type according to the corresponding relationship between configuration parameter and web page version type, and then obtain the web page data of the determined web page version type from the web server, and finally send it to the client;
- step of receiving the web page data sent by the backend server includes adjusting page format of the web page data to obtain the adjusted web page data; and receiving the adjusted web page data sent by the backend server.
- the adjusted web page data is obtained by compressing image data in the web page data.
- part of or whole of the steps in the embodiments can be achieved by hardware or programs by instructing the hardware.
- Such programs can be stored in storage device to be performed by the computer device, such as read-only memory, disk or compact disk, etc.
Abstract
A method, device and system of obtaining web page data are provided in the Internet technology field. The device obtains an identification of a target web page and a configuration parameter of a client. The device determines a web page version type corresponding to the configuration parameter according to a corresponding relationship between configuration parameter and web page version type. The device then obtains web page data of the target web page based on the web page version type from a web server, thereby improving flexibility of loading web page.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims priority to Chinese Patent Application No. 201310489306.3, filed on October 17, 2013, which is hereby incorporated by reference in its entirety.
The present disclosure relates to internet technology field and, more particularly to a method, device and system for obtaining web page data.
As computer technology and internet technology develop fast, internet has become a necessary of people’s everyday life and working. Browser is one of common internet tools to browse internet for people, by which users may obtain web page data from the web servers and display it in local, in order to browse the web pages.
When the web server stores and maintains the web page data, commonly multiple web page data for multiple web page version types will be stored for one web page. Commonly, web page data for different web page version type has the same or similar essential contents, but their typesetting, functions and displaying quality are distinguishing, thus data quantities are different accordingly. When users browse the web page, the entered website link will not contain parameters of web page version type, after the web server receives a web page request from the terminal, web page data with a default version type will be chosen. The default version type can be set according to different demands of the web server, for example, an integral version type with the highest displaying quality, strongest function and best typesetting could be served as the default version type, for publicizing the website.
However, inventors of the present disclosure finds issues that need to be solved:
When different terminal sends a web page request, only web page data with the default version type will be obtained, instead of providing web page data of a matching web page version type according to different statuses of different terminals. As a result, flexibility for loading web page is weak, which may cause failure of obtaining the web page data, for example, if the network configuration is weak, failure of loading web page may happen when obtaining web page data of version types with large data quantity.
SUMMARY
To solve the above issues, the present disclosure provides a method, device and system of obtaining web page data, so as to improving flexibility of loading web page.
According to a first aspect of the present disclosure, a method of obtaining web page data includes: obtaining an identification of a target web page and a configuration parameter of a client; determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and obtaining web page data of the target web page based on the web page version type from a web server.
According to a second aspect of the present disclosure, a method of obtaining a web page includes: sending a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; receiving the web page data sent by the backend server; and loading the target web page according to the web page data that is received.
According to a third aspect of the present disclosure, a method of obtaining a web page includes: a client sending a web page data request to a backend server, the web page request carrying an identification of a target web page and a
configuration parameter of a client; the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; the backend server obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; and the client loading the target web page according to the web page data that is received.
According to a fourth aspect of the present disclosure, a device of obtaining a web page includes: a parameter obtaining module, programmed to obtain an identification of a target web page and a configuration parameter of a client; a determination module, programmed to determine a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and a data obtaining module, programmed to obtain web page data of the target web page based on the web page version type from a web server.
According to a fifth aspect of the present disclosure, a device of obtaining a web page includes: a sending module, programmed to send a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, thereby the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; a receiving module, programmed to receive the web page data sent by the backend server; and a loading module, programmed to load the target web page according to the web page data that is received
According to a sixth aspect of the present disclosure, a system of obtaining a web page includes a backend server and a client. The client is programmed to send a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, receiving web page data sent by the backend server, and loading the target
web page according to the web page data. The backend server is programmed to receive the web page data request; determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
To explain the technical solutions of the embodiments of the present disclosure, accompanying drawings used in the embodiments are followed. Apparently, the following drawings merely illustrate some embodiments of the disclosure, but for persons skilled in the art, other drawings can be obtained without creative works according to these drawings.
Fig. 1 is a flowchart of a method of obtaining web page data according to embodiments of the present disclosure;
Figs. 2a, 2b, 2c are displaying view of the web page according to the present disclosure;
Fig. 3 is a flowchart of a method of obtaining web page data according to embodiments of the present disclosure;
Fig. 4 is a flowchart of a method of obtaining web page data according to embodiments of the present disclosure;
Fig. 5 is a block diagram of a device of obtaining web page data according to embodiments of the present disclosure;
Fig. 6 is a block diagram of a device of obtaining web page data according to embodiments of the present disclosure; and
Fig. 7 is a block diagram of a terminal according to embodiments of the present disclosure.
DETAILED DESCRIPTION OF THE DRAWINGS
Reference throughout this specification to “one embodiment, ” “an embodiment, ” “example embodiment, ” or the like in the singular or plural means that one or more particular features, structures, or characteristics described in connection with an embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment, ” “in an example embodiment, ” or the like in the singular or plural in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
The terminology used in the description of the disclosure herein is for the purpose of describing particular examples only and is not intended to be limiting of the disclosure. As used in the description of the disclosure and the appended claims, the singular forms “a, ” “an, ” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “may include, ” “including, ” “comprises, ” and/or “comprising, ” when used in this specification, specify the presence of stated features, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, operations, elements, components, and/or groups thereof.
As used herein, the term “module” or “unit” may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC) ; an electronic circuit; a combinational logic circuit; a field programmable gate array (FPGA) ; a processor (shared, dedicated, or group) that executes code; other suitable hardware components
that provide the described functionality; or a combination of some or all of the above, such as in a system-on-chip. The term module or unit may include memory (shared, dedicated, or group) that stores code executed by the processor.
The exemplary environment may include a server, a client, and a communication network. The server and the client may be coupled through the communication network for information exchange, such as sending/receiving identification information, sending/receiving data files such as splash screen images, etc. Although only one client and one server are displayed in the environment, any number of terminals or servers may be included, and other devices may also be included.
The communication network may include any appropriate type of communication network for providing network connections to the server and client or among multiple servers or clients. For example, communication network may include the Internet or other types of computer networks or telecommunication networks, either wired or wireless. In a certain embodiment, the disclosed methods and apparatus may be implemented, for example, in a wireless network that includes at least one client.
In some cases, the client may refer to any appropriate user terminal with certain computing capabilities, such as a personal computer (PC) , a work station computer, a server computer, a hand-held computing device (tablet) , a smart phone or mobile phone, or any other user-side computing device. In various embodiments, the client may include a network access device. The client may be stationary or mobile.
A server, as used herein, may refer to one or more server computers configured to provide certain server functionalities, such as database management and search engines. A server may also include one or more processors to execute computer programs in parallel.
A user, as used herein, may refer to one or more persons or things that control a client. The user may control more than one clients or other devices.
The solutions in the embodiments of the present disclosure are clearly and completely described in combination with the attached drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part, but
not all, of the embodiments of the present disclosure. On the basis of the embodiments of the present disclosure, all other embodiments acquired by those of ordinary skill in the art under the precondition that no creative efforts have been made shall be covered by the protective scope of the present disclosure.
Other aspects, features, and advantages of this disclosure will become apparent from the following detailed description when taken in conjunction with the accompanying drawings.
The embodiments provide a method of obtaining web page data. As shown in Fig. 1, the method includes the following steps.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
The embodiments provide a method of obtaining web page data, with a client (such as a browser) or a backend server of a client served as the executive body. Now this method will be described in detail with a backend server served as the executive body.
In this method, the backend server may store a corresponding relationship between configuration parameter and web page version type.
For example, the configuration parameter can be information parameter such as network of terminal of the client, hardware, or software, etc. , which may be
one or any combination selected from current network type information, hardware configuration information, or system process information. The current network type information means the type information of network connection manner currently used, which may include 2G (2nd Generation) network, 3G (3rd Generation) network, WiFi (Wireless Fidelity) network, for example. The hardware configuration information could be the hardware basic configuration information of the terminal, which may include capacity (such as 8G, 16G) of RAM (random access memory) , dominant frequency of CPU (Central Processing Unit) , etc. The system process information could be the relevant information of operating system of the terminal, which may include name and version No. of the operating system, for example AndroidTM 3.0.
The web page version type means web page format of different types, one web page version type can be a total of a series of parameters, for example, a certain web page version type defines parameters such as the maximum resolution of web page, the maximum number of colors, operating functions (click, dragging, etc. ) . Commonly, several web page version types will be made for one web site. Different web page version types can be made according to actual demands, for example, three web page version types are made for a certain web server, the first one has the highest quality on displaying, the strongest function, and largest data quantity; the second one has the worse quality on displaying, the worse function, and smallest data quantity; ad the third one has moderate quality on displaying, the moderate function, and the moderate data quantity. Of course, this is just a specific example, the number of the web page version type is discretional, such as two or four, and the contents of the web page version type are discretional as well. Different web page version type could be made by basing on different protocols, for example, web page version type based on WAP (Wireless Application Protocol) 1.0, web page version type based on WAP 2.0, web page version type based on HTML (Hyper Text Markup Language) 5.
In the backend server, a corresponding relationship table can be built up, in which configuration parameter with different value and different web page version type is recorded correspondingly. Table 1 shows a simple example of such a corresponding relationship table.
Table 1
Current network type information | Web page version type |
WiFi network | First web page version type |
2G network | Second web page version type |
3G network | Third web page version type |
In this corresponding relationship table, the configuration parameter is the current network type information which has three values including WiFi network, 2G network, and 3G network. The first, second, and third web page version type can be set as mentioned in the embodiment above, and their displaying effects are shown as Figs. 2a, 2b, 2c. Fig. 2a may be displayed in a user terminal when the network connection between the user terminal and the server is WiFi network. In Fig. 2a, the displayed webpage more have more media content. For example, the webpage may include an image 201a that has more pixels than images 201b and 201c displayed in Fig. 2b and Fig. 2c. The user may swipe the image 201a to get more image content. Fig. 2b may be displayed in a user terminal when the network connection between the user terminal and the server is 2G network. In Fig. 2b, the webpage may include more texts than the webpages displayed in Fig. 2a and Fig. 2c. The displayed image 201b may have relatively low quality so that the image may be displayed promptly with limited bandwidth. Fig. 2c may be displayed in a user terminal when the network connection between the user terminal and the server is 3G network. In Fig. 2c, the image 201c may have more pixels than image 201b in Fig. 2b and less pixels than image 201a in Fig. 2a.
In each network mentioned above, WiFi network has the maximum bandwidth and needs no data usage expense, thus the first web page version type with largest data quantity, highest quality on displaying and strongest function is used in WiFi network condition, to improve user experience; 2G network has the minimum bandwidth and needs high data usage expense, thus the second web page version type with smallest data quantity, worse quality on displaying and worse function is used in 2G network; while 3G network has moderate bandwidth and lower cost, thus the third web page version type with moderate data quantity, moderate quality on displaying and moderate function is used in 3G network condition, for ensuring user experience and saving data usage. It should be noted that, table 1 just shows a simple example;
and other complex corresponding relationships could be used in actual practice, such as a combination with multiple configuration parameters.
Detailed descriptions of processing flow in Fig. 1 follow.
For example, the identification of the target web page can be the website of the target web page or other identifications.
The backend server may obtain the web page data of the target web page according to the request of the client, or voluntarily obtain the web page data of the target web page and then push it to the client. During the process of the backend server obtaining the web page data of the target web page according to the request of the client, the step 101 may include:
The backend server receives the web page data request sent by the client, where the web page data request includes the identification of the target web page and the configuration parameter of the client. The backend server obtains the identification of the target web page and the configuration parameter of the client carried in the web page data request.
During the implementation, in the terminal (mobile terminal, such as a mobile phone, tablet) , after the user enters a website of the target web page in the address bar of a browser and clicks it to confirm, or the user clicks the address link of the target web page (such as address link icon) , the client will be triggered to create a web page data request with an identification (such as website address) of the target web page, and obtain the configuration parameter (such as the current network type information) of the client, and then the web page data request will be sent to the backend server. As a result, the backend server could obtain the identification of the target web page and the parameter information of the client carried in the web page data request.
The backend server may search the corresponding web page version type in the corresponding relationship table, according to the configuration parameter. Therefore, a web page version type matching with the configuration parameter of the client can be set, basing on the configurations in the corresponding relationship. For example, terminals with 2G network choose the web page version type with minimum data quantity, terminals with small RAM (capacity of RAM is within a preset low capacity range) choose the web page version type with lower system resource occupancy.
For example, the backend server may determine the web page version type and the parameters thereof, and then the parameters of the web page version type will be added to the website address of the target web page, by which a website address with the parameters is obtained; subsequently, this website address will be carried in the web page data request which will be sent to the web server. The web server stores multiple web page data of the target web page based on different web page version types, according to the website address of the web page data request, the web page data of the target web page matching with the desired web page version type can be obtained. Finally, the obtained web page data will be sent to the backend server by the web server.
After the step 103, the backend server is further programmed to send the obtained web page data to the client.
Thereby, after receiving the web page data, the client will load the target web page and then display it.
Optionally, before sending the obtained web page data to the client, the backend server could adjust the format of the web page. For example, the backend server adjusts the format of the web page according to the obtained web page data, so as to obtain the adjusted web page data.
Here, the purpose of adjusting the format of the web page is for reducing the data quantity of the web page data. The adjusting manner may include at least one of the following: reducing the resolution of the web page, reducing number of color of
the web page, or changing trigger ways for some functional keys. Preferably, the adjustment can be compressing image data in the web page data to obtain the adjusted web page.
In the embodiments, the image compression process for the image data includes reducing the resolution of the image, or compressing and coding the image by a preset image compression coding manner with maintaining the original resolution.
Based on the adjustment for the web page data, the process of sending web page data to the client includes sending the adjusted web page data to the client.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
The embodiments provide a method of obtaining web page data. Corresponding with the process of the backend server in the embodiments, the process of the client includes:
The detailed process of each step may be referred to the descriptions in the above embodiments.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
The embodiments provide a method of obtaining web page data, and the interactive process between the client and the backend server is shown in Fig. 4, which includes the following steps.
The detailed process of each step could be referred to the descriptions in the above embodiments.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
The embodiments provide a method of obtaining web page data, with a client (such as a browser) or a backend server of a client served as the executive body. Now this embodiment will be described in detail with a client served as the executive body.
In this method, the client can prestored a corresponding relationship between configuration parameter and web page version type. Detailed process for the client is similar to that for the backend server in the above embodiments, which is not repeated here.
Following is the detailed explanation for the client carrying out the process of Fig. 1.
During the implementation, in the terminal (mobile terminal, such as a mobile phone, tablet) , after the user enters a website of the target web page in the address bar of a browser and clicks it to confirm, or the user clicks the address link of the target web page (such as address link icon) , the client will be triggered to perform the step 101. At this time, the client may obtain the identification of the target web page (such as website address of target web page) , and the configuration parameter of the client (such as the current network type information) , and then perform the subsequent steps.
Detailed process of the two steps for the client is similar to that for the backend server in the above embodiments, which is not repeated here.
After obtaining the web page data of the target web page, the client can display the target web page on the browser.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored,
by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
Based on the same technical concept, the present disclosure further provides a device of obtaining web page data. As shown in Fig. 5, the device 500 includes a hardware processor 501 and a non-transitory storage medium 502 accessible to the hardware processor 501. The non-transitory storage medium 502 is configured to store modules including:
a parameter obtaining module 510, programmed to obtain an identification of a target web page and a configuration parameter of a client;
a determination module 520, programmed to determine a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and
a data obtaining module 530, programmed to obtain web page data of the target web page based on the web page version type from a web server.
Preferably, the parameter obtaining module 510 is programmed to receive a web page data request sent by the client, the web page data request carrying the identification of the web page and the configuration parameter of the client; and obtaining the identification of the web page and the configuration parameter of the client which are carried in the web page data request.
The device further comprises a sending module programmed to send the web page data to the client.
Preferably, the data obtaining module 530 is further programmed to adjust page format of the web page data that is obtained, so as to obtain the adjusted web page data; and the sending module is programmed to send the adjusted web page data to the client.
More preferably, the data obtaining module 530 is programmed to compress image data in the web page data to obtain the adjusted web page.
Preferably, the configuration parameter comprises one or any combination selected from current network type information, hardware configuration information, and system process information.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
Based on the same technical concept, the present disclosure further provides a device of obtaining web page data. As shown in Fig. 6, the device 600 includes a hardware processor 601 and a non-transitory storage medium 602 accessible to the hardware processor 601. The non-transitory storage medium 602 is configured to store modules including:
a sending module 610, programmed to send a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, thereby the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client;
a receiving module 620, programmed to receiving the web page data sent by the backend server; and
a loading module 630, programmed to loading the target web page according to the web page data that is received.
Preferably, the receiving module 620 is programmed to receiving the adjusted web page data sent by the backend server, and the adjusted web page data is obtained by adjusting page format of the web page data.
Preferably, the adjusted web page data is obtained by compressing image data in the web page data.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
Based on the same technical concept, the present disclosure further provides a system of obtaining web page data, which includes a backend server and a client.
For example, the client is programmed to sending a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, receiving web page data sent by the backend server, and loading the target web page according to the web page data.
The backend server is programmed to receive the web page data request; determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client.
Preferably, the backend server is further programmed to adjusting page format of the web page data that is obtained, so as to obtain the adjusted web page data, and sending the adjusted web page data to the client.
More preferably, the backend server is further programmed to compressing image data in the web page data to obtain the adjusted web page.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result,
web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
Based on the same technical concept, the present disclosure further provides a backend server including one or more processors, a memorizer, and one or more modules. For example, the modules are stored in the memorizer and performed by the processors, and the modules have functions as following:
obtaining an identification of a target web page and a configuration parameter of a client;
determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; and
obtaining web page data of the target web page based on the web page version type from a web server
Preferably, step of obtaining an identification of a target web page and a configuration parameter of a client comprises:
receiving a web page data request sent by the client, the web page data request carrying the identification of the web page and the configuration parameter of the client;
obtaining the identification of the web page and the configuration parameter of the client which are carried in the web page data request;
after obtaining the web page data of the target web page on the web page version type from the web server, sending the web page data to the client.
More preferably, it further includes adjusting page format of the web page data that is obtained, so as to obtain the adjusted web page data. And step of sending the web page data to the client comprises sending the adjusted web page data to the client.
For example, the adjusted web page data is obtained by compressing image data in the web page data.
Preferably, the configuration parameter comprises one or any combination selected from current network type information, hardware configuration information, and system process information.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result, web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
Fig. 7 shows a block diagram of a terminal having a touch-sensitive surface of the embodiments. The terminal may be used for implementing the slide control mentioned in the above embodiments.
For example, the terminal 700 includes a radio frequency (RF) circuit 110, a memorizer 120 including one or more computer-readable storage mediums, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180 including one or more processing cores, and a power supply 190, etc. It’s understood for persons skilled in the art that, the structure of a terminal 700 illustrated in Fig. 7 is not limited, some components can be added or omitted, or some combinations or arrangement can be included.
For example, the RF circuit 110 is programmed to receive and sending signals during calling or process of receiving and sending message. Specially, the RF circuit 110 will receive downlink information from the base station and send it to the processor 180; or send uplink data to the base station. Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA) , a diplexer, and the like. In addition, the RF circuit 110 can communicate with network or other devices by wireless communication. Such wireless communication can use any one communication standard or protocol, which includes, but is not limited to, Global System of Mobile communication (GSM) , (General Packet Radio Service, GPRS) , (Code Division Multiple Access, CDMA) , (Wideband Code Division Multiple Access, WCDMA) , (Long Term Evolution, LTE) , email, or (Short Messaging Service, SMS) .
The memorizer 120 is programmed to store software program and module which will be run by the processor 180, so as to perform multiple functional
applications of the mobile phone and data processing. The memorizer 120 mainly includes storing program area and storing data area. For example, the storing program area can store the operating system, at least one application program with required function (such as sound playing function, image playing function, etc. ) . The storing data area can store data established by the terminal 700 according to actual using demand (such as audio data, phonebook, etc. ) Furthermore, the memorizer 120 can be high-speed random access memory, or nonvolatile memory, such as disk storage, flash memory device, or other volatile solid-state memory devices. Accordingly, the memorizer 120 may further include a storage controller, so as to allow the processor 180 and the input unit 130 to access the memorizer 120.
The input unit 130 is programmed to receive the entered number or character information, and the entered key signal related to user setting and function control. For example, the input unit 130 includes a touch-sensitive panel 131 or other input devices 132. The touch-sensitive panel 131 is also called as touch screen or touch panel, which can collect user’s touch operations thereon or nearby (for example the operations generated by fingers of user or touchpen, and the like, touching on the touch-sensitive panel 131 or touching near the touch-sensitive panel 131) , and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive panel 131 includes two portions including a touch detection device and a touch controller. Specifically, the touch detection device is programmed to detect touch position of the user and detecting signals accordingly, and then sending the signals to the touch controller. Subsequently, the touch controller receives touch information from the touch detection device, and converts it to contact coordinates which are to be sent to the processor 180, and then receives command sent by the processor 180 to perform. In addition, the touch-sensitive panel 131 can be implemented is forms of resistive type, capacitive type, infrared type and surface acoustic wave type. Besides the touch-sensitive panel 131, the input unit 130 can include, but is not limited to other input devices 132, such as one or more selected from physical keyboard, function keys (such as volume control keys, switch key-press, etc. ) , a trackball, a mouse, and an operating lever, etc.
The display unit 140 is programmed to display information entered by the user or information supplied to the user, and menus of the mobile phone. For example, the display unit 140 includes a display panel 141, such as a Liquid Crystal Display (LCD) , or an Organic Light-Emitting Diode (OLED) . Furthermore, the display panel 141 can be covered by the touch-sensitive panel 131, after touch operations are detected on or near the touch-sensitive panel 131, they will be sent to the processor 180 to determine the type of the touching event. Subsequently, the processor 180 supplies the corresponding visual output to the display panel 141 according to the type of the touching event. As shown in Fig. 7, the touch panel 131 and the display panel 141 are two individual components to implement input and output of the mobile phone, but they can be integrated together to implement the input and output in some embodiments.
Furthermore, the terminal 700 includes at least one sensor 150, such as light sensors, motion sensors, or other sensors. Specifically, the light sensors includes ambient light sensors for adjusting brightness of the display panel 141 according to the ambient light, and proximity sensors for turning off the display panel 141 and/or maintaining backlight when the mobile phone is moved to the ear side. Accelerometer sensor as one of the motion sensors can detect the magnitude of accelerations in every direction (Triaxial, generally) , and detect the magnitude and direction of gravity in an immobile status, which is applicable to applications of identifying attitudes of the mobile (such as switching between horizontal and vertical screens, related games, magnetometer attitude calibration, etc. ) , vibration recognition related functions (such as pedometer, percussion, etc. ) . And the terminal 700 also can configure other sensors (such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. ) whose detailed descriptions are omitted here.
The audio circuit 160, the speaker 161 and the microphone 162 supply an audio interface between the user and the terminal 700. Specifically, the audio data is received and converted to electrical signals by audio circuit 160, and then transmitted to the speaker 161, which are converted to sound signal to output. On the other hand, the sound signal collected by the speaker is then converted to electrical signals which will be received and converted to audio data. Subsequently, the audio data are output
to the processor 180 to process, and then sent to another mobile phone via the RF circuit 110, or sent to the memorizer 120 to process further. The audio circuit 160 may further include earplug jack to support communication between the earphone and the terminal 700.
WiFi pertains to short-range wireless transmission technology providing a wireless broadband Internet, by which the terminal 700 can help the user to receive and send email, browse web, and access streaming media, etc. Although the WiFi module 170 is illustrated in Fig. 7, it should be understood that, WiFi module 170 is not a necessary for the terminal 700, which can be omitted according the actual demand without changing the essence of the present disclosure.
The processor 180 is a control center of the terminal 700, which connects with every part of the terminal 700 by various interfaces or circuits, and performs various functions and processes data by running or performing software program/module stored in the memorizer 120 or calling data stored in the memorizer 120, so as to monitor the terminal 700. Optionally, the processor 180 may include one or more processing units. Preferably, the processor 180 can integrate with application processors and modem processors, for example, the application processors include processing operating system, user interface and applications, etc. ; the modern processors are used for performing wireless communication. It can be understood that, it’s an option to integrate the modern processors to the processor 180.
Furthermore, the terminal 700 may include the power supply 190 (such as battery) supplying power for each component, preferably, the power supply can connect with the processor 180 by power management system, so as to manage charging, discharging and power consuming. The power supply 190 may include one or more DC or AC power supplies, recharging system, power failure detection circuit, power converter or inverters, or power status indicator, and the like.
In addition, the terminal 700 may include a camera, and a Bluetooth module, etc. , which are not illustrated. In the embodiments, the display unit of the terminal 700 is a touch screen displayer. The terminal 700 further includes storages, and one or more programs stored in the storages. One or more processors perform one or more programs which include instructions as following:
obtaining identification of the target web page and configuration parameter of the terminal 700;
determining a web page version type of the terminal 700 corresponding to the configuration parameter, according to a stored corresponding relationship between configuration parameter and web page version type; and
obtaining web page data of the target web page based on the web page version type that is determined from the web server.
Preferably, the configuration parameter includes one or any combination selected from current network type information, hardware configuration information, and system process information.
Or, one or more program is stored in the storages, and one or more processors perform one or more programs which include instructions as following:
sending a web page data request to a backend server, and the web page request carrying an identification of a target web page and a configuration parameter of a client, so that, the backend server can determine a web page version type according to the corresponding relationship between configuration parameter and web page version type, and then obtain the web page data of the determined web page version type from the web server, and finally send it to the client;
receiving the web page data sent by the backend server, and
loading the target web page according to the web page data that is received.
Preferably, step of receiving the web page data sent by the backend server includes adjusting page format of the web page data to obtain the adjusted web page data; and receiving the adjusted web page data sent by the backend server.
Preferably, the adjusted web page data is obtained by compressing image data in the web page data.
In the embodiments of the present disclosure, since the corresponding relationship between configuration parameter and web page version type is prestored, by which each web page version type corresponding to each configuration parameter could be determined, and then the web page data of the target web page on the determined web page version type could be obtained from the web server. As a result,
web page data of web page version type which is corresponding to the configuration parameter can be obtained, which improves flexibility of the web page loading.
It should be noticed that, functions of device of obtaining web page are explained as an example by dividing them into several functional modules. But in the actual application, different functional modules could be included so as to perform the functions. That is the structure of the device can be divided into different functional modules, to perform a part of or the whole of functions mentioned above. In addition, the embodiments of the devices and the embodiments of the methods pertain to the same concept, which are not repeated here.
And the number of the embodiments is used merely for better description.
Apparently, persons skilled in the art could understand that part of or whole of the steps in the embodiments can be achieved by hardware or programs by instructing the hardware. Such programs can be stored in storage device to be performed by the computer device, such as read-only memory, disk or compact disk, etc.
While the disclosure has been described in connection with what are presently considered to be the most practical and preferred embodiments, it is to be understood that the disclosure is not to be limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the disclosure.
Claims (19)
- A method of obtaining web page data, comprising:obtaining, by a server comprising a processor, an identification of a target web page and a configuration parameter of a client;determining, by the server, a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; andobtaining, by the server, web page data of the target web page based on the web page version type from a web server.
- The method according to claim 1, wherein obtaining the identification of the target web page and the configuration parameter of the client comprises:receiving a web page data request sent by the client, the web page data request carrying the identification of the web page and the configuration parameter of the client;obtaining the identification of the web page and the configuration parameter of the client which are carried in the web page data request;after obtaining the web page data of the target web page on the web page version type from the web server, sending the web page data to the client.
- The method according to claim 2, further comprising:adjusting page format of the obtained web page data to obtain the adjusted web page data;wherein sending the web page data to the client comprises sending the adjusted web page data to the client.
- The method according to claim 3, wherein adjusting page format of the web page data that is obtained, so as to obtain the adjusted web page data comprises:compressing image data in the web page data to obtain the adjusted web page.
- The method according to claim 1, wherein the configuration parameter comprises one or any combination selected from current network type information, hardware configuration information, and system process information.
- A method of obtaining web page data, comprising:sending a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client; the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client;receiving the web page data sent by the backend server; andloading the target web page according to the web page data that is received.
- The method according to claim 6, wherein receiving the web page data sent by the backend server comprises:adjusting page format of the web page data to obtain the adjusted web page data; and receiving the adjusted web page data sent by the backend server.
- The method according to claim 7, wherein adjusting page format of the web page data to obtain the adjusted web page data comprises:compressing image data in the web page data to obtain the adjusted web page.
- A method of obtaining web page data, comprising:a client sending a web page data request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client;the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type;the backend server obtaining web page data of the target web page based on the web page version type from a web server, and then sending the web page data to the client; andthe client loading the target web page according to the web page data that is received.
- The method according to claim 9, further comprising:adjusting, by the backend server, page format of the web page data that is obtained, so as to obtain the adjusted web page data; andsending, by the backend server, the web page data to the client comprises the backend server sending the adjusted web page data to the client.
- The method according to claim 10, wherein adjusting page format of the web page data that is obtained, so as to obtain the adjusted web page data comprises: the backend server compressing image data in the web page data to obtain the adjusted web page.
- A device of obtaining web page data, comprising:a parameter obtaining module, programmed to obtaining an identification of a target web page and a configuration parameter of a client;a determination module, programmed to determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type; anda data obtaining module, programmed to obtain web page data of the target web page based on the web page version type from a web server.
- The device according to claim 12, wherein the parameter obtaining module is programmed to:receive a web page data request sent by the client, the web page data request carrying the identification of the web page and the configuration parameter of the client; andobtain the identification of the web page and the configuration parameter of the client which are carried in the web page data request;wherein the device further comprises a sending module programmed to send the web page data to the client.
- The device according to claim 13, wherein the data obtaining module is further programmed to adjust page format of the web page data that is obtained, so as to obtain the adjusted web page data; and the sending module is programmed to send the adjusted web page data to the client.
- The device according to claim 14, wherein the data obtaining module is programmed to compress image data in the web page data to obtain the adjusted web page.
- The device according to claim 12, wherein the configuration parameter comprises one or any combination selected from current network type information, hardware configuration information, and system process information.
- A device of obtaining web page data, comprising a hardware processor and a non-transitory storage medium configured to store modules comprising:a sending module, programmed to send a web page request to a backend server, the web page request carrying an identification of a target web page and a configuration parameter of a client, thereby the backend server determining a web page version type corresponding to the configuration parameter, according to a corresponding relationship between configuration parameter and web page version type, then obtain web page data of the target web page based on the web page version type from a web server, and then send the web page data to the client;a receiving module, programmed to receive the web page data sent by the backend server; anda loading module, programmed to load the target web page according to the web page data that is received.
- The device according to claim 17, wherein the receiving module is programmed to receive adjusted web page data sent by the backend server, wherein the adjusted web page data is obtained by adjusting page format of the web page data.
- The device according to claim 18, wherein the adjusted web page data is obtained by compressing image data in the web page data.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310489306.3 | 2013-10-17 | ||
CN201310489306.3A CN104572690B (en) | 2013-10-17 | 2013-10-17 | A kind of methods, devices and systems obtaining web data |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015055090A1 true WO2015055090A1 (en) | 2015-04-23 |
Family
ID=52827654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/088216 WO2015055090A1 (en) | 2013-10-17 | 2014-10-09 | Method, device, and system for obtaining web page data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104572690B (en) |
WO (1) | WO2015055090A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933865A (en) * | 2015-12-31 | 2017-07-07 | 北京五八信息技术有限公司 | The resource loading method and device of mobile applications web application |
WO2018104806A1 (en) * | 2016-10-31 | 2018-06-14 | International Business Machines Corporation | Web server that renders a web page based on a client pressure profile |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107424033B (en) * | 2016-03-29 | 2021-06-18 | 阿里巴巴集团控股有限公司 | Component rendering method, page display method, client, server and storage medium |
WO2017211174A1 (en) * | 2016-06-07 | 2017-12-14 | 中兴通讯股份有限公司 | Page management method and device |
CN107239557B (en) * | 2017-06-08 | 2018-10-30 | 腾讯科技(深圳)有限公司 | A kind of webpage method for building up, electronic equipment and storage medium |
CN107391676A (en) * | 2017-07-21 | 2017-11-24 | 中国联合网络通信集团有限公司 | Web page display method and device |
CN107592553B (en) * | 2017-09-01 | 2020-06-12 | 清华大学 | Image compression agent balance processing method and device |
CN110020293B (en) * | 2017-10-17 | 2023-01-06 | 腾讯科技(深圳)有限公司 | Multimedia data display method, device and storage medium |
CN108156248A (en) * | 2017-12-29 | 2018-06-12 | 贵阳朗玛信息技术股份有限公司 | A kind of method and device that adaptation image is obtained based on client |
CN108984206B (en) * | 2018-08-09 | 2021-10-19 | 聚好看科技股份有限公司 | Data sending method and equipment |
CN109725929B (en) * | 2018-12-11 | 2022-07-22 | 上海众源网络有限公司 | Embedded webpage loading method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067819A (en) * | 2007-06-07 | 2007-11-07 | 北京大学 | Web page resource issuing method and issuing system |
CN101207851A (en) * | 2007-11-20 | 2008-06-25 | 北京信达爱瑞通信技术有限公司 | Wireless application access system, client end equipment and server |
CN101753620A (en) * | 2009-12-11 | 2010-06-23 | 深圳市五巨科技有限公司 | Method and device for improving access speed of mobile terminal webpage |
CN102163196A (en) * | 2010-02-22 | 2011-08-24 | 中国联合网络通信集团有限公司 | Implementation method and system thereof for intelligent browser of mobile terminal |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3888556B2 (en) * | 2004-11-08 | 2007-03-07 | 村田機械株式会社 | Compound machine |
JP4852014B2 (en) * | 2007-09-28 | 2012-01-11 | 富士フイルム株式会社 | Communication system, proxy server, control method thereof, and control program thereof |
CN101729590A (en) * | 2008-10-15 | 2010-06-09 | 北大方正集团有限公司 | Method, system and device for providing web page |
CN101567906A (en) * | 2009-05-25 | 2009-10-28 | 阿里巴巴集团控股有限公司 | Method and server for confirming the webpage content language |
CN101778124A (en) * | 2009-12-22 | 2010-07-14 | 卓望数码技术(深圳)有限公司 | Method for accessing Internet by mobile client end and page access server |
CN102306184B (en) * | 2011-08-30 | 2014-01-15 | 百度在线网络技术(北京)有限公司 | Method, device and apparatus for obtaining compressed link address information and compressed webpage |
CN102314516B (en) * | 2011-09-22 | 2014-07-09 | 惠州Tcl移动通信有限公司 | Webpage processing method and mobile terminal and electronic device thereof |
CN103248704A (en) * | 2013-05-16 | 2013-08-14 | 百度在线网络技术(北京)有限公司 | Browsing method and system based on corresponding relation base and cloud end server |
CN105677800B (en) * | 2015-12-30 | 2019-09-13 | Oppo广东移动通信有限公司 | A kind of processing method and processing device to malfunction when access webpage |
-
2013
- 2013-10-17 CN CN201310489306.3A patent/CN104572690B/en active Active
-
2014
- 2014-10-09 WO PCT/CN2014/088216 patent/WO2015055090A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067819A (en) * | 2007-06-07 | 2007-11-07 | 北京大学 | Web page resource issuing method and issuing system |
CN101207851A (en) * | 2007-11-20 | 2008-06-25 | 北京信达爱瑞通信技术有限公司 | Wireless application access system, client end equipment and server |
CN101753620A (en) * | 2009-12-11 | 2010-06-23 | 深圳市五巨科技有限公司 | Method and device for improving access speed of mobile terminal webpage |
CN102163196A (en) * | 2010-02-22 | 2011-08-24 | 中国联合网络通信集团有限公司 | Implementation method and system thereof for intelligent browser of mobile terminal |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933865A (en) * | 2015-12-31 | 2017-07-07 | 北京五八信息技术有限公司 | The resource loading method and device of mobile applications web application |
WO2018104806A1 (en) * | 2016-10-31 | 2018-06-14 | International Business Machines Corporation | Web server that renders a web page based on a client pressure profile |
GB2570422A (en) * | 2016-10-31 | 2019-07-24 | Ibm | Web server that renders a web page based on a client pressure profile |
Also Published As
Publication number | Publication date |
---|---|
CN104572690A (en) | 2015-04-29 |
CN104572690B (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015055090A1 (en) | Method, device, and system for obtaining web page data | |
US9697622B2 (en) | Interface adjustment method, apparatus, and terminal | |
US10725646B2 (en) | Method and apparatus for switching screen interface and terminal | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
WO2015081801A1 (en) | Method, server, and system for information push | |
CN108039963B (en) | Container configuration method and device and storage medium | |
US20150128033A1 (en) | Method and apparatus for webpage browsing | |
US9680921B2 (en) | Method, apparatus, and system for controlling voice data transmission | |
US20150212693A1 (en) | Interaction method and apparatus for listing data on mobile terminal | |
US20160292946A1 (en) | Method and apparatus for collecting statistics on network information | |
US20140365660A1 (en) | Systems and Methods for Accessing Network Data | |
CN110020293B (en) | Multimedia data display method, device and storage medium | |
US20150089431A1 (en) | Method and terminal for displaying virtual keyboard and storage medium | |
US20150043312A1 (en) | Sound playing method and device thereof | |
CN105227598B (en) | Resource sharing method, device and system based on cloud storage | |
CN108073647B (en) | Webpage display method and device | |
JP6915074B2 (en) | Message notification method and terminal | |
CN112749074B (en) | Test case recommending method and device | |
US10282818B2 (en) | Image deformation processing method, device and storage medium | |
CN104238931B (en) | Information input method and device and electronic equipment | |
CN108269223B (en) | Webpage graph drawing method and terminal | |
US10057740B2 (en) | Methods and devices for processing mobile terminal resource | |
CN108616552B (en) | Webpage access method, device and system | |
US9727972B2 (en) | Method and terminal for generating thumbnail of image | |
CN108111553B (en) | Method and device for providing service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14854840 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14854840 Country of ref document: EP Kind code of ref document: A1 |