CN106599246B - Display content interception method, mobile terminal and control server - Google Patents

Display content interception method, mobile terminal and control server Download PDF

Info

Publication number
CN106599246B
CN106599246B CN201611183696.1A CN201611183696A CN106599246B CN 106599246 B CN106599246 B CN 106599246B CN 201611183696 A CN201611183696 A CN 201611183696A CN 106599246 B CN106599246 B CN 106599246B
Authority
CN
China
Prior art keywords
webpage
content
label
mobile terminal
webpage label
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
CN201611183696.1A
Other languages
Chinese (zh)
Other versions
CN106599246A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611183696.1A priority Critical patent/CN106599246B/en
Publication of CN106599246A publication Critical patent/CN106599246A/en
Application granted granted Critical
Publication of CN106599246B publication Critical patent/CN106599246B/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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

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 provides a display content intercepting method, a mobile terminal and a control server, wherein the method comprises the following steps: acquiring webpage data from a content server; matching a webpage label contained in the webpage data with a first webpage label issued by a control server; and when a second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data, intercepting the display content corresponding to the second webpage label. The embodiment of the invention can accurately and quickly intercept the content to be intercepted, thereby improving the intercepting effect.

Description

Display content interception method, mobile terminal and control server
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a display content interception method, a mobile terminal, and a control server.
Background
With the development of internet technology and the popularization of intelligent mobile terminals, people using mobile terminals to browse web pages become an essential part in life, however, in the process of browsing web pages, most web pages are mixed with contents which are irrelevant to the content of the web pages and need to be intercepted (for example, contents which people do not like to see, advertisements and the like), even more contents which need to be intercepted in some web pages are more obvious than normal contents, and the experience of browsing web pages by people is seriously influenced.
At present, the method for intercepting the contents needing to be intercepted mainly finds and intercepts the contents through developers, and because the contents in a website are thousands of times and change at any time, the existing intercepting mode is time-consuming and labor-consuming, and the effect is not good.
Disclosure of Invention
The embodiment of the invention aims to provide a display content intercepting method, a mobile terminal and a control server, and aims to solve the problems that the interception is time-consuming and labor-consuming and the interception effect is poor because a developer finds and intercepts content needing to be intercepted in a webpage.
In a first aspect, an embodiment of the present invention provides a method for intercepting display content, which is applied to a mobile terminal, and includes:
acquiring webpage data from a content server;
matching a webpage label contained in the webpage data with a first webpage label issued by a control server;
and when a second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data, intercepting the display content corresponding to the second webpage label.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the first acquisition module is used for acquiring webpage data from a content server;
the matching module is used for matching the webpage label contained in the webpage data with a first webpage label issued by the control server;
and the interception module is used for intercepting the display content corresponding to the second webpage label when the second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data.
In a third aspect, an embodiment of the present invention further provides a method for intercepting display content, which is applied to a control server, and includes:
acquiring a first webpage label of content needing to be intercepted in a webpage interface;
and issuing the acquired first webpage label of the content to be intercepted to the mobile terminal.
In a fourth aspect, an embodiment of the present invention further provides a control server, where the control server includes:
the third acquisition module is used for acquiring a first webpage label of the content to be intercepted in the webpage interface;
and the second sending module is used for issuing the acquired first webpage label of the content to be intercepted to the mobile terminal.
The scheme of the invention at least comprises the following beneficial effects:
in the embodiment of the invention, the webpage data from the content server is acquired, the webpage tags contained in the webpage data are matched with the first webpage tags issued by the control server, and when the webpage tags contained in the webpage data contain the second webpage tags matched with the first webpage tags, the display contents corresponding to the second webpage tags are intercepted, so that the problems that the interception is time-consuming and labor-consuming and the interception effect is poor due to the fact that developers independently find and intercept the contents needing to be intercepted in the webpage are solved, the purposes of accurately and quickly intercepting the contents needing to be intercepted and improving the interception effect are achieved.
Drawings
FIG. 1 is a flowchart illustrating a method for intercepting display content according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for intercepting display content according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for intercepting display content according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a control server in a seventh embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
First embodiment
As shown in fig. 1, a first embodiment of the present invention provides a method for intercepting display content, which is applied to a mobile terminal (e.g., a smart phone, a tablet computer, etc.), and includes:
step 101, acquiring webpage data from a content server.
The content server is a server which returns webpage data to the mobile terminal when the mobile terminal requests to access the webpage.
And 102, matching the webpage label contained in the webpage data with a first webpage label issued by the control server.
The first webpage tag is a webpage tag of a webpage which is obtained by analyzing big data and needs to intercept content (such as advertisements) in the webpage through the control server. And obviously, the main functions of the control server are as follows: through big data analysis, the webpage labels of the contents needing to be intercepted in various webpages are found.
And 103, intercepting the display content corresponding to the second webpage label when the second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data.
In the first embodiment of the present invention, when a second webpage tag matching the first webpage tag exists in the webpage tags included in the webpage data, that is, when a second webpage tag identical to the first webpage tag exists in the webpage tags included in the webpage data, the mobile terminal can intercept the display content corresponding to the second webpage tag, so as to intercept the content that needs to be intercepted in the webpage data, such as advertisements, content that the mobile terminal user does not like to see, and the like.
It should be noted that the mobile terminal may maintain a blacklist data table in its own interior for the received first webpage tag. Specifically, the received first webpage tag can be written into a blacklist, so that the mobile terminal can accurately and quickly determine whether a second webpage tag matched with the first webpage tag in the blacklist exists in webpage tags contained in webpage data sent by the content server, and the mobile terminal can intercept corresponding content conveniently. In addition, if the control server issues the webpage tags which do not need to intercept the content in the webpage besides the first webpage tag, the mobile terminal can also maintain a white list data table in the mobile terminal, so that when the webpage data sent by the content server are received, the filtering speed of the webpage tags contained in the webpage data is accelerated, and the user experience is improved.
Therefore, in the first embodiment of the present invention, by acquiring the web page data from the content server, matching the web page tag included in the web page data with the first web page tag issued by the control server, and intercepting the display content corresponding to the second web page tag when the second web page tag matched with the first web page tag exists in the web page tags included in the web page data, the problems that the interception is time-consuming and labor-consuming and the interception effect is poor because a developer finds and intercepts the content to be intercepted in the web page alone are solved, and the purposes of accurately and quickly intercepting the content to be intercepted and improving the interception effect are achieved.
Second embodiment
As shown in fig. 2, a second embodiment of the present invention provides a method for intercepting display content, which is applied to a mobile terminal (e.g., a smart phone, a tablet computer, etc.), and the method includes:
step 201, acquiring webpage data from a content server.
The content server is a server which returns webpage data to the mobile terminal when the mobile terminal requests to access the webpage.
Step 202, matching the webpage label included in the webpage data with the first webpage label issued by the control server.
The first webpage tag is a webpage tag of a webpage which is obtained by analyzing big data and needs to intercept content (such as advertisements) in the webpage through the control server. And obviously, the main functions of the control server are as follows: through big data analysis, the webpage labels of the contents needing to be intercepted in various webpages are found.
Step 203, when a second webpage label matched with the first webpage label exists in the webpage labels included in the webpage data, displaying other contents except for the display contents corresponding to the second webpage label in the webpage data.
In the second embodiment of the present invention, when there is a second web tag matching the first web tag in the web tags included in the web page data, the mobile terminal does not display the content corresponding to the second web tag, and only displays other contents except the displayed content corresponding to the second web tag in the web page data, thereby implementing interception of the contents to be intercepted, such as advertisements, and contents that a mobile terminal user does not like to see.
As can be seen, displaying other content in the web page data except the display content corresponding to the second web page tag in step 203 is a specific implementation manner of intercepting the display content corresponding to the second web page tag. It should be noted that, in the second embodiment of the present invention, another specific implementation manner of intercepting the display content corresponding to the second webpage label is as follows: and sending a webpage content request to the content server, and receiving webpage content returned by the content server. The webpage content request carries other webpage tags except the second webpage tag in the webpage tags contained in the webpage data. Obviously, the specific implementation mode can also accurately and quickly intercept the display content corresponding to the second webpage label.
In a second embodiment of the present invention, the mobile terminal may maintain a blacklist data table in its own interior for the received first webpage tag. Meanwhile, if the control server issues the first webpage tag and also issues the webpage tags which do not need to intercept the content in the webpage, the mobile terminal can also maintain a white list data table in the mobile terminal, so that when the webpage data sent by the content server are received, the filtering speed of the webpage tags contained in the webpage data is accelerated, and the user experience is improved. Since the contents of the blacklist data table and the whitelist data table have been elaborated in detail in the first embodiment, no further description is provided herein to avoid too much duplication.
In the second embodiment of the present invention, before the step 201 is executed, the method further includes a step of interacting with the control server to enable the control server to obtain the first webpage tag, where a specific implementation manner of the step is as follows:
the method comprises the steps of firstly, when a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal, acquiring a webpage label corresponding to the input position of the content interception instruction on the display area.
The web interface may be a web interface of a browser or a web interface of an application program.
And secondly, sending the acquired webpage label to a control server.
The purpose of sending the acquired webpage tags to the control server is to facilitate the control server to analyze the first webpage tags.
In a second embodiment of the present invention, a specific implementation manner of detecting that a content interception instruction is input in a display area of a web interface of a mobile terminal is as follows: receiving gesture operation input on a display area of a web interface of the mobile terminal, if the gesture operation is matched with a preset button display gesture (such as long pressing, circle drawing and the like), displaying an interception button on the display area of the web interface, and further, if the interception button is detected to be clicked, determining that a content interception instruction is input on the display area of the web interface of the mobile terminal.
Correspondingly, the specific implementation manner of obtaining the webpage label corresponding to the input position of the content interception instruction on the display area is as follows: and determining a node of an input position of the content interception instruction on the display area in the document object model tree through area detection, and taking the information of the determined node as a webpage label corresponding to the input position. The information of the node comprises identification information, type information, layout information and/or content information and the like, so that a subsequent control server can determine a first webpage label according to the information, and the mobile terminal can intercept the content needing to be intercepted.
As an example, if the web interface is a web interface of a browser, a node of an input position of a content interception instruction on a display area in a document object model tree (domtree) may be determined by a browser kernel using area detection (hit-test).
In the second embodiment of the present invention, as can be seen from the first step and the second step, the mobile terminal user can make the mobile terminal obtain and send the corresponding web tag to the control server by inputting the content interception instruction when browsing the web page, so that the control server issues the first web tag to the mobile terminal after determining the first web tag, and further makes the mobile terminal intercept the content to be intercepted.
Therefore, in the second embodiment of the present invention, by acquiring the web page data from the content server, matching the web page tags included in the web page data with the first web page tags issued by the control server, and when there is a second web page tag matching the first web page tag in the web page tags included in the web page data, displaying other contents in the web page data except for the display content corresponding to the second web page tag, or sending a web page content request (the web page content request carries other web page tags except for the second web page tag in the web page tags included in the web page data) to the content server, and receiving the web page content returned by the content server, the problems that a developer alone finds and intercepts contents in a web page to be intercepted, which results in time and labor consuming interception and poor interception effect are solved, and accurate interception and poor is achieved, The content needing to be intercepted is intercepted quickly, and the interception effect is improved.
Third embodiment
As shown in fig. 3 to 4, a third embodiment of the present invention provides a mobile terminal 300, including:
a first obtaining module 301, configured to obtain web page data from a content server;
the matching module 302 is configured to match a webpage tag included in the webpage data with a first webpage tag issued by the control server;
the intercepting module 303 is configured to intercept, when a second webpage tag matching the first webpage tag exists in the webpage tags included in the webpage data, display content corresponding to the second webpage tag.
The mobile terminal 300 may be a smart phone, a tablet computer, or the like.
Optionally, the intercepting module 303 includes:
the first display submodule 3031 is configured to display other content in the webpage data except for the display content corresponding to the second webpage tag; or
A sending submodule 3032, configured to send a web content request to a content server; the webpage content request carries other webpage labels except the second webpage label in the webpage labels contained in the webpage data;
the first receiving submodule 3033 is configured to receive the web page content returned by the content server.
Optionally, the method further includes:
a second obtaining module 304, configured to obtain, when a content interception instruction is detected to be input in a display area of a web interface of the mobile terminal, a web tag corresponding to an input position of the content interception instruction in the display area;
a first sending module 305, configured to send the obtained web tag to the control server.
Optionally, the second obtaining module 304 includes:
the second receiving submodule 3041 is configured to receive a gesture operation input on a display area of a web interface of the mobile terminal;
the second display submodule 3042 is configured to display an interception button on a display area of the web interface if the gesture operation matches a preset button display gesture;
the first determining sub-module 3043 is configured to determine that it is detected that a content interception instruction is input on a display area of a web interface of the mobile terminal if it is detected that the interception button is clicked.
Optionally, the second obtaining module 304 includes:
a second determining sub-module 3044, configured to determine, through region detection, a node of an input position of the content interception instruction on the display region in the document object model tree;
the third determining submodule 3045 is configured to use the information of the determined node as a webpage tag corresponding to the input position.
In the third embodiment of the present invention, the mobile terminal acquires the web page data from the content server, matches the web page tag included in the web page data with the first web page tag issued by the control server, and intercepts the display content corresponding to the second web page tag when the second web page tag matched with the first web page tag exists in the web page tags included in the web page data, thereby solving the problems that the interception is time-consuming and labor-consuming and the interception effect is poor because a developer finds and intercepts the content to be intercepted in the web page alone, and achieving the purposes of accurately and quickly intercepting the content to be intercepted and improving the interception effect.
It should be noted that the mobile terminal provided in the third embodiment of the present invention is a mobile terminal to which the above interception method applied to the display content of the mobile terminal is applied, that is, all the embodiments of the above interception method applied to the display content of the mobile terminal are applicable to the mobile terminal, and all the embodiments can achieve the same or similar beneficial effects.
Fourth embodiment
As shown in fig. 5, a fourth embodiment of the present invention provides a mobile terminal 500, including: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in the mobile terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 502 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, the processor 501 is configured to obtain the web page data from the content server by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022; matching a webpage label contained in the webpage data with a first webpage label issued by a control server; and when a second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data, intercepting the display content corresponding to the second webpage label.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 501 is further configured to: displaying other contents except the display contents corresponding to the second webpage label in the webpage data; or, sending a web content request to a content server; the webpage content request carries other webpage labels except the second webpage label in the webpage labels contained in the webpage data; and receiving the webpage content returned by the content server.
Optionally, the processor 501 is further configured to: when a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal, acquiring a webpage label corresponding to the input position of the content interception instruction on the display area; and sending the acquired webpage label to a control server.
Optionally, the processor 501 is further configured to: receiving gesture operation input on a display area of a webpage interface of the mobile terminal; if the gesture operation is matched with a preset button display gesture, displaying an interception button on a display area of the webpage interface; and if the interception button is detected to be clicked, determining that a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal.
Optionally, the processor 501 is further configured to: determining a node of an input position of a content interception instruction on a display area in a document object model tree through area detection; and taking the determined information of the node as a webpage label corresponding to the input position.
The mobile terminal 500 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
In the fourth embodiment of the present invention, the mobile terminal intercepts the display content corresponding to the second webpage label by acquiring the webpage data from the content server, matching the webpage label included in the webpage data with the first webpage label issued by the control server, and when the second webpage label matched with the first webpage label exists in the webpage labels included in the webpage data, so as to solve the problems that the interception is time-consuming and labor-consuming and the interception effect is poor because a developer finds and intercepts the content to be intercepted in the webpage alone, thereby achieving the purposes of accurately and quickly intercepting the content to be intercepted and improving the interception effect.
Fifth embodiment
As shown in fig. 6, a fifth embodiment of the present invention provides a mobile terminal, and the mobile terminal 600 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 600 in fig. 6 includes a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a wifi (wireless fidelity) module 680, and a power supply 690.
The input unit 630 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 600. Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 640 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal 600. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 631 may cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 660 is a control center of the mobile terminal 600, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile terminal 600 and processes data by operating or executing software programs and/or modules stored in the first memory 621 and calling data stored in the second memory 622, thereby integrally monitoring the mobile terminal 600. Optionally, processor 660 may include one or more processing units.
In the embodiment of the present invention, the processor 660 is configured to obtain the web page data from the content server by calling the software program and/or module stored in the first storage 621 and/or the data stored in the second storage 622; matching a webpage label contained in the webpage data with a first webpage label issued by a control server; and when a second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data, intercepting the display content corresponding to the second webpage label.
Optionally, the processor 660 is further configured to: displaying other contents except the display contents corresponding to the second webpage label in the webpage data; or, sending a web content request to a content server; the webpage content request carries other webpage labels except the second webpage label in the webpage labels contained in the webpage data; and receiving the webpage content returned by the content server.
Optionally, the processor 660 is further configured to: when a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal, acquiring a webpage label corresponding to the input position of the content interception instruction on the display area; and sending the acquired webpage label to a control server.
Optionally, the processor 660 is further configured to: receiving gesture operation input on a display area of a webpage interface of the mobile terminal; if the gesture operation is matched with a preset button display gesture, displaying an interception button on a display area of the webpage interface; and if the interception button is detected to be clicked, determining that a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal.
Optionally, the processor 660 is further configured to: determining a node of an input position of a content interception instruction on a display area in a document object model tree through area detection; and taking the determined information of the node as a webpage label corresponding to the input position.
It can be seen that, in the fifth embodiment of the present invention, the mobile terminal intercepts the display content corresponding to the second webpage tag by acquiring the webpage data from the content server, matching the webpage tag included in the webpage data with the first webpage tag issued by the control server, and when the second webpage tag matched with the first webpage tag exists in the webpage tags included in the webpage data, the problem that the interception is time-consuming and labor-consuming and the interception effect is poor because a developer finds and intercepts the content to be intercepted in the webpage alone is solved, and the purposes of accurately and quickly intercepting the content to be intercepted and improving the interception effect are achieved.
Sixth embodiment
As shown in fig. 7, a sixth embodiment of the present invention provides a method for intercepting display content, which is applied to a control server, and includes:
step 701, acquiring a first webpage label of content to be intercepted in a webpage interface.
The web interface may be a web interface of a browser or a web interface of an application program, and the content to be intercepted may be an advertisement, a content that a mobile terminal user does not like to see, and the like.
Step 702, the acquired first webpage label of the content to be intercepted is issued to the mobile terminal.
In a sixth embodiment of the present invention, a specific implementation manner of the step 701 is as follows: receiving webpage labels sent by a plurality of mobile terminals, and determining a first webpage label of the content to be intercepted from the received webpage labels. Therefore, the control server analyzes and determines the first webpage label through big data (namely, the webpage labels sent by the mobile terminals), so that the accuracy of the first webpage label determined by the control server is higher, and the situation that the mobile terminals intercept the content to be intercepted can be avoided as much as possible.
In a sixth embodiment of the present invention, a specific implementation manner of the first webpage tag determining the content to be intercepted from the received webpage tags is as follows: firstly, analyzing received webpage labels to obtain characteristic information of each webpage label; and then counting the number of the mobile terminals sending each webpage label according to the acquired characteristic information, wherein if the number of the mobile terminals sending the webpage labels reaches a preset value, the webpage label is determined to be a first webpage label of the content to be intercepted. Wherein, the characteristic information of the webpage label comprises: identification information, type information, layout information, and/or content information of the webpage tags. It should be noted that the characteristic information of these web page tags mainly functions as: the control server classifies the received webpage labels, so that the control server can conveniently count the number of the mobile terminals sending each webpage label.
Therefore, in the sixth embodiment of the present invention, by acquiring the first webpage tag of the content to be intercepted in the webpage interface and issuing the first webpage tag to the mobile terminal, when the mobile terminal receives the first webpage tag and requests the webpage data from the content server, the display content corresponding to the second webpage tag matched with the first webpage tag in the webpage tags included in the webpage data can be intercepted, so as to achieve the purpose of accurately and quickly intercepting the content to be intercepted and improving the intercepting effect.
Seventh embodiment
As shown in fig. 8, a seventh embodiment of the present invention provides a control server 800 including:
a third obtaining module 801, configured to obtain a first webpage tag of content to be intercepted in a webpage interface;
a second sending module 802, configured to send the obtained first webpage label of the content to be intercepted to the mobile terminal.
Optionally, the third obtaining module 801 includes:
a third receiving sub-module 8011, configured to receive web page tags sent by multiple mobile terminals;
the fourth determining sub-module 8012 is configured to determine the first webpage tag of the content to be intercepted from the received webpage tags.
Optionally, the fourth determining sub-module 8012 includes:
an analyzing unit 80121, configured to analyze the received webpage tags and obtain feature information of each webpage tag;
a counting unit 80122, configured to count, according to the obtained feature information, the number of mobile terminals that send each web tag;
the determining unit 80123 is configured to determine that the webpage label is a first webpage label of the content to be intercepted if the number of the mobile terminals sending the webpage label reaches a preset value.
Optionally, the feature information of the webpage tag includes: identification information, type information, layout information, and/or content information of the webpage tags.
In the seventh embodiment of the present invention, the control server 800 obtains the first webpage tag of the content to be intercepted in the webpage interface and issues the first webpage tag to the mobile terminal, so that when the mobile terminal receives the first webpage tag and requests the webpage data from the content server, the mobile terminal can intercept the display content corresponding to the second webpage tag matching the first webpage tag in the webpage tags included in the webpage data, thereby achieving the purpose of accurately and quickly intercepting the content to be intercepted and improving the intercepting effect.
It should be noted that the control server provided in the seventh embodiment of the present invention is a control server to which the above-mentioned interception method applied to the display content of the control server is applied, that is, all the embodiments of the above-mentioned interception method applied to the display content of the control server are applicable to the control server, and all the embodiments can achieve the same or similar beneficial effects.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. 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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for intercepting display content is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring webpage data from a content server;
matching the webpage label contained in the webpage data with a first webpage label issued by a control server;
when a second webpage label matched with the first webpage label exists in webpage labels contained in the webpage data, intercepting display content corresponding to the second webpage label;
the first webpage label is a first webpage label of the content to be intercepted, which is determined by the control server from the received webpage labels sent by the plurality of mobile terminals;
the first webpage label of the content to be intercepted, which is determined by the control server from the received webpage labels sent by the plurality of mobile terminals, comprises the following steps:
analyzing the received webpage labels to obtain the characteristic information of each webpage label; the characteristic information of the webpage label comprises: identification information, type information, layout information and/or content information of the webpage label;
classifying the received webpage labels according to the acquired characteristic information, and counting the number of mobile terminals sending each webpage label;
if the number of the mobile terminals sending the webpage tags reaches a preset value, determining that the webpage tags are first webpage tags of the content to be intercepted;
the method further comprises the following steps:
and writing the received first webpage label into a blacklist.
2. The method of claim 1, wherein the step of intercepting the display content corresponding to the second webpage tag comprises:
displaying other contents except for the display contents corresponding to the second webpage label in the webpage data; or
Sending a web content request to the content server; the webpage content request carries other webpage labels except the second webpage label in the webpage labels contained in the webpage data;
and receiving the webpage content returned by the content server.
3. The method of claim 1, further comprising:
when a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal, acquiring a webpage label corresponding to the input position of the content interception instruction on the display area;
and sending the acquired webpage label to the control server.
4. The method according to claim 3, wherein the step of detecting that a content interception instruction is input on a display area of a web interface of the mobile terminal comprises:
receiving gesture operation input on a display area of a webpage interface of the mobile terminal;
if the gesture operation is matched with a preset button display gesture, displaying an interception button on a display area of the webpage interface;
and if the interception button is detected to be clicked, determining that a content interception instruction is detected to be input on a display area of a webpage interface of the mobile terminal.
5. The method according to claim 3, wherein the step of obtaining the webpage label corresponding to the input position of the content interception instruction on the display area comprises:
determining a node of an input position of the content interception instruction on the display area in a document object model tree through area detection;
and taking the determined information of the node as a webpage label corresponding to the input position.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the first acquisition module is used for acquiring webpage data from a content server;
the matching module is used for matching the webpage label contained in the webpage data with a first webpage label issued by the control server;
the intercepting module is used for intercepting display content corresponding to a second webpage label when the second webpage label matched with the first webpage label exists in the webpage labels contained in the webpage data;
the first webpage label is a first webpage label of the content to be intercepted, which is determined by the control server from the received webpage labels sent by the plurality of mobile terminals;
the first webpage label of the content to be intercepted, which is determined by the control server from the received webpage labels sent by the plurality of mobile terminals, comprises the following steps:
analyzing the received webpage labels to obtain the characteristic information of each webpage label; the characteristic information of the webpage label comprises: identification information, type information, layout information and/or content information of the webpage label;
classifying the received webpage labels according to the acquired characteristic information, and counting the number of mobile terminals sending each webpage label;
if the number of the mobile terminals sending the webpage tags reaches a preset value, determining that the webpage tags are first webpage tags of the content to be intercepted;
the mobile terminal is further configured to:
and writing the received first webpage label into a blacklist.
7. The mobile terminal according to claim 6, wherein the intercepting module comprises:
the first display sub-module is used for displaying other contents except for the display contents corresponding to the second webpage label in the webpage data; or
The sending submodule is used for sending a webpage content request to the content server; the webpage content request carries other webpage labels except the second webpage label in the webpage labels contained in the webpage data;
and the first receiving submodule is used for receiving the webpage content returned by the content server.
8. The mobile terminal of claim 6, further comprising:
the second acquisition module is used for acquiring a webpage label corresponding to the input position of a content interception instruction on a display area when the content interception instruction is detected to be input on the display area of a webpage interface of the mobile terminal;
and the first sending module is used for sending the acquired webpage label to the control server.
9. The mobile terminal of claim 8, wherein the second obtaining module comprises:
the second receiving submodule is used for receiving gesture operation input on a display area of a webpage interface of the mobile terminal;
the second display submodule is used for displaying an interception button on a display area of the webpage interface if the gesture operation is matched with a preset button display gesture;
and the first determining submodule is used for determining that a content intercepting instruction is detected to be input on a display area of a webpage interface of the mobile terminal if the intercepting button is detected to be clicked.
10. The mobile terminal of claim 8, wherein the second obtaining module comprises:
a second determining submodule, configured to determine, through region detection, a node of an input position of the content interception instruction on the display region in a document object model tree;
and the third determining submodule is used for taking the information of the determined node as the webpage label corresponding to the input position.
11. An interception method of display content, applied to a control server, is characterized in that the method comprises the following steps:
acquiring a first webpage label of content needing to be intercepted in a webpage interface;
the method comprises the steps that a first webpage label of the acquired content to be intercepted is issued to a mobile terminal, so that the mobile terminal matches a webpage label contained in the acquired webpage data from a content server with the first webpage label; when a second webpage label matched with the first webpage label exists in webpage labels contained in the webpage data, intercepting display content corresponding to the second webpage label; writing the first webpage label into a blacklist;
the step of obtaining a first webpage label of the content to be intercepted in the webpage interface comprises the following steps:
receiving webpage labels sent by a plurality of mobile terminals;
determining a first webpage label of the content to be intercepted from the received webpage labels;
the step of determining the first webpage label of the content to be intercepted from the received webpage labels comprises the following steps:
analyzing the received webpage labels to obtain the characteristic information of each webpage label; the characteristic information of the webpage label comprises: identification information, type information, layout information and/or content information of the webpage label;
classifying the received webpage labels according to the acquired characteristic information, and counting the number of mobile terminals sending each webpage label;
and if the number of the mobile terminals sending the webpage tags reaches a preset value, determining that the webpage tags are the first webpage tags of the content to be intercepted.
12. A control server, characterized in that the control server comprises:
the third acquisition module is used for acquiring a first webpage label of the content to be intercepted in the webpage interface;
the second sending module is used for issuing the acquired first webpage label of the content to be intercepted to the mobile terminal, so that the mobile terminal matches the webpage label contained in the acquired webpage data from the content server with the first webpage label; when a second webpage label matched with the first webpage label exists in webpage labels contained in the webpage data, intercepting display content corresponding to the second webpage label; writing the first webpage label into a blacklist;
the third obtaining module includes:
the third receiving submodule is used for receiving the webpage labels sent by the plurality of mobile terminals;
the fourth determining submodule is used for determining a first webpage label of the content to be intercepted from the received webpage labels;
the fourth determination submodule includes:
the analysis unit is used for analyzing the received webpage labels and acquiring the characteristic information of each webpage label; the characteristic information of the webpage label comprises: identification information, type information, layout information and/or content information of the webpage label;
the statistical unit is used for classifying the received webpage labels according to the acquired characteristic information and counting the number of the mobile terminals sending each webpage label;
and the determining unit is used for determining the webpage label as a first webpage label of the content to be intercepted if the number of the mobile terminals sending the webpage labels reaches a preset value.
CN201611183696.1A 2016-12-20 2016-12-20 Display content interception method, mobile terminal and control server Active CN106599246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611183696.1A CN106599246B (en) 2016-12-20 2016-12-20 Display content interception method, mobile terminal and control server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611183696.1A CN106599246B (en) 2016-12-20 2016-12-20 Display content interception method, mobile terminal and control server

Publications (2)

Publication Number Publication Date
CN106599246A CN106599246A (en) 2017-04-26
CN106599246B true CN106599246B (en) 2020-02-11

Family

ID=58599718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611183696.1A Active CN106599246B (en) 2016-12-20 2016-12-20 Display content interception method, mobile terminal and control server

Country Status (1)

Country Link
CN (1) CN106599246B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753425B (en) * 2017-11-06 2021-04-02 腾讯科技(深圳)有限公司 Popup window processing method and device
CN108196874B (en) * 2017-12-29 2021-03-16 东软集团股份有限公司 Webpage analysis method and device, storage medium and program product
CN108228806B (en) * 2017-12-29 2021-05-11 Oppo广东移动通信有限公司 Webpage information deleting method and device, mobile terminal and server
CN113467692B (en) * 2021-06-30 2024-01-12 北京百度网讯科技有限公司 Information interception method, device, equipment, medium and program product
CN116132502A (en) * 2022-08-01 2023-05-16 马上消费金融股份有限公司 Webpage access processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133865A (en) * 2014-07-17 2014-11-05 可牛网络技术(北京)有限公司 Advertisement filtering method and device
CN104239369A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for filtering out webpage advertisements
CN104778226A (en) * 2015-03-26 2015-07-15 小米科技有限责任公司 Webpage content item shielding method and webpage content item shielding device
CN105653550A (en) * 2014-11-14 2016-06-08 腾讯科技(深圳)有限公司 Web page filtering method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140073243A (en) * 2012-12-06 2014-06-16 삼성전자주식회사 Apparatus and method for processing http massage
KR20140142116A (en) * 2013-06-03 2014-12-11 삼성전자주식회사 Electronic device and method for providing text transformaation service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239369A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for filtering out webpage advertisements
CN104133865A (en) * 2014-07-17 2014-11-05 可牛网络技术(北京)有限公司 Advertisement filtering method and device
CN105653550A (en) * 2014-11-14 2016-06-08 腾讯科技(深圳)有限公司 Web page filtering method and device
CN104778226A (en) * 2015-03-26 2015-07-15 小米科技有限责任公司 Webpage content item shielding method and webpage content item shielding device

Also Published As

Publication number Publication date
CN106599246A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN106599246B (en) Display content interception method, mobile terminal and control server
CN106126077B (en) Display control method of application program icons and mobile terminal
CN107678644B (en) Image processing method and mobile terminal
US9384503B2 (en) Terminal apparatus, advertisement display control apparatus, and advertisement display method
WO2018196699A1 (en) Method for displaying fingerprint recognition region, and mobile terminal
CN107844243B (en) Cloud desktop touch screen implementation method and device
CN107562345B (en) Information storage method and mobile terminal
CN107741820B (en) Input method keyboard display method and mobile terminal
CN107219988B (en) Interface operation guiding method and mobile terminal
CN107506130B (en) Character deleting method and mobile terminal
CN103092604A (en) Application program classification method and device
CN107102809B (en) Fingerprint identification method and mobile terminal
CN102968338A (en) Method and device for classifying application program of electronic equipment and electronic equipment
CN106408289B (en) Payment page switching method and mobile terminal
CN106873874B (en) Application program starting method and mobile terminal
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
CN107562473B (en) Application program display method and mobile terminal
CN104199603A (en) Browser webpage control method and device and terminal
WO2013180687A1 (en) Translation of touch input into local input based on a translation profile for an application
CN106502614B (en) Font adjusting method and mobile terminal
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
CN106991150B (en) Webpage data display method and mobile terminal
CN103324438A (en) Electronic equipment, and page turning method and page turning device for browser
CN106934052B (en) Media text processing method and mobile terminal

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