CN107438100B - Webpage access method and browser - Google Patents
Webpage access method and browser Download PDFInfo
- Publication number
- CN107438100B CN107438100B CN201710613415.XA CN201710613415A CN107438100B CN 107438100 B CN107438100 B CN 107438100B CN 201710613415 A CN201710613415 A CN 201710613415A CN 107438100 B CN107438100 B CN 107438100B
- Authority
- CN
- China
- Prior art keywords
- access
- accessed
- webpage
- historical access
- address
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72445—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
-
- 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/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Abstract
According to the webpage access method and the browser, whether the received webpage address to be accessed is the accessed webpage address or not is judged according to the webpage address of each historical access request prestored in the historical access information list. If the to-be-accessed webpage address is the accessed webpage address, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in the historical access requests with the same webpage address as the to-be-accessed webpage address, generating an access request according to an access identifier of the optimal historical access request and the to-be-accessed webpage address, and sending the access request to a server. Compared with the prior art, the method and the device can automatically generate the access request matched with the historical access information of the user according to the historical access information of the user, and the user does not need to manually switch the browser identifier, so that the webpage access efficiency is improved, and the flow loss caused by the fact that the user opens the same webpage for multiple times is avoided.
Description
Technical Field
The invention relates to the field of computers, in particular to an webpage access method and a browser.
Background
Considering the screen size of the mobile terminal used by the user when browsing the web pages and the wireless network condition of the mobile terminal, when the browser of the mobile terminal sends a web page access request including a web page website to a background server providing the web pages, the browser identifier of the browser at the current moment is sent to the background server, and the background server returns a return address corresponding to the browser identifier to the browser according to the received web page access request and the browser identifier.
However, since the web pages browsed by the user are different, when the user finds that the currently used browser identifier is not suitable for the currently browsed web page, an instruction for modifying the browser identifier at the current time is triggered in the setting options of the browser, and at this time, when the browser initiates a web page access request for the next times, the modified browser identifier is sent to the background server.
Therefore, when the existing browser initiates a web access request, the browser identifier cannot be switched according to different contents to be browsed by the user, and the user needs to modify the browser identifier according to the use requirement of the user for many times in the process of using the browser, which is very inconvenient to use.
Disclosure of Invention
Aiming at the defect that the conventional browser cannot automatically switch browser identifications according to the requirements of users when initiating a webpage access request, the invention provides webpage access methods and browsers.
, the invention provides methods for accessing web pages, comprising:
receiving a webpage address to be accessed;
judging whether the webpage address to be accessed is an accessed webpage address or not according to the webpage address of each historical access request prestored in a historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifiers;
if the to-be-accessed webpage address is an accessed webpage address, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in historical access requests with the same webpage address and the same to-be-accessed webpage address;
obtaining an access identifier of the optimal historical access request from the historical access information list;
and generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed, and sending the access request to a server.
, if the web page address to be accessed is an web page address that has not been accessed, generating an access request according to the browser identifier at the current moment and the web page address to be accessed, and sending the access request to a server.
, the access statistic information includes at least items of the number of times of initiation, access frequency and total access duration.
, the determining whether the web page address to be accessed is an accessed web page address according to the web page addresses of the historical access requests pre-stored in the historical access information list includes:
counting the number of historical access requests with the same webpage addresses as the to-be-accessed webpage addresses;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is 0, the to-be-accessed webpage addresses are the webpage addresses which are not accessed;
and if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is not 0, the to-be-accessed webpage addresses are the accessed webpage addresses.
Further , in a case that the web page address to be accessed is an accessed web page address, the determining the optimal historical access request corresponding to the web page address specifically includes:
if the number of the historical access requests with the same webpage address as the to-be-accessed webpage address is 1, selecting the historical access request with the same webpage address as the to-be-accessed webpage address from the historical access requests prestored in the historical access information list, and taking the historical access request as an optimal historical access request;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is larger than 1, selecting all historical access requests with the same webpage addresses as the to-be-accessed webpage addresses from all historical access requests pre-stored in a historical access information list; according to the access statistical information corresponding to each historical access request in the historical access information list, confirming the historical access request with the largest initiating times, the highest access frequency or the longest total access time in all the selected historical access requests; and taking the historical access request with the maximum initiating times, the maximum access frequency or the maximum total access time as the optimal historical access request.
, the access statistic information includes the number of times of initiation;
after determining the optimal historical access request corresponding to the web page address, the method further includes:
acquiring the initiation times corresponding to the optimal historical access request in the historical access information list;
if the initiation times are smaller than a preset threshold value, generating an access request according to the browser identification at the current moment and the address of the webpage to be accessed, and sending the access request to a server;
and if the initiating times are more than or equal to a preset threshold value, executing a step of generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed.
Further , after obtaining the access identifier of the optimal historical access request from the historical access information list, the method further includes:
acquiring a browser identifier at the current moment, and judging whether the browser identifier at the current moment and the access identifier are equivalent or not;
if not , replacing the browser identification of the current time with the access identification.
In another aspect, the present invention provides browsers, comprising:
the receiving and sending module is used for receiving the address of the webpage to be accessed; sending the access request to a server;
the judging module is used for judging whether the webpage address to be accessed is the accessed webpage address or not according to the webpage address of each historical access request prestored in the historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifiers; the method is also used for determining an optimal historical access request corresponding to the webpage address under the condition that the webpage address to be accessed is the accessed webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in various historical access requests with the same webpage address as the webpage address to be accessed; obtaining an access identifier of the optimal historical access request from the historical access information list;
and the request generation module is used for generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed.
, the request generating module is further configured to generate an access request according to the browser identifier and the address of the web page to be accessed at the current time when the determining module determines that the address of the web page to be accessed is an address of a web page that has not been accessed.
, the access statistic information includes at least items of the number of times of initiation, access frequency and total access duration.
, the determining module is specifically configured to:
counting the number of historical access requests with the same webpage addresses as the to-be-accessed webpage addresses;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is 0, the to-be-accessed webpage addresses are the webpage addresses which are not accessed;
and if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is not 0, the to-be-accessed webpage addresses are the accessed webpage addresses.
, the determining module is specifically configured to:
if the number of the historical access requests with the same webpage address as the to-be-accessed webpage address is 1, selecting the historical access request with the same webpage address as the to-be-accessed webpage address from the historical access requests prestored in the historical access information list, and taking the historical access request as an optimal historical access request;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is larger than 1, selecting all historical access requests with the same webpage addresses as the to-be-accessed webpage addresses from all historical access requests pre-stored in a historical access information list; according to the access statistical information corresponding to each historical access request in the historical access information list, confirming the historical access request with the largest initiating times, the highest access frequency or the longest total access time in all the selected historical access requests; and taking the historical access request with the maximum initiating times, the maximum access frequency or the maximum total access time as the optimal historical access request.
, the access statistic information includes the number of times of initiation;
the judging module is further configured to obtain the number of times of initiation corresponding to the optimal historical access request in the historical access information list after determining the optimal historical access request corresponding to the web page address;
the request generation module is further configured to generate an access request according to the browser identifier and the address of the web page to be accessed at the current moment under the condition that the determination module determines that the initiation times are smaller than a preset threshold; and if the judging module determines that the initiating times are more than or equal to a preset threshold value, generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed.
Further , the request generation module is specifically configured to:
acquiring a browser identifier at the current moment, and judging whether the browser identifier at the current moment and the access identifier are equivalent or not;
if not , replacing the browser identification of the current time with the access identification.
According to the webpage access method and the browser, the address of the webpage to be accessed is received; judging whether the webpage address to be accessed is an accessed webpage address or not according to the webpage address of each historical access request prestored in a historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifiers; if the to-be-accessed webpage address is an accessed webpage address, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in historical access requests with the same webpage address and the same to-be-accessed webpage address; obtaining an access identifier of the optimal historical access request from the historical access information list; according to the technical scheme, the access request is generated according to the access identifier of the optimal historical access request and the address of the webpage to be accessed, and the access request is sent to the server, so that the access request matched with the historical access information of the user can be automatically generated according to the historical access information of the user, the browser identifier is prevented from being manually switched by the user, the webpage access efficiency is improved, and the flow loss caused by the fact that the user opens the same webpage for multiple times is avoided.
Drawings
Fig. 1 is a schematic flowchart of methods for accessing web pages according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of web page access methods according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of methods for accessing web pages according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of browsers according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
Fig. 1 is a schematic flow chart of webpage access methods provided by in an embodiment of the present invention, and as shown in fig. 1, a webpage access method provided by in an embodiment of the present invention includes the following steps:
step 101, receiving a webpage address to be accessed.
It should be noted that the execution main body of the embodiment of the present invention may be specifically a browser, and the browser may be installed on a mobile phone terminal, a computer host, or any intelligent terminal capable of implementing an internet function.
Specifically, the website of the webpage to be accessed can be obtained by manual input of a user on a display interface of a browser, can also be obtained by triggering or clicking an address link of a website in the webpage by the user, and can also be obtained by associated skipping of address links of other third-party applications.
And 102, judging whether the webpage address to be accessed is the accessed webpage address or not according to the webpage address of each historical access request prestored in the historical access information list.
Specifically, whether the address of the web page to be accessed is the address of the web page that has been accessed can be determined by using a historical access information list preset in the browser. The preset historical access information list may specifically include each historical access request and access statistical information corresponding to each historical access request, and each historical access request includes a web page address and an access identifier.
And 103, under the condition that the webpage address to be accessed is the accessed webpage address, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in various historical access requests with the same webpage address as the webpage address to be accessed.
And 104, acquiring the access identifier of the optimal historical access request from the historical access information list.
Specifically, in step 103 and step 104, when it is determined that the to-be-accessed web page address is an accessed web page address, a plurality of historical access requests matching the to-be-accessed web page address may be confirmed according to the web page addresses of the historical access requests in the historical access information list, then an optimal historical access request may be selected from the plurality of historical access requests according to access statistics corresponding to the plurality of historical access requests in the historical access information list, and furthermore, when it is determined that the to-be-accessed web page address is an unvisited web page address, access may be performed in an existing manner, which is not limited in embodiment of the present invention.
And 105, generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed, and sending the access request to a server.
Specifically, after the optimal historical access request is determined, the access identifier of the optimal historical access request can be acquired from the historical access information list, the access identifier and the address of the webpage to be accessed are used for generating the access request of the current access, and the access request is sent to the server.
In addition, after the access is successful, the browser can record the access request generated this time in a historical access information list, and update the related information of the historical access information list, wherein the related information includes but is not limited to the access statistical information of the access request.
The webpage access method provided by the embodiment includes the steps of receiving a webpage address to be accessed, judging whether the webpage address to be accessed is an accessed webpage address according to the webpage address of each historical access request prestored in a historical access information list, wherein the historical access information list comprises each historical access request and access statistical information corresponding to each historical access request, each historical access request comprises a webpage address and an access identifier, if the webpage address to be accessed is the accessed webpage address, determining an optimal historical access request corresponding to the webpage address, and the optimal historical access request is the historical access request with the optimal access statistical information in the historical access requests with the same webpage address as the webpage address to be accessed, obtaining the access identifier of the optimal historical access request from the historical access information list, generating the access request according to the access identifier of the optimal historical access request and the webpage address to be accessed, and sending the access request to a server.
To further improve the switching accuracy of the web page access method, on the basis of the embodiment , fig. 2 is a schematic flow chart of web page access methods provided in the second embodiment of the present invention.
As shown in fig. 2, a web page access method provided by the second embodiment of the present invention includes:
Specifically, the website of the webpage to be accessed can be obtained by manually inputting the website on a display interface of a browser by a user, can be obtained by other third-party applications, can also be obtained by triggering or clicking an address link of the website in the webpage by the user, and is obtained by associated skipping of the address link.
If yes, it indicates that the web page address to be accessed is a web page address that has not been accessed, and step 203 is executed; if not, it indicates that the address of the web page to be accessed is the address of the web page that has been accessed, and step 204 is executed.
Different from the embodiment , the web page accessing method according to the second embodiment determines whether the web page address to be accessed is the web page address that has been accessed through the step 202, wherein the historical accessing information list includes the historical accessing requests and the accessing statistical information corresponding to the historical accessing requests, each historical accessing request includes the web page address and the accessing identifier, and the accessing statistical information includes at least items of the initiating times, the accessing frequency and the accessing total time length.
Specifically, if the number of the historical access requests with the same webpage address as the to-be-accessed webpage address is 0, the to-be-accessed webpage address is a webpage address which has not been accessed by the user before, and the access request can be executed according to the access request mode of the existing webpage, namely, the access request is generated according to the browser identifier and the to-be-accessed webpage address at the current moment, and is sent to the server.
And step 204, judging whether the number is 1.
If yes, go to step 205; if not, go to step 206.
Step 205, selecting a historical access request with the same webpage address as the webpage address to be accessed from the historical access requests pre-stored in the historical access information list, and taking the historical access request as an optimal historical access request. Step 209 is performed.
And step 206, selecting all historical access requests with the same webpage addresses as the webpage addresses to be accessed from all historical access requests pre-stored in the historical access information list.
And step 207, according to the access statistical information corresponding to each historical access request in the historical access information list, confirming the historical access request with the largest initiating times, the highest access frequency or the longest total access time in all the selected historical access requests.
And step 208, taking the historical access request with the maximum initiating times, the maximum access frequency or the maximum total access time as the optimal historical access request.
Specifically, in steps 203 to 208, if the number of the historical access requests having the same webpage address as the webpage address to be accessed is not 0, it indicates that the user has accessed the webpage address, at this time, it is determined in step whether the number of the historical access requests having the same webpage address as the webpage address to be accessed is 1.
When the number is 1, it means that the browser only uses browser identifications to generate access requests, that is, the user has not performed the browser identification switching operation while browsing the web page address.
When the number is not 1, that is, the number is greater than 1, it indicates that the browser generates access requests by using a plurality of browser identifiers, that is, when the user browses the web address, times or more browser identifier switching operations are performed, at this time, all historical access requests with the same web address as the web address to be accessed can be selected from all historical access requests pre-stored in the historical access information list.
And step 209, obtaining the access identifier of the optimal historical access request in the historical access information list.
And step 210, generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed, and sending the access request to a server.
Specifically, in steps 209 to 210, after determining the optimal historical access request, an access identifier of the optimal historical access request may be obtained from the historical access information list, and an access request of this time access may be generated by using the access identifier and the address of the web page to be accessed, and sent to the server.
In the web page access method provided in the second embodiment, based on embodiment , the determination of the number of the historical access requests in the historical access information list, which is the same as the number of the web page addresses to be accessed, is performed by counting, so as to achieve the fast determination of the optimal historical access request, and the determination of the initiation times, the access frequency, and the total access time of the historical access requests is also performed by adopting the determination of the historical access requests, so that the access request generated according to the access identifier of the optimal historical access request and the received web page addresses to be accessed better meets the requirements of the user, the user is prevented from manually switching the browser identifier, and the web page access efficiency is further improved .
On the basis of the above embodiment or second embodiment, in order to further increase access efficiency by and avoid switching of browser identifiers that do not meet the user requirements, fig. 3 is a flowchart illustrating a webpage access method according to a third embodiment of the present invention.
As shown in fig. 3, the method includes:
Specifically, the website of the webpage to be accessed can be obtained by manually inputting the website on a display interface of a browser by a user, can be obtained by other third-party applications, can also be obtained by triggering or clicking an address link of the website in the webpage by the user, and is obtained by associated skipping of the address link.
If the address of the webpage to be accessed is the address of the webpage which is not accessed, executing step 303; if the address of the web page to be accessed is the address of the web page that has been accessed, step 304 is executed.
Specifically, whether the address of the web page to be accessed is the address of the web page that has been accessed can be determined by using a historical access information list preset in the browser. The historical access information list comprises historical access requests and access statistical information corresponding to the historical access requests, and each historical access request comprises a webpage address and an access identifier. The access statistics information includes the number of initiations.
And 303, generating an access request according to the browser identifier and the address of the webpage to be accessed at the current moment, and sending the access request to a server.
Specifically, if the address of the web page to be accessed is a web page address that has not been accessed by the user before, the method can be executed according to the access request mode of the existing web page, that is, the access request is generated according to the browser identifier and the address of the web page to be accessed at the current moment, and the access request is sent to the server.
And step 304, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in various historical access requests with the same webpage address as the webpage address to be accessed.
Specifically, when it is determined that the to-be-accessed web page address is the accessed web page address, several historical access requests matched with the to-be-accessed web page address may be confirmed according to the web page addresses of the historical access requests in the historical access information list, and then, an optimal historical access request may be selected from the several historical access requests according to access statistical information corresponding to the several historical access requests in the historical access information list.
And 305, acquiring the initiation times corresponding to the optimal historical access request from the historical access information list, and judging whether the initiation times are smaller than a preset threshold value.
If yes, go to step 303; if not, go to step 306.
And step 306, obtaining the access identifier of the optimal historical access request in the historical access information list.
Different from the embodiment and the second embodiment, after the optimal historical access request corresponding to the web page address is determined in the third embodiment, the number of times of initiation corresponding to the optimal historical access request may also be obtained in the historical access information list, and it is determined whether the number of times of initiation is smaller than a preset threshold.
When the initiation times corresponding to the optimal historical access request are smaller than a preset threshold value, the webpage address corresponding to the optimal historical access request is a webpage address which is not commonly used by the user, namely the access identifier of the optimal historical access request may not meet the user requirement. When the initiation times corresponding to the optimal historical access request are not less than a preset threshold value, the optimal historical access request is indicated to be initiated frequently, the corresponding webpage address is a webpage address commonly used by the user, and the corresponding access identifier meets the user requirement.
If is true, step 303 is performed, and if is false, step 308 is performed.
And step 308, replacing the browser identification at the current moment with the access identification. Step 303 is performed.
Specifically, different from the third embodiment or the second embodiment, the method for accessing a web page according to the third embodiment of the present invention for generating an access request according to an access identifier of an optimal historical access request and an address of a web page to be accessed may specifically include the steps 307 and 308, where after determining the optimal historical access request, or after determining that the number of times of initiation corresponding to the optimal historical access request is not less than a preset threshold, the method may perform the operation of obtaining the browser identifier at the current time, and determining whether the browser identifier and the access identifier at the current time are .
If the current browser identifier and the current access identifier are correct, an access request can be generated directly according to the current browser identifier and the to-be-accessed webpage address and sent to the server, if the current browser identifier and the current access identifier are not correct , the operation of replacing the current browser identifier with the access identifier is executed, after the replacement is finished, the operation of generating the access request according to the current browser identifier and the to-be-accessed webpage address and sending the access request to the server is executed, and the replacement efficiency of the browser identifier can be effectively improved by judging whether the current browser identifier and the current access identifier are , and the webpage access efficiency is further improved .
Fig. 4 is a schematic structural diagram of browsers according to a fourth embodiment of the present invention, and as shown in fig. 4, the browser includes:
the receiving and sending module 10 is used for receiving the address of the webpage to be accessed; the access request is sent to the server.
The judging module 20 is configured to judge whether the web page address to be accessed is an accessed web page address according to the web page addresses of the historical access requests pre-stored in the historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifications; the method is also used for determining the optimal historical access request corresponding to the webpage address under the condition that the webpage address to be accessed is the accessed webpage address, wherein the optimal historical access request is the historical access request with optimal access statistical information in the historical access requests with the same webpage address as the webpage address to be accessed; and acquiring the access identifier of the optimal historical access request in the historical access information list.
And the request generating module 30 is configured to generate an access request according to the access identifier of the optimal historical access request and the address of the web page to be accessed.
Preferably, the request generating module 30 is further configured to generate an access request according to the browser identifier and the address of the web page to be accessed at the current time when the determining module determines that the address of the web page to be accessed is the address of the web page that has not been accessed.
Preferably, the access statistics include at least items of the number of initiations, the access frequency, and the total duration of the access.
Preferably, the determination module 20 is specifically configured to: counting the number of historical access requests with the same webpage addresses as the webpage addresses to be accessed; if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is 0, the to-be-accessed webpage addresses are the webpage addresses which are not accessed; and if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is not 0, the to-be-accessed webpage addresses are the accessed webpage addresses.
Preferably, the determination module 20 is specifically configured to: if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is 1, selecting the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses from the historical access requests prestored in the historical access information list, and taking the historical access requests as optimal historical access requests; if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is larger than 1, selecting all historical access requests with the same webpage addresses as the to-be-accessed webpage addresses from all historical access requests pre-stored in a historical access information list; according to the total access time length corresponding to each historical access request in the historical access information list, confirming the historical access request with the longest total access time length in all the selected historical access requests; and taking the history access request with the longest total access time as the optimal history access request.
, the access statistic information includes the initiation times, the decision module 20 is also used to obtain the initiation times corresponding to the optimal historical access request in the historical access information list after determining the optimal historical access request corresponding to the web page address;
the request generating module 30 is further configured to generate an access request according to the browser identifier and the address of the web page to be accessed at the current time under the condition that the determining module determines that the initiation number is smaller than the preset threshold; and if the judging module determines that the initiating times are more than or equal to the preset threshold value, generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed.
, the request generating module 30 is specifically configured to obtain the browser identifier at the current time, determine whether the browser identifier and the access identifier at the current time are , and if not , replace the browser identifier at the current time with the access identifier.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The browser provided by the fourth embodiment of the invention receives the address of the webpage to be accessed; judging whether the webpage address to be accessed is the accessed webpage address or not according to the webpage address of each historical access request prestored in the historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifications; if the webpage address to be accessed is the accessed webpage address, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in various historical access requests with the same webpage address and the same webpage address to be accessed; obtaining an access identifier of an optimal historical access request from a historical access information list; the access request is generated according to the access identifier of the optimal historical access request and the address of the webpage to be accessed, and the access request is sent to the server, so that the access request matched with the historical access information of the user can be automatically generated according to the historical access information of the user, the browser identifier is prevented from being manually switched by the user, the webpage access efficiency is improved, and the flow loss caused by the fact that the user opens the same webpage for multiple times is avoided.
It will be understood by those skilled in the art that all or a portion of the steps of implementing the various method embodiments described above may be performed by hardware associated with program instructions, and that the program may be stored in a computer readable storage medium, which when executed performs the steps comprising the various method embodiments described above, including ROM, RAM, magnetic or optical disks, among various media capable of storing program code.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (12)
1, A method for accessing web pages, comprising:
receiving a webpage address to be accessed;
judging whether the webpage address to be accessed is an accessed webpage address or not according to the webpage address of each historical access request prestored in a historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifiers;
if the to-be-accessed webpage address is an accessed webpage address, determining an optimal historical access request corresponding to the webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in historical access requests with the same webpage address and the same to-be-accessed webpage address;
the access statistical information comprises initiation times;
after determining the optimal historical access request corresponding to the web page address, the method further includes:
acquiring the initiation times corresponding to the optimal historical access request in the historical access information list;
if the initiation times are smaller than a preset threshold value, generating an access request according to the browser identification at the current moment and the address of the webpage to be accessed, and sending the access request to a server;
if the initiating times are more than or equal to a preset threshold value, executing a step of generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed;
obtaining an access identifier of the optimal historical access request from the historical access information list;
generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed, and sending the access request to a server;
after the access is successful, the access request generated this time is recorded in a historical access information list, and relevant information of the historical access information list is updated, wherein the relevant information includes but is not limited to access statistical information of the access request.
2. The method for accessing the webpage according to claim 1, wherein if the address of the webpage to be accessed is an address of a webpage which is not accessed, an access request is generated according to a browser identifier at the current moment and the address of the webpage to be accessed, and the access request is sent to a server.
3. The method for accessing web pages according to claim 1 or 2, wherein the access statistic information comprises at least items of the following information, such as initiation times, access frequency and total access duration.
4. The method for accessing a web page according to claim 1 or 2, wherein the step of determining whether the web page address to be accessed is an accessed web page address according to the web page address of each historical access request pre-stored in a historical access information list comprises:
counting the number of historical access requests with the same webpage addresses as the to-be-accessed webpage addresses;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is 0, the to-be-accessed webpage addresses are the webpage addresses which are not accessed;
and if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is not 0, the to-be-accessed webpage addresses are the accessed webpage addresses.
5. The method for accessing a web page according to claim 4, wherein, when the address of the web page to be accessed is an accessed address of the web page, the determining an optimal historical access request corresponding to the address of the web page specifically comprises:
if the number of the historical access requests with the same webpage address as the to-be-accessed webpage address is 1, selecting the historical access request with the same webpage address as the to-be-accessed webpage address from the historical access requests prestored in the historical access information list, and taking the historical access request as an optimal historical access request;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is larger than 1, selecting all historical access requests with the same webpage addresses as the to-be-accessed webpage addresses from all historical access requests pre-stored in a historical access information list; according to the access statistical information corresponding to each historical access request in the historical access information list, confirming the historical access request with the largest initiating times, the highest access frequency or the longest total access time in all the selected historical access requests; and taking the historical access request with the maximum initiating times, the maximum access frequency or the maximum total access time as the optimal historical access request.
6. The method for accessing web pages according to claim 1 or 2, wherein after obtaining the access identifier of the optimal historical access request from the historical access information list, the method further comprises:
acquiring a browser identifier at the current moment, and judging whether the browser identifier at the current moment and the access identifier are equivalent or not;
if not , replacing the browser identification of the current time with the access identification.
The browser of claim 7, , comprising:
the receiving and sending module is used for receiving the address of the webpage to be accessed; sending the access request to a server;
the judging module is used for judging whether the webpage address to be accessed is the accessed webpage address or not according to the webpage address of each historical access request prestored in the historical access information list; the historical access information list comprises various historical access requests and access statistical information corresponding to the various historical access requests, and the various historical access requests comprise webpage addresses and access identifiers; the method is also used for determining an optimal historical access request corresponding to the webpage address under the condition that the webpage address to be accessed is the accessed webpage address, wherein the optimal historical access request is a historical access request with optimal access statistical information in various historical access requests with the same webpage address as the webpage address to be accessed; the access statistical information comprises initiation times and is also used for acquiring the initiation times corresponding to the optimal historical access request in the historical access information list after the optimal historical access request corresponding to the webpage address is determined; the access request is generated according to the browser identifier at the current moment and the to-be-accessed webpage address under the condition that the initiation frequency is determined to be smaller than a preset threshold value, and if the initiation frequency is determined to be larger than or equal to the preset threshold value, the access request is generated according to the access identifier of the optimal historical access request and the to-be-accessed webpage address;
obtaining an access identifier of the optimal historical access request from the historical access information list;
the request generation module is used for generating an access request according to the access identifier of the optimal historical access request and the address of the webpage to be accessed;
after the access is successful, the server records the access request generated this time in a historical access information list, and updates the relevant information of the historical access information list, wherein the relevant information includes but is not limited to the access statistical information of the access request.
8. The browser according to claim 7, wherein the request generating module is further configured to generate an access request according to a browser identifier at a current time and the address of the web page to be accessed, when the determining module determines that the address of the web page to be accessed is an address of a web page that has not been accessed.
9. The browser of claim 7 or 8, wherein the access statistics comprise at least items of the number of initiations, the access frequency and the total access duration.
10. The browser according to claim 7 or 8, wherein the determining module is specifically configured to:
counting the number of historical access requests with the same webpage addresses as the to-be-accessed webpage addresses;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is 0, the to-be-accessed webpage addresses are the webpage addresses which are not accessed;
and if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is not 0, the to-be-accessed webpage addresses are the accessed webpage addresses.
11. The browser according to claim 10, wherein the determining module is specifically configured to:
if the number of the historical access requests with the same webpage address as the to-be-accessed webpage address is 1, selecting the historical access request with the same webpage address as the to-be-accessed webpage address from the historical access requests prestored in the historical access information list, and taking the historical access request as an optimal historical access request;
if the number of the historical access requests with the same webpage addresses as the to-be-accessed webpage addresses is larger than 1, selecting all historical access requests with the same webpage addresses as the to-be-accessed webpage addresses from all historical access requests pre-stored in a historical access information list; according to the access statistical information corresponding to each historical access request in the historical access information list, confirming the historical access request with the largest initiating times, the highest access frequency or the longest total access time in all the selected historical access requests; and taking the historical access request with the maximum initiating times, the maximum access frequency or the maximum total access time as the optimal historical access request.
12. The browser according to claim 7 or 8, wherein the request generation module is specifically configured to:
acquiring a browser identifier at the current moment, and judging whether the browser identifier at the current moment and the access identifier are equivalent or not;
if not , replacing the browser identification of the current time with the access identification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710613415.XA CN107438100B (en) | 2017-07-25 | 2017-07-25 | Webpage access method and browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710613415.XA CN107438100B (en) | 2017-07-25 | 2017-07-25 | Webpage access method and browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107438100A CN107438100A (en) | 2017-12-05 |
CN107438100B true CN107438100B (en) | 2020-01-31 |
Family
ID=60460115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710613415.XA Active CN107438100B (en) | 2017-07-25 | 2017-07-25 | Webpage access method and browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107438100B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112218131A (en) * | 2019-07-09 | 2021-01-12 | 中国移动通信集团吉林有限公司 | Set top box working method and device, electronic equipment and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752288A (en) * | 2012-06-06 | 2012-10-24 | 华为技术有限公司 | Method and device for identifying network access action |
CN104504077A (en) * | 2014-12-22 | 2015-04-08 | 北京国双科技有限公司 | Web access data statistical method and the device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5279057B1 (en) * | 2012-11-09 | 2013-09-04 | 株式会社Kpiソリューションズ | Information processing system and information processing method |
CN104065635B (en) * | 2013-07-02 | 2016-01-20 | 腾讯科技(深圳)有限公司 | Web access method and client |
CN106897406A (en) * | 2017-02-15 | 2017-06-27 | 中国联合网络通信集团有限公司 | The method and device of switching browser mark |
-
2017
- 2017-07-25 CN CN201710613415.XA patent/CN107438100B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752288A (en) * | 2012-06-06 | 2012-10-24 | 华为技术有限公司 | Method and device for identifying network access action |
CN104504077A (en) * | 2014-12-22 | 2015-04-08 | 北京国双科技有限公司 | Web access data statistical method and the device |
Also Published As
Publication number | Publication date |
---|---|
CN107438100A (en) | 2017-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2800343A1 (en) | Message processing method, device and system | |
CN104092787B (en) | Based on Network Access Method and the system of DNS | |
US20140122638A1 (en) | Webpage Browsing Method And Device | |
US10135923B2 (en) | Data transfer method and system | |
CN103049163B (en) | User interface intelligent display control method and device | |
CN109492019B (en) | Service request response method, device, computer equipment and storage medium | |
CN112165520B (en) | Screen projection control method, screen projection receiving end and storage medium | |
CN107679077B (en) | Paging implementation method and device, computer equipment and storage medium | |
CN107040965B (en) | Flow control method and device and mobile terminal | |
CN111147616B (en) | Resource acquisition method and device, electronic equipment and storage medium | |
CN103246713A (en) | Web surfing method and web surfing device | |
US20170289243A1 (en) | Domain name resolution method and electronic device | |
CN107438100B (en) | Webpage access method and browser | |
US20170169042A1 (en) | Webpage display method, mobile terminal, intelligent terminal, computer program and storage medium | |
US10095791B2 (en) | Information search method and apparatus | |
KR20160032653A (en) | Method and apparatus for ranking candiate character and method and device for inputting character | |
CN105159692A (en) | Application identifying method, application identifying device and server | |
CN106897406A (en) | The method and device of switching browser mark | |
US10775966B2 (en) | Customizable autocomplete option | |
US20170310751A1 (en) | System and method for cloud storage device detection | |
CN105260451A (en) | Chat history information processing method and system based on mobile terminal | |
CN113938463A (en) | Domain name abuse blocking method and device | |
CN110719274A (en) | Network security control method, device, equipment and storage medium | |
CN112104644B (en) | IMS request message sending method and device | |
CN104571903A (en) | Input box switching method and input box switching device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |