CN104618497A - Webpage access method and device - Google Patents

Webpage access method and device Download PDF

Info

Publication number
CN104618497A
CN104618497A CN201510080959.5A CN201510080959A CN104618497A CN 104618497 A CN104618497 A CN 104618497A CN 201510080959 A CN201510080959 A CN 201510080959A CN 104618497 A CN104618497 A CN 104618497A
Authority
CN
China
Prior art keywords
webserver
webpage
list
access
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510080959.5A
Other languages
Chinese (zh)
Inventor
谭国斌
马哲
沈建荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510080959.5A priority Critical patent/CN104618497A/en
Publication of CN104618497A publication Critical patent/CN104618497A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides webpage access method and device. The method comprises the steps of acquiring a network server list corresponding to a webpage when detecting the operation of opening the webpage; acquiring the state data of each network server in the network server list, wherein the state data includes load state data of the network server and the network connection state data; selecting the network server to be accessed according to the state data of the network sever; sending a webpage access request to the selected network server. With the adoption of the method and device, the load balancing can be performed for the webpage access.

Description

Web access method and device
Technical field
The disclosure relates to field of computer technology, particularly relates to a kind of Web access method and device.
Background technology
In the exploitation of website, if customer volume is extremely huge, single server is difficult to withstand service pressure, need the technology adopting load balancing this time, namely the mode of server cluster is adopted, the access of user is distributed on different machines, the pressure of server is shared, and optimal service device is distributed to user.
Summary of the invention
Disclosure embodiment provides a kind of Web access method and device.
According to the first aspect of disclosure embodiment, provide a kind of Web access method, be applied to terminal, described method comprises:
When the operation of opening webpage being detected, obtain the webserver list that described webpage is corresponding;
Obtain the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
The webserver that will access is selected according to the status data of the described webserver;
The access request of described webpage is sent to the described webserver of selection.
In the present embodiment, terminal can when user opens webpage, obtain the webserver list of this webpage of access, terminal also obtains the status data of each webserver in webserver list, to determine each webserver network connection and loading condition, selecting network connection better and the lower webserver of load conduct interviews.Like this, terminal can according to the real network situation between terminal and the webserver, selects the webserver that the load that will access is lower more exactly.In addition, directly select the webserver by terminal, when the webserver of current accessed breaks down, terminal can reselect the good webserver of new service quality in time and conduct interviews, and improves web page access quality.The scheme of the present embodiment, for webpage and the application of accesses network video class, access effect is more excellent, and user experience is better.
Optionally, the webserver list that the described webpage of described acquisition is corresponding, comprising:
The domain name of described webpage is sent to access server, and described access server generates webserver list corresponding to described webpage according to the domain name of described webpage;
Receive the webserver list that described webpage that described access server returns is corresponding;
Or the webserver list that the described webpage of described acquisition is corresponding, comprising:
The webserver list that webpage is corresponding described in local search.
In possibility, terminal can obtain webserver list corresponding to webpage from access server, also this webserver list can be kept at terminal local, and terminal is directly from this webserver list of local search.Like this, terminal can obtain the all-network server list of this webpage, can select the webserver that the load that will access is lower more exactly.Directly select the webserver by terminal, when the webserver of current accessed breaks down, terminal can reselect the good webserver of new service quality in time and conduct interviews, and improves web page access quality.In addition, if webserver list is kept at terminal local, the number of times of terminal access access server can be reduced, reduce network traffics.
Optionally, the status data of each webserver in the list of the described acquisition described webserver, comprising:
The status data of each webserver described webserver list is obtained from described access server;
Or
In described webserver list, each webserver sends status request;
Receive the status data that each webserver returns according to described status request.
In possibility, the status data of each webserver can go detection by terminal, also terminal is sent to after can being detected by access server, like this, terminal clearly can know network connection state and the loading condition of each webserver, so that the webserver selecting the load that will access lower exactly.
Optionally, select the webserver that will access according to the status data of the described webserver, comprising:
According to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access.
Optionally, according to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access, comprising:
The service quality value of the webserver according to following formulae discovery:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively;
Determine that the webserver of the maximum i.e. service quality optimum of described service quality value is as the webserver that will access.
In possibility, by calculating the service quality value of the webserver after the load condition of the webserver and network connection state being quantized, like this, terminal can select according to the service quality value of the webserver webserver that will access accurately and rapidly.
According to the second aspect of disclosure embodiment, provide a kind of web page access device, it is characterized in that, be applied to terminal, described device comprises:
First acquisition module, for when the operation of opening webpage being detected, obtains the webserver list that described webpage is corresponding;
Second acquisition module, for obtaining the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
Select module, for selecting the webserver that will access according to the status data of the described webserver;
Sending module, for being sent to the described webserver of selection by the access request of described webpage.
Optionally, described first acquisition module comprises:
Send submodule, for the domain name of described webpage is sent to access server, described access server generates webserver list corresponding to described webpage according to the domain name of described webpage;
Receive submodule, for receiving webserver list corresponding to described webpage that described access server returns.
Optionally, described first acquisition module, for the webserver list that webpage described in local search is corresponding.
Optionally, described second acquisition module, for obtaining the status data of each webserver in described webserver list from described access server.
Optionally, described second acquisition module comprises:
Send submodule, send status request for webserver each in described webserver list;
Receive submodule, for receiving the status data that each webserver returns according to described status request.
Optionally, described selection module, for according to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access.
Optionally, described selection module comprises:
Calculating sub module, the service quality value for the webserver according to following formulae discovery:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively;
Determine submodule, for determining that the webserver of the maximum i.e. service quality optimum of described service quality value is as the webserver that will access.
According to the third aspect of disclosure embodiment, a kind of web page access device is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When the operation of opening webpage being detected, obtain the webserver list that described webpage is corresponding;
Obtain the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
The webserver that will access is selected according to the status data of the described webserver;
The access request of described webpage is sent to the described webserver of selection.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of Web access method according to an exemplary embodiment;
Fig. 2 is the flow chart of a kind of Web access method according to another exemplary embodiment;
Fig. 3 is the flow chart of a kind of Web access method according to another exemplary embodiment;
Fig. 4 is the flow chart of a kind of Web access method according to another exemplary embodiment;
Fig. 5 is the block diagram of a kind of web page access device according to an exemplary embodiment;
Fig. 6 is the block diagram of the first acquisition module according to an exemplary embodiment;
Fig. 7 is the block diagram of the second acquisition module according to an exemplary embodiment;
Fig. 8 is the block diagram of the selection module according to an exemplary embodiment;
Fig. 9 is the block diagram of a kind of device for web page access according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of a kind of Web access method according to an exemplary embodiment, and as shown in Figure 1, Web access method is used for, in terminal, comprising the following steps.
In step s 11, when the operation of opening webpage being detected, obtain the webserver list that webpage is corresponding;
In step s 12, the status data of each webserver in webserver list is obtained, the load condition data of state data packets includes network server and network connection state data;
In step s 13, the webserver that will access is selected according to the status data of the webserver;
In step S14, the access request of webpage is sent to the webserver of selection.
In the present embodiment, terminal can when user opens webpage, obtain the webserver list of this webpage of access, terminal also obtains the status data of each webserver in webserver list, to determine each webserver network connection and loading condition, selecting network connection better and the lower webserver of load conduct interviews.Like this, terminal can according to the real network situation between terminal and the webserver, selects the webserver that the load that will access is lower more exactly.In addition, directly select the webserver by terminal, when the webserver of current accessed breaks down, terminal can reselect the good webserver of new service quality in time and conduct interviews, and improves web page access quality.The scheme of the present embodiment, for webpage and the application of accesses network video class, access effect is more excellent, and user experience is better.
Fig. 2 is the flow chart of a kind of Web access method according to another exemplary embodiment, and as shown in Figure 2, optionally, above-mentioned steps S11 comprises:
In the step s 21, the domain name of webpage is sent to access server, the webserver list that access server is corresponding according to the domain name generating web page of webpage;
In step S22, the webserver list that the webpage that reception access server returns is corresponding.
Optionally, above-mentioned steps S11 comprises: the webserver list that webpage is corresponding described in local search.
In possibility, terminal can obtain webserver list corresponding to webpage from access server, also this webserver list can be kept at terminal local, and terminal is directly from this webserver list of local search.Like this, terminal can obtain the all-network server list of this webpage, can select the webserver that the load that will access is lower more exactly.Directly select the webserver by terminal, when the webserver of current accessed breaks down, terminal can reselect the good webserver of new service quality in time and conduct interviews, and improves web page access quality.In addition, if webserver list is kept at terminal local, the number of times of terminal access access server can be reduced, reduce network traffics.
Optionally, above-mentioned steps S12 comprises: the status data obtaining each webserver described webserver list from described access server.
Fig. 3 is the flow chart of a kind of Web access method according to another exemplary embodiment, and as shown in Figure 3, optionally, above-mentioned steps S12 comprises:
In step S31, in webserver list, each webserver sends status request;
In step s 32, the status data that each webserver returns according to status request is received.
In possibility, the status data of each webserver can go detection by terminal, also terminal is sent to after can being detected by access server, like this, terminal clearly can know network connection state and the loading condition of each webserver, so that the webserver selecting the load that will access lower exactly.
Optionally, terminal or access server can the periodically states of each webserver in detection network server list, to upgrade the webserver state self stored in time, select the good webserver of service quality more exactly.
Optionally, above-mentioned steps S13 comprises: according to the webserver of load condition data and network connection state data selection service quality optimum as the webserver that will access.
Fig. 4 is the flow chart of a kind of Web access method according to another exemplary embodiment, and as shown in Figure 4, the webserver according to load condition data and network connection state data selection service quality optimum comprises:
In step S41, the service quality value according to the following formulae discovery webserver:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively.
The load condition of the webserver can be quantized, such as, load and the load condition value corresponding relation of the webserver are as shown in table 1 below,
Table 1
Load (percentage) Load condition value
More than 80% 1
60%~80% 2
40%~60% 3
20%~40% 4
Less than 20% 5
Namely, when the load of the webserver is 65%, can determine that its load condition value is 2.The load of the load condition value larger expression webserver is lower.
Can quantize according to the network bandwidth of the webserver network connection state, such as: the network bandwidth state value connected to the network corresponding relation of the webserver is as shown in table 2 below,
Table 2
The network bandwidth Network connection state value
Below 20MB 1
20MB~40MB 2
40MB~70MB 3
70MB~100MB 4
More than 100MB 5
Namely, when the bandwidth of the webserver is 80MB, can determine that its network connection state value is 4.The larger expression network connection state of network connection state value is better.
When the load of the webserver is 65%, when bandwidth is 80MB, L=2, C=4, preset a=0.4, and b=0.6 calculates Q=3.2.The Q value obtained is larger, then the service quality of the webserver is better.
In step S42, determine that the webserver of the maximum i.e. service quality optimum of service quality value is as the webserver that will access.
In possibility, by calculating the service quality value of the webserver after the load condition of the webserver and network connection state being quantized, like this, terminal can select according to the service quality value of the webserver webserver that will access accurately and rapidly.
Fig. 5 is the block diagram of a kind of web page access device according to an exemplary embodiment.As shown in Figure 5, this application of installation, in terminal, comprises the first acquisition module 51, second acquisition module 52, selects module 53 and sending module 54.
First acquisition module 51 is configured to when the operation of opening webpage being detected, obtains the webserver list that described webpage is corresponding;
Second acquisition module 52 is configured to the status data obtaining each webserver in described webserver list, and described status data comprises load condition data and the network connection state data of the described webserver;
Module 53 is selected to be configured to select according to the status data of the described webserver webserver that will access;
Sending module 54 is configured to the described webserver access request of described webpage being sent to selection.
Fig. 6 is the block diagram of the first acquisition module according to an exemplary embodiment.As shown in Figure 6, optionally, the first acquisition module 51 comprises:
Send submodule 61 to be configured to the domain name of described webpage to be sent to access server, described access server generates webserver list corresponding to described webpage according to the domain name of described webpage;
Receive submodule 62 and be configured to receive webserver list corresponding to described webpage that described access server returns.
Optionally, described first acquisition module 51 is configured to webserver list corresponding to webpage described in local search.
Optionally, described second acquisition module 52 is configured to the status data obtaining each webserver described webserver list from described access server.
Fig. 7 is the block diagram of the second acquisition module according to an exemplary embodiment.As shown in Figure 7, optionally, the second acquisition module 52 comprises:
Send submodule 71 and be configured to each webserver transmission status request in described webserver list;
Receive submodule 72 and be configured to receive the status data that each webserver returns according to described status request.
Optionally, described selection module 53 is configured to according to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access.
Fig. 8 is the block diagram of the selection module according to an exemplary embodiment.As shown in Figure 8, optionally, module 53 is selected to comprise:
Calculating sub module 81 is configured to the service quality value of the webserver according to following formulae discovery:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively;
Determine that submodule 82 is configured to determine that the webserver of the maximum i.e. service quality optimum of described service quality value is as the webserver that will access.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure also provides a kind of web page access device, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When the operation of opening webpage being detected, obtain the webserver list that described webpage is corresponding;
Obtain the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
The webserver that will access is selected according to the status data of the described webserver;
The access request of described webpage is sent to the described webserver of selection.
Fig. 9 is the block diagram of a kind of device for web page access according to an exemplary embodiment.Such as, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in Figure 9, device 900 can comprise following one or more assembly: processing components 902, memory 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor cluster 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing components 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Memory 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 906 is device 900 provide electric power.Power supply module 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loud speaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 914 comprises one or more transducer, for providing the state estimation of various aspects for device 900.Such as, sensor cluster 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right checkout gear 900 of sensor cluster 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the variations in temperature of device 900 orientation or acceleration/deceleration and device 900.Sensor cluster 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of Web access method, described method comprises:
When the operation of opening webpage being detected, obtain the webserver list that described webpage is corresponding;
Obtain the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
The webserver that will access is selected according to the status data of the described webserver;
The access request of described webpage is sent to the described webserver of selection.
Optionally, the webserver list that the described webpage of described acquisition is corresponding, comprising:
The domain name of described webpage is sent to access server, and described access server generates webserver list corresponding to described webpage according to the domain name of described webpage;
Receive the webserver list that described webpage that described access server returns is corresponding;
Or the webserver list that the described webpage of described acquisition is corresponding, comprising:
The webserver list that webpage is corresponding described in local search.
Optionally, the status data of each webserver in the list of the described acquisition described webserver, comprising:
The status data of each webserver described webserver list is obtained from described access server;
Or
In described webserver list, each webserver sends status request;
Receive the status data that each webserver returns according to described status request.
Optionally, select the webserver that will access according to the status data of the described webserver, comprising:
According to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access.
Optionally, according to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access, comprising:
The service quality value of the webserver according to following formulae discovery:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively;
Determine that the webserver of the maximum i.e. service quality optimum of described service quality value is as the webserver that will access.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a Web access method, is characterized in that, is applied to terminal, and described method comprises:
When the operation of opening webpage being detected, obtain the webserver list that described webpage is corresponding;
Obtain the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
The webserver that will access is selected according to the status data of the described webserver;
The access request of described webpage is sent to the described webserver of selection.
2. method according to claim 1, is characterized in that, the webserver list that the described webpage of described acquisition is corresponding, comprising:
The domain name of described webpage is sent to access server, and described access server generates webserver list corresponding to described webpage according to the domain name of described webpage;
Receive the webserver list that described webpage that described access server returns is corresponding;
Or the webserver list that the described webpage of described acquisition is corresponding, comprising:
The webserver list that webpage is corresponding described in local search.
3. method according to claim 2, is characterized in that, the status data of each webserver in the list of the described acquisition described webserver, comprising:
The status data of each webserver described webserver list is obtained from described access server;
Or
In described webserver list, each webserver sends status request;
Receive the status data that each webserver returns according to described status request.
4. method according to claim 1, is characterized in that, selects the webserver that will access, comprising according to the status data of the described webserver:
According to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access.
5. method according to claim 4, is characterized in that, according to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access, comprising:
The service quality value of the webserver according to following formulae discovery:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively;
Determine that the webserver of the maximum i.e. service quality optimum of described service quality value is as the webserver that will access.
6. a web page access device, is characterized in that, is applied to terminal, and described device comprises:
First acquisition module, for when the operation of opening webpage being detected, obtains the webserver list that described webpage is corresponding;
Second acquisition module, for obtaining the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
Select module, for selecting the webserver that will access according to the status data of the described webserver;
Sending module, for being sent to the described webserver of selection by the access request of described webpage.
7. device according to claim 6, is characterized in that, described first acquisition module comprises:
Send submodule, for the domain name of described webpage is sent to access server, described access server generates webserver list corresponding to described webpage according to the domain name of described webpage;
Receive submodule, for receiving webserver list corresponding to described webpage that described access server returns.
8. device according to claim 6, is characterized in that, described first acquisition module, for the webserver list that webpage described in local search is corresponding.
9. the device according to claim 7 or 8, is characterized in that, described second acquisition module, for obtaining the status data of each webserver in described webserver list from described access server.
10. the device according to claim 7 or 8, is characterized in that, described second acquisition module comprises:
Send submodule, send status request for webserver each in described webserver list;
Receive submodule, for receiving the status data that each webserver returns according to described status request.
11. devices according to claim 6, is characterized in that, described selection module, for according to the webserver of described load condition data and network connection state data selection service quality optimum as the webserver that will access.
12. devices according to claim 11, is characterized in that, described selection module comprises:
Calculating sub module, the service quality value for the webserver according to following formulae discovery:
Q=La+Cb, wherein, Q represents the service quality value of the described webserver, and L represents the load condition value of the described webserver, C represents the network connection state value of the described webserver, and a, b represent the load condition value that presets and weights corresponding to network connection state value respectively;
Determine submodule, for determining that the webserver of the maximum i.e. service quality optimum of described service quality value is as the webserver that will access.
13. 1 kinds of web page access devices, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When the operation of opening webpage being detected, obtain the webserver list that described webpage is corresponding;
Obtain the status data of each webserver in described webserver list, described status data comprises load condition data and the network connection state data of the described webserver;
The webserver that will access is selected according to the status data of the described webserver;
The access request of described webpage is sent to the described webserver of selection.
CN201510080959.5A 2015-02-13 2015-02-13 Webpage access method and device Pending CN104618497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080959.5A CN104618497A (en) 2015-02-13 2015-02-13 Webpage access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080959.5A CN104618497A (en) 2015-02-13 2015-02-13 Webpage access method and device

Publications (1)

Publication Number Publication Date
CN104618497A true CN104618497A (en) 2015-05-13

Family

ID=53152772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080959.5A Pending CN104618497A (en) 2015-02-13 2015-02-13 Webpage access method and device

Country Status (1)

Country Link
CN (1) CN104618497A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385694A (en) * 2016-09-12 2017-02-08 广东欧珀移动通信有限公司 Network control method and intelligent terminal
CN111984868A (en) * 2020-08-21 2020-11-24 上海二三四五网络科技有限公司 Method and device for controlling webpage browsing in browser
CN115277566A (en) * 2022-05-20 2022-11-01 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172163A1 (en) * 2002-03-05 2003-09-11 Nec Corporation Server load balancing system, server load balancing device, and content management device
CN101667963A (en) * 2009-09-09 2010-03-10 中兴通讯股份有限公司 Link switching method and device
CN101764824A (en) * 2010-01-28 2010-06-30 深圳市同洲电子股份有限公司 Distributed cache control method, device and system
CN103246721A (en) * 2013-05-03 2013-08-14 北京奇虎科技有限公司 Method and device for using browser to visit ticket booking website
CN104320492A (en) * 2014-11-11 2015-01-28 北京国双科技有限公司 Method and device for dispatching web servers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172163A1 (en) * 2002-03-05 2003-09-11 Nec Corporation Server load balancing system, server load balancing device, and content management device
CN101667963A (en) * 2009-09-09 2010-03-10 中兴通讯股份有限公司 Link switching method and device
CN101764824A (en) * 2010-01-28 2010-06-30 深圳市同洲电子股份有限公司 Distributed cache control method, device and system
CN103246721A (en) * 2013-05-03 2013-08-14 北京奇虎科技有限公司 Method and device for using browser to visit ticket booking website
CN104320492A (en) * 2014-11-11 2015-01-28 北京国双科技有限公司 Method and device for dispatching web servers

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385694A (en) * 2016-09-12 2017-02-08 广东欧珀移动通信有限公司 Network control method and intelligent terminal
CN106385694B (en) * 2016-09-12 2018-11-27 广东欧珀移动通信有限公司 network control method and intelligent terminal
CN111984868A (en) * 2020-08-21 2020-11-24 上海二三四五网络科技有限公司 Method and device for controlling webpage browsing in browser
CN115277566A (en) * 2022-05-20 2022-11-01 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium
CN115277566B (en) * 2022-05-20 2024-03-22 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN104703295A (en) Network access method and network access device
CN105652672A (en) Method and apparatus for controlling intelligent device
CN104318741A (en) Bluetooth device control method and device
CN104933170A (en) Information exhibition method and device
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN105163366A (en) Wireless network connection method and device
CN105491048A (en) Account management method and apparatus
CN104618511A (en) Intelligent device detection method and device
CN105407473A (en) Wireless local area network discovery method and apparatus
CN105516270A (en) Information push method and device
CN104506443A (en) Router setting interface display method and device
CN105530292A (en) Page image display method and device
CN105488348A (en) Method, device and system for providing health data
CN104735670A (en) Network access method and device
CN104468971A (en) Method and device for connecting playing source
CN105208613A (en) Cell reselection method and device
CN105530167A (en) Method and device for setting group name card
CN105430715A (en) Method and apparatus for controlling WIFI scanning
CN105472706A (en) Method and device for connection establishment
CN105554064A (en) Method and device for setting head portrait
CN105100061A (en) Method and device for detecting hijacking of website
CN104581615A (en) Service delivery method and device
CN104536787A (en) Resource preloading method and device
CN105357735A (en) Method and device for accessing cell
CN105407160A (en) Interface display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513

RJ01 Rejection of invention patent application after publication