CN107870953B - Content acquisition method, browsing service platform and device - Google Patents

Content acquisition method, browsing service platform and device Download PDF

Info

Publication number
CN107870953B
CN107870953B CN201610862037.4A CN201610862037A CN107870953B CN 107870953 B CN107870953 B CN 107870953B CN 201610862037 A CN201610862037 A CN 201610862037A CN 107870953 B CN107870953 B CN 107870953B
Authority
CN
China
Prior art keywords
content
push
url
push content
webpage
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
Application number
CN201610862037.4A
Other languages
Chinese (zh)
Other versions
CN107870953A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610862037.4A priority Critical patent/CN107870953B/en
Publication of CN107870953A publication Critical patent/CN107870953A/en
Application granted granted Critical
Publication of CN107870953B publication Critical patent/CN107870953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/951Indexing; Web crawling techniques

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 application discloses a content acquisition method. The method comprises the following steps: receiving a content acquisition request from a terminal device, wherein if the terminal device judges that acquisition of push content is allowed according to the state of a push content acquisition switch, the content acquisition request comprises a URL (uniform resource locator) of the webpage content and a push content acquisition instruction; when the content acquisition request comprises the URL of the webpage content and the push content acquisition instruction, acquiring the webpage content from a website server and acquiring the URL of the push content; and sending the webpage content and the URL of the push content to the terminal equipment so that the terminal equipment acquires the push content according to the URL of the push content, and displaying the push content when the webpage content is displayed. The application also discloses a corresponding browsing service platform and a corresponding browsing service device. According to the technical scheme disclosed by the application, the display content is expanded.

Description

Content acquisition method, browsing service platform and device
Technical Field
The invention relates to the technical field of internet, in particular to a content acquisition method, a browsing service platform and a device.
Background
With the development of internet technology, users can browse web page contents on terminal devices. When the terminal equipment requests the website server to acquire the webpage content, the website server returns the corresponding webpage content to the terminal equipment. The terminal device displays the webpage content in a user interface.
Disclosure of Invention
The embodiment of the invention provides a content acquisition method for expanding and displaying content, which comprises the following steps:
receiving a content acquisition request from a terminal device, wherein if the terminal device judges that acquisition of push content is allowed according to the state of a push content acquisition switch, the content acquisition request comprises a URL (uniform resource locator) of the webpage content and a push content acquisition instruction;
when the content acquisition request comprises the URL of the webpage content and the push content acquisition instruction, acquiring the webpage content from a website server and acquiring the URL of the push content;
and sending the webpage content and the URL of the push content to the terminal equipment so that the terminal equipment acquires the push content according to the URL of the push content, and displaying the push content when the webpage content is displayed.
The embodiment of the invention provides a content acquisition method for expanding and displaying content, which comprises the following steps:
responding to the access operation of a user to a Uniform Resource Locator (URL) of webpage content, and judging whether to allow to acquire push content according to the state of a push content acquisition switch;
when the pushed content is judged to be allowed to be acquired, a content acquisition request is sent to a browsing service platform, wherein the content acquisition request comprises a URL (uniform resource locator) of the webpage content and a pushed content acquisition instruction, so that the browsing service platform acquires the webpage content from a website server and acquires the URL of the pushed content;
receiving the webpage content and the URL of the pushed content from the browsing service platform, and acquiring the pushed content according to the URL of the pushed content;
and when the webpage content is displayed, displaying the pushed content.
The embodiment of the invention provides a browsing service platform for expanding and displaying contents, which comprises:
a receiving module, configured to receive a content acquisition request from a terminal device, where if the terminal device determines, according to a state of a push content acquisition switch, that acquisition of push content is allowed, the content acquisition request includes a URL of the web content and a push content acquisition instruction;
an obtaining module, configured to obtain the web content from a website server and obtain a URL of the pushed content when the content obtaining request includes the URL of the web content and the pushed content obtaining instruction;
and the sending module is used for sending the webpage content and the URL of the push content to the terminal equipment so that the terminal equipment obtains the push content according to the URL of the push content and displays the push content when the webpage content is displayed.
The embodiment of the invention provides a content acquisition device, which is used for expanding and displaying content and comprises:
the judging module is used for responding to the access operation of a user to a Uniform Resource Locator (URL) of the webpage content and judging whether to allow to acquire the push content according to the state of the push content acquisition switch;
the system comprises a receiving and sending module, a pushing and sending module and a pushing and sending module, wherein the receiving and sending module is used for sending a content obtaining request to a browsing service platform when the pushing and sending module judges that the pushing and sending content is allowed to be obtained, the content obtaining request comprises a URL (uniform resource locator) of webpage content and a pushing and sending content obtaining instruction, and the content obtaining request receives the webpage content and the URL of the pushing and sending content from the browsing service;
the acquisition module is used for acquiring the push content according to the URL of the push content;
and the display module is used for displaying the pushed content when the webpage content is displayed.
By adopting the technical scheme, the access operation of the user to the URL of the webpage content is responded, namely the webpage content and the corresponding push content are obtained from the browsing service platform, and the push content is displayed when the webpage content is displayed. Therefore, push content is provided for users, and display content is expanded.
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 only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1A is a schematic block diagram of an implementation environment in accordance with various embodiments of the present invention;
FIG. 1B is a block diagram illustrating an exemplary implementation environment in accordance with various embodiments of the invention;
FIG. 1C is a block diagram illustrating an exemplary implementation environment in accordance with various embodiments of the invention;
FIG. 2 is an exemplary flow chart of a content retrieval method according to an embodiment of the present invention;
FIG. 3 is an exemplary flow chart of a content retrieval method according to an embodiment of the present invention;
FIG. 4 is an exemplary flow chart of a content retrieval method according to an embodiment of the present invention;
FIG. 5 is an exemplary flow chart of a content acquisition method according to an embodiment of the present invention;
FIG. 6 is an exemplary block diagram of a proxy server according to an embodiment of the present invention;
FIG. 7 is an exemplary flow chart of a content retrieval method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an exemplary structure of a content acquisition device according to an embodiment of the present invention;
fig. 9 is an exemplary block diagram of a content acquisition apparatus according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
During research, the inventor of the present invention finds that, in order to expand the display content, the web page information can be displayed and the push content (e.g., advertisement information, promotion information, etc.) can be provided for the user.
In view of this, the embodiments of the present invention provide a content acquisition method, apparatus, and system. Fig. 1A is a schematic diagram of an implementation environment according to various embodiments of the present invention. As shown in fig. 1A, the implementation environment includes a terminal device 110, a proxy server 120, a web server 130, a push content configuration server 140, and a push content server 150.
The proxy server 120, the website server 130, the push content configuration server 140, and the push content server 150 may be a server, a server cluster composed of several servers, or a cloud computing service center.
Terminal device 110 may be a cell phone, iPad, tablet, laptop portable computer, desktop computer, and the like.
The terminal device 110 and the proxy server 120, the proxy service 120 and the web server 130, the proxy server 120 and the push content configuration server 140, and the terminal device 120 and the push content server 150 may be connected via a wireless network or a wired network, respectively.
Fig. 1B is a schematic diagram of another implementation environment according to various embodiments of the invention. As shown in fig. 1B, the implementation environment includes a terminal device 110, a website server 130, a push content configuration server 140, and a push content server 150.
The website server 130, the push content configuration server 140, and the push content server 150 may be a server, a server cluster composed of several servers, or a cloud computing service center.
Terminal device 110 may be a cell phone, iPad, tablet, laptop portable computer, desktop computer, and the like.
The terminal device 110 and the web server 130, the terminal device 110 and the push content configuration server 140, and the terminal device 110 and the push content server 150 may be connected via a wireless network or a wired network, respectively.
Fig. 1C is a schematic diagram of another embodiment of the present invention. As shown in fig. 1C, the implementation environment includes a terminal device 110, a browsing service platform 120, and a web server 130.
The browsing service platform 120 includes a proxy server 121, a push content configuration server 122, a push content server 123, and a switch state configuration server 124.
The proxy server 121, the push content configuration server 122, the push content server 123, the switch state configuration server 124 and the website server 130 may be a server, a server cluster composed of several servers, or a cloud computing service center.
The website server 130, the push content configuration server 140, and the push content server 150 may be a server, a server cluster composed of several servers, or a cloud computing service center.
Terminal device 110 may be a cell phone, iPad, tablet, laptop portable computer, desktop computer, and the like.
The terminal device 110 and the browsing service platform 120, and the browsing service platform 120 and the website server 130 may be connected via a wireless network or a wired network, respectively.
Fig. 2 is a flowchart of a content acquisition method according to an embodiment of the present invention. The method can be applied to the browsing service module embedded in the terminal equipment. The browsing service module is used for providing browsing services (for example, browsing web page contents) for users. In one embodiment, the browsing service module may be embedded in each client (e.g., WeChat client, instant messaging client) and/or browser that provides browsing services to the user. Specifically, when at least one client and/or browser of the terminal device provides a browsing service for the user, the browsing service module may be embedded in the respective client or browser. In one embodiment, the browser service module may be independent of any client or browser. When a browsing service needs to be provided for the user, the client or the browser calls the browsing service module, for example, through a Software Development Kit (SDK). In one embodiment, the browser service module may be embedded in at least one client and/or browser (e.g., a wechat client, an instant messaging client) that provides browsing services to a user. When a client/browser without the embedded browsing service module needs to provide browsing service, the embedded browsing service module in another client/browser can be called.
The method is applied to the implementation environment shown in fig. 1C. As shown in fig. 1C, the method comprises the steps of:
step 201: receiving a content acquisition request from a terminal device, wherein if the terminal device judges that acquisition of push content is allowed according to the state of a push content acquisition switch, the content acquisition request comprises a URL (uniform resource locator) of the webpage content and a push content acquisition instruction.
Step 202: when the content acquisition request comprises the URL of the webpage content and the push content acquisition instruction, acquiring the webpage content from a website server and acquiring the URL of the push content;
step 203: and sending the webpage content and the URL of the push content to the terminal equipment.
Therefore, the terminal equipment acquires the push content according to the URL of the push content, and displays the push content when displaying the webpage content.
In one embodiment, in the process of acquiring the web content from a website server, a web content acquisition request carrying a URL of the web content is sent to the website server, so that the website server acquires the web content corresponding to the URL of the web content; receiving the web page content from the web server.
In one embodiment, the push content acquisition indication comprises a push content type indication.
In one embodiment, when the URL of the push content is acquired, the display position information of the push content is acquired, and the display position information is sent to the terminal device, so that the terminal device displays the push content on a corresponding display position in a page according to the display position information.
In one embodiment, at least one statistical keyword is obtained when the URL of the push content is obtained, wherein each statistical keyword corresponds to at least one operation on the push content; and sending the at least one statistical keyword to the terminal equipment so that the terminal equipment responds to the operation executed by the user aiming at the pushed content and reports a statistical request carrying the statistical keyword corresponding to the executed operation.
Fig. 3 is a flowchart of a content acquisition method according to an embodiment of the present invention. The method is applied to the implementation environment shown in fig. 1C. As shown in fig. 3, the method comprises the steps of:
step 301: and responding to the access operation of a user to a Uniform Resource Locator (URL) of the webpage content, and judging whether to allow to acquire the push content according to the state of the push content acquisition switch.
Step 302: and when the pushed content is judged to be allowed to be acquired, transmitting a content acquisition request to the browsing service platform, wherein the content acquisition request comprises a URL (uniform resource locator) of the webpage content and a pushed content acquisition instruction.
In this way, the browsing service platform obtains the web page content from the web server and obtains the URL of the push content.
Step 303: and receiving the webpage content and the URL of the pushed content from the browsing service platform, and acquiring the pushed content according to the URL of the pushed content.
Step 304: and when the webpage content is displayed, displaying the pushed content.
In one embodiment, the push content acquisition indication further comprises a push content type indication.
In one embodiment, when receiving the URL of the push content from the browsing service platform, receiving the presentation position information of the push content from the browsing service platform. And in the process of displaying the push content, displaying the push content on a corresponding display position in the current page according to the display position information.
In one embodiment, at least one statistical keyword is obtained when a URL of push content from the browsing service platform is received, wherein each statistical keyword corresponds to at least one operation for the push content; and reporting a statistical request to the browsing service platform in response to the operation executed by the user for the pushed content, wherein the statistical request carries a statistical keyword corresponding to the executed operation, so that the browsing service platform performs statistics on the operation executed by the user for the pushed content according to the statistical keyword carried in the reported statistical request.
In one embodiment, before determining whether to allow acquisition of push content according to the state of a push content acquisition switch, receiving push content acquisition switch configuration information from the browsing service platform; and configuring the state of the push content acquisition switch according to the push content acquisition switch configuration information.
The method is applied to the implementation environment shown in fig. 1A or 1B. As shown in fig. 4, the method comprises the steps of:
step 401: responding to an access operation of a user to a Uniform Resource Locator (URL) of webpage content, acquiring the webpage content from a corresponding website server according to the URL, and judging whether to allow acquisition of push content;
step 402: when judging that the acquisition of the push content is allowed, acquiring a URL (uniform resource locator) of the push content from a push content configuration server;
step 403: acquiring the push content from a push content server according to the URL of the push content;
step 404: and when the webpage content is displayed, displaying the pushed content.
In one embodiment, a push content acquisition switch is configured in the terminal device, and the browsing service module determines whether to allow acquisition of push content by reading the state of the switch. Specifically, when the switch is on, it is judged that the push content is allowed to be acquired; when the switch is off, it is judged that the push content is not allowed to be acquired.
In one embodiment, the terminal device may configure the push content acquisition switch by: the switch state configuration server sends the push content acquisition switch configuration to the terminal equipment; the terminal equipment configures the push content acquisition switch into the state indicated in the push content acquisition switch configuration. The switch state configuration server may determine the push content acquisition switch state according to the relevant characteristics of the terminal device (e.g., terminal device location information, terminal device network state, terminal device model). For example, when the network status of the terminal device is wireless lan, the push content acquisition switch is configured to be on.
Further, upon receiving the push content acquisition switch configuration from the switch state configuration server, a push content type (e.g., top-stitched, top bubble, bottom-stitched, bottom bubble, etc.) may also be received.
In one embodiment, the URLs of the web page content and the push content are obtained by: sending a content acquisition request carrying a URL of webpage content to a proxy server, wherein the content acquisition request indicates to acquire the URL of the webpage content and the pushed content, so that the proxy server acquires the webpage content from the website server and acquires the URL of the pushed content from the pushed content configuration server; and receiving the URL of the webpage content and the pushing content from the proxy server.
In one embodiment, the URL of the push content includes a URL of a push content digest and a push content detail URL.
In one embodiment, the summary and the details of the push content are obtained from the push content server according to the URL of the push content summary and the URL of the push content summary.
In one embodiment, the URLs of the web page content and the push content are obtained by: sending a webpage content acquisition request carrying a URL (uniform resource locator) of webpage content to the website server, and receiving the webpage content from the website server; sending a push content acquisition request to the push content configuration server, and receiving a URL of push content from the push content configuration server.
In one embodiment, when receiving the URL of the push content from the push content configuration server, the method further includes: receiving presentation bit information of the push content from the push content configuration server; the presenting the push content comprises: and displaying the push content on the corresponding display position in the current page according to the display position information.
In one embodiment, when receiving the URL of the push content from the push content configuration server, the method further includes: receiving at least one statistical keyword from the push content configuration server, wherein each statistical keyword corresponds to at least one operation on the push content; and reporting a statistical request to a statistical server in response to an operation executed by a user for the push content, wherein the statistical request carries a statistical keyword corresponding to the executed operation. In one embodiment, the statistical keyword may correspond to browsing the push content, clicking on the push content, and the like. In this way, the statistics server performs statistics on the operation executed by the user for the push content according to the statistics keyword carried in the reported statistics request.
In an embodiment, the statistical keyword may also be preset on the terminal device, which is not limited in the present invention.
In one embodiment, when receiving the URL of the push content from the push content configuration server, the method further includes: receiving a push content identification from the push content configuration server. According to the push content identifier, the browsing service module may perform the following operations: and when the push content corresponding to the identifier is judged to be displayed within the preset time period, the push content is not displayed any more.
In one embodiment, when receiving the URL of the push content from the push content configuration server, the method further includes: a fifth version of the message digest algorithm is received from the push content configuration server (MD 5). The browsing service module checks the URL of the received push content according to MD 5.
In one embodiment, the obtained push content may include push summary content and push detailed content. When the push content is shown, the push abstract content is shown. And displaying the pushed detailed content in response to the clicking operation of the user on the pushed abstract content.
Fig. 5 is a flowchart of a content acquisition method according to an embodiment of the present invention. The method is applied to the implementation environment shown in fig. 1A. As shown in fig. 5, the method includes the steps of:
step 501: responding to the access operation of a user to the URL of the webpage content, judging whether the push content is allowed to be acquired or not by the browsing service module, and sending a content acquisition request to the proxy server by the browsing service module when the push content is judged to be allowed to be acquired.
In one embodiment, the content acquisition request carries a URL of the web content and a push content acquisition indication. If the push content acquisition instruction is carried, the content acquisition request further can carry a push content type instruction for instructing what type of push content is acquired (e.g., top splicing, top bubble, bottom splicing, bottom bubble, etc.).
Step 502: and the proxy server acquires the webpage content from the website server according to the URL of the webpage content.
Step 503: and the proxy server judges whether to acquire the URL of the push content according to the push content acquisition instruction, and acquires the push content from the push content configuration server if the push content is determined to be acquired.
In one embodiment, if the content obtaining request also carries a push content type indication, a URL of the push content corresponding to the indicated type is obtained from the push content configuration server.
Step 504: the proxy server sends the URL of the webpage content and the pushing content to the terminal equipment.
Step 505: and the browsing service module receives the webpage content and the URL of the push content from the proxy server, acquires the push content from a push content server according to the URL of the push content, and displays the push content when the webpage content is displayed.
Fig. 6 is a flowchart of a content acquisition method according to an embodiment of the present invention. The method is applied to the implementation environment shown in fig. 1B. As shown in fig. 6, the method includes the steps of:
step 601: and responding to the access operation of the user to the URL of the webpage content, and sending a webpage content acquisition request carrying the URL of the webpage content to the website server by the browsing service module.
Step 602: and the browsing service module receives the webpage content from the website server.
Step 603: and the browsing service module judges whether the push content is allowed to be acquired or not, and sends a push content acquisition request to the push content configuration server when judging that the push content is allowed to be acquired.
In one embodiment, the push content acquisition request carries a push content acquisition indication. If the push content acquisition instruction is carried, the push content acquisition request further can carry a push content type instruction for instructing what type of push content is acquired (e.g., top splicing, top bubble, bottom splicing, bottom bubble, etc.).
Step 604: and the browsing service module receives the URL of the push content from the push content configuration server and acquires the push content from the push content server according to the URL of the push content.
In one embodiment, if the push content acquisition request also carries a push content type indication, a URL of the push content corresponding to the indicated type is acquired from the push content configuration server.
Step 605: and the browsing service module displays the pushed content when displaying the webpage content.
The following are embodiments of the apparatus of the present invention that may be used to perform corresponding method embodiments of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the description of the embodiments of the method of the present invention.
Fig. 7 is an exemplary structural diagram of a browsing service platform according to an embodiment of the present invention. The browsing service platform 700 may be implemented in software, hardware, or a combination thereof, and may be referred to as part or all of the browsing service platform 120 shown in FIG. 1C. The browsing service platform 700 may include: a receiving module 701, an obtaining module 702 and a sending module 703. Wherein the content of the first and second substances,
the receiving module 701 is configured to receive a content obtaining request from a terminal device, where if the terminal device determines, according to a state of a push content obtaining switch, that push content is allowed to be obtained, the content obtaining request includes a URL of the web content and a push content obtaining instruction;
the obtaining module 702 is configured to, when the content obtaining request includes the URL of the web content and the pushed content obtaining instruction, obtain the web content from a website server, and obtain the URL of the pushed content;
the sending module 703 is configured to send the web page content and the URL of the push content to the terminal device, so that the terminal device obtains the push content according to the URL of the push content, and displays the push content when displaying the web page content.
In one embodiment, the obtaining module 702 is configured to send a web content obtaining request carrying the web content URL to the website server, so that the website server obtains the web content corresponding to the web content URL; receiving the web page content from the web server.
The modules 701 and 701 may be instruction modules stored in the memory 711 of the browsing service platform 700, and the instruction modules include instructions executable by the processor 710. When the processor 710 in the browsing service platform 700 executes the instructions in the modules 701 and 703, various functions of the modules 701 and 703 can be implemented.
Fig. 8 is an exemplary block diagram of a content acquisition apparatus according to an embodiment of the present invention. The content acquiring apparatus 800 may implement part or all of the terminal device 110 shown in fig. 1A or 1B by software, hardware, or a combination of both. The apparatus 800 may include: a judging module 801, a transceiving module 802, an obtaining module 803 and a displaying module 804. Wherein the content of the first and second substances,
the judging module 801 is configured to, in response to an access operation of a user on a uniform resource locator URL of a piece of web content, judge whether to allow acquisition of push content according to a state of a push content acquisition switch;
the transceiver module 802 is configured to send a content obtaining request to a browsing service platform when it is determined that push content is allowed to be obtained, where the content obtaining request includes a URL of web content and a push content obtaining instruction, and receive the web content and the URL of the push content from the browsing service platform;
the obtaining module 803 is configured to obtain the push content according to the URL of the push content;
the display module 804 is configured to display the pushed content when displaying the webpage content.
In one embodiment, the obtaining module 803 is further configured to, when receiving a URL of a pushed content from a browsed service platform, receive presentation position information of the pushed content from the browsed service platform;
the display module 804 is configured to display the push content on a corresponding display position in the current page according to the display position information.
In one embodiment, the obtaining module 803 is further configured to receive at least one statistical keyword from the browsing service platform when receiving a URL of a push content from the browsing service platform, where each statistical keyword corresponds to at least one operation on the push content;
the apparatus further comprises:
the reporting module 805 is configured to report, in response to an operation performed by a user for the push content, a statistics request to the browsing service platform, where the statistics request carries a statistics keyword corresponding to the performed operation, so that the browsing service platform performs statistics on the operation performed by the user for the push content according to the statistics keyword carried in the reported statistics request.
The modules 801 and 805 may be instruction modules stored in the memory 811 of the content retrieval device 800, and the instruction modules include instructions executable by the processor 810. When the processor 810 in the content acquiring apparatus 800 executes the instructions in the modules 801 and 805, various functions of the modules 801 and 805 can be implemented.
Fig. 9 is an exemplary block diagram of a content acquisition apparatus according to an embodiment of the present invention. The content acquiring apparatus 900 may implement part or all of the terminal device 110 shown in fig. 1A or 1B by software, hardware, or a combination of both. The apparatus 900 may include: a judging module 901, an obtaining module 902 and a displaying module 903. Wherein the content of the first and second substances,
the determining module 901 is configured to determine whether to allow acquiring the push content in response to an access operation of a user on a uniform resource locator URL of a web content;
the obtaining module 902, in response to an access operation of the user to the URL of the web content, obtains the web content from a corresponding website server according to the URL; when judging that the acquisition of the push content is allowed, acquiring a URL (uniform resource locator) of the push content from a push content configuration server; acquiring the push content from a push content server according to the URL of the push content;
the display module 903 is configured to display the push content when the webpage content is displayed.
In one embodiment, the obtaining module 902 is configured to send a content obtaining request carrying a URL of a web content to a proxy server, where the content obtaining request indicates to obtain the web content and a URL of a push content, so that the proxy server obtains the web content from the website server and obtains the URL of the push content from the push content configuration server; and receiving the URL of the webpage content and the pushing content from the proxy server.
In one embodiment, the obtaining module 902 is configured to send a web content obtaining request carrying a URL of web content to the website server, and receive the web content from the website server; sending a push content acquisition request to the push content configuration server, and receiving a URL of push content from the push content configuration server.
In one embodiment, the obtaining module 902 is further configured to, when receiving a URL of a push content from the push content configuration server, receive presentation position information of the push content from the push content configuration server;
the display module 903 is configured to display the push content on a corresponding display position in the current page according to the display position information.
In one embodiment, the obtaining module 902 is further configured to receive at least one statistical keyword from the push content configuration server when receiving a URL of push content from the push content configuration server, where each statistical keyword corresponds to at least one operation on the push content;
the apparatus further comprises: a reporting module 904, configured to report, in response to an operation performed by a user for the push content, a statistics request to a statistics server, where the statistics request carries a statistics keyword corresponding to the performed operation, so that the statistics server performs statistics on the operation performed by the user for the push content according to the statistics keyword carried in the reported statistics request.
The modules 901 and 904 may be instruction modules stored in the memory 911 of the content acquiring apparatus 900, and the instruction modules include instructions executable by the processor 910. When the processor 910 in the content acquiring apparatus 900 executes the instructions in the modules 901 and 904, various functions of the modules 901 and 904 can be implemented.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The functional modules of the embodiments may be located in one terminal or network node, or may be distributed over a plurality of terminals or network nodes.
In addition, each of the embodiments of the present invention can be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that the data processing program constitutes the invention. Further, the data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present invention. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
The invention therefore also provides a storage medium in which a data processing program is stored which is designed to carry out any one of the embodiments of the method according to the invention described above.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (18)

1. A content acquisition method applied to a proxy server includes:
receiving a content acquisition request from a terminal device, wherein a switch state configuration server determines a push content acquisition switch configuration according to relevant characteristics of the terminal device and sends the push content acquisition switch configuration to the terminal device, so that the terminal device configures the push content acquisition switch configuration to a state indicated in the push content acquisition switch configuration; responding to an access operation of a user to a Uniform Resource Locator (URL) of webpage content, and judging that the acquisition of push content is allowed according to the state of a push content acquisition switch, wherein the content acquisition request comprises the URL of the webpage content and a push content acquisition instruction;
acquiring the webpage content from a website server according to the URL of the webpage content, and acquiring the URL of the push content from a push content configuration server according to the push content acquisition instruction;
and sending the webpage content and the URL of the push content to the terminal equipment so that the terminal equipment acquires the push content according to the URL of the push content, and displaying the push content when the webpage content is displayed.
2. The method of claim 1, wherein the obtaining the web page content from the web server comprises:
sending a webpage content acquisition request carrying the URL of the webpage content to the website server so that the website server acquires the webpage content corresponding to the URL of the webpage content;
receiving the web page content from the web server.
3. The method of claim 1, wherein the push content acquisition indication comprises a push content type indication.
4. The method according to any one of claims 1 to 3, wherein when obtaining the URL of the push content, further comprising:
and acquiring display position information of the pushed content, and sending the display position information to the terminal equipment so that the terminal equipment displays the pushed content on a corresponding display position in a page according to the display position information.
5. The method according to any one of claims 1 to 3, wherein when obtaining the URL of the push content, further comprising:
obtaining at least one statistical keyword, wherein each statistical keyword corresponds to at least one operation aiming at the pushed content; and sending the at least one statistical keyword to the terminal equipment so that the terminal equipment responds to the operation executed by the user aiming at the pushed content and reports a statistical request carrying the statistical keyword corresponding to the executed operation.
6. A content acquisition method is applied to a terminal device, and comprises the following steps:
receiving a push content acquisition switch configuration from a switch state configuration server in a browsing service platform, and configuring a push content acquisition switch as a state indicated in the push content acquisition switch configuration, wherein the switch state configuration server determines the push content acquisition switch configuration according to the relevant characteristics of the terminal equipment;
responding to the access operation of a user to a Uniform Resource Locator (URL) of webpage content, and judging whether to allow to acquire push content according to the state of a push content acquisition switch;
when the pushed content is judged to be allowed to be acquired, a content acquisition request is sent to the browsing service platform, wherein the content acquisition request comprises a URL (uniform resource locator) of the webpage content and a pushed content acquisition instruction, so that the browsing service platform acquires the webpage content from a website server according to the URL of the webpage content and acquires the URL of the pushed content from a pushed content configuration server according to the pushed content acquisition instruction;
receiving the webpage content and the URL of the pushed content from the browsing service platform, and acquiring the pushed content according to the URL of the pushed content;
and when the webpage content is displayed, displaying the pushed content.
7. The method of claim 6, wherein the push content acquisition indication further comprises a push content type indication.
8. The method of claim 6, wherein when receiving the URL of the push content from the browsing service platform, further comprising:
receiving display position information of the pushed content from the browsing service platform;
the presenting the push content comprises:
and displaying the push content on the corresponding display position in the current page according to the display position information.
9. The method of claim 6, wherein when receiving the URL of the push content from the browsing service platform, further comprising:
obtaining at least one statistical keyword, wherein each statistical keyword corresponds to at least one operation aiming at the pushed content;
and reporting a statistical request to the browsing service platform in response to the operation executed by the user for the pushed content, wherein the statistical request carries a statistical keyword corresponding to the executed operation, so that the browsing service platform performs statistics on the operation executed by the user for the pushed content according to the statistical keyword carried in the reported statistical request.
10. The method according to claim 6, wherein the relevant characteristics of the terminal device comprise any one or more of location information, network status, and model of the terminal device.
11. A browsing service platform, comprising:
a receiving module, configured to receive a content acquisition request from a terminal device, where a switch state configuration server determines a push content acquisition switch configuration according to a relevant feature of the terminal device, and sends the push content acquisition switch configuration to the terminal device, so that the terminal device configures the push content acquisition switch configuration to a state indicated in the push content acquisition switch configuration; responding to an access operation of a user to a Uniform Resource Locator (URL) of webpage content, and judging that the acquisition of push content is allowed according to the state of a push content acquisition switch, wherein the content acquisition request comprises the URL of the webpage content and a push content acquisition instruction;
the acquisition module is used for acquiring the webpage content from a website server according to the URL of the webpage content and acquiring the URL of the push content from a push content configuration server according to the push content acquisition instruction;
and the sending module is used for sending the webpage content and the URL of the push content to the terminal equipment so that the terminal equipment obtains the push content according to the URL of the push content and displays the push content when the webpage content is displayed.
12. The browsing service platform of claim 11, wherein the obtaining module is configured to send a web content obtaining request carrying the web content URL to the website server, so that the website server obtains the web content corresponding to the web content URL; receiving the web page content from the web server.
13. A content acquisition apparatus, characterized in that the apparatus comprises:
the system comprises a judging module, a pushing content obtaining switch configuration module and a pushing content obtaining switching configuration module, wherein the judging module is used for receiving the pushing content obtaining switch configuration from a switching state configuration server in a browsing service platform and configuring a pushing content obtaining switch into a state indicated in the pushing content obtaining switch configuration, and the switching state configuration server determines the pushing content obtaining switch configuration according to relevant characteristics of terminal equipment; responding to the access operation of a user to a Uniform Resource Locator (URL) of webpage content, and judging whether to allow to acquire push content according to the state of a push content acquisition switch;
the receiving and sending module is used for sending a content obtaining request to the browsing service platform when the pushing content is judged to be allowed to be obtained, wherein the content obtaining request comprises a URL (uniform resource locator) of the webpage content and a pushing content obtaining instruction, so that the browsing service platform obtains the webpage content from a website server according to the URL of the webpage content and obtains the URL of the pushing content from a pushing content configuration server according to the pushing content obtaining instruction;
the acquisition module is used for acquiring the push content according to the URL of the push content;
and the display module is used for displaying the pushed content when the webpage content is displayed.
14. The apparatus of claim 13, wherein the obtaining module is further configured to receive presentation position information of the push content from the browsing service platform when receiving a URL of the push content from the browsing service platform;
and the display module is used for displaying the push content on the corresponding display position in the current page according to the display position information.
15. The apparatus of claim 13, wherein the obtaining module is further configured to receive at least one statistical keyword from the browsing service platform when receiving a URL of a push content from the browsing service platform, wherein each statistical keyword corresponds to at least one operation on the push content;
the apparatus further comprises:
and the reporting module is used for responding to the operation executed by the user aiming at the push content, and reporting the statistical request to the browsing service platform, wherein the statistical request carries the statistical keyword corresponding to the executed operation, so that the browsing service platform carries out statistics on the operation executed by the user aiming at the push content according to the statistical keyword carried in the reported statistical request.
16. A browsing service platform comprising a memory and a processor, the memory having stored therein computer-readable instructions operable to cause the processor to perform the method of any of claims 1 to 5.
17. A terminal device comprising a memory and a processor, the memory having stored therein computer readable instructions operable to cause the processor to perform the method of any one of claims 6 to 10.
18. A computer-readable storage medium having stored thereon computer-readable instructions for causing at least one processor to perform the method of any one of claims 1 to 10.
CN201610862037.4A 2016-09-28 2016-09-28 Content acquisition method, browsing service platform and device Active CN107870953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862037.4A CN107870953B (en) 2016-09-28 2016-09-28 Content acquisition method, browsing service platform and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862037.4A CN107870953B (en) 2016-09-28 2016-09-28 Content acquisition method, browsing service platform and device

Publications (2)

Publication Number Publication Date
CN107870953A CN107870953A (en) 2018-04-03
CN107870953B true CN107870953B (en) 2020-03-17

Family

ID=61761990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862037.4A Active CN107870953B (en) 2016-09-28 2016-09-28 Content acquisition method, browsing service platform and device

Country Status (1)

Country Link
CN (1) CN107870953B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487438A (en) * 2002-09-23 2004-04-07 国际商业机器公司 Method and system for providing advertisment according to URL and/or search key words inputted by user
CN104239369A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for filtering out webpage advertisements
CN105187541A (en) * 2015-09-21 2015-12-23 深圳前海华视移动互联有限公司 Information push method, device and system
CN105279224A (en) * 2015-09-09 2016-01-27 百度在线网络技术(北京)有限公司 Information push method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10839403B2 (en) * 2006-12-28 2020-11-17 Ebay Inc. Contextual content publishing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487438A (en) * 2002-09-23 2004-04-07 国际商业机器公司 Method and system for providing advertisment according to URL and/or search key words inputted by user
CN104239369A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for filtering out webpage advertisements
CN105279224A (en) * 2015-09-09 2016-01-27 百度在线网络技术(北京)有限公司 Information push method and device
CN105187541A (en) * 2015-09-21 2015-12-23 深圳前海华视移动互联有限公司 Information push method, device and system

Also Published As

Publication number Publication date
CN107870953A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN102664909B (en) Re-establishing push notification channels via user identifiers
US9009599B2 (en) Technique for handling URLs for different mobile devices that use different user interface platforms
CN109788020B (en) Agent distribution method and related equipment
CN106059825A (en) Distributed system and configuration method
CN107592324B (en) Message pushing method and device and portable terminal equipment
CN107147748B (en) File uploading method and device
CN110020293B (en) Multimedia data display method, device and storage medium
CN104333598A (en) Two-dimension code and network adaption based mobile terminal and web terminal interconnection method
CN109767257B (en) Advertisement putting method and system based on big data analysis and electronic equipment
CN110445632B (en) Method and device for preventing client from crashing
CN108763297B (en) Webpage resource processing method and device and mobile terminal
CN105203121A (en) Dynamically Integrating Offline And Online Suggestions In A Geographic Application
JP6779307B2 (en) Method and device for page display
CN112328564A (en) Special resource sharing method and device and electronic equipment
CN108111496B (en) Method, device and system for exposing http service for dubbo distributed application
US10021210B1 (en) Providing faster data access using multiple caching servers
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN110708238B (en) Method and apparatus for processing information
CN111949906A (en) Page display method and device and electronic equipment
CN107870953B (en) Content acquisition method, browsing service platform and device
CN108600255B (en) Mock service management method, device, computer equipment and storage medium
CN102523271A (en) Terminal and communication method and system thereof
CN109145182B (en) Data acquisition method and device, computer equipment and system
CN106933449B (en) Icon processing method and device
CN107798008B (en) Content pushing system, method and 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