WO2013091550A1 - 发布微博消息的方法及装置 - Google Patents

发布微博消息的方法及装置 Download PDF

Info

Publication number
WO2013091550A1
WO2013091550A1 PCT/CN2012/087000 CN2012087000W WO2013091550A1 WO 2013091550 A1 WO2013091550 A1 WO 2013091550A1 CN 2012087000 W CN2012087000 W CN 2012087000W WO 2013091550 A1 WO2013091550 A1 WO 2013091550A1
Authority
WO
WIPO (PCT)
Prior art keywords
microblog
text content
characters
picture
module
Prior art date
Application number
PCT/CN2012/087000
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 腾讯科技(深圳)有限公司
Priority to KR1020147016648A priority Critical patent/KR101584675B1/ko
Priority to AP2014007724A priority patent/AP2014007724A0/xx
Publication of WO2013091550A1 publication Critical patent/WO2013091550A1/zh
Priority to US14/289,049 priority patent/US9577965B2/en
Priority to ZA2014/04782A priority patent/ZA201404782B/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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

Definitions

  • the present invention relates to computer communication technologies, and in particular, to a method and apparatus for issuing a microblog message. Background of the invention
  • IM instant messaging
  • Microblogging is a platform for information sharing, dissemination and acquisition based on Weibo user relationships.
  • Weibo users can log in to Weibo through terminal devices such as personal PCs and mobile phones, express their feelings through Weibo messages or pictures, and share them with their own Weibo users.
  • the number of characters included in the microblog message is limited, such as the number of characters is less than 140.
  • the embodiment of the present invention provides a method and apparatus for publishing a microblog message, which reduces user operation complexity and improves the publishing efficiency of the microblog message.
  • An embodiment of the present invention provides a method for publishing a microblog message, the method comprising: acquiring text content input by a user in a microblog text box; and monitoring a publishing operation instruction of the text content;
  • each of the plurality of microblog messages includes a number of characters smaller than a threshold value of the microblog message characters
  • the text content is directly published as a microblog message.
  • An embodiment of the present invention provides an apparatus for issuing a microblog message, where the apparatus includes: an editing module, an obtaining module, a monitoring module, a computing module, a storage module, a determining module, a processing module, and a publishing module, where
  • An editing module configured to receive text content input by a user and issue an operation instruction
  • an acquiring module configured to acquire text content input by the user
  • a calculation module configured to calculate a number of characters of the text content
  • a monitoring module configured to monitor a publishing operation instruction from the user
  • a storage module configured to store a microblog message character threshold; a character threshold,
  • a processing module configured to: when the number of characters of the text content exceeds a threshold value of the number of characters of the microblog message, convert the text content into a picture according to a user's selection, and send the picture to the publishing module; or Deleting the text content into a plurality of microblog messages, and sending the plurality of microblog messages to the publishing module, where each of the plurality of microblog messages includes less characters than The threshold value of the microblog message character number;
  • a publishing module configured to publish the image received from the processing module as microblog information; or issue the plurality of microblog messages received from the processing module.
  • the method and device for publishing a microblog message are used to obtain a text content input by a user in a microblog text box; monitoring a publishing operation instruction of the text content; and calculating the text The number of characters of the content; determining whether the number of characters of the text content exceeds a preset microblog message character threshold: if the number of characters of the text content exceeds the microblog message character threshold, according to the user's selection, Converting the text content into a picture, and publishing the picture as a microblog message; or, splitting the text content into a plurality of microblog messages, and publishing the plurality of microblog messages, wherein the plurality of microblog messages are Each of the microblog messages includes a number of characters smaller than the microblog message character threshold; if the number of characters of the text content does not exceed the microblog message character threshold, the text content is directly used as a microblog message.
  • FIG. 1 is a schematic flowchart of a method for publishing a microblog message according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an apparatus for issuing a microblog message according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for publishing a dedicated message according to an embodiment of the present invention. Mode for carrying out the invention
  • the microblog client when the user needs to send the edited text information as a microblog message to the microblog, since the number of characters corresponding to one character is determined, the microblog client automatically obtains the number of characters of the microblog information. If the number of characters exceeds the preset number of characters threshold, the text information is automatically split, multiple pieces of microblog messages are generated, and the plurality of microblog messages are published.
  • the microblog client can also convert the text information edited by the user into a picture by using the text-to-picture technology, and then post the microblog information in the form of a picture.
  • all the text information edited by the user is included in the microblog information in the form of a picture, instead of being divided into a plurality of text forms of microblog information, other users can browse the complete text information according to the received picture, without having to browse through the articles one by one.
  • the microblog information can effectively enhance the user's Weibo business experience.
  • the microblog client may be a client installed to the terminal, or may be a client directly accessed through the web.
  • the Weibo client is a client directly accessed through the web as an example.
  • This specialized third party can be a website for converting text to images, for example, changweibo.com.
  • the user enters the website, enters text information in the text box displayed in the specific conversion interface, and clicks the "convert to picture” control below the text box in the specific conversion interface, and can convert the text information in the text box into a plain text picture. .
  • the user clicks on the "Converted Image Link” control to store the converted image to a specified location, for example, to a local disk.
  • the user logs in to the microblog interface, reads the converted picture from the local disk, and posts a microblog message including the picture.
  • the user if the user uses the text-to-picture process to post the microblog message, the user needs to post a microblog message with more than 140 characters.
  • the first operation is complicated: First, the user must log in to the website of changweibo.com to perform text. Information editing, and convert the edited text information into a picture; Secondly, the user needs to save the converted text picture to the local disk; finally, the user also needs to log in to the microblog, write the microblog message title, and insert the text in the microblog. After the picture, post a special message.
  • the text-to-picture tool is integrated into the IM tool, so that the interface window of the micro-blog in the IM tool includes a text-to-picture tool.
  • the user can directly edit and publish the microblog message through the text-to-picture tool of Weibo without performing frequent operations.
  • the integration of the IM software program and the text-to-picture tool program in the program editing is a common technical means for the technical programmers in the art, and will not be described here.
  • FIG. 1 is a schematic flowchart of a method for publishing a microblog message according to an embodiment of the present invention. Referring to Figure 1, the process includes the following steps.
  • Step 101 Obtain the text content input by the user in the microblog text box, monitor the publishing operation instruction of the text content, and calculate the number of characters of the text content input in the microblog text box.
  • a text-to-picture tool is installed in the microblog client, and a text-to-picture tool is displayed in the interface window of the microblog.
  • the user logs in to Weibo and enters and edits the text content to be published in the text box of the presentation. At this point, the user does not have to consider the number of characters contained in the text content.
  • the microblog client monitors the distribution operation instructions of the microblog text content (eg, "Publish”, "OK”, etc.), and counts the number of characters contained in the text information.
  • the microblog client monitors the microblog text content release operation instructions including:
  • the "Publish” control or the “OK” control the client monitors the user to click the "Publish” control or "OK” control operation, and confirm that the text content to be published is edited.
  • chart information can also be inserted in the edited text content.
  • Step 102 Determine whether the number of characters of the input text content exceeds a preset microblog message character threshold: if the number of characters of the input text content exceeds a preset microblog message character threshold, the input text content is converted into a picture, publishing a microblog message in the form of an image, or splitting the input text content into a plurality of text-specific messages, and publishing the plurality of microblog messages; if the number of characters of the input text content does not exceed a preset micro Bo The number of message characters is thresholded, and the input text content is directly published as a microblog message.
  • the threshold value of the microblog message character is 140 characters. If the text content of the statistical text does not exceed 140, the same as the existing process processing, directly publishing the text form micro Bo news. If the number of characters counted exceeds the pre-set microblog message character threshold, the text content is processed according to a preset publishing policy, and the processed text content is published as a microblog message. As a microblog message release, the following two methods are included.
  • the text content input by the user is split into multiple microblog messages, and the text content in each microblog message includes no more than the number of characters of the microblog message character, and then the split is sequentially released. Multiple microblog messages.
  • the text content is subjected to text-to-picture processing to generate a text picture, and the generated text picture is published as a microblog message.
  • the sentence is divided into units in the text content, for example, the period, the exclamation point, the semicolon, and the like included in the text content are the end marks of a microblog message, of course.
  • the splitting may also be performed in units of 140 characters, so that the number of characters of other microblog messages except the last one is 140.
  • the generated picture may not be stored; or, after the text content is converted into a picture, the buffer is cached, and after the picture is published as the microblog information, Automatically delete cached images. In this way, the required storage space can be effectively reduced.
  • FIG. 2 is a schematic structural diagram of an apparatus for issuing a microblog message according to an embodiment of the present invention.
  • the device includes: an editing module, an obtaining module, a monitoring module, a computing module, a storage module, a determining module, a processing module, and a publishing module, where An editing module, configured to receive text content input by a user and issue an operation instruction; and an acquiring module, configured to acquire text content input by the user;
  • a calculation module configured to calculate a number of characters of a text content input by the user
  • a monitoring module configured to monitor a release operation instruction from a user
  • a storage module configured to store a microblog message character threshold
  • the monitoring module monitors whether the user clicks on the preset "release” control, and if the user clicks the "publish” control, the user finishes editing the text information;
  • a judging module configured to determine whether the number of characters of the input text content exceeds a preset microblog message character threshold
  • a processing module configured to process text content input by a user
  • a publishing module is configured to post the processed text content as microblog information.
  • the apparatus further includes: a selecting module, configured to determine, according to the user's selection, whether to convert the text content input by the user into a picture.
  • the processing module (not shown) includes:
  • a picture conversion unit configured to convert the input text content into a picture, obtain a first sentence of the text content, and send the picture with the title to the publishing module as the title of the picture;
  • a text splitting unit configured to split the input text content into a plurality of microblog messages, each microblog message includes a number of words that does not exceed a microblog message character threshold, and sequentially splits the plurality of microblogs The message is sent to the publishing module.
  • FIG. 3 is a schematic flowchart of a method for publishing a microblog message according to an embodiment of the present invention. Referring to Figure 3, the process includes the following steps.
  • Step 301 The user inputs text content in the microblog text box.
  • step 302 the user logs in to the microblog, and directly inputs or pastes the text content in the microblog text box to edit the text information.
  • step 302 the user completes the input of the text content, and clicks the "Publish" control.
  • Step 303 Count the number of characters included in the text content edited by the user.
  • the Weibo client counts the amount of microblog text information in the microblog text box, that is, the number of characters contained in the text content.
  • Step 304 The microblog client determines whether the number of characters exceeds the set microblog message character threshold. If yes, go to step 305. Otherwise, go to step 311.
  • the threshold of the number of microblog messages is 140 characters. If the number of characters in the text edited by the user exceeds the threshold of the number of microblog messages set, it indicates that the text information needs to be processed before being published.
  • Step 305 Prompt the user whether to post the microblog message in the form of a picture.
  • the microblog text information exceeds 140 characters, and the selection prompt information is popped up to the user, for example, prompting the user whether to post a microblog message in the form of a picture or publishing multiple pieces of microblog messages.
  • step 306 the user's selection is received. If the user selects to use the text picture to perform the distribution, step 307 is performed. Otherwise, step 312 is performed.
  • Step 307 Perform text-to-picture processing on the input text content to generate a picture.
  • the method further includes:
  • Step 308 the picture is published as a microblog message.
  • Step 311 Publish the text content input by the user as a special message.
  • Step 312 Split the input text content into a plurality of microblog messages that do not exceed the threshold value of the microblog message character number, and sequentially release the split multiple microblog messages.
  • the input text content is split into multiple pieces of microblog messages conforming to the standard information amount (the microblog message character threshold), and the microblog message is in the text content according to the microblog message.
  • the standard information amount the microblog message character threshold
  • the method and device for publishing a microblog message automatically counts the number of characters included in the text content input by the user, and automatically performs the text content if the number of characters exceeds the threshold value of the set microblog message character number.
  • Split generate multiple microblog messages, or automatically convert the text content into text processing, and generate microblog messages in the form of images.
  • the user does not need to manually split the microblog message and perform frequent operations to publish the microblog message, which reduces the user operation complexity, improves the publishing efficiency of the microblog message, and solves the limitation of the text information input by the microblog.
  • the user's troubles when publishing a large amount of text information to Weibo also streamline the series of steps that users need to use a lot of text information to convert a large amount of text information into a picture, and then publish it to Weibo, which greatly enhances the user's Publish text messages to Weibo.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种发布微博消息的方法及装置。该方法包括:获取用户在微博文本框中输入的文本内容;监视文本内容的发布操作指令;计算文本内容的字符数;判断文本内容的字符数是否超过预先设置的微博消息字符数阈值:如果文本内容的字符数超过微博消息字符数阈值,根据用户的选择,将文本内容转换成图片,将图片作为微博消息发布;或者,将文本内容分拆成多条微博消息,发布该多条微博消息,该多条微博消息中的每一条微博消息包括的字符数小于微博消息字符数阈值;如果文本内容的字符数未超过微博消息字符数阈值,则直接将文本内容作为微博消息发布。应用本发明,可以降低用户操作复杂度、提高微博消息的发布效率。

Description

发布微博消息的方法及装置
技术领域
本发明涉及计算机通信技术, 特别涉及一种发布微博消息的方法及 装置。 发明背景
随着计算机网络通信技术的发展, 通过点对点的技术来实现互联网 上的即时沟通的即时通信(IM, Instant Messaging )工具应用越来越普 遍, IM 工具已经被大多数的用户所接受并成为用户日常生活以及工作 中必不可少的一部分, 用户通过 IM软件, 可以实现与朋友、 同事以及 同学之间的交流与沟通。
微型博客(微博)作为 IM工具应用的一部分, 是一个基于微博用 户关系的信息分享、 传播以及获取平台。 微博用户可以通过个人 PC、 移动电话等终端设备登录微博, 通过微博消息或者图片来表达自己情 感, 与关注自己的微博用户分享。 通常, 微博消息中包括的字符数量是 有限制的, 如字符数量小于 140等。 通过 IM工具提供的微博应用, 可 以实现个人信息即时发布以及微博用户间互动, 是目前发展最为迅猛的 互联网业务。
由上述可见, 在现有发布微博消息的方法中, 由于要求每条微博消 息包括的字符的数量小于 140, 用户没有足够的文字空间表达自己的情 感, 而如果用户需要完全分享自己的情感, 则需要通过在编辑每条微博 消息时, 控制其不超过 140个字符, 在发布一条微博消息后, 再重新编 辑另一条微博消息, 如此循环, 直至完全表达出自己的情感。 可见, 在 现有的发布微博消息方法中, 当用户需要发布的微博包括较多字符时, 发布微博所需的时间较长, 流程较为复杂, 需要用户频繁操作, 发布效 率低下, 降低了用户的微博业务体验。 发明内容
有鉴于此, 本发明实施例提出了一种发布微博消息的方法和装置, 降低用户操作复杂度、 提高微博消息的发布效率。
本发明实施例提供了一种发布微博消息的方法, 该方法包括: 获取用户在微博文本框中输入的文本内容; 监视所述文本内容的发 布操作指令;
计算所述文本内容的字符数; 判断所述文本内容的字符数是否超过 预先设置的微博消息字符数阈值:
如果所述文本内容的字符数超过所述微博消息字符数阈值, 根据用 户的选择,将所述文本内容转换成图片,将所述图片作为微博消息发布; 或者, 将所述文本内容分拆成多条微博消息, 发布所述多条微博消息, 所述多条微博消息中的每一条微博消息包括的字符数小于所述微博消 息字符数阈值;
如果所述文本内容的字符数未超过所述微博消息字符数阈值, 则直 接将所述文本内容作为微博消息发布。
本发明实施例提供了一种发布微博消息的装置, 该装置包括: 编辑 模块、 获取模块、 监视模块、 计算模块、 存储模块、 判断模块、 处理模 块以及发布模块, 其中,
编辑模块, 用于接收用户输入的文本内容和发布操作指令; 获取模块, 用于获取所述用户输入的文本内容;
计算模块, 用于计算所述文本内容的字符数;
监视模块, 用于监视来自所述用户的发布操作指令; 存储模块, 用于存储微博消息字符数阈值; 字符数阈值,
处理模块, 用于当所述文本内容的字符数超过所述微博消息字符数 阈值时, 根据用户的选择, 将所述文本内容转换成图片, 将所述图片发 送给所述发布模块; 或者, 将所述文本内容分拆成多条微博消息, 将所 述多条微博消息发送给所述发布模块, 所述多条微博消息中的每一条微 博消息包括的字符数小于所述微博消息字符数阈值;
发布模块, 用于将从所述处理模块接收的图片作为微博信息发布; 或者发布所述从所述处理模块接收的多条微博消息。
由上述的技术方案可见, 应用本发明实施例提供的发布微博消息的 方法及装置, 获取用户在微博文本框中输入的文本内容; 监视所述文本 内容的发布操作指令;计算所述文本内容的字符数; 判断所述文本内容 的字符数是否超过预先设置的微博消息字符数阈值: 如果所述文本内容 的字符数超过所述微博消息字符数阈值, 根据用户的选择, 将所述文本 内容转换成图片, 将所述图片作为微博消息发布; 或者, 将所述文本内 容分拆成多条微博消息, 发布所述多条微博消息, 所述多条微博消息中 的每一条微博消息包括的字符数小于所述微博消息字符数阈值;如果所 述文本内容的字符数未超过所述微博消息字符数阈值, 则直接将所述文 本内容作为微博消息发布。 这样, 在待分享的微博消息中的字符数超过 微博消息字符数阈值时,通过自动统计字符数,按照发布策略进行处理, 无需用户手动拆分微博消息并进行频繁操作以发布微博消息, 降低了用 户操作复杂度, 节约了时间, 提高了微博消息的发布效率, 解决了由于 微博对文字信息输入量进行限制而导致的用户在发布大量文字信息到 微博时所遇到的困扰, 也筒化了用户使用其他产品将大量文字信息转换 成图片, 再发布到微博所需要操作的一系列步骤, 大大提升了用户在发 布文字信息到微博的使用体验。 附图简要说明
图 1为本发明实施例的发布微博消息的方法流程示意图。
图 2为本发明实施例的发布微博消息的装置结构示意图。
图 3为本发明实施例的发布 專消息的方法具体流程示意图。 实施本发明的方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图及 具体实施例对本发明作进一步地详细描述。
本发明实施例中, 当用户需要将编辑完的文字信息作为微博消息发 布到微博时, 由于一个文字对应的字符数是确定的, 微博客户端通过自 动检测获取微博信息的字符数。 如果该字符数超过预先设置的字符数阈 值, 则自动拆分文字信息, 生成多条微博消息, 并发布该多条微博消息。
本发明实施例中, 微博客户端还可以将用户编辑的文字信息通过文 字转图片技术转换为图片, 之后以图片的方式发布微博信息。 这样, 用 户编辑的全部文字信息都包括在一条图片形式的微博信息中, 而不是被 分成多条文字形式的微博信息, 其他用户可以根据接收的图片浏览完整 的文字信息, 无需逐条浏览多条微博信息, 可以有效提升用户的微博业 务体验。
在本实施例中, 微博客户端可以是安装到终端的客户端, 也可以是 直接通过 web访问的客户端。 在下面的描述中, 以微博客户端是直接通 过 web访问的客户端为例进行说明。
在现有技术中, 通常需要专门的第三方协助, 才能将文字信息转换 为图片。 该专门的第三方可以是用于将文字转换为图片的网站, 例如, changweibo.com。 用户进入该网站, 在特定转换界面展示的文本框中输 入文字信息, 点击该特定转换界面中文本框下方的 "转换为图片"控件, 可以将文本框中的文字信息转换成一张纯文本的图片。 然后, 用户点击 "转换成的图片链接" 控件, 将转换成的图片存储到指定位置, 例如, 存储至本地磁盘。 最后, 用户登录微博界面, 从本地磁盘读取该转换成 的图片, 并发布包括该图片的微博消息。
本发明实施例中,如果用户采用如上文字转图片流程发布微博消息, 将使得用户发布一段超过 140文字的微博消息的所需操作较为复杂: 首 先, 用户必须登录 changweibo.com网站, 进行文字信息编辑, 并将编辑 的文字信息转换成图片; 其次, 用户需要将转换成的文字图片保存到本 地磁盘; 最后, 用户还需要登录微博, 书写微博消息标题, 并在微博中 插入文字图片后, 发布 專消息。 而且, 由于需要登录 changweibo.com 网站进行文字转图片处理,如果 changweibo.com网站故障或网络通信不 通畅, 将无法正常执行将文字转换成图片的流程。
基于上述分析, 本发明实施例中, 通过在 IM工具中嵌入文字转图 片工具, 即将文字转图片工具整合在 IM工具中,使得 IM工具中的微博 的界面窗中包含有文字转图片工具, 这样, 用户可以直接通过微博的文 字转图片工具进行微博消息的编辑与发布, 无需执行频繁操作。 关于在 IM工具中嵌入文字转图片工具,在程序编辑上实现 IM软件程序以及文 字转图片工具程序的整合, 对于本领域的技术编程人员来说, 属于惯用 的技术手段, 在此不再赘述。 在本实施例中, 微博客户端作为 IM工具 的应用, 因此文字转图片工具可以直接整合在 IM工具中。 在应用本发 明实施例时, 博客户端也可以独立于 IM工具, 此时可以将文字转图 片工具整合在微博客户端中, 并不影响本发明实施例的应用。 图 1为本发明实施例的发布微博消息的方法流程示意图。 参见图 1 , 该流程包括如下步骤。
步骤 101 , 获取用户在微博文本框中输入的文本内容, 监视文本内 容的发布操作指令, 计算微博文本框中输入的文本内容的字符数。
本步骤中, 微博客户端中安装有文字转图片工具, 并在微博的界面 窗口中展示文字转图片工具。 用户登录微博, 在展示的文本框中输入并 编辑待发布的文字内容。 此时, 用户无需考虑文字内容包含的字符数。 在用户编辑完待发布的文本内容后, 微博客户端监视微博文本内容的发 布操作指令(如: "发布", "确定 "等等), 统计文字信息包含的字符数。
待发布的文本内容编辑完毕后, 微博客户端监视微博文本内容的发 布操作指令包括:
监测用户是否触发界面窗口中的 "发布" 控件或者 "确定" 控件, 如果用户触发了界面窗口中的 "发布" 控件或者 "确定" 控件, 确认待 发布的文本内容编辑完毕。
本步骤中, 在编辑完待发布的文本内容后, 用户点击文本框下方的
"发布" 控件或者 "确定" 控件, 客户端监测到用户点击 "发布" 控件 或者 "确定" 控件的操作后, 确认待发布的文本内容编辑完毕。
进一步地, 还可以在编辑的文本内容中插入图表信息。
关于文本内容中字、 词、 标点符号等包含的字符数, 具体可参见相 关技术文献, 在此不再赘述。
步骤 102, 判断输入的文本内容的字符数是否超过预先设置的微博 消息字符数阈值: 如果输入的文本内容的字符数超过预先设置的微博消 息字符数阈值, 则将输入的文本内容转换成图片, 发布图片形式的微博 消息, 或者, 将输入的文本内容分拆成多条文字形式的 專消息, 发布 该多条微博消息; 如果输入的文本内容的字符数未超过预先设置的微博 消息字符数阈值 , 则将输入的文本内容直接作为微博消息发布。
本步骤中,对于微博消息来说,微博消息字符数阈值为 140个字符, 如果统计得到的文本内容包含的字符数没有超过 140, 则与现有流程处 理相同, 直接发布文字形式的微博消息。 如果统计的字符数超过预先设 置的微博消息字符数阈值, 按照预先设置的发布策略对文本内容进行处 理, 并将处理后的文本内容作为微博消息发布。 容作为微博消息发布包括以下两种方式。
在第一种方式中, 将用户输入的文本内容拆分多条微博消息, 每条 微博消息中的文本内容包括的字符数不超过微博消息字符数阈值, 之后 依序发布拆分的多条微博消息。
在第二种方式中,将文本内容进行文字转图片处理,生成文字图片, 并将生成的文字图片作为微博消息发布。
在上述第一种方式中, 较佳地, 以文本内容中包含的句子为单位进 行拆分, 例如, 以文本内容中包含的句号、 感叹号、 分号等为一条微博 消息的结束标志, 当然, 实际应用中, 也可以以 140个字符数为单位进 行拆分,使得除最后一条微博消息外的其它微博消息的字符数都为 140。
关于对文本内容进行文字转图片处理, 具体可参见相关技术文献, 在此不再赘述。 本发明实施例中, 在将文本内容转换为图片后, 可以无 需对生成的图片进行存储; 或者, 在将文本内容转换为图片后, 进行緩 存, 并在将该图片作为微博信息发布后, 自动删除緩存的图片。 这样, 可以有效减少所需的存储空间。
图 2为本发明实施例的发布微博消息的装置结构示意图。 参见图 2, 该装置包括: 编辑模块、 获取模块、 监视模块、 计算模块、 存储模块、 判断模块、 处理模块以及发布模块, 其中, 编辑模块, 用于接收用户输入的文本内容和发布操作指令; 获取模块, 用于获取用户输入的文本内容;
计算模块, 用于计算用户输入的文本内容的字符数;
监视模块, 用于监视来自用户的发布操作指令;
存储模块, 用于存储微博消息字符数阈值;
本发明实施例中, 监视模块监测用户是否点击预先设置的 "发布" 控件, 如果用户点击 "发布" 控件, 表明用户编辑文字信息完毕;
判断模块, 用于判断输入的文本内容的字符数是否超过预先设置的 微博消息字符数阈值;
处理模块, 用于处理用户输入的文本内容;
发布模块, 用于将处理后的文本内容作为微博信息发布。
在本发明实施例中, 该装置进一步包括: 选择模块, 用于根据用户 的选择, 确定是否将用户输入的文本内容转换成图片。
该处理模块(图中未示出) 包括:
图片转换单元, 用于将输入的文本内容转换成图片, 获取文本内容 的第一句话,作为该图片的标题,将带有标题的该图片发送给发布模块; 或者
文本拆分单元, 用于将输入的文本内容拆分成多条微博消息, 每条 微博消息包括的字数数不超过微博消息字符数阈值, 并依序将拆分的多 条微博消息发送给发布模块。
图 3为本发明实施例的发布微博消息的方法具体流程示意图。 参见 图 3 , 该流程包括如下步骤。
步骤 301 , 用户在微博文本框中输入文本内容。
本步骤中, 用户登录微博, 在微博文本框中直接输入或粘帖文本内 容, 进行文字信息编辑。 步骤 302, 用户完成文本内容的输入, 点击 "发布" 控件。
本步骤中, 用户在微博文本框中输入文字时, 无需考虑已经输入的 字符数, 可以直接输入全部的文本内容。
步骤 303 , 统计用户编辑的文本内容包含的字符数。
本步骤中, 在监测到用户点击 "发布" 控件后, 微博客户端统计微 博文本框中微博文字信息量, 即文本内容包含的字符数。
步骤 304, 微博客户端判断字符数是否超过设置的微博消息字符数 阈值, 如果是, 执行步骤 305 , 否则, 执行步骤 311。
本步骤中, 微博消息字符数阈值为 140个字符, 如果用户编辑的文 本内容包含的字符数超过设置的微博消息字符数阈值, 表明需要对文字 信息进行处理才能发布。
步骤 305 , 提示用户是否采用图片形式发布微博消息。
本步骤中, 微博文字信息量超过 140个字符, 向用户弹出选择提示 信息, 例如, 提示用户是否发布图片形式的微博消息或发布多条微博消 息。
步骤 306, 接收用户的选择, 如果用户选择采用文字图片的方式进 行发布, 执行步骤 307, 否则, 执行步骤 312。
步骤 307, 将输入的文本内容进行文字转图片处理, 生成一张图片。 本步骤中, 在生成图片后, 进一步包括:
获取文本内容的第一句话, 作为该图片的文字标题。
步骤 308, 将该图片作为微博消息发布。
本步骤中, 将携带文字标题的图片进行发布, 即发布到微博。
步骤 311 , 将用户输入的文本内容作为 專消息发布。
步骤 312, 将输入的文本内容拆分为不超过微博消息字符数阈值的 多条微博消息, 并依序发布拆分的多条微博消息。 本步骤中, 用户选择不采用文字图片进行发布, 则将输入的文本内 容拆分成符合标准信息量(微博消息字符数阈值) 的多条微博消息, 并 按照微博消息在文本内容中的顺序, 依次发布多条微博消息。
由上述可见, 应用本发明实施例的发布微博消息的方法和装置, 通 过自动统计用户输入的文本内容包含的字符数, 如果字符数超过设置的 微博消息字符数阈值, 自动对文本内容进行拆分, 生成多个微博消息, 或者, 自动将文本内容进行文字转图片处理,生成图片形式的微博消息。 这样, 无需用户手动拆分微博消息并进行频繁操作以发布微博消息, 降 低了用户操作复杂度, 提高了微博消息的发布效率, 解决了由于微博对 文字信息输入量进行限制而导致的用户在发布大量文字信息到微博时 所遇到的困扰, 也筒化了用户使用其他产品将大量文字信息转换成图 片, 再发布到微博所需要操作的一系列步骤, 大大提升了用户在发布文 字信息到微博的使用体验。
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换以 及改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种发布微博消息的方法, 其特征在于, 该方法包括: 获取用户在微博文本框中输入的文本内容; 监视所述文本内容的发 布操作指令;
计算所述文本内容的字符数; 判断所述文本内容的字符数是否超过 预先设置的微博消息字符数阈值:
如果所述文本内容的字符数超过所述微博消息字符数阈值, 根据用 户的选择,将所述文本内容转换成图片,将所述图片作为微博消息发布; 或者, 将所述文本内容分拆成多条微博消息, 发布所述多条微博消息, 所述多条微博消息中的每一条微博消息包括的字符数小于所述微博消 息字符数阈值;
如果所述文本内容的字符数未超过所述微博消息字符数阈值, 则直 接将所述文本内容作为微博消息发布。
2、 如权利要求 1所述的方法, 其特征在于, 进一步包括: 预先接收所述用户设置所述选择; 或者
在确定所述文本内容的字符数超过所述微博消息字符数阈值时, 提 示所述用户进行选择, 接收所述用户的选择。
3、如权利要求 1所述的方法, 其特征在于, 所述将所述文本内容转 换成图片, 将所述图片作为微博消息发布包括:
将所述文本内容转换成图片, 将所述文本内容的第一句话作为所述 图片的文字标题, 将所述带有标题的图片作为微博消息发布。
4、如权利要求 1所述的方法, 其特征在于, 所述发布所述多条微博 消息包括:
根据所述多条微博消息对应文本的顺序, 依序发布所述多条微博消 息。
5、如权利要求 1所述的方法, 其特征在于, 所述将所述文本内容分 拆成多条微博消息包括: 以所述文本内容中包含的句子为单位拆分所述 文本内容, 所述句子包括的字符数未超过所述微博消息字符数阈值。
6、一种发布微博消息的装置,其特征在于,该装置包括: 编辑模块、 获取模块、 监视模块、 计算模块、 存储模块、 判断模块、 处理模块以及 发布模块, 其中,
编辑模块, 用于接收用户输入的文本内容和发布操作指令; 获取模块, 用于获取所述用户输入的文本内容;
计算模块, 用于计算所述文本内容的字符数;
监视模块, 用于监视来自所述用户的发布操作指令;
存储模块, 用于存储微博消息字符数阈值; 字符数阈值,
处理模块, 用于当所述文本内容的字符数超过所述微博消息字符数 阈值时, 根据用户的选择, 将所述文本内容转换成图片, 将所述图片发 送给所述发布模块; 或者, 将所述文本内容分拆成多条微博消息, 将所 述多条微博消息发送给所述发布模块, 所述多条微博消息中的每一条微 博消息包括的字符数小于所述微博消息字符数阈值;
发布模块, 用于将从所述处理模块接收的图片作为微博信息发布; 或者发布所述从所述处理模块接收的多条微博消息。
7、 如权利要求 6所述的装置, 其特征在于, 进一步包括: 选择模块, 用于根据用户的选择, 确定是否将所述文本内容转换成 图片。
8、 如权利要求 6所述的装置, 其特征在于, 所述处理模块包括: 图片转换单元, 用于将所述输入的文本内容转换成图片, 获取所述 文本内容的第一句话, 作为所述图片的标题, 将带有所述标题的所述图 片发送给所述发布模块;
文本拆分单元, 用于将输入的的文本内容拆分成多条微博消息, 每 条微博消息包括的字数数不超过微博消息字符数阈值, 并依序将拆分的 所述多条微博消息发送给所述发布模块。
PCT/CN2012/087000 2011-12-20 2012-12-20 发布微博消息的方法及装置 WO2013091550A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020147016648A KR101584675B1 (ko) 2011-12-20 2012-12-20 마이크로-블로그 메시지 포스팅 방법 및 장치
AP2014007724A AP2014007724A0 (en) 2011-12-20 2012-12-20 Method and device for posting microblog message
US14/289,049 US9577965B2 (en) 2011-12-20 2014-05-28 Method and device for posting microblog message
ZA2014/04782A ZA201404782B (en) 2011-12-20 2014-06-25 Method and device for posting microblog message

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110428947.9 2011-12-20
CN2011104289479A CN103176969A (zh) 2011-12-20 2011-12-20 一种分享微博消息的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/289,049 Continuation-In-Part US9577965B2 (en) 2011-12-20 2014-05-28 Method and device for posting microblog message

Publications (1)

Publication Number Publication Date
WO2013091550A1 true WO2013091550A1 (zh) 2013-06-27

Family

ID=48636854

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087000 WO2013091550A1 (zh) 2011-12-20 2012-12-20 发布微博消息的方法及装置

Country Status (6)

Country Link
US (1) US9577965B2 (zh)
KR (1) KR101584675B1 (zh)
CN (1) CN103176969A (zh)
AP (1) AP2014007724A0 (zh)
WO (1) WO2013091550A1 (zh)
ZA (1) ZA201404782B (zh)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104283921A (zh) * 2013-07-08 2015-01-14 腾讯科技(深圳)有限公司 一种微博发布方法及装置
CN103353829B (zh) * 2013-07-17 2018-01-19 广东欧珀移动通信有限公司 快速分享微博的方法及其触屏终端
CN103491176A (zh) * 2013-09-27 2014-01-01 中国地质大学(武汉) 微博自动发布方法及系统
CN103607427B (zh) * 2013-10-30 2017-04-12 小米科技有限责任公司 信息展示方法和装置
CN104123383B (zh) * 2014-08-04 2018-04-10 杭州网易云音乐科技有限公司 一种在媒体应用中使用的方法及装置
CN104331496B (zh) * 2014-11-19 2018-09-18 杭州网易云音乐科技有限公司 图片分享方法和设备
JP6430793B2 (ja) * 2014-11-26 2018-11-28 京セラ株式会社 電子機器
CN105760408B (zh) * 2014-12-19 2020-04-28 华为终端有限公司 图片分享方法、装置和终端设备
CN104766353B (zh) * 2015-04-25 2018-03-30 陈包容 背景中添加文字内容的方法及装置
US10353986B2 (en) * 2015-08-02 2019-07-16 Apple Inc. Automatically dividing text into multiple columns
CN106708415A (zh) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 一种数据处理方法和设备
CN105988665B (zh) * 2016-03-17 2017-06-16 广州阿里巴巴文学信息技术有限公司 信息复制系统、信息复制方法及电子设备
KR101859822B1 (ko) 2016-07-01 2018-05-18 패스 모바일 인크 피티이. 엘티디. 컨텐츠 포스팅 방법 및 포스팅 장치
CN106210857A (zh) * 2016-08-03 2016-12-07 北京金山安全软件有限公司 一种消息显示方法、装置及电子设备
US10003578B2 (en) * 2016-11-01 2018-06-19 Sap Se Anonymous sharing of microblog publication
CN106527876A (zh) * 2016-11-10 2017-03-22 广东工业大学 一种统计网页字数的方法及系统
CN108270829B (zh) * 2016-12-30 2021-08-03 阿里巴巴集团控股有限公司 资源分发处理方法及装置
CN106899755B (zh) * 2017-01-18 2021-02-23 宇龙计算机通信科技(深圳)有限公司 信息分享方法、信息分享装置及终端
CN107506130B (zh) * 2017-07-17 2022-03-04 维沃移动通信有限公司 一种文字删除方法及移动终端
CN110300135A (zh) * 2018-03-22 2019-10-01 北京京东尚科信息技术有限公司 文本内容发送方法、装置、电子设备及存储介质
CN109472833A (zh) * 2018-10-16 2019-03-15 深圳壹账通智能科技有限公司 一种从日志文件中提取图片的方法、存储介质和服务器
CN109683726B (zh) * 2018-12-25 2022-08-05 北京微播视界科技有限公司 字符输入方法、装置、电子设备及存储介质
CN112199924A (zh) * 2019-06-19 2021-01-08 珠海金山办公软件有限公司 一种文本输出为图片的方法和装置

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620622A (zh) * 2009-08-13 2010-01-06 北京用友移动商务科技有限公司 分页方法和装置

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030011488A (ko) 2001-08-03 2003-02-11 주식회사 비즈모델라인 무선통신장치를 이용한 장문 메시지 서비스 시스템
US7643822B2 (en) * 2004-09-30 2010-01-05 Google Inc. Method and system for processing queries initiated by users of mobile devices
KR100732114B1 (ko) * 2005-03-07 2007-06-27 엘지전자 주식회사 휴대단말기에서의 메시지의 사진변환 방법
US8489132B2 (en) * 2005-09-21 2013-07-16 Buckyball Mobile Inc. Context-enriched microblog posting
US20090276500A1 (en) * 2005-09-21 2009-11-05 Amit Vishram Karmarkar Microblog search engine system and method
CN1988512B (zh) * 2005-12-23 2010-10-13 国际商业机器公司 支持基于应用的多媒体消息发送接收的设备、方法和系统
US9094806B2 (en) * 2005-12-23 2015-07-28 International Business Machines Corporation MMS system to support message based applications
MX2008009118A (es) * 2006-01-17 2009-01-29 Send M Ltd Sistema y metodo de mensajes moviles entre multiples origenes y multiples destinos.
CN100525484C (zh) * 2006-03-29 2009-08-05 华为技术有限公司 Cdma电路域实现超长短消息发送的方法
TW201118589A (en) * 2009-06-09 2011-06-01 Ebh Entpr Inc Methods, apparatus and software for analyzing the content of micro-blog messages
JP2011095866A (ja) * 2009-10-28 2011-05-12 Hitachi Ltd ユーザコミュニティ支援装置及び支援方法
AU2010200390A1 (en) * 2009-12-04 2011-06-23 Blades, Dian Ms A method and system to edit textual information entered by a user onto the text entry field used to create a message on a mobile device in creating a message for transmission within a cellular network
US8638781B2 (en) * 2010-01-19 2014-01-28 Twilio, Inc. Method and system for preserving telephony session state
US20110178995A1 (en) * 2010-01-21 2011-07-21 Microsoft Corporation Microblog search interface
US20110231296A1 (en) * 2010-03-16 2011-09-22 UberMedia, Inc. Systems and methods for interacting with messages, authors, and followers
US20120042020A1 (en) * 2010-08-16 2012-02-16 Yahoo! Inc. Micro-blog message filtering
US9317595B2 (en) * 2010-12-06 2016-04-19 Yahoo! Inc. Fast title/summary extraction from long descriptions
CN102164181A (zh) * 2011-04-08 2011-08-24 传聚互动(北京)科技有限公司 基于视频播放平台的微博发布工具
EP2712217B1 (en) * 2011-07-29 2016-07-27 Huawei Device Co., Ltd. Information processing method and mobile terminal
US9152625B2 (en) * 2011-11-14 2015-10-06 Microsoft Technology Licensing, Llc Microblog summarization
US20130159277A1 (en) * 2011-12-14 2013-06-20 Microsoft Corporation Target based indexing of micro-blog content

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620622A (zh) * 2009-08-13 2010-01-06 北京用友移动商务科技有限公司 分页方法和装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"tencent microblog update:converting super-long characters into pictures easily", GENTLER DEPRAVITY *
SING: "[software sharing] Microblog story 1.62 updating,the person who like microblog may try", THE INFORMATIVE ABSTRACT PART, ORIGIN:WEI FENG/IPHONE GAME ? SOFTWARE DISCUSSION AREA, 4 September 2011 (2011-09-04), Retrieved from the Internet <URL:http://bbs.weiphone.com/read-htm-tid-2802136.html> [retrieved on 20130305] *

Also Published As

Publication number Publication date
US20140280652A1 (en) 2014-09-18
KR101584675B1 (ko) 2016-01-12
AP2014007724A0 (en) 2014-06-30
US9577965B2 (en) 2017-02-21
CN103176969A (zh) 2013-06-26
KR20140095567A (ko) 2014-08-01
ZA201404782B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2013091550A1 (zh) 发布微博消息的方法及装置
JP6776411B2 (ja) パケットベースのデータ通信のデバイス識別子依存オペレーション処理
US10291560B2 (en) Integrated real-time email-based virtual conversation
US10491690B2 (en) Distributed natural language message interpretation engine
US20170091717A1 (en) Auto extraction of tasks from unstructured communications such as emails and messages
CN104317787A (zh) 即时通讯终端及其信息翻译方法和装置
EP3068070B1 (en) Method and device for initiating network conference
US20150066935A1 (en) Crowdsourcing and consolidating user notes taken in a virtual meeting
US11126784B2 (en) Methods, systems, and apparatus for email to persistent messaging
US20160255024A1 (en) Systems and methods for managing presentation of message content at user communication terminals
US20120023175A1 (en) Method to Change Instant Messaging Status Based on Text Entered During Conversation
US20170200244A1 (en) Systems and Techniques for Integrating Electronic Signature Platforms with Social Messaging Applications for Authenticated Electronic Documents
WO2018205577A1 (zh) 即时通信应用中的文件发送
CN107533693B (zh) 丰富附件的重新生成
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
US10078627B2 (en) Collaboration cards for communication related to a collaborated document
CN112311654A (zh) 即时通讯消息的处理方法、装置、介质及电子设备
US20160142361A1 (en) Image with audio conversation system and method utilizing social media communications
WO2021093673A1 (zh) 邮件发送方法、装置、设备及计算机可读存储介质
CN104038406A (zh) 信息提醒方法和装置
US20200153781A1 (en) Methods, Systems, and Apparatus for Text to Persistent Messaging
WO2023284630A1 (zh) 一种表情图像添加方法、装置、设备和存储介质
US9385979B1 (en) Customizing posts by activity type and client type
US20170142056A1 (en) Method and electronic devices for processing emails
JP6295539B2 (ja) プログラム、及びツール選択方法

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: 12860527

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20147016648

Country of ref document: KR

Kind code of ref document: A

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, FORM 1205A DATED 05-11-2014

122 Ep: pct application non-entry in european phase

Ref document number: 12860527

Country of ref document: EP

Kind code of ref document: A1