WO2014075535A1 - 网络平台展示富文本消息的方法、装置和计算机存储介质 - Google Patents

网络平台展示富文本消息的方法、装置和计算机存储介质 Download PDF

Info

Publication number
WO2014075535A1
WO2014075535A1 PCT/CN2013/085522 CN2013085522W WO2014075535A1 WO 2014075535 A1 WO2014075535 A1 WO 2014075535A1 CN 2013085522 W CN2013085522 W CN 2013085522W WO 2014075535 A1 WO2014075535 A1 WO 2014075535A1
Authority
WO
WIPO (PCT)
Prior art keywords
rich text
text message
field
added
message
Prior art date
Application number
PCT/CN2013/085522
Other languages
English (en)
French (fr)
Inventor
张健
陈雷
曹涛
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014075535A1 publication Critical patent/WO2014075535A1/zh
Priority to US14/709,381 priority Critical patent/US20150244661A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • 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
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Definitions

  • the present invention relates to Internet message publishing technologies, and in particular, to a method, device and computer storage medium for displaying rich text messages on a network platform. Background technique
  • Rich text messages are a special form of message that is based on plain text messages with a rich text that can display more content.
  • the current web platform needs to edit a rich text in a hypertext markup language (HTML) format for the contracted third party, and then attach the rich text to the lower part of the displayed message, and the user clicks on the rich text. Zoom in on the display.
  • HTML hypertext markup language
  • the embodiment of the invention mainly provides a method, a device and a computer storage medium for displaying a rich text message on a network platform, which can display rich text messages provided by any third party and enrich the display content of the network platform.
  • a method for displaying a rich text message by a network platform includes: receiving a rich text message of a third party, where the rich text message includes a structure of a rich text display manner; and parsing the structure of the rich text display mode Body, generating rich text in HTML format, displaying the rich text message with the rich text in the HTML format on the user interface;
  • the structure of the rich text display mode is pulled by the ID of the rich text message to perform rich text display.
  • An apparatus for displaying a rich text message on a network platform includes: a text message receiving module, a message display module, and a rich text display module; wherein, the rich text message receiving module is configured to receive a rich text message of a third party, where the rich text message includes a structure of a rich text display mode;
  • the message display module is configured to parse the structure of the rich text display manner in the rich text message received by the rich text message receiving module, generate rich text in the HTML format, and display a rich text message with the rich text in the HTML format on the user interface;
  • the rich text display module is configured to: when the rich text in the rich text message is clicked, pull the structure of the rich text display manner by the ID of the rich text message to perform rich text display.
  • the present invention also provides a computer storage medium having stored therein a computer program for executing a method of displaying a rich text message by the network platform.
  • An embodiment of the present invention provides a method, a device, and a computer storage medium for displaying a rich text message on a network platform, where a server of the network platform receives a rich text message edited by a third party, and the rich text message includes a structure of a rich text display manner; Parsing the structure of the rich text display manner, generating rich text in HTML format, displaying a rich text message with the rich text in the HTML format on the user interface; when the rich text in the rich text message is clicked, the network The server of the platform pulls the structure of the rich text display manner in the rich text message by using the ID of the rich text message, and displays rich text according to the structure; thus, can display rich text messages provided by any third party, enrich the network The display content of the platform.
  • FIG. 1 is a schematic flowchart of a method for displaying a rich text message by a network platform according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for displaying a rich text message on a network platform according to an embodiment of the present invention. detailed description
  • the server of the network platform receives the rich text message edited by the third party, and the rich text message includes a structure of the rich text display manner; parsing the structure of the rich text display mode to generate rich text in the HTML format Displaying, in the user interface, a rich text message with the rich text in the HTML format; when the rich text in the rich text message is clicked, pulling the rich text display in the rich text message by using the ID of the rich text message
  • the structure of the mode displays rich text according to the structure.
  • the network platform may generally be a microblog, a forum, a social networking website, or the like.
  • the embodiment of the invention implements a method for displaying a rich text message on a network platform. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 The server of the network platform receives a rich text message edited by a third party, where the rich text message includes a structure of a rich text display manner;
  • the third-party edited rich text message is sent to the server of the network platform through the API interface; the third party is a user who subscribes to the rich text technology in advance;
  • the rich text display manner includes: an iframe method or an animation method, and the like;
  • the iframe mode structure includes: a type, a picture, a name, a description, and a description.
  • Uniform Resource Locator (Url) field where the Type field is added with a third-party identifier, configured to distinguish different third parties;
  • the Pic field is added with the picture when the rich text is not expanded;
  • the Name field is added with the rich text message name; Add a description with a rich text message;
  • the Url field adds the address of the iframe;
  • the Flash structure includes: Type, Pic, Name, Description, and Url fields, wherein the Type field is added with a third-party type to distinguish different third parties; and the Pic field is added with a picture when rich text is not expanded;
  • the Name field is added with a rich text message name;
  • the Description field is added with a description of the rich text message;
  • the Url field is added with the address of the Flash;
  • the Type, Pic, Name, Description, and Url fields are added by a third party;
  • the format of the structure of the rich text display mode in the rich text message is a TLV (Type Length Value) field format.
  • Step 102 The server of the network platform parses the structure of the rich text display mode in the rich text message, generates rich text in the HTML format, and displays a rich text message with the rich text in the HTML format on the user interface;
  • the rich text in the HTML format is attached to the lower part of the message body of the rich text message; the rich text in the HTML format contains static information;
  • the static information includes contents of a Pic, Name, and Description fields
  • Step 103 When detecting that the rich text in the rich text message is clicked, the server of the network platform pulls the structure of the rich text display mode in the rich text message by using the ID of the rich text message, and displays according to the structure Rich text
  • the ID of the rich text message is an ID assigned by the server of the network platform to the rich text message, and belongs to the prior art.
  • the server of the network platform after receiving the third-party edited rich text message through the API interface, the server of the network platform detects whether the content of the Url field of the structure of the rich text display mode in the rich text message is violated by the violation feature database, and does not violate the rules. Displaying rich text messages with rich text in the user interface, and displaying rich text in rich text messages in the user interface when the rules are violated;
  • Whether the content of the Url field of the structure of the rich text display mode in the rich text message is violated by the violation feature library is: detecting whether the feature in the violation feature database matches the Url field content of the structure of the rich text display mode in the rich text message, In the case of matching, it is judged to be a violation, otherwise it is not a violation;
  • the violation signature database is pre-established on the server side of the network platform, and at least one feature is saved.
  • the embodiment of the present invention further provides a network platform for displaying rich text consumption.
  • the device is located at the server end of the network platform.
  • the device includes: a rich text message receiving module 21, a message display module 22, and a rich text display module 23; wherein, the rich text message receiving module 21, And configured to receive a rich text message edited by a third party, where the rich text message includes a structure of a rich text display manner;
  • the message display module 22 is configured to parse the structure of the rich text display mode in the rich text message received by the rich text message receiving module 21, generate rich text in HTML format, and display rich text message with rich text in the HTML format on the user interface. ;
  • the rich text display module 23 is configured to: when the rich text in the rich text message is clicked, pull the structure of the rich text display mode in the rich text message by using the ID of the rich text message, according to the structure Display rich text;
  • the third-party edited rich text message is sent to the server of the network platform through the API interface; the third party is a user who subscribes to the rich text technology in advance;
  • the rich text display manner includes: an iframe method or a flash method
  • the structure of the iframe mode includes: a Type, a Pic, a Name, a Description, and a Url field, where the Type field is added with a third-party identifier to distinguish different third parties; and the Pic field is added with a picture when the rich text is not expanded;
  • the Name field is added with a rich text message name;
  • the Description field is added with a description of the rich text message;
  • the Url field is added with the address of the iframe;
  • the Flash structure includes: Type, Pic, Name, Description and Url fields, where Type The field is added with a third-party type to distinguish different third parties;
  • the Pic field is added with the picture when the rich text is not expanded;
  • the Name field is added with the rich text message name;
  • the Description field is added with the description of the rich text message;
  • the Url field is added with The address of the Flash;
  • the Type, Pic, Name, Description, and Url fields are added by a third party;
  • the rich text in the HTML format is attached to the lower part of the message body of the rich text message,
  • the rich text in the HTML format contains static information, and the static information includes the contents of the Pic, Name, and Description fields;
  • the device further includes: a detecting module 24, configured to detect, by using the violation feature database, whether the content of the Url field of the structure of the rich text display mode in the rich text message is violated, and when not violating the rules, send the message display module 22 to display the rich interface in the user interface.
  • the notification of the rich text message of the text in the event of a violation, sends a notification to the message presentation module 22 that the rich text in the rich text message is not displayed in the user interface.
  • the method for displaying a rich text message by the network platform may also be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer usable storage media having computer usable program code, including but not limited to a USB flash drive, a mobile hard drive, a read only memory (ROM, Read-Only Memory), Random Access Memory (RAM), disk storage, CD-ROM, optical storage, etc.
  • a USB flash drive a mobile hard drive
  • ROM read only memory
  • RAM Random Access Memory
  • disk storage CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • an embodiment of the present invention further provides a computer storage medium, wherein a computer program is stored, and the computer program is used to execute a method for displaying a rich text message by a network platform according to an embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种网络平台展示富文本消息的方法,网络平台的服务器接收第三方编辑的富文本消息,所述富文本消息包括富文本展示方式的结构体;解析所述富文本展示方式的结构体,生成HTML格式的富文本,在用户界面展示附带所述HTML格式的富文本的富文本消息;在所述富文本消息中的富文本被点击时,网络平台的服务器通过所述富文本消息的ID 拉取所述富文本消息中富文本展示方式的结构体,按照所述结构体展示富文本;本发明同时还公开了一种网络平台展示富文本消息的装置和计算机存储介质,通过本发明的方案,能够展示任何第三方提供的富文本消息,丰富网络平台的展示内容。

Description

网络平台展示富文本消息的方法、 装置和计算机存储介庸 技术领域
本发明涉及互联网消息发布技术, 尤其涉及一种网络平台展示富文本 消息的方法、 装置和计算机存储介质。 背景技术
富文本消息是一种特殊的消息形式, 就是在普通的文本消息的基础上, 附带一段能够展示更多内容的富文本。
目前的网络平台在展示富文本消息时, 需要预先为签约的第三方编辑 一段超文本标记语言(HTML )格式的富文本, 之后在展示的消息下部附带 所述富文本, 用户点击所述富文本后放大展示。 发明内容
本发明实施例主要提供一种网络平台展示富文本消息的方法、 装置和 计算机存储介质, 能够展示任何第三方提供的富文本消息, 丰富网络平台 的展示内容。
本发明实施例的技术方案是这样实现的:
本发明实施例提供的一种网络平台展示富文本消息的方法, 包括: 接收第三方的富文本消息, 所述富文本消息包括富文本展示方式的结 构体; 解析所述富文本展示方式的结构体, 生成 HTML格式的富文本, 将 附带所述 HTML格式的富文本的富文本消息在用户界面展示;
当所述富文本消息中的富文本被点击时, 通过所述富文本消息的 ID拉 取所述富文本展示方式的结构体, 进行富文本展示。
本发明实施例提供的一种网络平台展示富文本消息的装置, 包括: 富 文本消息接收模块、 消息展示模块、 富文本展示模块; 其中, 富文本消息接收模块, 配置为接收第三方的富文本消息, 所述富文本 消息包括富文本展示方式的结构体;
消息展示模块, 配置为解析富文本消息接收模块接收的富文本消息中 富文本展示方式的结构体, 生成 HTML格式的富文本, 在用户界面展示附 带所述 HTML格式的富文本的富文本消息;
富文本展示模块, 配置为在所述富文本消息中的富文本被点击时, 通 过所述富文本消息的 ID拉取富文本展示方式的结构体, 进行富文本展示。
本发明还提供一种计算机存储介质, 其中存储有计算机程序, 该计算 机程序用于执行所述网络平台展示富文本消息的方法。
本发明实施例提供了一种网络平台展示富文本消息的方法、 装置和计 算机存储介质, 网络平台的服务器接收第三方编辑的富文本消息, 所述富 文本消息包括富文本展示方式的结构体; 解析所述富文本展示方式的结构 体, 生成 HTML格式的富文本, 在用户界面展示附带所述 HTML格式的富 文本的富文本消息; 在所述富文本消息中的富文本被点击时, 网络平台的 服务器通过所述富文本消息的 ID拉取所述富文本消息中富文本展示方式的 结构体, 按照所述结构体展示富文本; 如此, 能够展示任何第三方提供的 富文本消息, 丰富网络平台的展示内容。 附图说明
图 1 为本发明实施例提供的网络平台展示富文本消息的方法的流程示 意图;
图 2 为本发明实施例提供的网络平台展示富文本消息的装置的结构示 意图。 具体实施方式
本发明实施例中, 网络平台的服务器接收第三方编辑的富文本消息, 所述富文本消息包括富文本展示方式的结构体; 解析所述富文本展示方式 的结构体, 生成 HTML格式的富文本, 在用户界面展示附带所述 HTML格 式的富文本的富文本消息; 在所述富文本消息中的富文本被点击时, 通过 所述富文本消息的 ID拉取所述富文本消息中富文本展示方式的结构体, 按 照所述结构体展示富文本。
所述网络平台一般可以是微博、 论坛、 社交网站等。
下面通过附图及具体实施例对本发明^:进一步的详细说明。
本发明实施例实现一种网络平台展示富文本消息的方法, 如图 1所示, 该方法包括以下几个步骤:
步骤 101, 网络平台的服务器接收第三方编辑的富文本消息, 所述富文 本消息包括富文本展示方式的结构体;
所述第三方编辑的富文本消息通过 API接口发送到网络平台的服务器; 所述第三方为预先签约使用富文本技术的用户;
所述富文本展示方式包括: 框架( iframe )方式或动画( Flash )方式等; 所述 iframe方式的结构体包括:类型( Type )、图片( Pic )、名称(Name )、 描述(Description )和统一资源定位符 (Url ) 字段, 其中, Type字段添加 有第三方标识, 配置为区分不同的第三方; Pic字段添加有富文本未展开时 的图片; Name字段添加有富文本消息名称; Description字段添加有富文本 消息的描述; Url字段添加有 iframe的地址;
所述 Flash方式的结构体包括: Type, Pic, Name, Description和 Url 字段, 其中, Type 字段添加有第三方类型, 用于区分不同的第三方; Pic 字段添加有富文本未展开时的图片; Name 字段添加有富文本消息名称; Description字段添加有富文本消息的描述; Url字段添加有 Flash的地址; 所述 Type、 Pic, Name, Description和 Url字段由第三方添力口; 所述富文本消息中富文本展示方式的结构体的格式为类型、 长度和值 ( TLV, Type Length Value )字段格式。
步骤 102,网络平台的服务器解析富文本消息中富文本展示方式的结构 体, 生成 HTML格式的富文本, 在用户界面展示附带所述 HTML格式的富 文本的富文本消息;
所述 HTML格式的富文本附属在富文本消息的消息体下部; 所述 HTML格式的富文本中包含静态信息;
所述静态信息包括 Pic、 Name, Description字段的内容;
步骤 103, 网络平台的服务器在检测到富文本消息中的富文本被点击 时, 通过所述富文本消息的 ID拉取所述富文本消息中富文本展示方式的结 构体, 按照所述结构体展示富文本;
所述富文本消息的 ID 为网络平台的服务器为所述富文本消息分配的 ID, 属于现有技术。
上述方法中, 所述网络平台的服务器在通过 API接口接收第三方编辑 的富文本消息之后, 通过违规特征库检测富文本消息中富文本展示方式的 结构体的 Url字段内容是否违规,在不违规时在用户界面展示附带富文本的 富文本消息, 在违规时, 在用户界面不展示富文本消息中的富文本;
所述通过违规特征库检测富文本消息中富文本展示方式的结构体的 Url字段内容是否违规为: 检测违规特征库中的特征是否与富文本消息中富 文本展示方式的结构体的 Url字段内容匹配, 在匹配时, 判定为违规, 否则 为不违规;
所述违规特征库为预先建立在网络平台的服务器端, 保存至少一个特 征。
为了实现上述方法, 本发明实施例还提供一种网络平台展示富文本消 息的装置, 该装置位于网络平台的服务器端, 如图 2所示, 该装置包括: 富文本消息接收模块 21、 消息展示模块 22、 富文本展示模块 23; 其中, 富文本消息接收模块 21, 配置为接收第三方编辑的富文本消息, 所述 富文本消息包括富文本展示方式的结构体;
消息展示模块 22,配置为解析富文本消息接收模块 21接收的富文本消 息中富文本展示方式的结构体, 生成 HTML格式的富文本, 在用户界面展 示附带所述 HTML格式的富文本的富文本消息;
富文本展示模块 23, 配置为在所述富文本消息中的富文本被点击时, 通过所述富文本消息的 ID 拉取所述富文本消息中富文本展示方式的结构 体, 按照所述结构体展示富文本;
所述第三方编辑的富文本消息通过 API接口发送到网络平台的服务器; 所述第三方为预先签约使用富文本技术的用户;
所述富文本展示方式包括: iframe方式或 Flash方式等;
所述 iframe方式的结构体包括: Type, Pic, Name, Description和 Url 字段, 其中, Type 字段添加有第三方标识, 用于区分不同的第三方; Pic 字段添加有富文本未展开时的图片; Name 字段添加有富文本消息名称; Description字段添加有富文本消息的描述; Url字段添加有 iframe的地址; 所述 Flash方式的结构体包括: Type, Pic, Name, Description和 Url 字段, 其中, Type 字段添加有第三方类型, 用于区分不同的第三方; Pic 字段添加有富文本未展开时的图片; Name 字段添加有富文本消息名称; Description字段添加有富文本消息的描述; Url字段添加有 Flash的地址; 所述 Type、 Pic, Name, Description和 Url字段由第三方添力口; 所述富文本消息中富文本展示方式的结构体的格式为类型、 长度和值 ( TLV, Type Length Value )字段格式;
所述 HTML 格式的富文本附属在富文本消息的消息体下部, 所述 HTML格式的富文本中包含静态信息, 所述静态信息包括 Pic, Name , Description字段的内容;
该装置还包括: 检测模块 24, 配置为通过违规特征库检测富文本消息 中富文本展示方式的结构体的 Url字段内容是否违规,在不违规时, 向消息 展示模块 22发送在用户界面展示附带富文本的富文本消息的通知, 在违规 时, 向消息展示模块 22发送在用户界面不展示富文本消息中的富文本的通 知。
本发明实施例所述网络平台展示富文本消息的方法, 如果以软件功能 模块的形式实现并作为独立的产品销售或使用时, 也可以存储在一个计算 机可读取存储介质中。 基于这样的理解, 本领域内的技术人员应明白, 本 申请的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本申请可 采用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例 的形式。 而且, 本申请可采用在一个或多个其中包含有计算机可用程序代 码的计算机可用存储介质上实施的计算机程序产品的形式, 所述存储介质 包括但不限于 U盘、 移动硬盘、 只读存储器( ROM, Read-Only Memory )、 随机存取存储器(RAM, Random Access Memory ),磁盘存储器、 CD-ROM、 光学存储器等。
本申请是根据本申请实施例的方法、 设备(系统)、 和计算机程序产品 的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流 程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计 算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于 实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指 定的功能的装置。 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的步骤。
尽管已描述了本申请的优选实施例, 但本领域内的技术人员一旦得知 了基本创造性概念, 则可对这些实施例做出另外的变更和修改。 所以, 所 附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和 修改。
相应的, 本发明实施例还提供一种计算机存储介质, 其中存储有计算 机程序, 该计算机程序用于执行本发明实施例的网络平台展示富文本消息 的方法。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种网络平台展示富文本消息的方法, 包括:
接收第三方的富文本消息, 所述富文本消息包括富文本展示方式的结 构体; 解析所述富文本展示方式的结构体, 生成超文本标记语言 (HTML ) 格式的富文本, 将附带所述 HTML格式的富文本的富文本消息在用户界面 展示;
当所述富文本消息中的富文本被点击时, 通过所述富文本消息的 ID拉 取所述富文本展示方式的结构体, 进行富文本展示。
2、 根据权利要求 1所述的方法, 其中, 该方法还包括: 通过 API接口 接收所述第三方的富文本消息。
3、 根据权利要求 1所述的方法, 其中, 所述富文本展示方式包括: 框 架(iframe ) 方式或动画 (Flash )方式。
4、根据权利要求 3所述的方法,其中,所述 iframe方式的结构体包括: 类型 (Type )、 图片 (Pic )、 名称(Name )、 描述(Description )和统一资源 定位符(Url )字段, 其中, Type字段添加有第三方标识, 用于区分不同的 第三方; Pic字段添加有富文本未展开时的图片; Name字段添加有富文本 消息名称; Description字段添加有富文本消息的描述; Url字段添加有 iframe 的地址;
所述 Flash方式的结构体包括: Type, Pic, Name, Description和 Url 字段, 其中, Type 字段添加有第三方类型, 用于区分不同的第三方; Pic 字段添加有富文本未展开时的图片; Name 字段添加有富文本消息名称; Description字段添加有富文本消息的描述; Url字段添加有 Flash的地址。
5、 根据权利要求 1所述的方法, 其中, 所述富文本展示方式的结构体 的格式为类型、 长度和值(TLV ) 字段格式。
6、 根据权利要求 1所述的方法, 其中, 该方法还包括: 在接收第三方 的富文本消息之后, 通过违规特征库检测富文本消息中富文本展示方式的 结构体的 Url字段内容是否违规,在不违规时,将附带富文本的富文本消息 在用户界面展示。
7、一种网络平台展示富文本消息的装置, 包括: 富文本消息接收模块、 消息展示模块、 富文本展示模块; 其中,
富文本消息接收模块, 配置为接收第三方的富文本消息, 所述富文本 消息包括富文本展示方式的结构体;
消息展示模块, 配置为解析富文本消息接收模块接收的富文本消息中 富文本展示方式的结构体, 生成 HTML格式的富文本, 在用户界面展示附 带所述 HTML格式的富文本的富文本消息;
富文本展示模块, 配置为在所述富文本消息中的富文本被点击时, 通 过所述富文本消息的 ID拉取富文本展示方式的结构体, 进行富文本展示。
8、根据权利要求 7所述的装置,其中,所述富文本展示方式包括: iframe 方式或 Flash方式。
9、根据权利要求 8所述的装置,其中,所述 iframe方式的结构体包括: Type, Pic, Name, Description和 Url字段, 其中, Type字段添加有第三方 标识,用于区分不同的第三方; Pic字段添加有富文本未展开时的图片; Name 字段添加有富文本消息名称; Description 字段添加有富文本消息的描述; Url字段添加有 iframe的地址;
所述 Flash方式的结构体包括: Type, Pic, Name, Description和 Url 字段, 其中, Type 字段添加有第三方类型, 用于区分不同的第三方; Pic 字段添加有富文本未展开时的图片; Name 字段添加有富文本消息名称; Description字段添加有富文本消息的描述; Url字段添加有 Flash的地址。
10、 根据权利要求 7所述的装置, 其中, 所述装置进一步包括: 检测模块, 配置为通过违规特征库检测富文本消息中富文本展示方式 的结构体的 Url字段内容是否违规,在不违规时, 向消息展示模块发送在用 户界面展示附带富文本的富文本消息的通知。
11、 一种计算机存储介质, 其中存储有计算机程序, 该计算机程序用 于执行所述权利要求 1至 6任一项所述的网络平台展示富文本消息的方法。
PCT/CN2013/085522 2012-11-14 2013-10-18 网络平台展示富文本消息的方法、装置和计算机存储介质 WO2014075535A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/709,381 US20150244661A1 (en) 2012-11-14 2015-05-11 Method and apparatus for displaying rich text message on network platform, and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210456926.2A CN103809952B (zh) 2012-11-14 2012-11-14 一种网络平台展示富文本消息的方法和装置
CN201210456926.2 2012-11-14

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/709,381 Continuation US20150244661A1 (en) 2012-11-14 2015-05-11 Method and apparatus for displaying rich text message on network platform, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2014075535A1 true WO2014075535A1 (zh) 2014-05-22

Family

ID=50706788

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085522 WO2014075535A1 (zh) 2012-11-14 2013-10-18 网络平台展示富文本消息的方法、装置和计算机存储介质

Country Status (3)

Country Link
US (1) US20150244661A1 (zh)
CN (1) CN103809952B (zh)
WO (1) WO2014075535A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309312A (zh) * 2018-12-10 2020-06-19 阿里巴巴集团控股有限公司 富文本对象的编辑方法、装置、终端设备及计算机存储介质
CN115526160A (zh) * 2022-10-21 2022-12-27 广州市玄武无线科技股份有限公司 富文本处理方法、装置、设备及存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306233B (zh) 2014-06-19 2021-01-22 中兴通讯股份有限公司 终端管理方法及系统、服务器、终端
CN105843789A (zh) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 富文本监听方法和装置
CN107786544B (zh) * 2017-09-29 2018-08-17 贵州白山云科技有限公司 一种消息的任务状态处理方法及系统
CN109582833B (zh) * 2018-11-06 2023-09-22 创新先进技术有限公司 异常文本检测方法及装置
CN111523065B (zh) * 2019-02-02 2023-04-25 阿里巴巴集团控股有限公司 富文本数据处理方法、装置、电子设备及计算机存储介质
CN112311661B (zh) * 2020-11-24 2023-09-26 腾讯科技(深圳)有限公司 消息处理方法、装置、设备及存储介质
CN114339628B (zh) * 2021-12-27 2023-07-04 中国农业银行股份有限公司 5g富媒体消息发送方法、设备、存储介质及产品

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662928A (zh) * 2012-03-28 2012-09-12 福建榕基软件股份有限公司 带文档导入的富文本编辑方法及装置
CN102708160A (zh) * 2012-04-24 2012-10-03 深圳供电局有限公司 题库建立方法和装置

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6594686B1 (en) * 2000-03-02 2003-07-15 Network Associates Technology, Inc. Obtaining user responses in a virtual execution environment
US6731598B1 (en) * 2000-09-28 2004-05-04 Telefonaktiebolaget L M Ericsson (Publ) Virtual IP framework and interfacing method
US7966374B2 (en) * 2002-07-01 2011-06-21 Profiliq Software Inc. Adaptive media messaging, such as for rich media messages incorporating digital content
US7873663B2 (en) * 2004-01-13 2011-01-18 International Business Machines Corporation Methods and apparatus for converting a representation of XML and other markup language data to a data structure format
US9106694B2 (en) * 2004-04-01 2015-08-11 Fireeye, Inc. Electronic message analysis for malware detection
US7620996B2 (en) * 2004-11-01 2009-11-17 Microsoft Corporation Dynamic summary module
US7627592B2 (en) * 2004-12-16 2009-12-01 Microsoft Corporation Systems and methods for converting a formatted document to a web page
US7853535B2 (en) * 2006-12-27 2010-12-14 Colella Brian A System for secure internet access for children
WO2009026727A2 (en) * 2007-08-31 2009-03-05 Tree Technologies Inc. System and method for the automated creation of a virtual publication
CN101588317A (zh) * 2008-05-19 2009-11-25 北京亿企通信息技术有限公司 一种网站消息动态发布的方法
CN101478415B (zh) * 2009-01-15 2012-07-04 腾讯科技(深圳)有限公司 互动信息传递方法及系统
CN102299867B (zh) * 2010-06-24 2016-03-30 腾讯科技(深圳)有限公司 一种创建独立消息页的方法及装置
US8875057B2 (en) * 2010-08-26 2014-10-28 Macroview Business Technology Pty Limited Document management framework
CN102591870B (zh) * 2011-01-11 2016-10-05 腾讯科技(深圳)有限公司 基于微博的富媒体导出方法、微博终端及微博服务器端

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662928A (zh) * 2012-03-28 2012-09-12 福建榕基软件股份有限公司 带文档导入的富文本编辑方法及装置
CN102708160A (zh) * 2012-04-24 2012-10-03 深圳供电局有限公司 题库建立方法和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309312A (zh) * 2018-12-10 2020-06-19 阿里巴巴集团控股有限公司 富文本对象的编辑方法、装置、终端设备及计算机存储介质
CN111309312B (zh) * 2018-12-10 2023-04-25 阿里巴巴集团控股有限公司 富文本对象的编辑方法、装置、终端设备及计算机存储介质
CN115526160A (zh) * 2022-10-21 2022-12-27 广州市玄武无线科技股份有限公司 富文本处理方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN103809952A (zh) 2014-05-21
CN103809952B (zh) 2018-07-27
US20150244661A1 (en) 2015-08-27

Similar Documents

Publication Publication Date Title
WO2014075535A1 (zh) 网络平台展示富文本消息的方法、装置和计算机存储介质
US11120195B2 (en) Resource size-based content item selection
CA2830622C (en) Synchronizing digital content
JP2013530436A5 (zh)
EP2579523B1 (en) Method and device for displaying instant messaging messages
US10891038B1 (en) Cloud-based tool for creating video interstitials
US20200412675A1 (en) Network based data traffic latency reduction
WO2013139223A1 (zh) 邮件的信息提示方法及装置
US8856253B2 (en) Method and system for presenting reposted message
CN104052714B (zh) 多媒体信息的推送方法及服务器
JP2011530126A5 (zh)
JP2012529117A5 (zh)
WO2018000840A1 (zh) 一种通知栏展示方法、装置及电子设备
WO2013111028A1 (en) Web application content mapping
CN104080016B (zh) 一种浏览器中进行音视频信息显示的方法和装置
TWI680657B (zh) 一種微信h5傳播監測分析方法及相關設備
JP2011513840A5 (zh)
WO2008092398A1 (fr) Procédé, serveur web et système pour suivre le comportement d'un utilisateur du web
KR101994564B1 (ko) 사용자 인증 방법 및 장치
CN103530351A (zh) 一种网络数据信息的搜索方法
JP5899329B2 (ja) ウェブサイト更新イベントへの応答方法及びシステム
US20100023583A1 (en) Efficient Presentation of Related Messages in a Computer Network-Based Messaging System
JP5516264B2 (ja) アンケート調査装置及びアンケート調査方法
JP7351469B1 (ja) ウェブページ提供システム、ウェブページ提供方法、およびコンピュータプログラム
CN103684995B (zh) 网络群体中业务特性展示、群发消息展示方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13855932

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 25.09.2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13855932

Country of ref document: EP

Kind code of ref document: A1