CN106970899A - A kind of text handling method and device - Google Patents

A kind of text handling method and device Download PDF

Info

Publication number
CN106970899A
CN106970899A CN201710321558.3A CN201710321558A CN106970899A CN 106970899 A CN106970899 A CN 106970899A CN 201710321558 A CN201710321558 A CN 201710321558A CN 106970899 A CN106970899 A CN 106970899A
Authority
CN
China
Prior art keywords
text
participle
display
word
word segmentation
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.)
Granted
Application number
CN201710321558.3A
Other languages
Chinese (zh)
Other versions
CN106970899B (en
Inventor
罗永浩
陈子扬
田作辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Original Assignee
Beijing Hammer Numeral Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hammer Numeral Science And Technology Co Ltd filed Critical Beijing Hammer Numeral Science And Technology Co Ltd
Priority to CN201710321558.3A priority Critical patent/CN106970899B/en
Publication of CN106970899A publication Critical patent/CN106970899A/en
Application granted granted Critical
Publication of CN106970899B publication Critical patent/CN106970899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00—Handling natural language data
    • G06F40/30—Semantic analysis
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33—Querying
    • G06F16/3331—Query processing
    • G06F16/334—Query execution
    • G06F16/3344—Query execution using natural language analysis
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00—Handling natural language data
    • G06F40/10—Text processing
    • G06F40/166—Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种文本处理方法,应用于移动终端,包括:显示第一目标文本的第一分词结果;响应于用户的显示更新操作,判断第一分词结果在显示更新操作对应的显示更新方向上是否完整显示;若是,则显示第二目标文本的第二分词结果,第二目标文本在第一目标文本的显示更新方向上。当用户未在当前显示的第一分词结果中找到满意的关键字,则显示第一目标文本在显示更新方向上相邻的第二目标文本的第二分词结果给用户,供用户继续从第二分词结果中选取关键词,无需多余的步骤即可将更多的分词结果显示给用户供其从中选取后续操作所需的关键字,操作过程更加简单便捷,进一步提高了操作的效率。

The embodiment of the present invention discloses a text processing method, which is applied to a mobile terminal, including: displaying the first word segmentation result of the first target text; in response to the user's display update operation, judging that the first word segmentation result is displayed in the display corresponding to the display update operation Whether it is completely displayed in the update direction; if yes, then display the second word segmentation result of the second target text, and the second target text is in the display update direction of the first target text. When the user does not find a satisfactory keyword in the currently displayed first word segmentation result, the second word segmentation result of the second target text adjacent to the first target text in the display update direction is displayed to the user for the user to continue from the second By selecting keywords from the word segmentation results, more word segmentation results can be displayed to the user for them to select the keywords required for subsequent operations without redundant steps. The operation process is simpler and more convenient, and the efficiency of the operation is further improved.

Description

一种文本处理方法及装置A text processing method and device

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种文本处理方法及装置。The invention relates to the field of computer technology, in particular to a text processing method and device.

背景技术Background technique

随着手机的普及,人们每天都会在手机或平板电脑等便携式设备上接收到大量的文本信息。例如,短信、即时通讯类软件或其他软件推送的消息、网页内容和文字新闻等。当人们想要对文本信息中感兴趣的文字内容进行复制、搜索或翻译等操作时,需要首先在文本信息中选中该感兴趣的文字内容,再对选中的文字进行后续的操作,例如,若用户想要查询文本中的生僻字时,一般需要先在该文本中将生僻字选中后复制,再将该生僻字粘贴在字典或网站的查询栏中进行查询,以确定该生僻字的意思和读音等,操作过程繁琐、不便捷。With the popularity of mobile phones, people receive a large amount of text messages on portable devices such as mobile phones or tablet computers every day. For example, text messages, messages pushed by instant messaging software or other software, web content and text news, etc. When people want to copy, search or translate the text content of interest in the text information, they need to select the text content of interest in the text information first, and then perform subsequent operations on the selected text, for example, if When a user wants to query a rare word in a text, he generally needs to select the rare word in the text and then copy it, and then paste the rare word in the dictionary or the query bar of the website for query, so as to determine the meaning and meaning of the rare word. Pronunciation etc., the operation process is loaded down with trivial details, inconvenient.

发明内容Contents of the invention

有鉴于此,本发明提供了一种文本处理方法及装置,能够解决现有技术中对文本信息中感兴趣的内容进行后续操作时操作过程繁琐、操作不便捷的问题。In view of this, the present invention provides a text processing method and device, which can solve the problems in the prior art that the operation process is cumbersome and inconvenient when performing subsequent operations on interesting content in text information.

本发明实施例提供的一种文本处理方法,应用于移动终端,包括:A text processing method provided by an embodiment of the present invention is applied to a mobile terminal, including:

显示第一目标文本的第一分词结果;Display the first word segmentation result of the first target text;

响应于用户的显示更新操作,判断所述第一分词结果在所述显示更新操作对应的显示更新方向上是否完整显示;In response to the user's display update operation, determine whether the first word segmentation result is completely displayed in the display update direction corresponding to the display update operation;

若是,则显示第二目标文本的第二分词结果,所述第二目标文本在所述第一目标文本的所述显示更新方向上。If so, display the second word segmentation result of the second target text, the second target text is in the display update direction of the first target text.

可选的,所述判断所述第一分词结果在所述滑动操作对应的显示更新方向上是否完整显示,具体包括:Optionally, the judging whether the first word segmentation result is completely displayed in the display update direction corresponding to the sliding operation specifically includes:

当所述显示更新方向为上方时,判断当前显示的第一分词结果上方是否存在未显示或未完整显示的第一分词结果;相应的,所述第二目标文本位于所述第一目标文本的上方,且所述第二目标文本与所述第一目标文本相邻;When the display update direction is upward, it is judged whether there is an undisplayed or incompletely displayed first word segmentation result above the currently displayed first word segmentation result; correspondingly, the second target text is located at the top of the first target text above, and the second target text is adjacent to the first target text;

当所述显示更新方向为下方时,判断当前显示的第一分词结果下方是否存在未显示或未完整显示的第一分词结果;相应的,所述第二目标文本位于所述第一目标文本的下方,且所述第二目标文本与所述第一目标文本相邻。When the display update direction is downward, it is judged whether there is an undisplayed or incompletely displayed first word segmentation result below the currently displayed first word segmentation result; correspondingly, the second target text is located at the bottom of the first target text below, and the second target text is adjacent to the first target text.

可选的,所述显示第一目标文本的第一分词结果,之前还包括:Optionally, the displaying the first word segmentation result of the first target text also includes:

响应于用户触发的分词操作,获取所述分词操作的位置信息;Responding to the word segmentation operation triggered by the user, acquiring the location information of the word segmentation operation;

根据所述分词操作的位置信息,确定分词区域,所述分词操作位于所述分词区域内;Determine a word segmentation area according to the position information of the word segmentation operation, and the word segmentation operation is located in the word segmentation area;

识别所述分词区域中的文字,得到所述第一目标文本;identifying the text in the word segmentation area to obtain the first target text;

对所述第一目标文本中的文字进行分词,得到所述第一分词结果。Word segmentation is performed on the words in the first target text to obtain the first word segmentation result.

可选的,所述显示第一目标文本的第一分词结果,具体包括:Optionally, the displaying the first word segmentation result of the first target text specifically includes:

生成分词显示界面,所述分词显示界面包括至少一个视图控件;Generate a word segmentation display interface, the word segmentation display interface includes at least one view control;

逐一在所述视图控件中显示所述第一分词结果的每一个词,一个视图控件中显示所述第一分词结果中的一个词。Each word of the first word segmentation result is displayed in the view control one by one, and one word in the first word segmentation result is displayed in one view control.

可选的,所述显示第一目标文本的第一分词结果,之后还包括:Optionally, the displaying the first word segmentation result of the first target text further includes:

响应于对所述视图控件的选择操作,判断该视图控件中显示的词是否为预设类型的词,所述预设类型的词包括电话号码和/或电子邮箱地址;In response to the selection operation of the view control, it is judged whether the word displayed in the view control is a word of a preset type, and the word of the preset type includes a phone number and/or an email address;

若是,则在该视图控件外显示该预设类型的词所对应的操作功能按键;其中,电话号码对应的操作功能按键包括拨号、发短信、联系方式存储、通话记录查询、复制、分享和搜索中的任意一个或多个,电子邮箱地址对应的操作功能按键包括发邮件、联系方式存储、复制、分享和搜索中的任意一个或多个;If so, the operation function buttons corresponding to the preset type of words are displayed outside the view control; wherein, the operation function buttons corresponding to the phone number include dialing, sending text messages, storing contact information, querying call records, copying, sharing and searching Any one or more of them, and the operation function buttons corresponding to the email address include any one or more of sending email, storing contact information, copying, sharing and searching;

响应于用户对所述操作功能按键的触发,对该视图控件中显示的词执行该操作功能按键对应的操作。In response to the user triggering the operation function key, the operation corresponding to the operation function key is performed on the word displayed in the view control.

本发明实施例提供的一种文本处理装置,应用于移动终端,包括:显示模块和第一判断模块;A text processing device provided by an embodiment of the present invention is applied to a mobile terminal, and includes: a display module and a first judging module;

所述显示模块,用于显示第一目标文本的第一分词结果;The display module is used to display the first word segmentation result of the first target text;

所述第一判断模块,用于响应于用户的显示更新操作,判断所述第一分词结果在所述显示更新操作对应的显示更新方向上是否完整显示;The first judging module is configured to, in response to a user's display update operation, judge whether the first word segmentation result is completely displayed in the display update direction corresponding to the display update operation;

所述显示模块,还用于当所述第一判断模块的判断结果为是时,显示第二目标文本的第二分词结果,所述第二目标文本在所述第一目标文本的所述显示更新方向上。The display module is also used to display the second word segmentation result of the second target text when the judgment result of the first judgment module is yes, and the second target text is displayed in the first target text. update direction.

可选的,所述第一判断模块,具体包括:第一判断子模块和第二判断子模块;Optionally, the first judging module specifically includes: a first judging submodule and a second judging submodule;

所述第一判断子模块,用于当所述显示更新方向为上方时,判断当前显示的第一分词结果上方是否存在未显示或未完整显示的第一分词结果;相应的,所述第二目标文本位于所述第一目标文本的上方,且所述第二目标文本与所述第一目标文本相邻;The first judging submodule is used to judge whether there is an undisplayed or incompletely displayed first word segmentation result above the currently displayed first word segmentation result when the display update direction is upward; correspondingly, the second The target text is located above the first target text, and the second target text is adjacent to the first target text;

所述第二判断子模块,用于当所述显示更新方向为下方时,判断当前显示的第一分词结果下方是否存在未显示或未完整显示的第一分词结果;相应的,所述第二目标文本位于所述第一目标文本的下方,且所述第二目标文本与所述第一目标文本相邻。The second judging submodule is used to judge whether there is an undisplayed or incompletely displayed first word segmentation result below the currently displayed first word segmentation result when the display update direction is downward; correspondingly, the second The target text is located below the first target text, and the second target text is adjacent to the first target text.

可选的,还包括:获取模块、确定模块、识别模块和分词模块;Optionally, it also includes: an acquisition module, a determination module, a recognition module and a word segmentation module;

所述获取模块,用于响应于用户触发的分词操作,获取所述分词操作的位置信息;The acquiring module is configured to acquire the position information of the word segmentation operation in response to the word segmentation operation triggered by the user;

所述确定模块,用于根据所述分词操作的位置信息,确定分词区域,所述分词操作位于所述分词区域内;The determining module is configured to determine a word segmentation area according to the position information of the word segmentation operation, and the word segmentation operation is located in the word segmentation area;

所述识别模块,用于识别所述分词区域中的文字,得到所述第一目标文本;The identification module is configured to identify the text in the word segmentation area to obtain the first target text;

所述分词模块,用于对所述第一目标文本中的文字进行分词,得到所述第一分词结果。The word segmentation module is configured to perform word segmentation on the words in the first target text to obtain the first word segmentation result.

可选的,所述显示模块,具体包括:界面生成子模块和显示子模块;Optionally, the display module specifically includes: an interface generation submodule and a display submodule;

所述界面生成子模块,用于生成分词显示界面,所述分词显示界面包括至少一个视图控件;The interface generation submodule is used to generate a word segmentation display interface, and the word segmentation display interface includes at least one view control;

所述显示子模块,用于逐一在所述视图控件中显示所述第一分词结果的每一个词,一个视图控件中显示所述第一分词结果中的一个词。The display submodule is configured to display each word of the first word segmentation result in the view control one by one, and one view control displays a word in the first word segmentation result.

可选的,还包括:第二判断模块和执行模块;Optionally, it also includes: a second judgment module and an execution module;

所述第二判断模块,用于响应于对所述视图控件的选择操作,判断该视图控件中显示的词是否为预设类型的词,所述预设类型的词包括电话号码和/或电子邮箱地址;The second judging module is configured to, in response to a selection operation on the view control, judge whether the word displayed in the view control is a word of a preset type, and the word of the preset type includes a phone number and/or an electronic phone number. email address;

所述显示模块,还用于当所述第二判断模块的判断结果为是时,在该视图控件外显示该预设类型的词所对应的操作功能按键;其中,电话号码对应的操作功能按键包括拨号、发短信、联系方式存储、通话记录查询、复制、分享和搜索中的任意一个或多个,电子邮箱地址对应的操作功能按键包括发邮件、联系方式存储、复制、分享和搜索中的任意一个或多个;The display module is also used to display the operation function button corresponding to the word of the preset type outside the view control when the judgment result of the second judgment module is yes; wherein, the operation function button corresponding to the phone number Including any one or more of dialing, sending text messages, storing contact information, querying call records, copying, sharing, and searching. The operation function buttons corresponding to email addresses include sending emails, storing contact information, copying, sharing, and searching any one or more;

所述执行模块,用于响应于用户对所述操作功能按键的触发,对该视图控件中显示的词执行该操作功能按键对应的操作。The execution module is configured to, in response to the user triggering the operation function button, execute the operation corresponding to the operation function button on the word displayed in the view control.

与现有技术相比,本发明至少具有以下优点:Compared with the prior art, the present invention has at least the following advantages:

本发明实施例中,移动终端先显示第一目标文本的第一分词结果给用户供用户从中选择感兴趣的关键字来进行下一步的操作,方便用户直接选取文本中的关键字,无需用户的多次操作即可实现对关键字的操作,提高了操作的效率。用户通过显示更新操作浏览显示的第一分词结果,从第一分词结果中查找感兴趣的关键字,当第一分词结果在显示更新操作对应的显示更新方向上已完整显示,则表示用户未在当前显示的第一分词结果中找到满意的关键字。此时,显示第一目标文本在显示更新方向上相邻的第二目标文本的第二分词结果给用户,供用户继续从第二分词结果中选取关键词,无需多余的步骤即可将更多的分词结果显示给用户供其从中选取后续操作所需的关键字,操作过程简单便捷,进一步提高了操作的效率。In the embodiment of the present invention, the mobile terminal first displays the first word segmentation result of the first target text to the user for the user to select the keyword of interest to carry out the next operation, which is convenient for the user to directly select the keyword in the text without the need for the user The operation on the keyword can be realized by multiple operations, which improves the efficiency of the operation. The user browses the displayed first word segmentation results through the display update operation, and finds the keywords of interest from the first word segmentation results. When the first word segmentation results are completely displayed in the display update direction corresponding to the display update operation, it means that the user is not in the Find a satisfactory keyword in the currently displayed first participle results. At this time, the second word segmentation result of the second target text adjacent to the first target text in the display update direction is displayed to the user, so that the user can continue to select keywords from the second word segmentation result, and more The word segmentation results are displayed for the user to select the keywords required for subsequent operations. The operation process is simple and convenient, which further improves the efficiency of the operation.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in this application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例提供的一种文本处理方法的流程示意图;FIG. 1 is a schematic flow chart of a text processing method provided by an embodiment of the present invention;

图2a-图2d为本发明实施例中显示第二分词结果的示意图;2a-2d are schematic diagrams showing the second word segmentation results in the embodiment of the present invention;

图3为本发明实施例中生成第一分词结果的流程示意图;Fig. 3 is a schematic flow chart of generating the first word segmentation result in an embodiment of the present invention;

图4为本发明实施例提供的另一种文本处理方法的流程示意图;FIG. 4 is a schematic flowchart of another text processing method provided by an embodiment of the present invention;

图5a-图5b为本发明实施例中对预设类型的词进行操作的示意图;Figures 5a-5b are schematic diagrams of operations on preset types of words in the embodiment of the present invention;

图6为本发明实施例提供的一种文本处理装置的结构示意图。FIG. 6 is a schematic structural diagram of a text processing device provided by an embodiment of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

一般而言,在对文本中特定内容进行操作时,需要用户首先从文本中选定该内容,再将该内容复制到相应的操作软件中进行相应的操作,例如搜索操作需要将该内容复制到搜索引擎中进行搜索,不便于用户高效的对文本中的特定内容进行操作。Generally speaking, when operating specific content in a text, the user needs to first select the content from the text, and then copy the content to the corresponding operating software for corresponding operations. For example, the search operation needs to copy the content to Searching in search engines is not convenient for users to efficiently operate specific content in the text.

有鉴于此,现有的一种文本处理方法,对文本进行分词后显示给用户,用户可以直接从中选择感兴趣的分词结果来进行后续操作,提高了操作的效率。但是,这种文本处理方法,首先需要用户选定进行分词的文本,再对用户选定的文本进行分词。用户在进行文本选定时,一次只能对一个段落或一个对话框中的内容进行选择,即一次只能对一个段落或一个对话框中的内容进行分词,供用户从中选取后续操作涉及的关键字。若用户期望的关键字分别位于两个独立的段落或对话框中时,则仍然需要用户进行多次的操作才能获得完整的关键字,例如,先在第一段或第一个对话框的分词结果中选中并复制第一部分的关键字,将其粘贴至搜索引擎的查询框中之后,再对第二段或第一对话框的内容进行分词,从中选中并复制剩余部分的关键字,将其粘贴至搜索引擎的查询框中的第一部分的关键字之后,再对完整的关键字进行搜索,操作过程繁琐、不便捷。In view of this, in an existing text processing method, the text is segmented and displayed to the user, and the user can directly select the word segmentation result of interest for subsequent operations, which improves the efficiency of the operation. However, in this text processing method, firstly, the user needs to select the text for word segmentation, and then perform word segmentation for the text selected by the user. When the user selects text, he can only select the content in one paragraph or one dialog box at a time, that is, he can only segment the content in one paragraph or one dialog box at a time, so that the user can select the key words involved in subsequent operations. Character. If the keywords expected by the user are located in two independent paragraphs or dialog boxes, the user still needs to perform multiple operations to obtain the complete keyword, for example, the word segmentation of the first paragraph or the first dialog box Select and copy the keywords in the first part from the results, paste them into the query box of the search engine, then segment the content of the second paragraph or the first dialog box, select and copy the remaining keywords, and paste them After pasting the first part of the keyword in the query box of the search engine, and then searching for the complete keyword, the operation process is cumbersome and inconvenient.

为此,本发明实施例提供了一种文本处理方法及装置,在向用户显示第一目标文本的第一分词结果供用户选择关键字时,若用户通过显示更新操作对显示的第一分词结果进行更新时,显示更新操作对应的显示更新方向上没有未显示或未完整显示的第一分词结果时,说明用户未在已显示的第一分词结果中选出完整的关键字。此时,直接将位于第一目标文本的显示更新方向上的第二目标文本的分词结果继续显示给用户供其从中选择关键字,无需多余的操作即可给用户提供更多的分词结果已选出完整的关键字,操作过程简单便捷,进一步提高了操作的效率。To this end, the embodiment of the present invention provides a text processing method and device. When the first word segmentation result of the first target text is displayed to the user for the user to select a keyword, if the user updates the displayed first word segmentation result through a display update operation When updating, if there is no undisplayed or incompletely displayed first participle result in the display update direction corresponding to the display update operation, it means that the user has not selected a complete keyword from the displayed first participle result. At this time, the word segmentation results of the second target text located in the display update direction of the first target text are directly displayed to the user for them to select keywords, and more word segmentation results can be provided to the user without redundant operations. Complete keyword, the operation process is simple and convenient, further improving the efficiency of the operation.

需要说明的是,本发明实施例提供的文本处理方法及装置,应用于移动终端,该移动终端可以是具有触摸感应功能的设备(即触控终端),如触屏手机、平板电脑等具有触控屏的移动终端,其感应到的外界触控包括且不限于单点或多点按压、单点或多点滑动操作、单点或多点触摸、单点或多点压力触控和触摸面积感应等。当外界触控满足相应的感应阈值时,触控终端可以感应到该外界触控。当然,该移动终端还可以是其他连接有操作装置(如鼠标、键盘等)具有显示功能的设备,通过该操作装置即可对该设备显示的内容进行操作。It should be noted that the text processing method and device provided by the embodiments of the present invention are applied to mobile terminals. Screen-controlled mobile terminals, the external touch sensed by it includes but is not limited to single-point or multi-point pressing, single-point or multi-point sliding operation, single-point or multi-point touch, single-point or multi-point pressure touch and touch area induction etc. When the external touch meets a corresponding sensing threshold, the touch terminal can sense the external touch. Of course, the mobile terminal can also be other devices connected with an operating device (such as a mouse, a keyboard, etc.) with a display function, and the content displayed on the device can be operated through the operating device.

还需要说明的是,本发明实施例提供的文本处理方法及装置在移动终端运行任何应用程序的情况下均可实现,该应用程序包括但不限于短信、网页浏览、实时通讯和其他具有文字显示功能的程序等。It should also be noted that the text processing method and device provided by the embodiments of the present invention can be implemented when the mobile terminal runs any application program, the application program includes but not limited to text messages, web page browsing, real-time communication and other text display functions. Functional programs, etc.

在介绍本发明的具体实施方式之前,首先介绍与本发明具体实施方式相关的多个技术术语。Before introducing the specific implementation of the present invention, first introduce a number of technical terms related to the specific implementation of the present invention.

分词:指的是将一个文字序列切分成一个一个单独的字、词语或命名实体等。分词过程就是按照一定的规范,将连续的文字序列重新组合成单独的字、词语或命名实体序列的过程。Word segmentation: refers to the segmentation of a text sequence into individual characters, phrases, or named entities. The word segmentation process is the process of recombining a continuous sequence of characters into a sequence of individual words, words, or named entities according to certain specifications.

命名实体:指人名、机构名、地名以及其他所有以名称为标识的实体。更广泛的实体还包括数字、日期、货币、地址等。Named entity: Refers to the names of people, institutions, places, and all other entities identified by names. Broader entities also include numbers, dates, currencies, addresses, and more.

关键词:一段完整语句中用户所感兴趣的文字片段。Keyword: A text segment in a complete sentence that the user is interested in.

基于上述思想,为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。Based on the above ideas, in order to make the above objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

方法实施例:Method example:

参见图1,该图为本发明实施例提供的一种文本处理方法的流程示意图。Referring to FIG. 1 , this figure is a schematic flowchart of a text processing method provided by an embodiment of the present invention.

本实施例提供的文本处理方法,包括以下步骤S101-S103。The text processing method provided in this embodiment includes the following steps S101-S103.

S101:显示第一目标文本的第一分词结果。S101: Display the first word segmentation result of the first target text.

第一分词结果是对第一目标文本进行分词操作后得到的,即,第一分词结果为第一目标文本包括的单独的字、词语或命名实体的序列。对第一目标文本进行分词时,可以采用自然语言算法,根据第一目标文本中文字的具体语义对第一目标文本进行分词,具体分词方法及过程这里不再赘述。The first word segmentation result is obtained after the word segmentation operation is performed on the first target text, that is, the first word segmentation result is a sequence of individual characters, phrases or named entities included in the first target text. When segmenting the first target text, a natural language algorithm may be used to segment the first target text according to the specific semantics of the characters in the first target text. The specific word segmentation method and process will not be repeated here.

这里需要说明的是,在显示第一分词结果时,可以新建窗口对其进行显示,第一分词结果中各个字、词语或命名实体之间可以存在间距,也可不存在间距仅由线分开。当第一分词结果过多,在一次显示全部的第一分词结果的情况下,无法保证用户能分辨出显示内容,则可以一次显示全部的第一分词结果但通过滑动的形式展示给用户,也可以分次显示部分第一分词结果给用户。即,用户可以通过显示更新操作可以看到完整的第一分词结果。What needs to be explained here is that when displaying the first participle result, a new window can be created to display it. In the first participle result, there may be a space between each word, word or named entity, or there may be no space and only separated by a line. When there are too many first participle results, it is impossible to guarantee that the user can distinguish the display content when all the first participle results are displayed at one time. You can display all the first participle results at one time but show them to the user in the form of sliding. Part of the first word segmentation results can be displayed to the user in stages. That is, the user can see the complete first word segmentation result through the display update operation.

可以理解的是,通过对第一分词结果中的词的选择,用户可以直接选出第一目标文本中的关键字,提高了操作的效率。It can be understood that, by selecting words in the first word segmentation result, the user can directly select keywords in the first target text, which improves the efficiency of the operation.

作为一个示例,步骤S101具体包括S1011-S1012。As an example, step S101 specifically includes S1011-S1012.

S1011:生成分词显示界面,分词显示界面包括至少一个视图控件。S1011: Generate a word segmentation display interface, where the word segmentation display interface includes at least one view control.

S1012:逐一在视图控件中显示第一分词结果中的每一个词,一个视图控件中显示第一分词结果中的一个词。S1012: Display each word in the first word segmentation result in the view control one by one, and display a word in the first word segmentation result in one view control.

视图控件可以分散的显示在分词显示界面中。用户可以通过对视图控件的选择,从分词结果中选择连续或不连续的一个或多个词语或命名实体,将该视图控件显示的词选中为关键词。The view control can be displayed in the participle display interface in a dispersed manner. By selecting the view control, the user can select one or more continuous or discontinuous words or named entities from the word segmentation results, and select the words displayed by the view control as keywords.

S102:响应于用户的显示更新操作,判断第一分词结果在显示更新操作对应的显示更新方向上是否完整显示。S102: In response to the user's display update operation, determine whether the first word segmentation result is completely displayed in the display update direction corresponding to the display update operation.

简言之,步骤S102即判断在用户期望观看的方向上是否存在未显示或未完整显示给用户的第一分词结果。In short, step S102 is to determine whether there is a first word segmentation result that is not displayed or not completely displayed to the user in the direction that the user expects to view.

可以理解的是,一般在手机、平板电脑等触控终端上,用户可以通过向上滑动操作(即显示更新操作)使屏幕上的文字向上滚动,在屏幕的下方(即显示更新方向)出现新的显示内容;用户可以通过向下滑动操作(即显示更新操作)使屏幕上的文字向下滚动,在屏幕的上方(即显示更新方向)出现新的显示内容。在这种情况下,显示更新操作指示的方向与显示更新方向相对。It can be understood that, generally on touch terminals such as mobile phones and tablet computers, the user can scroll up the text on the screen by sliding up (that is, the display update operation), and a new text appears at the bottom of the screen (that is, the display update direction). Display content: the user can scroll down the text on the screen by sliding down (ie, display update operation), and new display content appears on the top of the screen (ie, display update direction). In this case, the direction indicated by the display update operation is opposite to the display update direction.

而在非触控电脑上,用户可以通过向上拖动滚动条(即显示更新操作)以使屏幕上的文字向下滚动,在屏幕的上方(即显示更新方向)出现新的显示内容;用户可以通过向下拖动滚动条(即显示更新操作)以使屏幕上的文字向上滚动,在屏幕的下方(即显示更新方向)出现新的显示内容。在这种情况下,显示更新操作指示的方向与显示更新方向相向。On a non-touch computer, the user can scroll down the text on the screen by dragging the scroll bar upwards (i.e., the display update operation), and new display content appears on the top of the screen (i.e., the display update direction); the user can By dragging the scroll bar downwards (that is, the display update operation) to scroll the text on the screen upward, new display content appears at the bottom of the screen (that is, the display update direction). In this case, the direction indicated by the display update operation is opposite to the display update direction.

作为一个示例,当显示更新方向为上方时,判断第一分词结果在显示更新操作对应的显示更新方向上是否完整显示,即判断当前显示的第一分词结果的上方是否存在未显示或未完整显示的第一分词结果;当显示更新方向为下方时,判断第一分词结果在显示更新操作对应的显示更新方向上是否完整显示,即判断当前显示的第一分词结果的下方是否存在未显示或未完整显示的第一分词结果。As an example, when the display update direction is upward, it is judged whether the first word segmentation result is completely displayed in the display update direction corresponding to the display update operation, that is, it is judged whether there is an undisplayed or incomplete display above the currently displayed first word segmentation result the first word segmentation result; when the display update direction is down, judge whether the first word segmentation result is completely displayed in the display update direction corresponding to the display update operation, that is, judge whether there is no display or no The first participle results displayed in full.

S103:若是,则显示第二目标文本的分词结果,第二目标文本在第一目标文本的显示更新方向上。S103: If yes, display the word segmentation result of the second target text, and the second target text is in the display update direction of the first target text.

作为一个示例,当显示更新方向为上方时,第二目标文本位于第一目标文本上方,且第二目标文本与第一目标文本相邻;当显示更新方向为下方时,相应的,第二目标文本位于第一目标文本下方,且第二目标文本与第一目标文本相邻。As an example, when the display update direction is upward, the second target text is located above the first target text, and the second target text is adjacent to the first target text; when the display update direction is downward, correspondingly, the second target text The text is positioned below the first target text, and the second target text is adjacent to the first target text.

可以理解的是,第一目标文本和第二目标文本相邻,即第一目标文本和第二目标文本之间不存在其他文本内容。It can be understood that the first target text is adjacent to the second target text, that is, there is no other text content between the first target text and the second target text.

在实际操作中,用户在通过上下滑动操作浏览第一分词结果时,若向下(或向上)滑动时第一分词结果已经显示完毕,则用户可以继续下拉(或上拉),在用户松开手指取消该滑动操作时,显示第二分词结果。In actual operation, when the user browses the first participle result by sliding up and down, if the first participle result has been displayed when sliding down (or up), the user can continue to pull down (or up). When the finger cancels the sliding operation, the second participle result is displayed.

举例而言,参见图2a-图2d,当前显示的文本内容为“电话号码”(即第一目标文本)及其下一段内容“13800000000”(即第二目标文本)。用户先选中第一段内容“电话号码”进行分词,显示的分词结果(即第一分词结果)为“电话号码”,即图2a所示,当然,分词的规则不同得到的分词结果也不同,“电话号码”的分词结果也可以是“电话”和“号码”。然后,用户可以在触控屏上向上滑动查看第一段的分词结果,在第一段的分词结果的末尾,可以显示文字提示,以提醒用户是否想继续查看下一段的分词结果,如图2b所示。用户继续向上滑动以查看第二段“13800000000”的分词结果,并且,在显示页面下方显示有文字提示,以提示用户是否需要显示下一段的分词结果,如图2c所示。当用户松手取消滑动操作时,显示第二段“13800000000”的分词结果(即第二分词结果),如图2d所示。For example, referring to Fig. 2a-Fig. 2d, the currently displayed text content is "telephone number" (ie the first target text) and its next segment "13800000000" (ie the second target text). The user first selects the first segment of content "telephone number" for word segmentation, and the displayed word segmentation result (ie, the first word segmentation result) is "telephone number", as shown in Figure 2a. Of course, the word segmentation results obtained by different word segmentation rules are also different. The word segmentation result of "telephone number" can also be "telephone" and "number". Then, the user can swipe up on the touch screen to view the word segmentation results of the first paragraph. At the end of the word segmentation results of the first paragraph, a text prompt can be displayed to remind the user whether to continue to view the word segmentation results of the next paragraph, as shown in Figure 2b shown. The user continues to slide up to view the word segmentation results of the second paragraph "13800000000", and a text prompt is displayed at the bottom of the display page to prompt the user whether to display the word segmentation results of the next paragraph, as shown in Figure 2c. When the user lets go to cancel the sliding operation, the word segmentation result of the second paragraph "13800000000" (ie, the second word segmentation result) is displayed, as shown in FIG. 2d.

需要说明的是,第二分词结果的获得以及显示方式与第一分词结果的获得以及显示方式类似,具体可以参见上述说明,这里不再赘述。It should be noted that the obtaining and displaying method of the second word segmentation result is similar to the obtaining and displaying method of the first word segmentation result. For details, please refer to the above description, which will not be repeated here.

作为一个示例,对第二目标文本的第二分词结果进行显示时,可以使当前的显示界面中只显示第二分词结果,也可以直接在第一分词结果的上方显示第二目标文本后面部分内容的分词结果,或者,在第一分词结果的下方显示第二目标文本前面部分内容的分词结果。本领域技术人员还可以根据实际情况具体设定,本发明并不对分词结果的显示方式做任何限定,这里也不再一一列举。As an example, when displaying the second word segmentation result of the second target text, only the second word segmentation result can be displayed in the current display interface, or the content behind the second target text can be displayed directly above the first word segmentation result , or display the word segmentation results of the front part of the second target text below the first word segmentation result. Those skilled in the art can also make specific settings according to the actual situation. The present invention does not set any limitation on the display mode of the word segmentation result, and will not list them one by one here.

这样,移动终端直接将第一目标文本的第一分词结果和与相邻的第二文本的第二分词结果同时显示给用户,供用户从中选择期望的关键字,用户无需多余的操作就能够选中第二段或第二对话框中的内容,简化了操作流程,关键词的选择操作更加便捷。In this way, the mobile terminal directly displays the first word segmentation result of the first target text and the second word segmentation result of the adjacent second text to the user at the same time, for the user to select the desired keyword, and the user can select the keyword without redundant operations. The content in the second paragraph or the second dialog box simplifies the operation process, and the operation of selecting keywords is more convenient.

本发明实施例中,移动终端先显示第一目标文本的第一分词结果给用户供用户从中选择感兴趣的关键字来进行下一步的操作,方便用户直接选取文本中的关键字,无需用户的多次操作即可实现对关键字的操作,提高了操作的效率。用户通过显示更新操作浏览显示的第一分词结果,从第一分词结果中查找感兴趣的关键字,当第一分词结果在显示更新操作对应的显示更新方向上已完整显示,则表示用户未在当前显示的第一分词结果中找到满意的关键字。此时,显示第一目标文本在显示更新方向上相邻的第二目标文本的第二分词结果给用户,供用户继续从第二分词结果中选取关键词,无需多余的步骤即可将更多的分词结果显示给用户供其从中选取后续操作所需的关键字,操作过程简单便捷,进一步提高了操作的效率。In the embodiment of the present invention, the mobile terminal first displays the first word segmentation result of the first target text to the user for the user to select the keyword of interest to carry out the next operation, which is convenient for the user to directly select the keyword in the text without the need for the user The operation on the keyword can be realized by multiple operations, which improves the efficiency of the operation. The user browses the displayed first word segmentation results through the display update operation, and finds the keywords of interest from the first word segmentation results. When the first word segmentation results are completely displayed in the display update direction corresponding to the display update operation, it means that the user is not in the Find a satisfactory keyword in the currently displayed first word segmentation results. At this time, the second word segmentation result of the second target text adjacent to the first target text in the display update direction is displayed to the user, so that the user can continue to select keywords from the second word segmentation result, and more The word segmentation results are displayed for the user to select the keywords required for subsequent operations. The operation process is simple and convenient, which further improves the efficiency of the operation.

下面举例说明,生成第一分词结果的具体方法,参见图3,在步骤S101之前包括步骤S301-S304。The following example illustrates the specific method for generating the first word segmentation result, referring to FIG. 3 , which includes steps S301-S304 before step S101.

S301:响应于用户触发的分词操作,获取分词操作的位置信息。S301: In response to a word segmentation operation triggered by a user, acquire location information of the word segmentation operation.

可以理解的是,移动终端可以为任意一种具有触摸感应功能的设备,包括但不限于手机和平板电脑等。其感应到的外界触控包括且不限于单点或多点按压、单点或多点滑动操作、单点或多点触摸、单点或多点压力触控和触摸面积感应等。当外界操作满足相应的感应阈值时,移动终端即可感应到相应的外界操作。It can be understood that the mobile terminal may be any device with a touch-sensing function, including but not limited to a mobile phone and a tablet computer. The external touch sensed by it includes but is not limited to single-point or multi-point pressing, single-point or multi-point sliding operation, single-point or multi-point touch, single-point or multi-point pressure touch, and touch area sensing. When the external operation satisfies the corresponding sensing threshold, the mobile terminal can sense the corresponding external operation.

显然的是,系统可识别出操作施加的位置,以便对操作施加的位置进行各种相应的操作。则,当移动终端感应到分词操作时,会获取到分词操作在移动终端上的位置信息,如坐标等。分词操作的位置信息为其在移动终端上的坐标(一般由X轴坐标和Y轴坐标构成)。Obviously, the system can identify the location where the operation is applied, so as to perform various corresponding operations on the location where the operation is applied. Then, when the mobile terminal senses the word segmentation operation, it will acquire the location information of the word segmentation operation on the mobile terminal, such as coordinates. The position information of the word segmentation operation is its coordinates on the mobile terminal (generally composed of X-axis coordinates and Y-axis coordinates).

S302:根据分词操作的位置信息,确定分词区域,分词操作位于分词区域内。S302: Determine a word segmentation area according to the location information of the word segmentation operation, and the word segmentation operation is located in the word segmentation area.

一般来说,移动终端的不同位置上显示有各种不同内容的显示区域,如显示文字的区域和显示图像的区域。各显示区域间均由区域坐标进行划分。而系统中一般会保存有移动终端上各显示区域的位置坐标。当获取到分词操作的位置信息后,能够以移动终端上各显示区域的位置坐标和外界触控的位置信息为依据,识别出分词操作位于哪个显示区域。然后,即可将该显示区域确定为分词区域。Generally speaking, various display areas with different contents are displayed on different positions of the mobile terminal, such as an area for displaying text and an area for displaying images. Each display area is divided by area coordinates. The system generally stores the position coordinates of each display area on the mobile terminal. After the location information of the word segmentation operation is obtained, the display area where the word segmentation operation is located can be identified based on the location coordinates of each display area on the mobile terminal and the location information of the external touch. Then, the display area can be determined as a word segmentation area.

以坐标为例,移动终端上各显示区域的区域位置信息为一坐标范围区域。当获取到分词操作的坐标后,可判断出分词操作落在移动终端上的哪一显示区域的坐标范围中。分词操作所属的显示区域即为分词区域。Taking coordinates as an example, the area position information of each display area on the mobile terminal is a coordinate range area. After the coordinates of the word segmentation operation are acquired, it can be determined which display region coordinate range of the word segmentation operation falls on the mobile terminal. The display area to which the word segmentation operation belongs is the word segmentation area.

S303:识别分词区域中的文字,得到第一目标文本。S303: Identify the text in the word segmentation area to obtain the first target text.

可以理解的是,当系统中保存有个显示模块的内容信息时,直接获取到分词区域所代表的文字显示模块中的文字内容即可得到第一目标文本。以短信显示为例,第一目标文本为短信框中全部文字的集合;以阅读器为例,第一目标文本为此时屏幕显示出的全部文字的集合。It can be understood that when the system stores the content information of a display module, the first target text can be obtained by directly obtaining the text content in the text display module represented by the word segmentation area. Taking the text message display as an example, the first target text is the set of all texts in the text message box; taking the reader as an example, the first target text is the set of all the texts displayed on the screen at this time.

然而,由于不同的系统之间可能存在不兼容的情况,造成无法直接获取移动终端上显示的文字。在本实施例的一些可能的实现方式中,为了对移动终端上显示的文字进行处理,可以通过对移动终端的显示区域进行截屏,获得显示有该文字的文字图像。再应用图像识别技术,例如光学字符识别(Optical Character Recognition,OCR)技术,识别文字图像中的文字。之后,即可对识别出的文字进行处理。这样,就能够实现在无法直接获取到触控终端上显示的文字的情况下,对触控终端上显示的文字进行操作。However, due to possible incompatibility between different systems, it is impossible to directly obtain the text displayed on the mobile terminal. In some possible implementations of this embodiment, in order to process the text displayed on the mobile terminal, a text image displaying the text may be obtained by taking a screenshot of the display area of the mobile terminal. Then apply image recognition technology, such as optical character recognition (Optical Character Recognition, OCR) technology, to recognize the text in the text image. After that, the recognized text can be processed. In this way, it is possible to operate the text displayed on the touch terminal when the text displayed on the touch terminal cannot be directly acquired.

S304:对第一目标文本中的文字进行分词,得到第一分词结果。S304: Segment the words in the first target text to obtain a first word segmentation result.

对第一目标文本进行分词时,可以采用自然语言算法,根据第一目标文本中文字的具体语义对第一目标文本进行分词。When segmenting the first target text, a natural language algorithm may be used to segment the first target text according to the specific semantics of the characters in the first target text.

本发明实施例还提供的另一种文本处理方法,如图4所示。Another text processing method provided by the embodiment of the present invention is shown in FIG. 4 .

在本实施例中的步骤S401-S402与上述实施例中的步骤S1011-S1012相同,在此不再赘述。Steps S401-S402 in this embodiment are the same as steps S1011-S1012 in the above embodiment, and will not be repeated here.

为了便于用户的后续操作,在用户选择某一个或多个视图控件后,可以在相应位置生成与各种操作类型相对应的操作按键。而后,用户通过点击选中的视图控件附近的操作按键,触发相应的操作指令,不同的操作按键代表不同的操作类型,该操作类型包括但不限于搜索和分享等。然而,对于一些特殊的关键字来说,用户对其的操作类型也会存在差异。因此,为了进一步提高操作的效率,本实施例中还包括步骤S403-S405。In order to facilitate the user's subsequent operations, after the user selects one or more view controls, operation buttons corresponding to various operation types may be generated at corresponding positions. Then, the user clicks the operation button near the selected view control to trigger the corresponding operation instruction. Different operation buttons represent different operation types, including but not limited to search and share. However, for some special keywords, there are also differences in the types of user operations on them. Therefore, in order to further improve the operation efficiency, steps S403-S405 are also included in this embodiment.

S403:响应于对视图控件的选择操作,判断该视图控件中显示的词是否为预设类型的词,预设类型的词包括电话号码和/或电子邮箱地址。S403: In response to the selection operation on the view control, determine whether the word displayed in the view control is a word of a preset type, and the word of the preset type includes a phone number and/or an email address.

可以理解的是,可以通过判断视图控件中显示的词是否为11个连续数字且数字的开头是否为13、18、15、17等来判断是否为手机号码,还可以通过判断是否包括区号或者是否是7或8个连续的数字判断是否为座机号码,还可以与预置的电话黄页进行匹配以判断是否为电话号码。而在判断是否为电子邮箱地址时,可以以该视图控件中显示的词是否包括“@”为依据进行判断。It is understandable that it can be judged whether it is a mobile phone number by judging whether the word displayed in the view control is 11 consecutive numbers and whether the number starts with 13, 18, 15, 17, etc., or whether it includes an area code or whether it is It is 7 or 8 consecutive numbers to judge whether it is a landline number, and it can also be matched with the preset telephone yellow pages to judge whether it is a telephone number. When judging whether it is an email address, it can be judged based on whether the word displayed in the view control includes "@".

可以理解的是,本领域技术人员可以根据实际情况,具体设定如何判断用户选中的词是否为电话号码或电子邮箱地址,这里不再一一列举。It can be understood that those skilled in the art can specifically set how to determine whether the word selected by the user is a phone number or an email address according to the actual situation, which will not be listed here.

S404:若是,则在该视图控件外显示该预设类型的词对应的操作功能按键。S404: If yes, display the operation function button corresponding to the word of the preset type outside the view control.

一般而言,当用户从第一分词结果(或第二分词结果)中选中的关键字为电话号码时,后续的操作有很大的可能性是拨打电话、发送短信或新建/更新联系人等等。同理,当用户从第一分词结果(或第二分词结果)中选中的关键字为电子邮箱地址时,后续的操作有很大的可能性是发邮件或新建/更新联系人等等。因此,当用户选中的关键字为电话号码或电子邮箱地址时,可以直接将与后续操作对应的操作功能按键显示给用户供其点选。用户通过对操作功能按键的触发,可以直接对选中的关键字执行对应的操作。Generally speaking, when the keyword selected by the user from the first word segmentation result (or the second word segmentation result) is a phone number, the subsequent operation is likely to be to make a call, send a text message, or create/update a contact, etc. Wait. Similarly, when the keyword selected by the user from the first word segmentation result (or the second word segmentation result) is an email address, the subsequent operation is likely to be sending an email or creating/updating a contact, etc. Therefore, when the keyword selected by the user is a phone number or an email address, the operation function buttons corresponding to subsequent operations may be directly displayed to the user for selection. By triggering the operation function button, the user can directly perform the corresponding operation on the selected keyword.

作为一个示例,电话号码对应的操作功能按键包括拨号、发短信、联系方式存储(即新建/更新联系人)、通话记录查询、复制、分享和搜索中的任意一个或多个。电子邮箱地址对应的操作功能按键包括发送邮件、联系方式存储(即新建/更新联系人)、复制、分享和搜索中的任意一个或多个。As an example, the operation function keys corresponding to the phone numbers include any one or more of dialing, sending text messages, storing contact information (that is, creating/updating contacts), querying call records, copying, sharing and searching. The operation function buttons corresponding to the e-mail address include any one or more of sending email, storing contact information (that is, creating/updating contacts), copying, sharing and searching.

S405:响应于用户对操作功能按键的触发,对该视图控件中显示的词执行该操作功能按键对应的操作。S405: In response to the user triggering the operation function key, perform an operation corresponding to the operation function key on the word displayed in the view control.

当用户触发的操作功能按键为搜索时,则调出搜索界面对该视图控件显示的词进行搜索;当用户触发的操作功能按键为分享时,则调出分享界面(如微信、QQ、微博等实时通讯软件的分享界面等)对该视图控件显示的词进行分享;当用户对电子邮箱地址触发的操作功能按键为发送邮件时,则调出新建邮件页面将该电子邮箱地址填写至收件人处。本领域技术人员可以根据实际情况,具体设定操作功能按键对应的操作,这里不再一一列举。When the operation function button triggered by the user is search, the search interface is called to search the words displayed in the view control; when the operation function button triggered by the user is share, the sharing interface (such as WeChat, QQ, Weibo, etc.) is called sharing interface of real-time communication software, etc.) to share the words displayed in the view control; when the user triggers the operation function button of the e-mail address to send an e-mail, the new e-mail page will be called out and the e-mail address will be filled in the recipient people. Those skilled in the art can specifically set the operations corresponding to the operation function keys according to the actual situation, which will not be listed here.

举例而言,见图5a-图5b,在实际操作中若用户选中的关键字为电话号码时,在该电话号码的附近显示多个操作功能按键,分别对应搜索、联系人、短信、电话、复制和分享,如图5a所示。用户通过点选联系人按键,可以调出如图5b所示的界面,以进行后续新建联系人、添加至已有联系人、通话记录查询、拨打电话、发送短信以及视频通话等操作。For example, see Figures 5a-5b. In actual operation, if the keyword selected by the user is a phone number, multiple operation function buttons are displayed near the phone number, corresponding to search, contacts, SMS, phone, Copy and share, as shown in Figure 5a. By clicking the contact button, the user can call up the interface shown in Figure 5b for subsequent operations such as creating a new contact, adding to an existing contact, querying call records, making a call, sending a text message, and making a video call.

在本实施例中,在用户从分词结果中选中关键字后,生成并显示该关键字对应的操作功能按键供用户触发。当用户触发操作功能按键时,直接对该关键字执行对应的操作,无需用户进行繁琐的操作即可完成对关键字操作,提高了操作的效率。In this embodiment, after the user selects a keyword from the word segmentation results, an operation function button corresponding to the keyword is generated and displayed for the user to trigger. When the user triggers the operation function button, the corresponding operation is directly performed on the keyword, and the operation on the keyword can be completed without the need for the user to perform cumbersome operations, thereby improving the efficiency of the operation.

上述实施例中需要特别说明的是,图2a-图2d以及图5a-图5b仅是为了方便理解本发明实施例提供的文本处理方法的举例,并不是对本发明的限定。本领域技术人员可根据实际情况具体设定本发明提供的文本处理方法的具体实施方式,在此不再一一赘述。It should be noted in the above embodiments that Fig. 2a-Fig. 2d and Fig. 5a-Fig. 5b are only examples for the convenience of understanding the text processing method provided by the embodiment of the present invention, and are not limiting the present invention. Those skilled in the art can specifically set the specific implementation manner of the text processing method provided by the present invention according to the actual situation, which will not be repeated here.

装置实施例:Device example:

参见图6,该图为本发明实施例提供的一种文本处理装置的结构示意图。Referring to FIG. 6 , this figure is a schematic structural diagram of a text processing device provided by an embodiment of the present invention.

本发明实施例提供的文本处理装置,包括:显示模块100和第一判断模块200。The text processing device provided by the embodiment of the present invention includes: a display module 100 and a first judging module 200 .

显示模块100,用于显示第一目标文本的第一分词结果。The display module 100 is configured to display the first word segmentation result of the first target text.

第一判断模块200,用于响应于用户的显示更新操作,判断第一分词结果在显示更新操作对应的显示更新方向上是否完整显示。The first judgment module 200 is configured to respond to the user's display update operation and judge whether the first word segmentation result is completely displayed in the display update direction corresponding to the display update operation.

显示模块100,还用于当第一判断模块200的判断结果为是时,显示第二目标文本的第二分词结果,第二目标文本在第一目标文本的显示更新方向上。The display module 100 is further configured to display the second word segmentation result of the second target text when the judgment result of the first judgment module 200 is yes, and the second target text is in the display update direction of the first target text.

在本实施例的一些可能的实现方式中,第一判断模块200,具体包括:第一判断子模块和第二判断子模块。In some possible implementation manners of this embodiment, the first judging module 200 specifically includes: a first judging submodule and a second judging submodule.

第一判断子模块,用于当显示更新方向为上方时,判断当前显示的第一分词结果上方是否存在未显示或未完整显示的第一分词结果;相应的,第二目标文本位于第一目标文本的上方,且第二目标文本与第一目标文本相邻。The first judging submodule is used to judge whether there is an undisplayed or incompletely displayed first word segmentation result above the currently displayed first word segmentation result when the display update direction is upward; correspondingly, the second target text is located at the first target above the text, and the second target text is adjacent to the first target text.

第二判断子模块,用于当显示更新方向为下方时,判断当前显示的第一分词结果下方是否存在未显示或未完整显示的第一分词结果;相应的,第二目标文本位于第一目标文本的下方,且第二目标文本与第一目标文本相邻。The second judging submodule is used to judge whether there are undisplayed or incompletely displayed first word segmentation results below the currently displayed first word segmentation results when the display update direction is downward; correspondingly, the second target text is located in the first target below the text, and the second target text is adjacent to the first target text.

在本实施例的一些可能的实现方式中,该装置还包括:获取模块、确定模块、识别模块和分词模块。In some possible implementations of this embodiment, the device further includes: an acquisition module, a determination module, an identification module, and a word segmentation module.

获取模块,用于响应于用户触发的分词操作,获取分词操作的位置信息。The acquisition module is configured to acquire the position information of the word segmentation operation in response to the word segmentation operation triggered by the user.

确定模块,用于根据分词操作的位置信息,确定分词区域,分词操作位于分词区域内。The determining module is configured to determine a word segmentation area according to the position information of the word segmentation operation, and the word segmentation operation is located in the word segmentation area.

识别模块,用于识别分词区域中的文字,得到第一目标文本。The identification module is used to identify the text in the word segmentation area to obtain the first target text.

分词模块,用于对第一目标文本中的文字进行分词,得到第一分词结果。The word segmentation module is configured to perform word segmentation on the text in the first target text to obtain the first word segmentation result.

在本实施例的一些可能的实现方式中,显示模块100,具体包括:界面生成子模块和显示子模块。In some possible implementations of this embodiment, the display module 100 specifically includes: an interface generation submodule and a display submodule.

界面生成子模块,用于生成分词显示界面,分词显示界面包括至少一个视图控件。The interface generation sub-module is used to generate a word segmentation display interface, and the word segmentation display interface includes at least one view control.

显示子模块,用于逐一在视图控件中显示第一分词结果的每一个词,一个视图控件中显示第一分词结果中的一个词。The display sub-module is used to display each word of the first word segmentation result in the view control one by one, and one view control displays a word in the first word segmentation result.

在本实施例的一些可能的实现方式中,该装置还包括:第二判断模块和执行模块。In some possible implementation manners of this embodiment, the device further includes: a second judging module and an executing module.

第二判断模块,用于响应于对视图控件的选择操作,判断该视图控件中显示的词是否为预设类型的词,预设类型的词包括电话号码和/或电子邮箱地址。The second judging module is configured to, in response to a selection operation on the view control, judge whether the word displayed in the view control is a word of a preset type, and the word of the preset type includes a phone number and/or an email address.

显示模块100,还用于当第二判断模块的判断结果为是时,在该视图控件外显示该预设类型的词所对应的操作功能按键。The display module 100 is further configured to display, outside the view control, the operation function button corresponding to the word of the preset type when the judgment result of the second judgment module is yes.

其中,电话号码对应的操作功能按键包括拨号、发短信、联系方式存储、通话记录查询、复制、分享和搜索中的任意一个或多个,电子邮箱地址对应的操作功能按键包括发邮件、联系方式存储、复制、分享和搜索中的任意一个或多个。Among them, the operation function buttons corresponding to the phone number include any one or more of dialing, sending text messages, contact storage, call record query, copy, share and search, and the operation function buttons corresponding to the email address include sending email and contact information. Any one or more of storage, copy, share and search.

执行模块,用于响应于用户对操作功能按键的触发,对该视图控件中显示的词执行该操作功能按键对应的操作。The execution module is configured to execute the operation corresponding to the operation function key on the words displayed in the view control in response to the user triggering the operation function key.

本发明实施例中,移动终端先显示第一目标文本的第一分词结果给用户供用户从中选择感兴趣的关键字来进行下一步的操作,方便用户直接选取文本中的关键字,无需用户的多次操作即可实现对关键字的操作,提高了操作的效率。用户通过显示更新操作浏览显示的第一分词结果,从第一分词结果中查找感兴趣的关键字,当第一分词结果在显示更新操作对应的显示更新方向上已完整显示,则表示用户未在当前显示的第一分词结果中找到满意的关键字。此时,显示第一目标文本在显示更新方向上相邻的第二目标文本的第二分词结果给用户,供用户继续从第二分词结果中选取关键词,无需多余的步骤即可将更多的分词结果显示给用户供其从中选取后续操作所需的关键字,操作过程简单便捷,进一步提高了操作的效率。In the embodiment of the present invention, the mobile terminal first displays the first word segmentation result of the first target text to the user for the user to select the keyword of interest to carry out the next operation, which is convenient for the user to directly select the keyword in the text without the need for the user The operation on the keyword can be realized by multiple operations, which improves the efficiency of the operation. The user browses the displayed first word segmentation results through the display update operation, and finds the keywords of interest from the first word segmentation results. When the first word segmentation results are completely displayed in the display update direction corresponding to the display update operation, it means that the user is not in the Find a satisfactory keyword in the currently displayed first word segmentation results. At this time, the second word segmentation result of the second target text adjacent to the first target text in the display update direction is displayed to the user, so that the user can continue to select keywords from the second word segmentation result, and more The word segmentation results are displayed for the user to select the keywords required for subsequent operations. The operation process is simple and convenient, which further improves the efficiency of the operation.

需要说明的是,本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述比较简单,相关之处参见方法部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.

还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this article, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制。虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明。任何熟悉本领域的技术人员,在不脱离本发明技术方案范围情况下,都可利用上述揭示的方法和技术内容对本发明技术方案做出许多可能的变动和修饰,或修改为等同变化的等效实施例。因此,凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所做的任何简单修改、等同变化及修饰,均仍属于本发明技术方案保护的范围内。The above descriptions are only preferred embodiments of the present invention, and do not limit the present invention in any form. Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person familiar with the art, without departing from the scope of the technical solution of the present invention, can use the methods and technical content disclosed above to make many possible changes and modifications to the technical solution of the present invention, or modify it to be equivalent to equivalent changes Example. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention, which do not deviate from the technical solution of the present invention, still fall within the protection scope of the technical solution of the present invention.

Claims (10)

1. a kind of text handling method, it is characterised in that methods described is applied to mobile terminal, including:
Show the first participle result of first object text;
Display in response to user updates operation, judges that the first participle result updates the corresponding display of operation in the display Whether completely shown on more new direction;
If so, then showing the second word segmentation result of the second target text, second target text is in the first object text The display more new direction on.
2. text handling method according to claim 1, it is characterised in that the judgement first participle result is in institute State and whether completely shown on the corresponding display more new direction of slide, specifically included:
When the display more new direction is top, judge above the first participle result that currently shows with the presence or absence of not showing or The first participle result not shown completely;Accordingly, second target text is located at the top of the first object text, and Second target text is adjacent with the first object text;
When the display more new direction is lower section, judge below the first participle result that currently shows with the presence or absence of not showing or The first participle result not shown completely;Accordingly, second target text is located at the lower section of the first object text, and Second target text is adjacent with the first object text.
3. text handling method according to claim 1, it is characterised in that first point of the display first object text Word result, also includes before:
The participle operation triggered in response to user, obtains the positional information of the participle operation;
The positional information operated according to the participle, determines participle region, and the participle operation is located in the participle region;
The word in the participle region is recognized, the first object text is obtained;
Participle is carried out to the word in the first object text, the first participle result is obtained.
4. text handling method according to claim 1, it is characterised in that first point of the display first object text Word result, is specifically included:
Participle display interface is generated, the participle display interface includes at least one view control;
Shown one by one in the view control and show described in each word of the first participle result, a view control A word in first participle result.
5. text handling method according to claim 4, it is characterised in that first point of the display first object text Word result, also includes afterwards:
Whether in response to the selection operation to the view control, it is preset kind to judge the word shown in the view control Word, the word of the preset kind includes telephone number and/or E-mail address;
If so, then showing the operating function button corresponding to the word of the preset kind outside the view control;Wherein, telephone number During corresponding operating function button includes dial, send short messages, contact method is stored, message registration inquires about, replicates, shares and search for It is any one or more, the corresponding operating function button of E-mail address include hair mail, contact method storage, replicate, It is any one or more in sharing and searching for;
Triggering in response to user to the operating function button, performs the operating function to the word shown in the view control and presses The corresponding operation of key.
6. a kind of text processing apparatus, it is characterised in that described device is applied to mobile terminal, including:Display module and first Judge module;
The display module, the first participle result for showing first object text;
First judge module, updates for the display in response to user and operates, judge the first participle result described Whether display updates completely shows on the corresponding display more new direction of operation;
The display module, is additionally operable to when the judged result of first judge module is is, the second target text of display Second word segmentation result, second target text is on the display more new direction of the first object text.
7. text processing apparatus according to claim 6, it is characterised in that first judge module, is specifically included:The One judging submodule and the second judging submodule;
First judging submodule, for when the display more new direction is top, judging the first participle currently shown As a result top is with the presence or absence of the first participle result for not showing or not showing completely;Accordingly, second target text is located at The top of the first object text, and second target text is adjacent with the first object text;
Second judging submodule, for when the display more new direction is lower section, judging the first participle currently shown As a result lower section is with the presence or absence of the first participle result for not showing or not showing completely;Accordingly, second target text is located at The lower section of the first object text, and second target text is adjacent with the first object text.
8. text processing apparatus according to claim 6, it is characterised in that also include:Acquisition module, determining module, knowledge Other module and word-dividing mode;
The acquisition module, the participle for being triggered in response to user is operated, and obtains the positional information of the participle operation;
The determining module, for the positional information operated according to the participle, determines participle region, the participle operation is located at In the participle region;
The identification module, for recognizing the word in the participle region, obtains the first object text;
The word-dividing mode, for carrying out participle to the word in the first object text, obtains the first participle result.
9. text processing apparatus according to claim 6, it is characterised in that the display module, is specifically included:Give birth at interface Into submodule and display sub-module;
The interface generates submodule, and for generating participle display interface, the participle display interface includes at least one view Control;
The display sub-module, each word for showing the first participle result in the view control one by one, one A word in the first participle result is shown in individual view control.
10. text processing apparatus according to claim 9, it is characterised in that also include:Second judge module and execution mould Block;
Second judge module, in response to the selection operation to the view control, judging to show in the view control Word whether be preset kind word, the word of the preset kind includes telephone number and/or E-mail address;
The display module, is additionally operable to, when the judged result of second judge module is is, show outside the view control Operating function button corresponding to the word of the preset kind;Wherein, the corresponding operating function button of telephone number includes dialing, hair Short message, contact method storage, message registration inquire about, replicate, share and search in any one or more, E-mail address Corresponding operating function button includes any one or more during hair mail, contact method are stored, replicate, share and searched for;
The performing module, for the triggering in response to user to the operating function button, to what is shown in the view control Word performs the corresponding operation of the operating function button.
CN201710321558.3A 2017-05-09 2017-05-09 Text processing method and device Active CN106970899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321558.3A CN106970899B (en) 2017-05-09 2017-05-09 Text processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321558.3A CN106970899B (en) 2017-05-09 2017-05-09 Text processing method and device

Publications (2)

Publication Number Publication Date
CN106970899A true CN106970899A (en) 2017-07-21
CN106970899B CN106970899B (en) 2020-03-27

Family

ID=59330749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321558.3A Active CN106970899B (en) 2017-05-09 2017-05-09 Text processing method and device

Country Status (1)

Country Link
CN (1) CN106970899B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426662A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 Exchange method and equipment
CN109582768A (en) * 2018-11-23 2019-04-05 北京搜狗科技发展有限公司 A kind of text entry method and device
CN110890095A (en) * 2019-12-26 2020-03-17 北京大米未来科技有限公司 Voice detection method, recommendation method, device, storage medium and electronic equipment
CN112004138A (en) * 2020-09-01 2020-11-27 天脉聚源(杭州)传媒科技有限公司 Intelligent video material searching and matching method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425416A (en) * 2012-05-20 2013-12-04 北京千橡网景科技发展有限公司 Display control method and device used for portable device
CN103559223A (en) * 2013-10-21 2014-02-05 东莞市东信网络技术有限公司 Table data refreshing system and method
CN103699313A (en) * 2012-09-27 2014-04-02 腾讯科技(深圳)有限公司 Method and device for refreshing data by dragging
US20140123163A1 (en) * 2012-10-26 2014-05-01 International Business Machines Corporation Managing display of content in a content feed
CN106325688A (en) * 2016-08-17 2017-01-11 北京锤子数码科技有限公司 Text processing method and device
CN106484266A (en) * 2016-10-18 2017-03-08 北京锤子数码科技有限公司 A text processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425416A (en) * 2012-05-20 2013-12-04 北京千橡网景科技发展有限公司 Display control method and device used for portable device
CN103699313A (en) * 2012-09-27 2014-04-02 腾讯科技(深圳)有限公司 Method and device for refreshing data by dragging
US20140123163A1 (en) * 2012-10-26 2014-05-01 International Business Machines Corporation Managing display of content in a content feed
CN103559223A (en) * 2013-10-21 2014-02-05 东莞市东信网络技术有限公司 Table data refreshing system and method
CN106325688A (en) * 2016-08-17 2017-01-11 北京锤子数码科技有限公司 Text processing method and device
CN106484266A (en) * 2016-10-18 2017-03-08 北京锤子数码科技有限公司 A text processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIANFENG GAO等: "Chinese Word Segmentation and Named Entity Recognition:A Pragmatic Approach", 《COMPUTATIONAL LINGUISTICS》 *
徐宏博 等: "一种基于MapReduce的改进文本输入方式的并行分词方法研究", 《电脑知识与技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426662A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 Exchange method and equipment
CN109582768A (en) * 2018-11-23 2019-04-05 北京搜狗科技发展有限公司 A kind of text entry method and device
CN109582768B (en) * 2018-11-23 2021-08-24 北京搜狗科技发展有限公司 Text input method and device
CN110890095A (en) * 2019-12-26 2020-03-17 北京大米未来科技有限公司 Voice detection method, recommendation method, device, storage medium and electronic equipment
CN112004138A (en) * 2020-09-01 2020-11-27 天脉聚源(杭州)传媒科技有限公司 Intelligent video material searching and matching method and device

Also Published As

Publication number Publication date
CN106970899B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN106484266B (en) A text processing method and device
US10841265B2 (en) Apparatus and method for providing information
CN109857327B (en) Information processing apparatus, information processing method, and storage medium
CN106325688B (en) Text processing method and device
US10923118B2 (en) Speech recognition based audio input and editing method and terminal device
US8756527B2 (en) Method, apparatus and computer program product for providing a word input mechanism
CN112988006B (en) Display method, device, electronic device and storage medium
WO2022222600A1 (en) Method and apparatus for displaying sidebar, and terminal and storage medium
WO2017185272A1 (en) Man-machine interaction method and device therefor
US20140109009A1 (en) Method and apparatus for text searching on a touch terminal
CN107861932A (en) A kind of method for editing text, device and system and a kind of terminal device
CN113849092A (en) Content sharing method and device and electronic equipment
CN111966260A (en) Window display method and computing device
CN106970899B (en) Text processing method and device
CN116126197A (en) Application program recommendation method
CN107977155A (en) Handwriting recognition method, device, equipment and storage medium
CN104363349A (en) Short message processing method and portable terminal using same
CN117806521A (en) An information processing method, electronic device and storage medium
CN116797322A (en) Method for providing commodity object information and electronic equipment
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN101198124A (en) A mobile terminal input information processing method and device
CN110825243A (en) Shortcut phrase input method, terminal device and computer-readable storage medium
CN106970848A (en) Input control method, device and electronic equipment
CN112068947A (en) Application program entering method and device, terminal equipment and computer readable medium
CN110827815A (en) A speech recognition method, terminal, system and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190118

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: 100176 Beijing Daxing District Beijing economic and Technological Development Zone, Chuang Chuang fourteen Street 99, 33 D building 3 floors 309, 310 rooms.

Applicant before: SMARTISAN DIGITAL Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 2, room 3, building No. 3, courtyard 30, Shixing Avenue, Shijingshan District, Beijing, Beijing

Patentee after: Douyin Vision Co.,Ltd.

Country or region after: China

Address before: Room 2, room 3, building No. 3, courtyard 30, Shixing Avenue, Shijingshan District, Beijing, Beijing

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address