[go: up one dir, main page]

CN105447201A - An optimization method and terminal for sharing information - Google Patents

An optimization method and terminal for sharing information Download PDF

Info

Publication number
CN105447201A
CN105447201A CN201511031497.4A CN201511031497A CN105447201A CN 105447201 A CN105447201 A CN 105447201A CN 201511031497 A CN201511031497 A CN 201511031497A CN 105447201 A CN105447201 A CN 105447201A
Authority
CN
China
Prior art keywords
shared information
information
sharing
shared
interception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201511031497.4A
Other languages
Chinese (zh)
Inventor
陈崇勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511031497.4A priority Critical patent/CN105447201A/en
Publication of CN105447201A publication Critical patent/CN105447201A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 invention provides an optimization method and a terminal for shared information, which comprise the following steps: when a sharing instruction is received, obtaining sharing information corresponding to the sharing instruction; analyzing the shared information, and filtering the shared information according to an interception rule; the filtered sharing information is rearranged; and executing the sharing instruction and sending the re-laid sharing information. According to the method and the device, the shared information is filtered and screened by setting the interception rule, irrelevant information is filtered, and relevant information is typeset and then sent to the user, so that the reading time of the user is saved, the utilization rate of the information is improved, and better sharing experience is brought to the user.

Description

一种分享信息的优化方法及终端An optimization method and terminal for sharing information

技术领域technical field

本发明属于互联网技术领域,尤其涉及一种分享信息的优化方法及终端。The invention belongs to the technical field of the Internet, and in particular relates to an optimization method and a terminal for sharing information.

背景技术Background technique

随着互联网技术的高速发展,网络用户越来越多,网络已经成了日常生活中必不可少的一部分。用户在对来自于网络的内容感兴趣时,通常会执行分享的操作,将感兴趣的内容分享至另一应用场景中进行展示或收藏。比如:将来自于浏览器的新闻分享到微信的朋友圈、或将来自于QQ等即时通讯软件的内容分享到邮件中。With the rapid development of Internet technology, there are more and more Internet users, and the Internet has become an indispensable part of daily life. When users are interested in content from the Internet, they usually perform a sharing operation, and share the interested content to another application scenario for display or collection. For example: share the news from the browser to the Moments of WeChat, or share the content from instant messaging software such as QQ to the email.

实际上,在很多分享内容中,都会或多或少的掺杂广告,不仅浪费用户的阅读时间和网络流量,而且还降低了用户的阅读体验。因此,很多应用程序着手于对分享信息中的广告进行拦截,为用户营造干净的阅读环境。In fact, many shared content is more or less doped with advertisements, which not only wastes the user's reading time and network traffic, but also reduces the user's reading experience. Therefore, many applications start to block advertisements in shared information to create a clean reading environment for users.

目前,常用的对分享信息进行拦截的方法,主要通过建立广告规则过滤库,获取分享信息中的对应网址的网址信息,再调用广告规则过滤库,对网址信息进行过滤。At present, the commonly used method for intercepting shared information is mainly to obtain URL information corresponding to URLs in the shared information by establishing an advertising rule filtering library, and then call the advertising rule filtering library to filter the URL information.

然而,这种方法只适用于网页加载时,过程死板、且局限性大,无法适应无处不在的零散的广告内容。However, this method is only applicable to the loading of web pages, and the process is rigid and limited, and cannot adapt to scattered advertising content everywhere.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种分享信息的优化方法与终端,可以解决现有技术中需要对于广告信息进行过滤的过程死板、局限性大、无法适应无处不在的零散的广告内容等技术问题。In view of this, the purpose of the present invention is to provide an optimization method and terminal for sharing information, which can solve the problem of rigidity and limitations in the process of filtering advertising information in the prior art, and cannot adapt to scattered advertising content everywhere. and other technical issues.

为解决上述技术问题,本发明实施例提供了以下技术方案:In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

一种分享信息的优化方法,包括:An optimized method for sharing information, comprising:

接收到分享指令时,获取所述分享指令所对应的分享信息;When receiving the sharing instruction, obtain the sharing information corresponding to the sharing instruction;

分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理;Analyzing the shared information, and filtering the shared information according to interception rules;

对过滤后的分享信息进行重新布局;以及rearrange the filtered shared information; and

执行所述分享指令,并发送重新布局的分享信息。Execute the sharing instruction, and send the rearranged sharing information.

为解决上述技术问题,本发明实施例提供了以下技术方案:In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

一种分享信息的终端,包括:A terminal for sharing information, including:

获取模块,用于接收到分享指令时,获取所述分享指令所对应的分享信息;An obtaining module, configured to obtain the sharing information corresponding to the sharing instruction when receiving the sharing instruction;

分析处理模块,用于分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理;An analysis and processing module, configured to analyze the shared information, and filter the shared information according to interception rules;

布局模块,用于对过滤后的分享信息进行重新布局;以及a layout module for rearranging the filtered shared information; and

发送模块,用于执行所述分享指令,并发送重新布局的分享信息。The sending module is configured to execute the sharing instruction and send the rearranged sharing information.

相对于现有技术,本发明实施例提供的一种分享信息的优化方法及终端,通过设置拦截规则对分享信息进行过滤筛选,将无关的信息进行过滤,将有关的信息进行排版布局后发送给用户,节省了用户的阅读时间,提升了信息的利用率,并为用户带来更佳的分享体验。Compared with the prior art, the embodiment of the present invention provides an optimization method and terminal for sharing information, which filters and screens the shared information by setting interception rules, filters irrelevant information, and sends relevant information to the It saves users' reading time, improves the utilization rate of information, and brings users a better sharing experience.

附图说明Description of drawings

图1是本发明实施例一提供的分享信息的优化方法流程示意图;FIG. 1 is a schematic flowchart of an optimization method for sharing information provided by Embodiment 1 of the present invention;

图2是本发明实施例二提供的分享信息的优化方法流程示意图;FIG. 2 is a schematic flowchart of an optimization method for sharing information provided by Embodiment 2 of the present invention;

图3是本发明实施例三提供的分享信息的终端的模块示意图;FIG. 3 is a schematic diagram of modules of a terminal for sharing information provided by Embodiment 3 of the present invention;

图4是本发明实施例四提供的分享信息的终端的模块示意图。FIG. 4 is a schematic diagram of modules of a terminal for sharing information provided by Embodiment 4 of the present invention.

具体实施方式detailed description

请参照附图中的图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所示例的本发明的具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Referring to the drawings in the accompanying drawings, where like reference numerals represent like components, the principles of the present invention are exemplified when implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the invention and should not be construed as limiting the invention to other specific embodiments not described in detail herein.

本发明原理以上述文字来说明,其并不代表为一种限制,本领域技术人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。The principles of the present invention are described in the above words, which are not meant to be a limitation. Those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware. The principles of the invention operate with numerous other general purpose or special purpose computing, communication environments or configurations.

本发明提供的分享信息的优化方法及终端,其中,所述终端包括:智能手机、基于苹果系统或安卓系统的平板电脑、或基于Windows或Linux的台式电脑等智能终端设备。The optimization method and terminal for sharing information provided by the present invention, wherein the terminal includes: intelligent terminal equipment such as a smart phone, a tablet computer based on an Apple system or an Android system, or a desktop computer based on Windows or Linux.

请参照以下实施例。Please refer to the following examples.

实施例一Embodiment one

请参阅图1,所示为本发明实施例中分享信息的优化方法的流程示意图。所述优化方法,通常应用于智能手机、基于苹果系统或安卓系统的平板电脑、或基于Windows或Linux的台式电脑等智能终端设备。Please refer to FIG. 1 , which is a schematic flowchart of an optimization method for sharing information in an embodiment of the present invention. The optimization method is usually applied to intelligent terminal devices such as smart phones, tablet computers based on Apple system or Android system, or desktop computers based on Windows or Linux.

具体而言,所述分享信息的优化方法包括:Specifically, the optimization method for sharing information includes:

在步骤S101中,接收到分享指令时,获取所述分享指令所对应的分享信息。In step S101, when a sharing instruction is received, sharing information corresponding to the sharing instruction is obtained.

可以理解的是,所述分享信息包括:来源于浏览器、和/或应用程序的分享内容。比如:将来自于浏览器的新闻分享到微信的朋友圈、或将来自于QQ等即时通讯软件的内容分享到邮件中。It can be understood that the shared information includes: shared content originating from a browser and/or an application program. For example: share the news from the browser to the Moments of WeChat, or share the content from instant messaging software such as QQ to the email.

在步骤S102中,分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理。In step S102, the shared information is analyzed, and the shared information is filtered according to interception rules.

其中,所述拦截规则,包括:文本拦截和/或弹框拦截。Wherein, the interception rules include: text interception and/or bullet frame interception.

所述文本拦截,是指分析分享信息的内容中是否包含有预设类型的关键字,以广告为例,包括:购买、付款、惊喜价、折扣等,当分享内容出现所述关键字时,对所述分享内容进行过滤拦截。The text interception refers to analyzing whether the content of the shared information contains keywords of a preset type, taking advertisements as an example, including: purchase, payment, surprise price, discount, etc. When the keyword appears in the shared content, Filter and intercept the shared content.

所述弹框拦截,是指分析分享信息的形式是否是预设的类型,比如:以弹框形式弹出、或进一步分析所述弹框是否链接至另一网址、或更进一步通过预设广告过滤库分析所述被链接的另一网址是否对应于所述广告过滤库中的网址。可以理解的是,可以根据网络产品或服务的需要,选择执行的层级。The bullet box interception refers to analyzing whether the form of sharing information is a preset type, such as: popping up in the form of a bullet box, or further analyzing whether the bullet box is linked to another website, or further filtering through preset advertisements The library analyzes whether the linked another URL corresponds to a URL in the advertisement filtering library. It can be understood that the execution level can be selected according to the requirements of network products or services.

在步骤S103中,对过滤后的分享信息进行重新布局。In step S103, the filtered shared information is rearranged.

具体而言,本步骤包括:Specifically, this step includes:

(1)获取分享信息的格式和内容,比如超文本标记语言(HyperTextMarkupLanguage,HTML)、可扩展标记语言(eXtensibleMarkupLanguage,XML)、或图像等;(1) Obtain the format and content of shared information, such as HyperText Markup Language (HyperTextMarkupLanguage, HTML), Extensible MarkupLanguage (eXtensibleMarkupLanguage, XML), or images, etc.;

(2)根据层叠样式表(CascadingStyleSheets,CSS)对所述分享信息的格式和内容进行整理,比如,对过滤所形成的空白段落或区域进行遮挡、调节、和/或替换等;以及(2) Organize the format and content of the shared information according to Cascading Style Sheets (CSS), for example, block, adjust, and/or replace blank paragraphs or areas formed by filtering; and

(3)获取网页的显示形式,并根据所述显示形式对所述分享信息进行调整,以形成布局后的分享信息。其中,可以理解的是,所述显示形式,会因呈现于浏览器页面、电子邮件客户端而不同,进而通过标示性的标记语言(PresentationalMarkup),对所述整理后的分享信息进行布局的微调。(3) Acquiring the display form of the webpage, and adjusting the shared information according to the display form, so as to form the shared information after layout. Among them, it can be understood that the display form will be different due to the presentation on the browser page and the email client, and then fine-tune the layout of the sorted shared information through the indicative markup language (PresentationalMarkup). .

在步骤S104中,执行所述分享指令,并发送重新布局的分享信息。In step S104, the sharing instruction is executed, and the rearranged sharing information is sent.

本发明实施例提供的分享信息的优化方法,通过设置拦截规则对分享信息进行过滤筛选,将无关的信息进行过滤,将有关的信息进行排版后发送给用户,节省了用户的阅读时间,提升了信息的利用率,并为用户带来更佳的分享体验。The method for optimizing shared information provided by the embodiment of the present invention filters and screens shared information by setting interception rules, filters irrelevant information, typeset related information and sends it to users, which saves users' reading time and improves The utilization rate of information and bring better sharing experience to users.

实施例二Embodiment two

请参阅图2,所示为本发明实施例中分享信息的优化方法的流程示意图。所述优化方法,通常应用于智能手机、基于苹果系统或安卓系统的平板电脑、或基于Windows或Linux的台式电脑等智能终端设备。Please refer to FIG. 2 , which is a schematic flowchart of an optimization method for sharing information in an embodiment of the present invention. The optimization method is usually applied to intelligent terminal devices such as smart phones, tablet computers based on Apple system or Android system, or desktop computers based on Windows or Linux.

具体而言,所述分享信息的优化方法包括:Specifically, the optimization method for sharing information includes:

在步骤S201中,接收到分享指令时,从浏览器或应用程序中获取所述分享指令所对应的分享信息。In step S201, when a sharing instruction is received, the sharing information corresponding to the sharing instruction is acquired from a browser or an application program.

此外,当接收到分享指令之后,还可以发送一个询问框,所述询问框用于由用户确认是否对分享内容进行优化,还可以将用户的确认结果作为后续的默认选择。In addition, after receiving the sharing instruction, an inquiry box may also be sent, and the inquiry box is used for the user to confirm whether to optimize the shared content, and the user's confirmation result may also be used as a subsequent default choice.

在步骤S202中,分析所述分享信息,并判断所述分享信息是否符合所述拦截规则。In step S202, analyze the shared information, and determine whether the shared information complies with the blocking rule.

其中,若不符合所述拦截规则,则执行步骤S203;若符合所述拦截规则,则执行步骤S204。Wherein, if the interception rule is not met, step S203 is performed; if the interception rule is met, step S204 is performed.

在本步骤之前,还包括:预设拦截规则,所述拦截规则包括文本拦截和/或弹框拦截,用于对所述分享信息的内容和/或形式进行过滤和拦截。Before this step, it also includes: preset interception rules, the interception rules include text interception and/or pop-up interception, and are used to filter and intercept the content and/or form of the shared information.

所述文本拦截,是指分析分享信息的内容中是否包含有预设类型的关键字,以广告为例,包括:购买、付款、惊喜价、折扣等,当分享内容出现所述关键字时,对所述分享内容进行过滤拦截。The text interception refers to analyzing whether the content of the shared information contains keywords of a preset type, taking advertisements as an example, including: purchase, payment, surprise price, discount, etc. When the keyword appears in the shared content, Filter and intercept the shared content.

所述弹框拦截,是指分析分享信息的形式是否是预设的类型。其中,可以根据网络产品或服务的需要,对形式进行任一层级的分析。比如:The bullet frame interception refers to analyzing whether the form of sharing information is a preset type. Among them, the form can be analyzed at any level according to the needs of network products or services. for example:

第一层级,判断所述分享信息是否以弹框形式弹出;The first level is to determine whether the shared information pops up in the form of a bullet box;

第二层级,进一步分析所述弹框是否链接至另一网址;以及The second level is to further analyze whether the pop-up frame is linked to another URL; and

第三层级,更进一步通过预设广告过滤库分析所述被链接的另一网址是否对应于所述广告过滤库中的网址。At the third level, it is further analyzed whether the linked another URL corresponds to a URL in the advertisement filtering library through a preset advertisement filtering library.

在步骤S203中,将不符合拦截规则的分享信息,通过所述过滤而不被拦截。In step S203, the shared information that does not comply with the blocking rule is passed through the filtering without being blocked.

在步骤S204中,对符合拦截规则的分享信息进行过滤处理,可以理解的是,所述过滤处理,包括全部过滤拦截和对局部过滤拦截。In step S204, filter processing is performed on the shared information conforming to the blocking rules. It can be understood that the filtering processing includes all filtering and blocking and partial filtering and blocking.

在步骤S205中,获取过滤后的分享信息,并判断所述过滤后的分享信息是否为空。In step S205, the filtered sharing information is obtained, and it is judged whether the filtered sharing information is empty.

其中,若所述过滤后分享信息为空,则执行步骤S206;若所述过滤后分享信息不为空,则执行步骤S207。Wherein, if the filtered shared information is empty, execute step S206; if the filtered shared information is not empty, execute step S207.

在步骤S206中,通过预设信息对所述为空的分享信息进行替换;In step S206, the empty sharing information is replaced by preset information;

具体包括:分析被过滤的分享信息中的关键词,根据所述关键词去匹配预设信息。比如:若被过滤掉的信息是关于保健品的广告,则通过保健养生的知识信息或网页进行替换。Specifically, it includes: analyzing keywords in the filtered shared information, and matching preset information according to the keywords. For example: if the filtered information is an advertisement about health care products, it is replaced by knowledge information or web pages of health care.

在步骤S207中,对不为空的分享信息进行重新布局。In step S207, re-layout the shared information that is not empty.

具体而言,本步骤包括:Specifically, this step includes:

(1)获取分享信息的格式和内容;(1) Obtain the format and content of shared information;

(2)根据层叠样式表对所述分享信息的格式和内容进行整理;以及(2) Organize the format and content of the shared information according to the cascading style sheet; and

(3)获取网页的显示形式,并根据所述显示形式对所述分享信息进行调整,以形成布局后的分享信息。(3) Acquiring the display form of the webpage, and adjusting the shared information according to the display form, so as to form the shared information after layout.

在步骤S208中,执行所述分享指令,并发送所述分享信息。In step S208, the sharing instruction is executed, and the sharing information is sent.

本发明实施例提供的分享信息的优化方法,通过设置拦截规则对分享信息进行过滤筛选,将无关的信息进行过滤,将有关的信息进行排版后发送给用户,节省了用户的阅读时间,提升了信息的利用率,并为用户带来更佳的分享体验。The method for optimizing shared information provided by the embodiment of the present invention filters and screens shared information by setting interception rules, filters irrelevant information, typeset related information and sends it to users, which saves users' reading time and improves The utilization rate of information and bring better sharing experience to users.

实施例三Embodiment three

请参阅图3,所示为本发明实施例中分享信息的终端的模块示意图。所述终端包括:智能手机、基于苹果系统或安卓系统的平板电脑、或基于Windows或Linux的台式电脑等智能终端设备。Please refer to FIG. 3 , which is a block diagram of a terminal for sharing information in an embodiment of the present invention. The terminal includes: intelligent terminal equipment such as a smart phone, a tablet computer based on an Apple system or an Android system, or a desktop computer based on Windows or Linux.

其中,所述分享信息的终端300,包括:获取模块31、分析处理模块32、布局模块33、和发送模块34。Wherein, the terminal 300 for sharing information includes: an acquisition module 31 , an analysis and processing module 32 , a layout module 33 , and a sending module 34 .

具体而言,获取模块31,用于接收到分享指令时,获取所述分享指令所对应的分享信息。Specifically, the obtaining module 31 is configured to obtain the sharing information corresponding to the sharing instruction when receiving the sharing instruction.

可以理解的是,所述分享信息包括:来源于浏览器、和/或应用程序的分享内容。比如:将来自于浏览器的新闻分享到微信的朋友圈、或将来自于QQ等即时通讯软件的内容分享到邮件中。It can be understood that the shared information includes: shared content originating from a browser and/or an application program. For example: share the news from the browser to the Moments of WeChat, or share the content from instant messaging software such as QQ to the email.

分析处理模块32,连接于所述获取模块31,用于分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理。The analysis and processing module 32 is connected to the acquisition module 31 and configured to analyze the shared information and filter the shared information according to interception rules.

其中,所述拦截规则,包括:文本拦截和/或弹框拦截。Wherein, the interception rules include: text interception and/or bullet frame interception.

所述文本拦截,是指分析分享信息的内容中是否包含有预设类型的关键字,以广告为例,包括:购买、付款、惊喜价、折扣等,当分享内容出现所述关键字时,对所述分享内容进行过滤拦截。The text interception refers to analyzing whether the content of the shared information contains keywords of a preset type, taking advertisements as an example, including: purchase, payment, surprise price, discount, etc. When the keyword appears in the shared content, Filter and intercept the shared content.

所述弹框拦截,是指分析分享信息的形式是否是预设的类型。其中,可以根据网络产品或服务的需要,对形式进行任一层级的分析。比如:The bullet frame interception refers to analyzing whether the form of sharing information is a preset type. Among them, the form can be analyzed at any level according to the needs of network products or services. for example:

第一层级,判断所述分享信息是否以弹框形式弹出;The first level is to determine whether the shared information pops up in the form of a bullet box;

第二层级,进一步分析所述弹框是否链接至另一网址;以及The second level is to further analyze whether the pop-up frame is linked to another URL; and

第三层级,更进一步通过预设广告过滤库分析所述被链接的另一网址是否对应于所述广告过滤库中的网址。At the third level, it is further analyzed whether the linked another URL corresponds to a URL in the advertisement filtering library through a preset advertisement filtering library.

布局模块33,连接于所述分析处理模块32,用于对过滤后的分享信息进行重新布局。The layout module 33 is connected to the analysis and processing module 32, and is used for rearranging the filtered shared information.

具体而言,所述布局模块33,包括:Specifically, the layout module 33 includes:

形式获取子模块331,用于获取分享信息的格式和内容,比如超文本标记语言(HyperTextMarkupLanguage,HTML)、可扩展标记语言(eXtensibleMarkupLanguage,XML)、或图像等;The form acquisition sub-module 331 is used to acquire the format and content of the shared information, such as hypertext markup language (HyperTextMarkupLanguage, HTML), extensible markup language (eXtensibleMarkupLanguage, XML), or images, etc.;

样式整理子模块332,用于根据层叠样式表(CascadingStyleSheets,CSS)对所述分享信息的格式和内容进行整理,比如,对过滤所形成的空白段落或区域进行遮挡、调节、和/或替换等;以及The style sorting sub-module 332 is configured to sort out the format and content of the shared information according to Cascading Style Sheets (CascadingStyleSheets, CSS), for example, to block, adjust, and/or replace blank paragraphs or areas formed by filtering, etc. ;as well as

调整子模块333,用于获取网页的显示形式,并根据所述显示形式对所述分享信息进行调整,以形成布局后的分享信息。其中,可以理解的是,所述显示形式,会因呈现于浏览器页面、电子邮件客户端而不同,进而通过标示性的标记语言(PresentationalMarkup),对所述整理后的分享信息进行布局的微调。The adjustment sub-module 333 is configured to obtain the display form of the webpage, and adjust the shared information according to the display form, so as to form the shared information after layout. Among them, it can be understood that the display form will be different due to the presentation on the browser page and the email client, and then fine-tune the layout of the sorted shared information through the indicative markup language (PresentationalMarkup). .

发送模块34,连接于所述布局模块33,用于执行所述分享指令,并发送重新布局的分享信息。The sending module 34 is connected to the layout module 33 and configured to execute the sharing instruction and send the re-layout sharing information.

本发明实施例提供的分享信息的终端,通过设置拦截规则对分享信息进行过滤筛选,将无关的信息进行过滤,将有关的信息进行排版后发送给用户,节省了用户的阅读时间,提升了信息的利用率,并为用户带来更佳的分享体验。The terminal for sharing information provided by the embodiment of the present invention filters and screens the shared information by setting interception rules, filters irrelevant information, typeset the relevant information and sends it to the user, which saves the reading time of the user and improves the information quality. utilization rate, and bring users a better sharing experience.

实施例四Embodiment Four

请参阅图4,所示为本发明实施例中分享信息的终端的模块示意图。所述终端包括:智能手机、基于苹果系统或安卓系统的平板电脑、或基于Windows或Linux的台式电脑等智能终端设备。Please refer to FIG. 4 , which is a block diagram of a terminal for sharing information in an embodiment of the present invention. The terminal includes: intelligent terminal equipment such as a smart phone, a tablet computer based on an Apple system or an Android system, or a desktop computer based on Windows or Linux.

其中,所述分享信息的终端400,包括:获取模块41、分析处理模块42、布局模块43、和发送模块44。Wherein, the terminal 400 for sharing information includes: an acquisition module 41 , an analysis and processing module 42 , a layout module 43 , and a sending module 44 .

获取模块41,用于接收到分享指令时,获取所述分享指令所对应的分享信息。The obtaining module 41 is configured to obtain the sharing information corresponding to the sharing instruction when receiving the sharing instruction.

具体而言,所述获取模块41,包括:Specifically, the acquisition module 41 includes:

浏览器接口411,用于根据分享指令,获取来源于浏览器的分享内容,以生成所述分享信息;和/或The browser interface 411 is used to obtain the shared content from the browser according to the sharing instruction, so as to generate the shared information; and/or

应用程序接口412,用于根据分享指令,获取来源于应用程序的分享内容,以生成所述分享信息。The application program interface 412 is configured to obtain the shared content from the application program according to the sharing instruction, so as to generate the shared information.

分析处理模块42,连接于所述获取模块41,用于分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理。The analysis and processing module 42 is connected to the acquisition module 41 and configured to analyze the shared information and filter the shared information according to interception rules.

具体而言,所述分析处理模块42,包括:Specifically, the analysis processing module 42 includes:

拦截规则子模块421,用于预设拦截规则,所述拦截规则,包括:文本拦截和/或弹框拦截;The interception rule sub-module 421 is used to preset interception rules, and the interception rules include: text interception and/or bullet box interception;

判断子模块422,用于根据所述拦截规则,判断分享信息的内容和/或形式是否符合所述拦截规则;以及Judgment sub-module 422, configured to judge whether the content and/or form of the shared information conforms to the interception rule according to the interception rule; and

过滤子模块423,用于当所述分享信息的内容和/或形式符合所述拦截规则,进行过滤处理。The filtering sub-module 423 is configured to perform filtering processing when the content and/or form of the shared information conform to the interception rule.

布局模块43,连接于所述分析处理模块42,用于对过滤后的分享信息进行重新布局。The layout module 43 is connected to the analysis and processing module 42, and is used for rearranging the filtered shared information.

具体而言,所述布局模块43,包括:Specifically, the layout module 43 includes:

信息获取子模块431,用于获取过滤后的分享信息;An information acquisition sub-module 431, configured to acquire filtered shared information;

信息判断子模块432,用于判断所述过滤后的分享信息是否为空;An information judging submodule 432, configured to judge whether the filtered shared information is empty;

结果子模块433,用于当所述过滤后分享信息为空时,通过预设信息对所述为空的分享信息进行替换。The result sub-module 433 is configured to replace the empty shared information with preset information when the filtered shared information is empty.

具体包括:分析被过滤的分享信息中的关键词,根据所述关键词去匹配预设信息。比如:若被过滤掉的信息是关于保健品的广告,则通过保健养生的知识信息或网页进行替换。Specifically, it includes: analyzing keywords in the filtered shared information, and matching preset information according to the keywords. For example: if the filtered information is an advertisement about health care products, it is replaced by knowledge information or web pages of health care.

结果子模块433,还用于当所述过滤后分享信息不为空时,对所述分享信息进行布局。The result sub-module 433 is further configured to layout the shared information when the filtered shared information is not empty.

具体包括:样式整理子模块、和调整子模块(未标示),具体执行过程如上,在此不再赘述。It specifically includes: a style sorting sub-module and an adjustment sub-module (not shown). The specific execution process is as above, and will not be repeated here.

发送模块44,连接于所述布局模块43,用于执行所述分享指令,并发送重新布局的分享信息。The sending module 44 is connected to the layout module 43 and configured to execute the sharing instruction and send the re-layout sharing information.

本发明实施例提供的分享信息的终端,通过设置拦截规则对分享信息进行过滤筛选,将无关的信息进行过滤,将有关的信息进行排版后发送给用户,节省了用户的阅读时间,提升了信息的利用率,并为用户带来更佳的分享体验。The terminal for sharing information provided by the embodiment of the present invention filters and screens the shared information by setting interception rules, filters irrelevant information, typeset the relevant information and sends it to the user, which saves the reading time of the user and improves the information quality. utilization rate, and bring users a better sharing experience.

本发明实施例提供的分享信息的化方法及终端属于同一构思,其具体实现过程详见说明书全文,此处不再赘述。The method for sharing information and the terminal provided by the embodiment of the present invention belong to the same idea, and its specific implementation process is detailed in the full text of the specification, and will not be repeated here.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,ReadOnlyMemory)、随机存取记忆体(RAM,RandomAccessMemory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read-only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disk or optical disk, etc.

综上所述,虽然本发明已以优选实施例揭露如上,但上述优选实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。In summary, although the present invention has been disclosed above with preferred embodiments, the above preferred embodiments are not intended to limit the present invention, and those of ordinary skill in the art can make various modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the scope defined in the claims.

Claims (10)

1.一种分享信息的优化方法,其特征在于,包括:1. An optimization method for sharing information, comprising: 接收到分享指令时,获取所述分享指令所对应的分享信息;When receiving the sharing instruction, obtain the sharing information corresponding to the sharing instruction; 分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理;Analyzing the shared information, and filtering the shared information according to interception rules; 对过滤后的分享信息进行重新布局;以及rearrange the filtered shared information; and 执行所述分享指令,并发送重新布局的分享信息。Execute the sharing instruction, and send the rearranged sharing information. 2.如权利要求1所述的优化方法,其特征在于,分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理,包括:2. The optimization method according to claim 1, characterized in that analyzing the shared information, and filtering the shared information according to interception rules, comprising: 预设拦截规则,所述拦截规则,包括:文本拦截和/或弹框拦截;Preset interception rules, the interception rules include: text interception and/or bullet frame interception; 根据所述拦截规则,判断分享信息的内容和/或形式是否符合所述拦截规则;以及According to the blocking rules, determine whether the content and/or form of the shared information complies with the blocking rules; and 若所述分享信息的内容和/或形式符合所述拦截规则,则进行过滤处理。If the content and/or form of the shared information conform to the interception rule, filtering is performed. 3.如权利要求1所述的优化方法,其特征在于,对过滤后的分享信息进行重新布局,包括:3. The optimization method according to claim 1, wherein re-layouting the filtered shared information includes: 获取过滤后的分享信息;Obtain filtered shared information; 判断所述过滤后的分享信息是否为空;judging whether the filtered shared information is empty; 若判断所述过滤后分享信息为空,则通过预设信息对所述为空的分享信息进行替换;以及If it is judged that the shared information after filtering is empty, then replace the empty shared information with preset information; and 若判断所述过滤后分享信息不为空,则对所述分享信息进行布局。If it is judged that the filtered shared information is not empty, the shared information is laid out. 4.如权利要求3所述的优化方法,其特征在于,对过滤后的分享信息进行重新布局,包括:4. The optimization method according to claim 3, wherein re-layouting the filtered shared information includes: 获取分享信息的格式和内容;Obtain the format and content of shared information; 根据层叠样式表CSS对所述分享信息的格式和内容进行整理;以及Organize the format and content of the shared information according to the Cascading Style Sheet CSS; and 获取网页的显示形式,并根据所述显示形式对所述分享信息进行调整,以形成布局后的分享信息。The display form of the webpage is obtained, and the shared information is adjusted according to the display form, so as to form the shared information after layout. 5.如权利要求1所述的优化方法,其特征在于,接收到分享指令时,获取所述分享指令所对应的分享信息,其中所述分享信息包括:5. The optimization method according to claim 1, wherein when a sharing instruction is received, the sharing information corresponding to the sharing instruction is obtained, wherein the sharing information includes: 来源于浏览器、和/或应用程序的分享内容。Shared content originating from browsers, and/or applications. 6.一种分享信息的终端,其特征在于,包括:6. A terminal for sharing information, characterized in that it comprises: 获取模块,用于接收到分享指令时,获取所述分享指令所对应的分享信息;An obtaining module, configured to obtain the sharing information corresponding to the sharing instruction when receiving the sharing instruction; 分析处理模块,用于分析所述分享信息,并根据拦截规则对所述分享信息进行过滤处理;An analysis and processing module, configured to analyze the shared information, and filter the shared information according to interception rules; 布局模块,用于对过滤后的分享信息进行重新布局;以及a layout module for rearranging the filtered shared information; and 发送模块,用于执行所述分享指令,并发送重新布局的分享信息。The sending module is configured to execute the sharing instruction and send the rearranged sharing information. 7.如权利要求6所述的终端,其特征在于,分析处理模块,包括:7. The terminal according to claim 6, wherein the analysis and processing module comprises: 拦截规则子模块,用于预设拦截规则,所述拦截规则,包括:文本拦截和/或弹框拦截;The interception rule sub-module is used for preset interception rules, and the interception rules include: text interception and/or bullet frame interception; 判断子模块,用于根据所述拦截规则,判断分享信息的内容和/或形式是否符合所述拦截规则;以及A judging submodule, configured to judge whether the content and/or form of the shared information conforms to the interception rules according to the interception rules; and 过滤子模块,用于当所述分享信息的内容和/或形式符合所述拦截规则,进行过滤处理。The filtering sub-module is configured to perform filtering processing when the content and/or form of the shared information conform to the interception rule. 8.如权利要求6所述的终端,其特征在于,所述布局模块,包括:8. The terminal according to claim 6, wherein the layout module comprises: 信息获取子模块,用于获取过滤后的分享信息;The information acquisition sub-module is used to acquire filtered shared information; 信息判断子模块,用于判断所述过滤后的分享信息是否为空;An information judging submodule, configured to judge whether the filtered shared information is empty; 结果子模块,用于当所述过滤后分享信息为空时,通过预设信息对所述为空的分享信息进行替换,以及当所述过滤后分享信息不为空时,对所述分享信息进行布局。The result sub-module is used to replace the empty shared information with preset information when the filtered shared information is empty, and to replace the shared information when the filtered shared information is not empty Make a layout. 9.如权利要求8所述的终端,其特征在于,所述结果子模块,包括:9. The terminal according to claim 8, wherein the result submodule comprises: 形式获取子模块,用于获取分享信息的格式和内容;The form acquisition sub-module is used to acquire the format and content of the shared information; 样式整理子模块,用于根据层叠样式表CSS对所述分享信息的格式和内容进行整理;以及A style organizing sub-module, configured to organize the format and content of the shared information according to the cascading style sheet CSS; and 调整子模块,用于获取网页的显示形式,并根据所述显示形式对所述分享信息进行调整,以形成布局后的分享信息。The adjustment sub-module is used to obtain the display form of the webpage, and adjust the shared information according to the display form, so as to form the shared information after layout. 10.如权利要求6所述的终端,其特征在于,所述获取模块,包括:10. The terminal according to claim 6, wherein the acquiring module comprises: 浏览器接口,用于根据分享指令,获取来源于浏览器的分享内容,以生成所述分享信息;和/或The browser interface is used to obtain the shared content from the browser according to the sharing instruction, so as to generate the shared information; and/or 应用程序接口,用于根据分享指令,获取来源于应用程序的分享内容,以生成所述分享信息。The application program interface is used to obtain the shared content from the application program according to the sharing instruction, so as to generate the shared information.
CN201511031497.4A 2015-12-30 2015-12-30 An optimization method and terminal for sharing information Pending CN105447201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511031497.4A CN105447201A (en) 2015-12-30 2015-12-30 An optimization method and terminal for sharing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511031497.4A CN105447201A (en) 2015-12-30 2015-12-30 An optimization method and terminal for sharing information

Publications (1)

Publication Number Publication Date
CN105447201A true CN105447201A (en) 2016-03-30

Family

ID=55557377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511031497.4A Pending CN105447201A (en) 2015-12-30 2015-12-30 An optimization method and terminal for sharing information

Country Status (1)

Country Link
CN (1) CN105447201A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599105A (en) * 2016-11-29 2017-04-26 珠海市魅族科技有限公司 Display control method and electronic equipment
CN106657579A (en) * 2016-09-29 2017-05-10 努比亚技术有限公司 Content sharing method, device and terminal
CN106815316A (en) * 2016-12-23 2017-06-09 北京奇虎科技有限公司 Method, device and mobile terminal that content of pages is shared
WO2018023805A1 (en) * 2016-08-05 2018-02-08 王志强 Method for blocking messages in moments based on keywords and permission system
WO2018023806A1 (en) * 2016-08-05 2018-02-08 王志强 Method for feeding back usage information of information blocking technology and permission system
WO2018023807A1 (en) * 2016-08-05 2018-02-08 王志强 Technology ownership display method during information blocking and permission system
CN111355654A (en) * 2020-02-18 2020-06-30 支付宝实验室(新加坡)有限公司 Target content sharing method, device and equipment
CN112153637A (en) * 2019-06-28 2020-12-29 北京奇虎科技有限公司 Method and device, router and medium for preventing illegal users from accessing wireless network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977233A (en) * 2010-11-01 2011-02-16 优视科技有限公司 Method and system for leading mobile terminal to browse webpage in reading mode
CA2792951A1 (en) * 2010-03-12 2011-09-15 Michael W. Wright Web-hosted self-managed virtual systems with complex rule-based content access
CN102929871A (en) * 2011-08-08 2013-02-13 腾讯科技(深圳)有限公司 Webpage browsing method and device and mobile terminal
CN104065632A (en) * 2013-04-08 2014-09-24 腾讯科技(深圳)有限公司 Shared-content processing method, server, client and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2792951A1 (en) * 2010-03-12 2011-09-15 Michael W. Wright Web-hosted self-managed virtual systems with complex rule-based content access
CN101977233A (en) * 2010-11-01 2011-02-16 优视科技有限公司 Method and system for leading mobile terminal to browse webpage in reading mode
CN102929871A (en) * 2011-08-08 2013-02-13 腾讯科技(深圳)有限公司 Webpage browsing method and device and mobile terminal
CN104065632A (en) * 2013-04-08 2014-09-24 腾讯科技(深圳)有限公司 Shared-content processing method, server, client and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
殷锋: "《科技示范户 电脑故障无忧必备手册》", 31 March 2011 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018023805A1 (en) * 2016-08-05 2018-02-08 王志强 Method for blocking messages in moments based on keywords and permission system
WO2018023806A1 (en) * 2016-08-05 2018-02-08 王志强 Method for feeding back usage information of information blocking technology and permission system
WO2018023807A1 (en) * 2016-08-05 2018-02-08 王志强 Technology ownership display method during information blocking and permission system
CN106657579A (en) * 2016-09-29 2017-05-10 努比亚技术有限公司 Content sharing method, device and terminal
CN106657579B (en) * 2016-09-29 2020-12-11 泾县谷声信息科技有限公司 Content sharing method, device and terminal
CN106599105A (en) * 2016-11-29 2017-04-26 珠海市魅族科技有限公司 Display control method and electronic equipment
CN106815316A (en) * 2016-12-23 2017-06-09 北京奇虎科技有限公司 Method, device and mobile terminal that content of pages is shared
CN112153637A (en) * 2019-06-28 2020-12-29 北京奇虎科技有限公司 Method and device, router and medium for preventing illegal users from accessing wireless network
CN111355654A (en) * 2020-02-18 2020-06-30 支付宝实验室(新加坡)有限公司 Target content sharing method, device and equipment
CN111355654B (en) * 2020-02-18 2021-11-19 支付宝实验室(新加坡)有限公司 Target content sharing method, device and equipment

Similar Documents

Publication Publication Date Title
CN105447201A (en) An optimization method and terminal for sharing information
JP6488508B2 (en) Web page access method, apparatus, device, and program
CN108304498B (en) Webpage data acquisition method and device, computer equipment and storage medium
US10015226B2 (en) Methods for making AJAX web applications bookmarkable and crawlable and devices thereof
JP6080866B2 (en) Computerized method, system, and computer program for mapping one or more dynamic visual objects of a network document
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN106033450B (en) Advertisement blocking method and device and browser
US20140095579A1 (en) System and method for increasing web site serving performance
CN104361082A (en) Method and device for displaying specified element in web page in browser
WO2014019507A1 (en) Method and mobile terminal device for independently playing video
CN101937428A (en) Method and system for rearranging pictures with literal contents for mobile terminal equipment
CN106874271A (en) A kind of method and system that PC webpages are converted to mobile terminal webpage
TW201409273A (en) Method and device for responding to webpage access request
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
CN110968314A (en) Page generation method and device
CN106354369A (en) Character input interface display handling method and device
WO2017219524A1 (en) Page saving method and electronic device
US20120166412A1 (en) Super-clustering for efficient information extraction
CN105868240A (en) Method and device for self-adaptive display of page
CN105550179B (en) Webpage collection method and browser plug-in
US9275023B2 (en) Methods for further adapting XSL to HTML document transformations and devices thereof
CN104899203B (en) Webpage generation method and device and terminal equipment
US9858246B1 (en) Determining and generating a number of images meeting particular size ranges and selecting an image for display in a placeholder of a network document
CN111414523A (en) Data acquisition method and device
CN107329981B (en) Method and device for page detection

Legal Events

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

Application publication date: 20160330