CN106126656A - A kind of method and device judging the mobile page - Google Patents

A kind of method and device judging the mobile page Download PDF

Info

Publication number
CN106126656A
CN106126656A CN201610482605.8A CN201610482605A CN106126656A CN 106126656 A CN106126656 A CN 106126656A CN 201610482605 A CN201610482605 A CN 201610482605A CN 106126656 A CN106126656 A CN 106126656A
Authority
CN
China
Prior art keywords
webpage
mobile terminal
information
page
target website
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
CN201610482605.8A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201610482605.8A priority Critical patent/CN106126656A/en
Publication of CN106126656A publication Critical patent/CN106126656A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device judging the mobile page, relate to Internet technical field, invent for solving problem that mobile terminal display web site contents inconvenience user checks.The method of the embodiment of the present invention includes: obtaining the personal computer PC webpage of target network address, according to described PC webpage, the request method corresponding with PC end makes requests on the webpage obtained;Obtaining the mobile terminal webpage of described target network address, according to described mobile terminal webpage, the request method corresponding with mobile terminal makes requests on the webpage obtained;Relatively described PC webpage is the most identical with described mobile terminal webpage;If it is different, then determine that described target network address exists the mobile page.During the embodiment of the present invention is mainly used in mobile terminal display web site contents.

Description

Method and device for judging mobile page
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a method and a device for judging a mobile page.
Background
With the development of network technology, mobile terminals are transformed into key portals and innovative platforms of internet services. When the mobile terminal is used for surfing the internet, the website return page format is suitable for the mobile page of the mobile terminal. Currently, all websites provide PC (personal computer) page formats suitable for PC (personal computer) side, that is, when the PC side is used to access internet, the website return page format is suitable for PC page of PC side. However, due to limitations in website functionality, website technology, etc., not all sites provide mobile pages.
The mobile page refers to a webpage with a page format suitable for a mobile terminal screen. A mobile terminal, also called a mobile communication terminal, refers to a computer device that can be used in mobile, and generally refers to a mobile phone or a smart phone and a tablet computer having multiple application functions.
The inventor in the process of implementing the invention finds that if the website does not provide a mobile page, the website content is displayed in a PC page on the mobile terminal. Therefore, when the website content is viewed, the page content cannot be seen even if the content is displayed in a full screen due to the limitation of the screen size of the mobile terminal. If the page content is partially amplified, the page information cannot be comprehensively viewed, so that the missed information is easily found, and the user cannot conveniently view the page information.
Disclosure of Invention
The embodiment of the invention provides a method and a device for judging a mobile page, which are used for solving the problem that the content of a website displayed by a mobile terminal is inconvenient for a user to check.
In order to solve the foregoing technical problem, in one aspect, an embodiment of the present invention provides a method for determining a mobile page, where the method includes:
acquiring a Personal Computer (PC) webpage of a target website, wherein the PC webpage is a webpage obtained by requesting according to a request mode corresponding to a PC terminal;
acquiring a mobile terminal webpage of the target website, wherein the mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal;
comparing whether the PC webpage is the same as the mobile terminal webpage or not;
and if the target website is different from the target website, determining that the target website has a mobile page.
In another aspect, an embodiment of the present invention provides an apparatus for determining a moving page, where the apparatus includes:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a Personal Computer (PC) webpage of a target website, and the PC webpage is a webpage obtained by requesting according to a request mode corresponding to a PC end;
the second acquisition unit is used for acquiring a mobile terminal webpage of the target website, wherein the mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal;
the comparison unit is used for comparing whether the PC webpage is the same as the mobile terminal webpage or not;
and the determining unit is used for determining that the target website has a mobile page if the target website is different from the target website.
According to the method and the device for judging the mobile page, provided by the embodiment of the invention, the PC webpage of the personal computer of the target website is obtained, the mobile terminal webpage of the target website is obtained, then whether the PC webpage is the same as the mobile terminal webpage is compared, and if the PC webpage is different from the mobile terminal webpage, the mobile page of the target website is determined. Compared with the prior art, the embodiment of the invention can compare whether the PC webpage is the same as the mobile terminal webpage, then judge whether the target website has the mobile page, finally display the mobile page of the target website by the mobile terminal, or further process the display content before displaying the content of the target website, so that the user can conveniently view the website information without the limitation of the size of the screen of the mobile terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for determining a mobile page according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for determining a mobile page according to an embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for determining a mobile page according to an embodiment of the present invention;
FIG. 4 is a block diagram of another apparatus for determining a moving page according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for determining a moving page according to an 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, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for determining a mobile page, as shown in fig. 1, the method includes:
101. and acquiring the PC webpage of the target website.
The execution main body of the embodiment of the invention is the server, the server end is disguised as the PC end, the PC webpage is obtained, and the PC webpage is used as the basis for subsequently judging whether the target website has the mobile page. The PC webpage is a webpage obtained by requesting according to a request mode corresponding to the PC terminal.
With the development of terminal equipment and internet technology, terminal equipment for accessing the internet by a user is developed from a traditional PC to a mobile terminal, so that all websites can provide PC webpages suitable for being displayed by a PC terminal.
A server is a device that provides computing services. The server responds to the service request, and is similar to the architecture of a general-purpose computer, so that the server can be disguised as a PC side to realize the functions of the PC side. Firstly, the server is disguised as a PC terminal, then a link request of a target website is sent, and finally a returned PC webpage of the target website is obtained.
102. And acquiring a mobile terminal webpage of the target website.
The execution main body server of the embodiment of the invention is disguised as the mobile terminal, the mobile terminal webpage is obtained, and the mobile terminal webpage is used as the basis for subsequently judging whether the target website has the mobile page or not. The mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal.
With the development of terminal equipment and internet technology, terminal equipment for accessing the internet by a user is developed from a traditional PC to a mobile terminal, and as a target website relates to a PC user with content only facing to the user, or the display content of the target website is not suitable for being displayed on the mobile terminal, not all websites provide mobile pages suitable for being displayed on the mobile terminal.
A server is a device that provides computing services. The server responds to the service request and is similar to the architecture of a general-purpose computer, so the server can masquerade as a mobile terminal, implementing the functionality of the mobile terminal. Firstly, a server is disguised as a mobile terminal, then a link request of a target website is sent, and finally a returned mobile terminal webpage of the target website is obtained. And if the target website does not have a mobile page suitable for being displayed by the mobile terminal, the acquired mobile terminal webpage is the same as the PC webpage.
103. And comparing whether the PC webpage is the same as the webpage of the mobile terminal.
The PC webpage and the mobile terminal webpage can judge whether the PC webpage and the mobile terminal webpage are the same or not by comparing the jump time of the mobile pointer, the terminal identification or the page content suitable for the webpage and the like. In the comparison process, a comparison basis can be selected to directly judge whether the PC webpage is the same as the mobile terminal webpage; or selecting multiple comparison bases, combining the multiple comparison bases and comprehensively judging whether the PC webpage is the same as the webpage of the mobile terminal. In this embodiment, the number of comparison bases is not limited, and the combination manner determined according to the plurality of comparison bases is not limited.
104. And if the difference is not the same, determining that the target website has the mobile page.
If the PC webpage is different from the mobile terminal webpage, and the target website certainly has the PC webpage, the target website can be determined to have the mobile page. If the PC webpage is the same as the mobile terminal webpage, the result of the access feedback of the target website is the same no matter the target website is accessed through the PC terminal or the mobile terminal, and therefore the target website can be determined to have no mobile page.
The method for judging the mobile page provided by the embodiment of the invention obtains the PC webpage of the personal computer of the target website, obtains the mobile terminal webpage of the target website, then compares whether the PC webpage is the same as the mobile terminal webpage, and determines that the mobile page exists in the target website if the PC webpage is different from the mobile terminal webpage. Compared with the prior art, the embodiment of the invention can compare whether the PC webpage is the same as the mobile terminal webpage, then judge whether the target website has the mobile page, finally display the mobile page of the target website by the mobile terminal, or further process the display content before displaying the content of the target website, so that the user can conveniently view the website information without the limitation of the size of the screen of the mobile terminal.
Further, as a refinement of the method shown in fig. 1, an embodiment of the present invention further provides another method for determining a moving page, as shown in fig. 2, where the method includes:
201. and acquiring the PC webpage of the target website.
The PC webpage is a webpage obtained by requesting according to a request mode corresponding to the PC terminal. The method for acquiring the PC webpage of the target website specifically comprises the following steps: acquiring user agent UA information of a PC (personal computer) end; adding the UA information of the PC end into a hypertext transfer protocol (HTTP); according to a target website, sending an HTTP message request; receiving page information of a target website; the page information is determined as a PC web page.
A UA (User Agent), which is a special string header, enables the server to identify the operating system and version, CPU type, browser and version, browser rendering engine, browser language, browser plug-in, etc. used by the client. Different operating systems and different browsers can be determined by the UA. The execution main body server is disguised as the PC end by acquiring the UA information of the PC end and adding the UA information of the PC end into an HTTP transmission protocol. The UA information of the PC end is UA information of any PC end, wherein the operating system can be any version of operating systems such as Windows, Linux and Unix, and the browser can be any version of browsers such as a QQ browser, a Firefox browser and a dog searching browser. In this embodiment, the version of the operating system and the version of the browser in the information of the UA on the PC side are not limited.
According to the target website, sending an HTTP message request added with the UA information of the PC end, receiving the page information sent by the Web server, disconnecting the Web server, and finally determining that the received page information is a PC webpage.
202. And acquiring a mobile terminal webpage of the target website.
The mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal. The method for acquiring the mobile terminal webpage of the target website specifically comprises the following steps: acquiring user agent UA information of a mobile terminal; adding the UA information of the mobile terminal into a hypertext transfer protocol (HTTP); according to a target website, sending an HTTP message request; receiving page information of a target website; and determining the page information as the mobile terminal webpage.
Similarly to the method described in step 201 shown in fig. 2, the execution principal server is disguised as a mobile terminal by acquiring the mobile terminal UA information and adding the mobile terminal UA information to the HTTP transport protocol. The UA information of the mobile terminal is UA information of any mobile terminal, where the operating system may be any version of operating systems such as Android, iOS, windows phone, and Symbian, and the browser may be any version of browsers such as a UC browser, a cheetah browser, and a dog-searching mobile phone browser.
According to the target website, sending an HTTP message request added with mobile terminal UA information, receiving page information sent by a Web server, disconnecting the Web server, and finally determining that the received page information is a mobile terminal webpage. And if the target website does not have a mobile page suitable for being displayed by the mobile terminal, the acquired mobile terminal webpage is the same as the PC webpage.
203. And comparing whether the PC webpage is the same as the webpage of the mobile terminal.
Comparing whether the PC webpage is the same as the mobile terminal webpage comprises the following steps: acquiring preset comparison information of a PC webpage; acquiring preset comparison information of a mobile terminal webpage; and comparing whether the PC webpage is the same as the mobile terminal webpage or not according to a preset comparison rule. Due to the fact that different terminals obtain target websites, when the terminals display different display screens, display effects are different, and the display effects are not the essence of distinguishing PC webpages from mobile terminal webpages. Therefore, comparison information needs to be preset, and essential information for judging whether the PC webpage is the same as the webpage of the mobile terminal is screened out through the preset comparison information. In the preset comparison information, a plurality of kinds of comparison information may be included, and comparison is required to be performed separately in comparison, so that a preset ratio rule needs to be set. The accuracy of the comparison result can be increased by presetting the comparison rule, setting the comparison sequence, judging the comparison result and the like.
The method for acquiring the preset comparison information of the PC webpage comprises the following steps: acquiring mobile pointer skipping information of a PC webpage; acquiring page display information of a PC webpage; and calculating the preset comparison information of the PC webpage according to the mobile pointer jumping information and the page display information of the PC webpage and the preset weight of the PC terminal. The mobile pointer skipping information refers to the mobile pointer skipping information generated when a program runs and page display information adaptive to a PC (personal computer) end is selected according to UA (user agent) information after the mobile pointer skipping information is linked to a target website. The page display information refers to page information sent to a server disguised as a PC side.
The method for acquiring the preset comparison information of the mobile terminal webpage comprises the following steps: acquiring mobile pointer skipping information of a mobile terminal webpage; acquiring page display information of a mobile terminal webpage; and calculating preset comparison information of the mobile terminal webpage according to the mobile pointer jumping information and the page display information of the mobile terminal webpage and the preset weight of the mobile terminal. And acquiring preset comparison information of the mobile terminal webpage, wherein the preset comparison information is similar to the preset comparison information of the PC webpage.
And judging whether the PC webpage is the same as the mobile terminal webpage or not by comparing preset comparison information of the PC webpage and the mobile terminal webpage.
204. And if the difference is not the same, determining that the target website has the mobile page.
This step is the same as the method described in step 104 shown in fig. 1, and is not described here again.
205. And storing the target website in a website database.
If the mobile page exists in the target website, the target website is stored in a website database, so that statistics can be carried out subsequently according to the number of the websites with the mobile page in the network, and the occupation rate of the websites with the mobile page can be reflected.
Further, as an implementation of the method shown in any one of fig. 1 and fig. 2, another embodiment of the present invention further provides an apparatus for determining a mobile page. The present apparatus embodiment corresponds to the foregoing method embodiment, and can implement all the contents in the foregoing method embodiment. For convenience of reading, the present apparatus embodiment only performs a summary description on the contents in the foregoing method embodiments, and details in the method embodiments are not repeated. The apparatus includes a first acquisition unit 31, a second acquisition unit 32, a comparison unit 33, and a determination unit 34 as shown in fig. 3. Wherein,
a first obtaining unit 31, configured to obtain a PC web page of a target website, where the PC web page is a web page obtained by requesting according to a request mode corresponding to a PC end;
a second obtaining unit 32, configured to obtain a mobile terminal web page of the target website, where the mobile terminal web page is a web page obtained by requesting according to a request mode corresponding to the mobile terminal;
a comparing unit 33 for comparing whether the PC web page is the same as the mobile terminal web page;
and the determining unit 34 is configured to determine that the target website has a moving page if the target website is different from the target website.
Further, as shown in fig. 4, the first acquiring unit 31 includes:
the obtaining module 311 is configured to obtain UA information of a user agent at a PC end;
an adding module 312, configured to add the UA information of the PC to the HTTP protocol for hypertext transfer;
a sending module 313, configured to send an HTTP message request according to the target website;
a receiving module 314, configured to receive page information of a target website;
a determining module 315, configured to determine the page information as a PC web page.
Further, as shown in fig. 4, the second obtaining unit 32 includes:
an obtaining module 321, configured to obtain UA information of a user agent of a mobile terminal;
an adding module 322, configured to add the UA information of the mobile terminal to the HTTP protocol for hypertext transfer;
a sending module 323, configured to send an HTTP message request according to the target website;
a receiving module 324, configured to receive page information of a target website;
a determining module 325, configured to determine the page information as a mobile terminal web page.
Further, as shown in fig. 4, the comparing unit 33 includes:
a first obtaining module 331, configured to obtain preset comparison information of a PC webpage;
a second obtaining module 332, configured to obtain preset comparison information of a mobile terminal webpage;
the comparing module 333 is configured to compare whether the PC webpage is the same as the mobile terminal webpage according to a preset comparison rule.
Further, as shown in fig. 4, the first obtaining module 331 includes:
an obtaining sub-module 3311 for obtaining the moving pointer jump information of the PC web page;
the obtaining sub-module 3311 is further configured to obtain page display information of the PC webpage;
the calculating sub-module 3312 is configured to calculate preset comparison information of the PC web page according to the preset weight of the PC terminal, based on the moving pointer jump information and the page display information of the PC web page.
Further, as shown in fig. 4, the second obtaining module 332 includes:
the obtaining sub-module 3321 is configured to obtain the mobile pointer jump information of the mobile terminal webpage;
the obtaining sub-module 3321 is further configured to obtain page display information of the mobile terminal webpage;
the calculating sub-module 3322 is configured to calculate preset comparison information of the mobile terminal webpage according to the mobile pointer jump information and the page display information of the mobile terminal webpage and according to the preset weight of the mobile terminal.
Further, as shown in fig. 4, the apparatus further includes:
and the saving unit 35 is used for saving the target website in the website database after determining that the target website has the moving page.
The device for judging the mobile page provided by the embodiment of the invention obtains the PC webpage of the personal computer of the target website, obtains the mobile terminal webpage of the target website, then compares whether the PC webpage is the same as the mobile terminal webpage, and determines that the mobile page exists in the target website if the PC webpage is different from the mobile terminal webpage. Compared with the prior art, the embodiment of the invention can compare whether the PC webpage is the same as the mobile terminal webpage, then judge whether the target website has the mobile page, finally display the mobile page of the target website by the mobile terminal, or further process the display content before displaying the content of the target website, so that the user can conveniently view the website information without the limitation of the size of the screen of the mobile terminal.
It should be noted that, for the above apparatus for determining a moving page, all functions of each unit module used in the embodiment of the present invention may be implemented by a hardware processor (hardware processor).
For example, as shown in fig. 5, fig. 5 is a schematic diagram illustrating an entity structure of an apparatus for determining a mobile page according to an embodiment of the present invention, where the apparatus may include: a processor (processor)51, a communication interface (communication interface)52, a memory (memory)53 and a bus 54, wherein the processor 51, the communication interface 52 and the memory 53 complete communication with each other through the bus 54. The communication interface 52 may be used for information transfer between the server and the client. The processor 51 may call logic instructions in the memory 53 to perform the following method: acquiring a Personal Computer (PC) webpage of a target website, wherein the PC webpage is a webpage obtained by requesting according to a request mode corresponding to a PC terminal; acquiring a mobile terminal webpage of the target website, wherein the mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal; comparing whether the PC webpage is the same as the mobile terminal webpage or not; and if the target website is different from the target website, determining that the target website has a mobile page.
In addition, the logic instructions in the memory 53 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A method for determining a mobile page, the method comprising:
acquiring a Personal Computer (PC) webpage of a target website, wherein the PC webpage is a webpage obtained by requesting according to a request mode corresponding to a PC terminal;
acquiring a mobile terminal webpage of the target website, wherein the mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal;
comparing whether the PC webpage is the same as the mobile terminal webpage or not;
and if the target website is different from the target website, determining that the target website has a mobile page.
2. The method of claim 1, wherein the obtaining of the Personal Computer (PC) web page of the target web site comprises:
acquiring user agent UA information of a PC (personal computer) end;
adding the UA information of the PC end into a hypertext transfer protocol (HTTP);
sending an HTTP message request according to the target website;
receiving page information of the target website;
and determining the page information as the PC webpage.
3. The method of claim 1, wherein the acquiring the mobile terminal webpage of the target website comprises:
acquiring user agent UA information of a mobile terminal;
adding the UA information of the mobile terminal into a hypertext transfer protocol (HTTP);
sending an HTTP message request according to the target website;
receiving page information of the target website;
and determining the page information as the mobile terminal webpage.
4. The method of claim 1, wherein the comparing whether the PC web page is the same as the mobile terminal web page comprises:
acquiring preset comparison information of the PC webpage;
acquiring preset comparison information of the mobile terminal webpage;
and comparing whether the PC webpage is the same as the mobile terminal webpage or not according to a preset comparison rule.
5. The method of claim 4, wherein the obtaining the preset comparison information of the PC webpage comprises:
acquiring the mobile pointer jumping information of the PC webpage;
acquiring page display information of the PC webpage;
and calculating preset comparison information of the PC webpage according to the mobile pointer jumping information and the page display information of the PC webpage and the preset weight of the PC terminal.
6. The method according to claim 4, wherein the obtaining of the preset comparison information of the mobile terminal webpage comprises:
acquiring mobile pointer skipping information of the mobile terminal webpage;
acquiring page display information of the mobile terminal webpage;
and calculating preset comparison information of the mobile terminal webpage according to the mobile pointer jumping information and the page display information of the mobile terminal webpage and preset weight of the mobile terminal.
7. The method of claim 1, wherein after determining that a mobile page exists for the target website, the method further comprises:
and storing the target website in a website database.
8. An apparatus for determining a moving page, the apparatus comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a Personal Computer (PC) webpage of a target website, and the PC webpage is a webpage obtained by requesting according to a request mode corresponding to a PC end;
the second acquisition unit is used for acquiring a mobile terminal webpage of the target website, wherein the mobile terminal webpage is a webpage obtained by requesting according to a request mode corresponding to the mobile terminal;
the comparison unit is used for comparing whether the PC webpage is the same as the mobile terminal webpage or not;
and the determining unit is used for determining that the target website has a mobile page if the target website is different from the target website.
9. The apparatus of claim 8, wherein the first obtaining unit comprises:
the acquisition module is used for acquiring the UA information of the PC end user agent;
the adding module is used for adding the UA information of the PC end into a hypertext transfer protocol (HTTP);
the sending module is used for sending an HTTP message request according to the target website;
the receiving module is used for receiving page information of the target website;
and the determining module is used for determining the page information as the PC webpage.
10. The apparatus of claim 8, wherein the second obtaining unit comprises:
the acquisition module is used for acquiring the UA information of the mobile terminal user agent;
the adding module is used for adding the UA information of the mobile terminal into a hypertext transfer protocol (HTTP);
the sending module is used for sending an HTTP message request according to the target website;
the receiving module is used for receiving page information of the target website;
and the determining module is used for determining the page information as the mobile terminal webpage.
11. The apparatus of claim 8, wherein the comparing unit comprises:
the first acquisition module is used for acquiring preset comparison information of the PC webpage;
the second acquisition module is used for acquiring preset comparison information of the mobile terminal webpage;
and the comparison module is used for comparing whether the PC webpage is the same as the mobile terminal webpage or not according to a preset comparison rule.
12. The apparatus of claim 11, wherein the first obtaining module comprises:
the acquisition submodule is used for acquiring the mobile pointer jumping information of the PC webpage;
the acquisition submodule is also used for acquiring page display information of the PC webpage;
and the calculation submodule is used for calculating the preset comparison information of the PC webpage according to the mobile pointer jumping information and the page display information of the PC webpage and the preset weight of the PC terminal.
13. The apparatus of claim 11, wherein the second obtaining module comprises:
the acquisition submodule is used for acquiring the mobile pointer jumping information of the mobile terminal webpage;
the acquisition submodule is also used for acquiring page display information of the mobile terminal webpage;
and the calculation submodule is used for calculating the preset comparison information of the mobile terminal webpage according to the mobile pointer jump information and the page display information of the mobile terminal webpage and the preset weight of the mobile terminal.
14. The apparatus of claim 8, further comprising:
and the storage unit is used for storing the target website into a website database after the mobile page of the target website is determined to exist.
CN201610482605.8A 2016-06-27 2016-06-27 A kind of method and device judging the mobile page Pending CN106126656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610482605.8A CN106126656A (en) 2016-06-27 2016-06-27 A kind of method and device judging the mobile page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610482605.8A CN106126656A (en) 2016-06-27 2016-06-27 A kind of method and device judging the mobile page

Publications (1)

Publication Number Publication Date
CN106126656A true CN106126656A (en) 2016-11-16

Family

ID=57266808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610482605.8A Pending CN106126656A (en) 2016-06-27 2016-06-27 A kind of method and device judging the mobile page

Country Status (1)

Country Link
CN (1) CN106126656A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257317A (en) * 2017-07-12 2019-01-22 武汉安天信息技术有限责任公司 A kind of mobile Internet detection method for phishing site and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306185A (en) * 2011-08-30 2012-01-04 百度在线网络技术(北京)有限公司 Method and device for identifying wireless application protocol (WAP) web page, and equipment
CN104392000A (en) * 2014-12-15 2015-03-04 北京奇虎科技有限公司 Method and device for determining catching quota of mobile station
CN104504100A (en) * 2014-12-29 2015-04-08 北京奇虎科技有限公司 System and method for determining adaptive relationship of PC (personal computer) webpage and mobile webpage
CN104572931A (en) * 2014-12-29 2015-04-29 北京奇虎科技有限公司 System and method for determining adaptation relations between PC (personal computer) web pages and mobile web pages
CN105138542A (en) * 2015-07-09 2015-12-09 北京天河石科技有限责任公司 Method for converting PC terminal WEB webpage into mobile terminal WEB webpage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306185A (en) * 2011-08-30 2012-01-04 百度在线网络技术(北京)有限公司 Method and device for identifying wireless application protocol (WAP) web page, and equipment
CN104392000A (en) * 2014-12-15 2015-03-04 北京奇虎科技有限公司 Method and device for determining catching quota of mobile station
CN104504100A (en) * 2014-12-29 2015-04-08 北京奇虎科技有限公司 System and method for determining adaptive relationship of PC (personal computer) webpage and mobile webpage
CN104572931A (en) * 2014-12-29 2015-04-29 北京奇虎科技有限公司 System and method for determining adaptation relations between PC (personal computer) web pages and mobile web pages
CN105138542A (en) * 2015-07-09 2015-12-09 北京天河石科技有限责任公司 Method for converting PC terminal WEB webpage into mobile terminal WEB webpage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
百度站长咨询: "百度官方对移动站点和pc电脑网站收录问题的解答", 《百度官方对移动站点和PC电脑网站收录问题的解答》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257317A (en) * 2017-07-12 2019-01-22 武汉安天信息技术有限责任公司 A kind of mobile Internet detection method for phishing site and device
CN109257317B (en) * 2017-07-12 2021-07-20 武汉安天信息技术有限责任公司 Method and device for detecting phishing website of mobile internet

Similar Documents

Publication Publication Date Title
US10212179B2 (en) Method and system for checking security of URL for mobile terminal
CN107622135B (en) Method and apparatus for displaying information
US10146750B2 (en) Method, apparatus, terminal, and storage medium for image processing
CN108880921B (en) Webpage monitoring method and device, storage medium and server
CN106911693B (en) Method and device for detecting hijacking of webpage content and terminal equipment
CN109543454B (en) Anti-crawler method and related equipment
CN104572843B (en) The loading method and device of a kind of page
TW201800962A (en) Webpage file sending method, webpage rendering method and device and webpage rendering system
US10158691B2 (en) Method and apparatus for providing network resources at intermediary server
JP6140904B2 (en) Terminal marking method, terminal marking device, program, and recording medium
CN108574721B (en) Login method, device, server, user terminal and readable storage medium
US20160224554A1 (en) Search methods, servers, and systems
CN108809943B (en) Website monitoring method and device
US20210192563A1 (en) Webpage advertisement anti-blocking method, content delivery network, and client terminal
CN110555179A (en) Dynamic website script evidence obtaining method, terminal equipment and storage medium
CN112672187B (en) Page generation method and device, computer equipment and readable storage medium
CN112087455B (en) WAF site protection rule generation method, system, equipment and medium
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
US10095791B2 (en) Information search method and apparatus
CN112187622A (en) Instant message display method and device and server
CN117113430A (en) Webpage violation picture detection method and device, electronic equipment and storage medium
CN106126656A (en) A kind of method and device judging the mobile page
CN110704498A (en) Data extraction method, device, equipment and computer readable storage medium
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
CN116127945A (en) Network link processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161116